Opening
Open the Editor with ⌘⌥E or "Open in Editor" on a sidebar row. There is one Editor window: it follows the sidebar selection and remembers each workspace's own saved mode; the first time it opens a workspace, a Git workspace starts in Diff and a folder workspace in Editor. Stopping or restarting the workspace it shows doesn't close it.
Diff
The toolbar's Compare button names the current scope and opens a menu: "Uncommitted", "Last commit", a "vs <base branch>" preset (only when the workspace has a configured base branch), "Branch…", or "Commit or ref…".
Editing
Files and Changes lists show each entry with a file-type icon. ⌘P opens a file by name. A file or folder row's context menu offers "New file", "New folder", "Rename", "Move to…", and "Delete", plus "Open in system viewer" for a file the Editor can't open as text (workspaces on this Mac only). Edits save themselves about 0.8 seconds after you stop typing; ⌘S saves at once.
Previews
- • Markdown: Split, Source, or Preview.
- • JSON: a read-only Tree, or Text for editing.
- • SVG: a rendered Preview over an editable Source.
- • CSV and TSV: a read-only Table, or Text.
- • Images: fit to the pane, with pixel dimensions and byte size shown.
Other editors
Settings → General → "Preferred editor" lists Built-in first, then whichever of VS Code, Devin Desktop, and Zed are installed on your Mac. With another editor chosen, ⌘⌥E and "Open in Editor" open the workspace there instead of the built-in Editor window.