A code editor, written in Go
v1.3.1
The editor you know. Without the browser inside.
Emetos reads your settings.json, your keys, your themes and your snippets the way VS Code does. Git, a debugger, tests, a terminal, containers, databases and an HTTP client are inside one Go binary. No Electron, no Node.js, no cgo.
go install -tags glutter_release github.com/rm4n0s/emetos/cmd/emetos@latest

VS Code’s Source Control, with the graph of commits under it and the diff of a change beside it.
A Go program stopped at a breakpoint, with its variables, call stack and the values in the editor.
The Test Explorer, the lines that the tests covered, and the message of the test that failed.
Hover, completion, go to definition and rename come from the language servers you already have.
A terminal emulator written in Go. It is not xterm.js, and there is no web view under it.
Docker and Podman, with the logs of a container in the panel.
A query and its rows. The drivers of five SQL engines are part of the program.
Requests in readable files of your project, with environments and the response under them.
260 ms
from the start of the program to the first frame of its window, with a GPU
184 MB
of memory with a file of 10,000 lines open
0 frames
are drawn while its window does not have the focus, and 0.00% of a core is used
5×
faster than grep -rF over 20,000 files, with a search engine of its own
One binary
go installmakes one program of about 90 MB that you can copy anywhere. There is no Electron and no Node.js inside it, and no C compiler is needed to build it.Your VS Code habits
Ctrl+P, Ctrl+Shift+P, Ctrl+D, F12 and F2 do what your fingers expect. The settings, the command ids and the keyboard shortcuts for Linux have VS Code’s names.
Drawn on the GPU
The interface is built on Glutter and drawn with Vulkan or OpenGL ES. There is no web view anywhere, also not in the terminal.
Bring your VS Code with you
A setting, a key, a color theme, a grammar or a snippet file means in Emetos what it means in VS Code. Copy your files, and the editor looks and answers the way you left it.
settings.jsonandkeybindings.jsonin VS Code’s format. The settings editor keeps your comments when it writes them.- The six default color themes of VS Code, and your own as VS Code’s JSON or
.tmTheme - TextMate grammars, and snippets in VS Code’s syntax
launch.jsonin VS Code’s format for the debugger
{
"workbench.colorTheme": "Dark Modern",
"editor.fontFamily": "JetBrains Mono",
"editor.fontSize": 14,
"editor.minimap.enabled": true,
"editor.formatOnSave": true,
"files.autoSave": "afterDelay",
"terminal.integrated.defaultProfile.linux": "zsh",
"go.goplsPath": "/home/me/go/bin/gopls"
}
Everything you open VS Code for
These are not plans. Each one is built, has its tests, and is in the release you install.
Language intelligence
Completion, hover and rename, from the servers you already use
Emetos speaks LSP 3.17. It finds gopls, rust-analyzer, clangd, Pyright, typescript-language-server, Eclipse JDT LS and csharp-ls where you installed them, and it never installs one itself.
- Diagnostics as squiggles and in the Problems panel
- Go to Definition, the peek view, and Find All References in a view of its own
- Rename across files with a preview, code actions, and format on save
- The Outline, breadcrumbs, sticky scroll, inlay hints and code lens
Git
Source Control, with the graph
Stage, commit, branch, merge, rebase, stash and sync without leaving the window. Passwords and passphrases that git asks for open in the window, also when you type git push in the terminal.
- The diff editor, and many files in one scrolling diff
- Stripes in the gutter for changed lines, with a peek that stages or reverts one change
- The graph of commits, the timeline of a file, and blame after the line of the cursor
- Worktrees, cherry-pick, revert, and clone
Merge conflicts
A merge editor with three sides
Incoming on the left, current on the right, the result under them. Accept one side, both, or type the result yourself. git can open it too, with --merge and --wait.
Run and Debug
Breakpoints in five languages
Press F5. The debug toolbar, Variables, Watch, the Call Stack and the Debug Console work over the Debug Adapter Protocol, as in VS Code.
- Go with Delve, Python with debugpy
- C, C++ and Rust with gdb or lldb-dap
- JavaScript and TypeScript with js-debug
- The values of the variables after their lines while the program is stopped
Testing
Run one test, or all of them, and see what they covered
The Test Explorer lists packages, files, tests and subtests. A failure shows its message where it happened, and coverage colors the lines.
- Go with
go test, Python with pytest and unittest - Rust with
cargo test, C and C++ with CTest - JavaScript and TypeScript with Node’s test runner, Jest and Vitest
Terminal
A real terminal, not a web page of one
The emulator is written in Go, and its grid is drawn from an atlas of glyphs with two draw calls. cat of a file of 100 MB takes about two thirds of a second.
- Splits, a list of tabs, and a terminal as a tab beside your files
- Find in the scrollback, and file names and web addresses that open with Ctrl+click
- Ctrl+Space lists commands, their options, files and your history
- The names, folders and last lines of your terminals come back at the next start
An extension elsewhere. Part of the program here.
In other editors you look for these, install them and keep them up to date. In Emetos they are compiled in, and they start when you click their icon.
Docker and PodmanContainers, images, networks and volumes, logs in the panel, shells, build, Compose, and Podman’s pods.
SQLPostgreSQL, MySQL, MariaDB, SQLite and SQL Server. The drivers are pure Go, so there is nothing to install.
MongoDBDatabases, collections, indexes and schemas in a view, and playgrounds that run your queries.
RedisA browser for the keys, an editor for each kind of key, a console, Pub/Sub and Monitor.
HTTP ClientCollections of requests that live in your repository, environments, secrets in the keyring, checks, and OAuth 2.0.
Remote WorkHost a workspace, and open it from another computer as a tab. SSH public keys say who may. It is new, and still experimental.
And the editor itself
The part you use every minute was built first, and against VS Code’s behavior.
Multiple cursors
Alt+Click, Ctrl+D for the next occurrence, column selection, and undo of the cursors.
Search in all files
VS Code’s Search view over an engine written in Go. It honors your
.gitignoreand replaces in one undo step.Editor groups
Split in any direction, drag tabs between groups, and put a terminal in a group.
Large files
A file of 200 MB and 4.6 million lines opens in a little over a second.
Hot exit
Unsaved changes, also of files with no name, come back after a restart or a crash.
Snippets and Emmet
Your snippet files in VS Code’s syntax, and Emmet abbreviations for HTML and CSS.
Markdown preview
A Preview tab inside a Markdown file, or the preview to the side.
A tutor
emetos --tutoropens eleven lessons that you do inside the editor, likevimtutor.
Measured, not promised
Every number has a method and a script that repeats it. The targets that were missed are written down beside the ones that were met.
| What | Measured |
|---|---|
| Start of the program to the first frame of the window | 260 ms |
| Typing in a file of 10,000 lines: the work of the UI thread for a frame | 2.3 ms |
| Idle, with the cursor blinking | 0.47% of a core |
| Idle, when another window has the focus | 0 frames, 0.00% of a core |
| Memory with a file of 10,000 lines open | 184 MB |
| A search in 20,000 files, 500 MB in all | 57 ms (grep -rF: 310 ms) |
cat of a file of 100 MB in the terminal | 0.65 s |
| A file of 200 MB, to the first frame with its text | 1.3 s |
On an AMD Ryzen AI Max+ 395 with a Radeon 8060S and Fedora 44. The last two rows were measured without the GPU, with a software renderer. The method and every number are in docs/PERFORMANCE.md.
Built on Glutter
Every pixel of Emetos is drawn by my own GUI toolkit.
What Emetos does not do
Better to read it here than to find it out.
- VS Code’s extensions do not run in Emetos, and there is no marketplace. Its extensions are Go packages that are compiled into the program.
- It does not read
.vscode/. The settings and thelaunch.jsonof a folder are in.emetos/. - It installs no language server and no debugger. It uses the ones you installed, and says how to get one that is missing.
- Not built: VS Code’s
tasks.json, remote development over SSH and in containers, notebooks, multi-root workspaces and settings sync.
Under the hood#
Emetos follows VS Code where VS Code has the behavior, so a VS Code user finds their way: the same settings, command ids, color themes, TextMate grammars and snippet files, the same formats of settings.json and keybindings.json, and VS Code’s keyboard shortcuts for Linux.
Language features (completion, hover, diagnostics, go to definition, rename and more) come from language servers, so the editor itself does not depend on a language.
Emetos has its own extensions. They are Go packages compiled into the program, not VS Code extensions. To add one, you add its folder and one line to the list of extensions, and build Emetos again. An extension that fails is switched off for that tab, and the rest of Emetos goes on.
Its interface is built on Glutter. The system libraries are called without cgo, so CGO_ENABLED=0 go build makes the same program.
- Kind
- Application
- Language
- Go
- Runs on
- Linux, macOS
- License
- MIT
- Version
- v1.3.1

Start with one command
You need Go 1.27 or newer and git. There is no C code in Emetos, so you need no C compiler and no make.
# Install the last release
$ go install -tags glutter_release github.com/rm4n0s/emetos/cmd/emetos@latest
# Open a folder
$ emetos .
# Learn the editor inside the editor
$ emetos --tutor
# Put it in your application menu
$ emetos --install-launcher

