Docs › Workspaces
Explorer
The workspace's files in a view of their own, to find, read and change them.
Where Titlebar › Explorer
Keys ⌘⇧E
Agents use it
1 min read
How it works
- Press ⌘⇧E, or Explorer in the titlebar. The sidebar shows the folder tree under Filter files, and Search beside it. With no file open, the view lists your recent files.
- Files also open here from a loop's file badges, Open in Files in git or on an artifact, a path ⌘-clicked in a terminal, the command palette's Files, or an agent.
- Each open file is a tab at the head. ⌘W closes the one showing, and ⌘⇧T reopens the last one closed. The count at the row's end lists them, with Open with and Save all.
- Press ⌘S to save; nothing is saved otherwise. Right-click selected lines for Add to loop, which hands them to a loop with their line range.
- Right-click the tree for New file, New folder, Rename, Duplicate and Remove, which moves it to the Trash.
Good to know
- If a file you are editing changes on disk, it says Changed on disk: Reload takes the new one, and Keep mine keeps your edits.
- A file outside the workspace's folders is read-only until you press Allow editing. Pictures and PDFs are drawn, and films and sounds play. Other binary or oversized files offer Show in folder instead.
- Quitting, or removing the workspace, asks before unsaved edits are lost.