Skip to content

Reviewing changes

Every time the agent edits a file, the changes appear in the file changes panel inside the chat. You can review, accept, or reject edits — per file or all at once.

The panel appears in the chat whenever there are pending edits. It shows:

  • The number of changed files
  • Total added and removed lines across all files
  • A list of individual files with per-file line counts

Click the panel header to expand the file list. Click a file to open it in the editor — the cursor jumps to the first changed line automatically.

Click the FileDiff icon button in the panel header to open all changed files in a multi-file diff viewer. This is useful for reviewing all edits before making a decision.

Inline change snippets in chat strip indentation that is common to every shown line. Deeply nested edits are easier to scan, while the actual file contents and relative indentation stay unchanged.

When a changed file is open in the editor, the following shortcuts are available (when the editor has focus and the file review context is active):

ActionShortcut
Go to next fileAlt+Right
Go to previous fileAlt+Left
Accept changes in fileAlt+A
Reject changes in fileAlt+R

Individual file:

  • Hover over a file in the list — Accept (Check) and Reject (X) icon buttons appear.
  • In the editor use Alt+A / Alt+R.

All changes at once:

  • Keep all — accepts all edits and moves the baseline forward.
  • Undo all — restores the workspace to the state before all current edits.

If auto-approve for file edits is enabled, edits are applied automatically without a prompt. The file changes panel still shows all edits, and you can always use Undo all or roll back via a checkpoint.