Open Files to browse the project, edit source, and review changes beside the conversation. Citations open at the referenced line; Mod+K finds a file by name; F12 or Mod-click goes to a definition.
Files, folders, and tabs
A single click opens a preview tab that the next browsed file can reuse. Editing, saving, or pinning turns it into a regular tab. Pinned tabs stay at the front.
The Files tree can create, rename, duplicate, drag, and trash files or folders. Renaming a file or folder keeps its open tabs connected to the new path. Deletion confirms first and uses the operating-system Trash. Open folders and scroll position are remembered. .git stays hidden; .paintedwolf/ is listed so you can open blueprints and verify.yaml from Files.
Right-click a path to reveal it in your file manager, copy its path, or add it to chat. To use another editor for citations, set Settings → General → Editor → Open citations in.
Ask from the editor
Select code and press Mod+I to request a focused edit. With no selection, the app uses the enclosing symbol or nearby lines. Unsaved work must be saved or discarded first.
Right-click a selection for common requests:
| Action | Result |
|---|
| Explain or Summarize | Answer in chat. |
| Document this, Add test, or Rewrite structurally | A focused edit to review. |
| Rename symbol | A syntax-aware rename in this file, or a project-wide preview. |
| Fix this finding | A targeted edit when a scanner finding covers the selection. |
These focused turns cannot use the shell, network, or MCP. Press Mod+L instead when you want to attach the selection to a chat without sending it.
When the agent edits an open file
Agent changes play into the open buffer. If you have unsaved work, the app offers a three-way merge rather than overwriting it. If an edit reaches the line where your caret is active, you can let it write, hold it, or cancel that write.
The gutter marks scanner findings and the turn that produced changed lines. Hover a change mark for the turn that wrote it, open that turn in chat, or reject the change. F8 and Shift+F8 walk the caret down and up the findings in the file.
Review changes
Switch from Files to Review for changed files and diffs. Choose Working changes, This turn, Everything in this chat, a saved pin, or Since last commit when Git is available. Git affects only the commit comparison; the other scopes work without it.
The same scope marks changed lines in open source tabs. Marks appear only when the tab matches the revision being reviewed, so they never point at stale lines.
Review keeps your changes, AI changes, and changes from outside the app in one file list. Use All contributors for the complete history or Needs review for AI work that still needs your attention. Mark reviewed clears only the revision you saw, so a newer edit stays pending.
Choose Save current state to pin a comparison point you want to return to later. Pins belong to the project and remain available across chats. Step through the run follows one file-changing action at a time and keeps its diff and tool call together.
Explain in Review opens a briefing pinned to the file’s current revision. Its structure and key declarations appear immediately, followed by a bounded explanation with source-line evidence. Reopening the card restores the briefing, and another file change marks it stale. For review before selected writes reach disk, see Verification & edit review.
Layout and file behavior
Files can sit beside chat or open in another window. Every window sees the same document and unsaved work. One window edits it at a time. Closing the file hands editing back, so the next window picks it up on its own; while a window still has it open, choose Edit here to take over.
Unsaved work is recovered after an app restart. Tabs, cursors, scroll positions, and folds are restored separately. If the file changed on disk, the draft stays available and the editor asks you to reload or merge instead of overwriting the newer file.
The editor handles text files up to 4 MiB and preserves common Unicode encodings, byte-order marks, and line endings. Larger files and binaries are metadata-only.
Editor actions share the app shortcut registry: find them in Mod+K or rebind them under Settings → General → Keyboard. See Keyboard shortcuts for the main bindings.
Next: Search & replace · Verification & edit review