Source
A full editor on your working tree, with navigation backed by the same engine as the diagram.
Source is a code editor (Monaco) on your working tree, with a language server behind it. Edits are saved to disk, and changes made outside peekcode, by you or an agent, show up live.

Move through the code
| Keys | Action |
|---|---|
| ⌘P | Quick open, from any tab. Type :42 to jump to a line. |
| ⌘O / ⌥⌘O / ⌘E | Go to class / symbol / recent files |
| ⇧ ⇧ | Search everywhere |
| ⌘⇧F | Search the repo, with Match case, Whole word, Regex and a file filter such as *.java |
| ⌘B or ⌘-click | Go to declaration |
| ⌥F7 | Find usages |
| ⌘L | Go to line |
| ⌘\ | Split editor right |
Go to declaration and find usages use the peekcode engine, so they agree with the diagram. Above each function, the Diagram lens opens its flow and N callers lists who calls it. If a language server is missing, the editor offers to install it.
Files
- The file tree (⌘⇧E): New file, New folder, Rename, Move to Trash (⌘⌫), drag to move, undo, and Show hidden files.
- Tab menu: close others, to the right, saved or all; Copy path, Copy relative path, Copy @file#L reference (for an agent prompt), Reveal in tree and Reveal in Finder.
- Lock the whole project read-only when you only want to read. A file at a commit, or library source, opens read-only. For Maven libraries, Download sources fetches the
-sources.jar. - Make entry point on a function adds it as a flow. See Flows.
Git beside the code
The Git panel (⌘⇧G) stages, unstages and discards files, commits (Commit all, Commit and push, Amend), and fetches, pulls, pushes or publishes the branch. Review by hunk steps through changes with Stage hunk, Unstage hunk and Discard hunk. Show line author turns on blame. The Diff tab shows base against head, side by side or inline; F7 and ⇧F7 move between files.
With agents
Drag a span of code into a Claude, Codex or Antigravity terminal to put a reference to it in the prompt. ⌘-click a file path in terminal output to open it here. When an agent is editing the open file, a banner says so.
Editor settings (theme, font, word wrap, sticky scroll, auto save…) are in Settings → Source code. Every key is in Keyboard shortcuts.