VCode home

Open a file

Agents: claude, codex, opencode · On: phone, desktop

One file from the explorer, in a sheet over the thread on a phone and in a tab of its own on a wide window. A text file opens in the editor, numbered and coloured; images are shown, videos play, anything else is named with its size.

Why you would use it

The agent says it edited a file and you want to see the file, not its description of it. Opening it here keeps you in the thread, on the phone, with the same colouring the transcript uses.

How to use it

  1. Open the explorer and tap a file row, or tap a result from the filter. The viewer sheet (#viewer) slides up. A file link in an agent's reply opens it too, scrolled to the line the link names; see formatted-answers. So does the file name on a READ or WRITE card; see read-the-transcript.

    On a window at least 760px wide the file opens as a tab in the focused pane instead of a sheet, beside the thread; see file-tabs.

    A JavaScript file in the viewer, every line numbered and coloured, with the path in the head

  2. Scroll the file. Its path is in the head (#viewer-path).

  3. Tap the close button (#viewer-close) or press back to shut it. Back closes the viewer before the explorer, and the explorer before leaving the app. In a file tab the close button closes the tab, and back leaves it alone.

What you see

Limits and known gaps