File viewer

Modified on: Tue, 21 Jul, 2026 at 3:11 PM

The built-in file viewer lets you read files and make quick edits inside a worktree without leaving the app. This article covers what it can do and how to open it.

Open a file (⌘P)

Press ⌘P (use Ctrl in place of on other platforms) to jump straight to a file in the current worktree. It's the quickest way to open one — whether to read it or make a small edit.

What it does

  • Syntax highlighting — read code comfortably.
  • Markdown rendering — read a README or other .md file formatted, not as raw text.
  • Basic edits and save — make a quick change and save it right there.

File tabs sit alongside the chat tabs in the same worktree, so you can flip between reading a file and talking to the agent about it. The viewer is scoped to the worktree you have selected — it's part of that worktree's context, not a separate, global file browser.

When to use it

The file viewer is built for reading and light edits — checking a README, glancing at what an agent changed, or tweaking a line or two. Keep it open next to a chat to follow along as a task progresses.

Next steps

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.