Skip to content

Files and editor

The Files and Editor surfaces provide direct, user-initiated access to the project folder you selected.

  • Open Files in the right panel to browse the active project.
  • Select a text file to open or focus an Editor tab.
  • Select a supported image, PDF, audio, or video file to open a read-only Preview tab.
  • Use filename, text, or symbol search when you need to locate code rather than browse folders.

The editor tracks dirty buffers and external changes. If another tool changes an open file, review the conflict instead of blindly overwriting it.

Untitled documents remain in memory until you save them. After Save As, the native host keeps a process-local handle to the chosen file; the document itself remains on disk.

Files and Editor are user-facing workspace features. Agent file operations are performed through OpenCode tools. Both can use the same project directory, but neither replaces the other’s ownership or permission boundary.