Code Editor
Code Editor. Edits snippets, configs, and other code-shaped objects in the vault with a genuinely capable editor: Shiki highlighting, multi-cursor, folding, diagnostics, and diffs. It opens any source-code MIME the vault hands it.


What it can do
Section titled “What it can do”- Shiki syntax highlighting with lazily loaded per-language grammars and light/dark themes.
- Multi-cursor and select-next-occurrence, bracket matching, auto-close pairs, code folding, and word wrap.
- Quick-open (Cmd/Ctrl+P) and a fuzzy command palette (Cmd/Ctrl+Shift+P).
- Built-in diagnostics with inline squiggles, gutter change markers, and unified or side-by-side diffs against the saved baseline.
- Prettier formatting for web languages, on save or on demand.
- A collaborative Y.Text buffer on the same local-first substrate as everything else, with virtualized rendering for large files.
Related
Section titled “Related”- Objects — code files are vault objects too