Extensions and languages
IZ Code runs VS Code extensions. Extensions that only add themes, grammars or snippets load straight into the editor; extensions with code run in a Node-compatible extension host built on Bun. Language servers, coding agents and memory providers are extensions too, and download their own runtimes when you first need them.
Two kinds of extension#
flowchart TD
subgraph win["IZ Code window"]
stat["Themes, grammars, snippets, icon themes"]
views["Views, tree views, webview panels"]
end
subgraph host["Extension host (Bun)"]
api["VS Code extension-host API"]
lc["Language clients"]
ag["Agent extensions"]
mem["Memory extensions"]
end
win <-- "loopback WebSocket" --> host
lc --> ls["Language servers"]
ag --> cli["Agent CLIs"]
mem --> prov["Memory providers"]| Extension contributes | Runs |
|---|---|
| Only static contributions (themes, grammars, snippets, icon themes, language packs) | Loaded directly into the editor. No process. |
A main entry (code that calls Node APIs) | In the extension host. |
The extension host#
The extension host is a single Bun process per window, shared by every extension with code in that window. Inside it runs the real VS Code extension-host service, so require('vscode') returns the real API, scoped to the extension that asked for it. The window talks to it over the same protocol VS Code uses for remote extension hosts.
Bun is bundled with IZ Code, so you do not need Node.js. It is Node-compatible; where Bun behaves differently from Node in ways that break real extensions, the host smooths it over (for example, child_process.spawn output always arrives as a Buffer, as on Node).
What the host provides:
- Real Node APIs.
fs,child_process,netand so on. Extensions such as GitLens, Python or Claude Code activate normally. - Activation events.
onLanguage,onCommand,workspaceContainsand the rest. - Storage and logs.
globalStateandworkspaceStateare persisted. Each extension's log channel shows up in the Output panel. - Environment variables.
izcode.envadds your own variables (a proxy, a token) to the host and everything it starts. Names that start withIZCODE_are reserved. - Restart. Restart Extensions restarts the host process, which is how an updated or removed extension with code takes effect. Language packs ask for an app restart instead.
In an SSH, peer or cloud workspace the extension host runs on the host machine, next to the files. See Remote and cloud.
Views and webviews#
Extension views appear where they do in VS Code: in the activity bar, the sidebar, the panel and the editor area. That includes tree views, status bar items, notifications, quick picks and the Source Control view.
Webview panels (for example an extension's own chat or preview) are real VS Code webviews. VS Code serves their local files through a Service Worker, which the macOS web view does not allow inside a sandboxed frame. IZ Code serves those files through its own URL scheme instead, reading only from inside installed extension folders. A webview panel can also be moved to its own window.
Where extensions come from#
The Extensions view searches two registries at once and merges the results:
| Source | What it holds |
|---|---|
IZ Code registry (ext.izcode.io) | IZ Code's own extensions: agents, language servers, memory providers, task providers. Listed first. |
| Open VSX | The open registry of VS Code extensions. |
.vsix file | Any extension package you install from disk. |
If one registry is unreachable, the other still shows results. Filters such as @installed, @recommended, @izcode, @agent, @mcp and @plugin narrow the list. Extensions are installed per user and can be enabled or disabled globally or for one workspace. See Open VSX extensions and IZ Code extensions.
Language servers as extensions#
IZ Code has no language server compiled in. Each language is an extension that owns its server, and the core decides when servers start and stop.
flowchart TD
ed["Editor"] --> reg["Core: language-server registry"]
reg -- "start, stop, restart" --> host["Extension host"]
host -- "spawns" --> srv["Server process"]- IZ Code language extensions cover Rust, TypeScript and JavaScript, Python, HTML, CSS, YAML and Markdown. Each downloads a runtime bundle for your platform from the IZ Code registry the first time it activates, for example
rust-analyzerfor Rust. On a remote host, the host downloads the bundle for its own platform. - Open VSX language extensions that use the standard language client work too. Their servers run as children of the extension host and are tracked by the core.
- A server you installed yourself can be registered by path with the manual language-server extension.
- Lifecycle. A server starts when you open a file of its language and stops after all such files have been closed for a while. Disabling the extension stops its server. Restart Language Server in the command palette restarts it.
Syntax colors while you type come from a fast local parser in the window, so they work before a language server is ready, and alongside its semantic colors once it is.
Agent extensions#
Coding agents are extensions too. Each agent extension:
- Starts the agent's command-line program, downloading it on first use when it is not a package that Bun can run directly. Large binaries are checksum-verified, resume after an interrupted download and install atomically.
- Registers it with the core's agent runtime, declaring what context it reads itself and how it signs in.
- From then on, the core talks to the agent over ACP. See Agent runtime.
So you add, update or remove an agent from the Extensions view, the same way as any other extension.
Other IZ Code extension types use the same pattern:
| Type | Registers with | Examples |
|---|---|---|
| Agent | Agent runtime | Claude, Codex, GitHub Copilot, OpenCode and more |
| Memory provider | Agent Memory | External memory services, alongside the built-in memory |
| Task provider | Tasks | GitHub and GitLab issues |
| Language server | Language-server registry | izcode-lsp-* |
Agent plugins are a separate format: plugins in the Claude Code plugin format, installed from the IZ Code registry, a Git repository, a folder or a plugin marketplace. When a plugin is enabled, its MCP servers are added to every agent session, and Claude sessions receive the whole plugin (commands, agents, skills, hooks). You can enable plugins globally or for one workspace.
Settings#
| Setting | Values | Default |
|---|---|---|
izcode.env | Object of NAME: value strings | none |
izcode.env is read when the extension host starts. Close and reopen the window after changing it. It does not apply to a remote extension host.