← All work

VS Code, in C++

August 2026

  • C++
  • Dear ImGui
  • Tools

How much of VS Code is Electron, and how much is just a good editor? This is a native C++ reimplementation of the core editing experience built on Dear ImGui:

  • tabs, multi-cursor-style editing, find/replace, undo with typing coalescing
  • incremental tree-sitter highlighting using each grammar’s own highlights.scm
  • an integrated terminal on a real PTY (forkpty / ConPTY) with an xterm emulator
  • git status, gutter diff marks and a Source Control view
  • an LSP client for diagnostics, completion, hover and go-to-definition (clangd, pyright…)