core/

directory
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: MIT

Directories

Path Synopsis
Package annotations is the store of the line annotations that extensions put after the end of lines (SPEC §10.30 "Blame", step 24.22; the Editor Decorations API of the extensions): a muted text, a theme color and a hover for a line of a document.
Package annotations is the store of the line annotations that extensions put after the end of lines (SPEC §10.30 "Blame", step 24.22; the Editor Decorations API of the extensions): a muted text, a theme color and a hover for a line of a document.
Package autoclose holds what the editor needs to know of the auto-closing pairs, the surrounding pairs and the "auto close before" characters of a language, and the values of the settings that control them (SPEC §8.6.4).
Package autoclose holds what the editor needs to know of the auto-closing pairs, the surrounding pairs and the "auto close before" characters of a language, and the values of the settings that control them (SPEC §8.6.4).
Package brackets finds bracket pairs, matches them and numbers their nesting for colorization (SPEC §8.5).
Package brackets finds bracket pairs, matches them and numbers their nesting for colorization (SPEC §8.5).
Package buffer holds the piece tree text buffer, immutable snapshots, positions and the line index (SPEC §6.1, §6.2).
Package buffer holds the piece tree text buffer, immutable snapshots, positions and the line index (SPEC §6.1, §6.2).
Package command holds the command registry (SPEC §11.2).
Package command holds the command registry (SPEC §11.2).
Package comment holds the comment tokens of the languages (SPEC §8.6.5): what the commands that comment and uncomment lines need to know of a language.
Package comment holds the comment tokens of the languages (SPEC §8.6.5): what the commands that comment and uncomment lines need to know of a language.
Package confine reads a folder for someone who may see that folder and nothing else (SPEC §10.19 "Confinement"): the files topics of the core, and the check that a document belongs to the workspace.
Package confine reads a folder for someone who may see that folder and nothing else (SPEC §10.19 "Confinement"): the files topics of the core, and the check that a document belongs to the workspace.
Package contextkey holds context keys and evaluates when-clause expressions (SPEC §11.2).
Package contextkey holds context keys and evaluates when-clause expressions (SPEC §11.2).
dap
Package dap is the Debug Adapter Protocol client of the editor (SPEC §10.31, D5, D39, D43): the Content-Length framing of the wire, the requests, responses and events of DAP 1.65 and later that Run and Debug uses as Go types, a Client that numbers and matches requests, cancels them when their context ends, answers the requests of the adapter (runInTerminal, startDebugging) through a handler and hands the events to one consumer through a bounded channel, and the transports that reach an adapter: a program on its standard input and output, a TCP port, a Unix socket, and a program that prints the port it listens on.
Package dap is the Debug Adapter Protocol client of the editor (SPEC §10.31, D5, D39, D43): the Content-Length framing of the wire, the requests, responses and events of DAP 1.65 and later that Run and Debug uses as Go types, a Client that numbers and matches requests, cancels them when their context ends, answers the requests of the adapter (runInTerminal, startDebugging) through a handler and hands the events to one consumer through a bounded channel, and the transports that reach an adapter: a program on its standard input and output, a TCP port, a Unix socket, and a program that prints the port it listens on.
daptest
Package daptest is the test double of a debug adapter (SPEC §10.31 "Tests", D43): a fake adapter that follows a script, a harness that connects a dap.Client to it, and the program (fakeadapter) that the harness starts as a real process in its own process group.
Package daptest is the test double of a debug adapter (SPEC §10.31 "Tests", D43): a fake adapter that follows a script, a harness that connects a dap.Client to it, and the program (fakeadapter) that the harness starts as a real process in its own process group.
daptest/fakeadapter command
Command daptest-fakeadapter is the fake debug adapter as a program (SPEC §10.31 "Tests"): it follows the script given with -script, over its standard input and output, or over a TCP port or a Unix socket it listens on.
Command daptest-fakeadapter is the fake debug adapter as a program (SPEC §10.31 "Tests"): it follows the script given with -script, over its standard input and output, or over a TCP port or a Unix socket it listens on.
Package debug is the debug model of the editor (SPEC §10.31, D39, D41, D43): the data of Run and Debug (sessions, threads, stack frames loaded on demand, scopes and variables loaded lazily and in pages, watch expressions, breakpoints of every kind with their verification and the moves the adapter makes), the session driver that runs VS Code's sequence over the DAP client of core/dap (initialize, launch or attach, the initialized event, the breakpoints, configurationDone, the events, restart, stop, disconnect, child sessions and compounds), the launch configurations (launch.json, the launch setting, the variables and the inputs) and the state that is saved with the workspace (§10.10).
Package debug is the debug model of the editor (SPEC §10.31, D39, D41, D43): the data of Run and Debug (sessions, threads, stack frames loaded on demand, scopes and variables loaded lazily and in pages, watch expressions, breakpoints of every kind with their verification and the moves the adapter makes), the session driver that runs VS Code's sequence over the DAP client of core/dap (initialize, launch or attach, the initialized event, the breakpoints, configurationDone, the events, restart, stop, disconnect, child sessions and compounds), the launch configurations (launch.json, the launch setting, the variables and the inputs) and the state that is saved with the workspace (§10.10).
Package decorations is the file decorations service (SPEC §10.30 "File decorations and the Explorer", step 24.6): the colors, the badges and the tooltips that the Explorer, Open Editors, the editor tabs, the breadcrumbs, the Search results and the Source Control view show for a file.
Package decorations is the file decorations service (SPEC §10.30 "File decorations and the Explorer", step 24.6): the colors, the badges and the tooltips that the Explorer, Open Editors, the editor tabs, the breadcrumbs, the Search results and the Source Control view show for a file.
Package desktopsetup writes and removes Emetos's own desktop entry and icon theme files, so that application menus and launchers show it (SPEC §16 "Desktop entry and icon"): the same files scripts/install-desktop.sh writes or removes, for the --install-desktop and --uninstall-desktop flags of cmd/emetos (SPEC §10.11), so that a user without a shell, or on a launcher whose PATH lacks go install's folder, can still add Emetos to their menu, or remove it, with the program itself.
Package desktopsetup writes and removes Emetos's own desktop entry and icon theme files, so that application menus and launchers show it (SPEC §16 "Desktop entry and icon"): the same files scripts/install-desktop.sh writes or removes, for the --install-desktop and --uninstall-desktop flags of cmd/emetos (SPEC §10.11), so that a user without a shell, or on a launcher whose PATH lacks go install's folder, can still add Emetos to their menu, or remove it, with the program itself.
Package diff computes line and character diffs and holds the three-way merge model (SPEC §9.11).
Package diff computes line and character diffs and holds the three-way merge model (SPEC §9.11).
Package document holds documents: a buffer with metadata, undo and decorations (SPEC §7.1).
Package document holds documents: a buffer with metadata, undo and decorations (SPEC §7.1).
Package edit holds visual columns, text boundaries, cursors, cursor movement and the editing commands (SPEC §6.2, §7.2).
Package edit holds visual columns, text boundaries, cursors, cursor movement and the editing commands (SPEC §6.2, §7.2).
Package editorgroup holds editor inputs, editor groups and their grid, as data (SPEC §10.3).
Package editorgroup holds editor inputs, editor groups and their grid, as data (SPEC §10.3).
Package emmet expands Emmet abbreviations (SPEC §9.10).
Package emmet expands Emmet abbreviations (SPEC §9.10).
Package externalterminal opens the terminal program of the desktop (xterm, gnome-terminal, konsole...) in a folder: VS Code's "Open in External Terminal" (SPEC §10.30, step 24.23).
Package externalterminal opens the terminal program of the desktop (xterm, gnome-terminal, konsole...) in a folder: VS Code's "Open in External Terminal" (SPEC §10.30, step 24.23).
Package fileio reads and writes files: encodings, line endings, atomic saves and the trash (SPEC §6.3).
Package fileio reads and writes files: encodings, line endings, atomic saves and the trash (SPEC §6.3).
Package find holds the find and replace model (SPEC §9.8): the search of a text for a string or a regular expression (query.go, ported from VS Code's textModelSearch.ts), the replace pattern (replace.go), the state of the find widget (state.go), the decorations that mark the matches (decorations.go) and the model that moves to and replaces matches in an editor (model.go).
Package find holds the find and replace model (SPEC §9.8): the search of a text for a string or a regular expression (query.go, ported from VS Code's textModelSearch.ts), the replace pattern (replace.go), the state of the find widget (state.go), the decorations that mark the matches (decorations.go) and the model that moves to and replaces matches in an editor (model.go).
Package folding computes folding ranges and holds the folding model (SPEC §8.7).
Package folding computes folding ranges and holds the folding model (SPEC §8.7).
Package fuzzy matches and scores strings fuzzily (SPEC §10.6).
Package fuzzy matches and scores strings fuzzily (SPEC §10.6).
Package glob matches VS Code glob patterns and .gitignore files (SPEC §10.5, §10.6).
Package glob matches VS Code glob patterns and .gitignore files (SPEC §10.5, §10.6).
Package indent holds indentation detection, indentation rules and on-enter rules (SPEC §8.6).
Package indent holds indentation detection, indentation rules and on-enter rules (SPEC §8.6).
indenttest
Package indenttest holds what the tests of the indentation need: the language configurations of VS Code's tests of indentation (JavaScript, Ruby, PHP, Go, C++, HTML, Visual Basic, LaTeX and Lua) and a text with the tokens a test gives it.
Package indenttest holds what the tests of the indentation need: the language configurations of VS Code's tests of indentation (JavaScript, Ruby, PHP, Go, C++, HTML, Visual Basic, LaTeX and Lua) and a text with the tokens a test gives it.
Package ipc hands the command line of a second launch over to the running instance through a Unix socket (SPEC §10.11).
Package ipc hands the command line of a second launch over to the running instance through a Unix socket (SPEC §10.11).
Package keybinding holds keys, the keymap, chords and the keybinding resolver (SPEC §11.3).
Package keybinding holds keys, the keymap, chords and the keybinding resolver (SPEC §11.3).
Package langfeatures is the features model of area 3 (SPEC §9.12): the language features the editor asks for (completion, hover, signature help, navigation, symbols, code actions, formatting, rename, highlights), the registry of the providers that answer them (a language server and the providers an extension wrote in Go alike), the merging of their answers the way VS Code merges them, the conversion of the answers of a language server (core/lsp) to the types of this package, and the application of a WorkspaceEdit to the documents and files of a window.
Package langfeatures is the features model of area 3 (SPEC §9.12): the language features the editor asks for (completion, hover, signature help, navigation, symbols, code actions, formatting, rename, highlights), the registry of the providers that answer them (a language server and the providers an extension wrote in Go alike), the merging of their answers the way VS Code merges them, the conversion of the answers of a language server (core/lsp) to the types of this package, and the application of a WorkspaceEdit to the documents and files of a window.
Package language holds the language registry and language configurations (SPEC §8.1).
Package language holds the language registry and language configurations (SPEC §8.1).
internal/plist2json command
Command plist2json converts a TextMate grammar in the XML property list format to the JSON format that the grammar loader reads (SPEC §8.1).
Command plist2json converts a TextMate grammar in the XML property list format to the JSON format that the grammar loader reads (SPEC §8.1).
languagetest
Package languagetest makes the registry of the bundled languages for tests.
Package languagetest makes the registry of the bundled languages for tests.
packfs
Package packfs gives tests the files of the language packs, which live in the extensions of Emetos (extensions/<name>/assets/, SPEC §8.1, §10.15).
Package packfs gives tests the files of the language packs, which live in the extensions of Emetos (extensions/<name>/assets/, SPEC §8.1, §10.15).
Package logs writes the log files and keeps the log channels shown in the Output panel (SPEC §13).
Package logs writes the log files and keeps the log channels shown in the Output panel (SPEC §13).
lsp
Package lsp is the Language Server Protocol client of the editor (SPEC §9.12, D5, D20): the Content-Length framing, JSON-RPC 2.0 requests, responses and notifications with cancellation, the server-to-client requests, the initialize handshake with Emetos's client capabilities, the conversion of positions between Emetos's byte columns (D6) and the negotiated position encoding, and the synchronization of documents with the server.
Package lsp is the Language Server Protocol client of the editor (SPEC §9.12, D5, D20): the Content-Length framing, JSON-RPC 2.0 requests, responses and notifications with cancellation, the server-to-client requests, the initialize handshake with Emetos's client capabilities, the conversion of positions between Emetos's byte columns (D6) and the negotiated position encoding, and the synchronization of documents with the server.
lsptest
Package lsptest is the test double of a language server (SPEC §9.12 "Tests"): a fake server that answers from a script written as JSON, records the traffic, keeps its own copy of every document from the notifications it gets, and crashes or stalls on command; and a harness that connects an lsp.Client to it, in the same process over pipes or to the fake server program (fakeserver) started as a real process in its own process group.
Package lsptest is the test double of a language server (SPEC §9.12 "Tests"): a fake server that answers from a script written as JSON, records the traffic, keeps its own copy of every document from the notifications it gets, and crashes or stalls on command; and a harness that connects an lsp.Client to it, in the same process over pipes or to the fake server program (fakeserver) started as a real process in its own process group.
lsptest/fakeserver command
Command lsptest-fakeserver is the fake language server as a program (SPEC §9.12 "Tests"): it speaks the protocol on its standard input and output, behaves as the script given with -script says, and exits with status 0 after shutdown and exit, 1 after exit without shutdown, 3 when it is told to crash, and 2 when it cannot start.
Command lsptest-fakeserver is the fake language server as a program (SPEC §9.12 "Tests"): it speaks the protocol on its standard input and output, behaves as the script given with -script says, and exits with status 0 after shutdown and exit, 1 after exit without shutdown, 3 when it is told to crash, and 2 when it cannot start.
Package notify holds the notification model (SPEC §10.7).
Package notify holds the notification model (SPEC §10.7).
Package plist reads XML property lists, the format of TextMate themes (.tmTheme) and of some grammars.
Package plist reads XML property lists, the format of TextMate themes (.tmTheme) and of some grammars.
Package regex compiles Oniguruma-style regular expressions for grammars, and ECMAScript-mode expressions for find (SPEC §8.2).
Package regex compiles Oniguruma-style regular expressions for grammars, and ECMAScript-mode expressions for find (SPEC §8.2).
scm
Package scm is the model of the Source Control view (SPEC §10.30, step 24.2): the source controls (repositories) that the extensions create, their groups of changed resources, the input and the action button, the counts of the badges, which repositories are shown and which one is active, the order and the tree of the resources of a group, and the values of the context keys and the arguments of the commands that the menus of the view run.
Package scm is the model of the Source Control view (SPEC §10.30, step 24.2): the source controls (repositories) that the extensions create, their groups of changed resources, the input and the action button, the counts of the badges, which repositories are shown and which one is active, the order and the tree of the resources of a group, and the values of the context keys and the arguments of the commands that the menus of the view run.
graph
Package graph lays out the history of a source control as lanes: for each commit the lanes that come into its row and the lanes that leave it, with the color of every lane (SPEC §10.30 "The Source Control Graph", step 24.20).
Package graph lays out the history of a source control as lanes: for each commit the lanes that come into its row and the lanes that leave it, with the color of every lane (SPEC §10.30 "The Source Control Graph", step 24.20).
quickdiff
Package quickdiff is the model of the quick diff (SPEC §10.30 "Quick diff", step 24.11): the changes of a document against the original text a source control says it is compared with, as VS Code's IChange (added, modified, deleted lines, 1-based), computed off the UI thread 250 ms after the last edit with core/diff, and the registry of the providers that say what a file is compared with.
Package quickdiff is the model of the quick diff (SPEC §10.30 "Quick diff", step 24.11): the changes of a document against the original text a source control says it is compared with, as VS Code's IChange (added, modified, deleted lines, 1-based), computed off the UI thread 250 ms after the last edit with core/diff, and the registry of the providers that say what a file is compared with.
Package search finds a string in the files of a folder: the engine of the Search view (SPEC §10.27, D29).
Package search finds a string in the files of a folder: the engine of the Search view (SPEC §10.27, D29).
Package settings holds the settings registry, its layers and change events (SPEC §11.1).
Package settings holds the settings registry, its layers and change events (SPEC §11.1).
Package snippet parses snippets and runs snippet sessions (SPEC §9.9).
Package snippet parses snippets and runs snippet sessions (SPEC §9.9).
Package storage holds the XDG paths, UI state, backups and profiles (SPEC §10.10, §10.12).
Package storage holds the XDG paths, UI state, backups and profiles (SPEC §10.10, §10.12).
storagetest
Package storagetest isolates tests from the real user folders (SPEC §15.1).
Package storagetest isolates tests from the real user folders (SPEC §15.1).
Package testing is the test model of the editor (SPEC §10.32, D42, D43): the tree of test items by controller, the run profiles, the run requests with their include and exclude lists, the results of the runs with VS Code's precedence of states and its durations (the last 16 runs, saved with the workspace's state of §10.10 with the output trimmed), the continuous runs that start again when a file of their items changes, and the coverage a run measured with its sums.
Package testing is the test model of the editor (SPEC §10.32, D42, D43): the tree of test items by controller, the run profiles, the run requests with their include and exclude lists, the results of the runs with VS Code's precedence of states and its durations (the last 16 runs, saved with the workspace's state of §10.10 with the output trimmed), the continuous runs that start again when a file of their items changes, and the coverage a run measured with its sums.
Package textmate loads TextMate grammars and tokenizes lines (SPEC §8.3).
Package textmate loads TextMate grammars and tokenizes lines (SPEC §8.3).
Package theme holds color themes, token colors and the workbench color registry (SPEC §8.4).
Package theme holds color themes, token colors and the workbench color registry (SPEC §8.4).
Package timeline is the timeline service (SPEC §10.30 "The Timeline view", step 24.21): the providers of the history of a file that extensions register (the Git extension's "Git History"), the questions the Timeline view asks them, and the events that tell the view a provider came, went or has new items.
Package timeline is the timeline service (SPEC §10.30 "The Timeline view", step 24.21): the providers of the history of a file that extensions register (the Git extension's "Git History"), the questions the Timeline view asks them, and the events that tell the view a provider came, went or has new items.
Package tokens keeps the tokenization state of documents and runs the background tokenizer (SPEC §8.3).
Package tokens keeps the tokenization state of documents and runs the background tokenizer (SPEC §8.3).
Package tutor makes the practice copies of the Emetos Tutor (SPEC §10.35): a folder of lessons, in the spirit of vimtutor, that the user edits in the editor itself.
Package tutor makes the practice copies of the Emetos Tutor (SPEC §10.35): a folder of lessons, in the spirit of vimtutor, that the user edits in the editor itself.
Package vstest holds test helpers that convert VS Code's 1-based UTF-16 positions to Emetos positions (SPEC §15.1).
Package vstest holds test helpers that convert VS Code's 1-based UTF-16 positions to Emetos positions (SPEC §15.1).
Package workspace holds the folder model, the file tree, the file watcher and file operations (SPEC §10.5).
Package workspace holds the folder model, the file tree, the file watcher and file operations (SPEC §10.5).
Package wrap computes where word wrap breaks a line into rows (SPEC §9.2): the algorithm of VS Code's monospace line breaks computer, which counts columns, for lines whose characters have the width of one or two columns, and the helpers the editor uses for the other lines, which it breaks by laying the text out.
Package wrap computes where word wrap breaks a line into rows (SPEC §9.2): the algorithm of VS Code's monospace line breaks computer, which counts columns, for lines whose characters have the width of one or two columns, and the helpers the editor uses for the other lines, which it breaks by laying the text out.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL