File Explorer
The File Explorer lets you browse your project's file tree, search for files, and open them in the built-in viewer.
Opening the File Explorer
- Press
Cmd+F/Ctrl+F - Click the Files icon in the session header
- The file explorer opens as a right-side panel that coexists with other panels (Git, Browser, etc.)
File Tree
The main area shows your project's directory structure:
- Folders, click the chevron to expand/collapse
- Files, click to open in the File Viewer panel
- Icons, files show type-specific icons (code files, JSON, images, markdown, etc.)
- Selection, the currently selected file is highlighted
Starred Files
You can star frequently-used files for quick access:
- Right-click a file and select "Add to Favorites"
- Starred files appear in a dedicated section at the top of the file explorer, separated by a divider
- Click the star icon on any starred file to remove it
- Stars are saved per project and persist across sessions
Search
Click the search icon in the file explorer header (or it may auto-focus):
- Type to filter the file tree in real-time
- Matching files are highlighted and their parent folders auto-expand
- Clear the search to return to the full tree
Header Toolbar
The file explorer header has these buttons:
| Button | Action |
|---|---|
| New File | Create a new file (inline name input) |
| New Folder | Create a new folder (inline name input) |
| Refresh | Reload the file tree from disk |
| Search | Toggle the search input |
| Close | Close the file explorer panel |
Context Menus
File Context Menu (right-click a file)
- Open, open in the File Viewer
- Add to Chat, add the file content to your current chat message
- Add to Favorites / Remove from Favorites, toggle star
- Reveal in Finder, open the containing folder in your system file manager
- Copy Path, copy the file's absolute path
- Copy Name, copy the filename
Folder Context Menu (right-click a folder)
- New File, create a file in this folder
- New Folder, create a subfolder
- Reveal in Finder, open in system file manager
- Copy Path, copy the folder's absolute path
- Expand All / Collapse All, expand or collapse all children
File Viewer
When you open a file from the explorer (or click a file path in chat), it opens in the File Viewer panel:
- Tab bar, each open file gets a tab. Click to switch, click X to close.
- Syntax highlighting, code files are highlighted based on language
- Line numbers, shown on the left side
- Scroll, full vertical scrolling for large files
File Finder (Cmd+P)
For quick file access without browsing the tree, use the File Finder:
- Press
Cmd+P/Ctrl+P - A search modal appears, type part of a filename
- Results update in real-time with fuzzy matching
- Use arrow keys to navigate, Enter to open, Escape to close