Skip to content

Code editor

Context Code includes a real code editor, not a viewer: tabs, per-language highlighting, autocomplete and diagnostics via LSP, change comparison and project run buttons. Plus an advantage no standalone editor has: the agent works on the same files you see.

The editor: tabs, file explorer and the agent chat right beside it.
  • File Explorer in the side panel (“Show the explorer”); open files with a double click or from the quick search (“Find a file by name…” — see Search).
  • Tabs to work on several files at once; document viewers (PDF, Word, Excel, images) also open as tabs — see Documents.
  • Save with Ctrl+S; Format document and Format on save are available as commands.
  • Ask the AI about the selection: select code and ask the agent directly about that snippet.

The editor talks to language servers (LSP) to give you autocomplete, errors and warnings just like an IDE, across several languages. If you open a file whose language server isn’t installed, the app tells you and offers to install it — no wrestling with the terminal.

When the agent edits files, you can review its changes as diffs: what was there before and what’s there now, file by file. It’s the natural companion to the Ask for approval mode.

Every edit the agent makes can be reviewed as a diff.

The app ships dedicated run and build buttons, with support for different project build targets. Output runs in the built-in terminal, in plain sight for both you and the agent.

LSP servers detected on your PATH provide real go-to-definition, hover and diagnostics.