Back to tips

Jump to Files from Agent Diffs

Open files directly from agent-shown diffs with Option-Enter

ai beginner March 16, 2026 · godruoyi
#agent #navigation #diff #workflow

When reviewing diffs in the agent conversation, you can now jump directly to the actual file by placing your cursor in the diff and pressing Option-Enter.

How to Use

  1. Review agent changes in the Agent Panel
  2. Click anywhere in a diff block to place your cursor
  3. Press Option-Enter to open the file at that location
  4. Use Shift-Option-Enter to open in a split pane

This uses the standard editor: Open excerpts and editor: Open excerpts split actions.

Why This Matters

Quick navigation: Jump from conversation to code instantly.

Context switching: Move seamlessly between review and editing.

Efficient workflow: No need to manually search for files mentioned in diffs.

Split view support: Open side-by-side for simultaneous comparison.

Example Use Cases

  • Jump to a file to review agent changes in full context
  • Navigate to related code after understanding agent’s modifications
  • Open files in split view to compare before/after states
  • Quickly investigate why the agent made certain changes

This makes the agent conversation feel more integrated with your editing workflow, reducing friction when moving between discussion and implementation.