File Editor
Edit files directly in Emdash
The file editor lets you browse and edit code in a task's worktree without switching to an external editor. Use it to explore the codebase, make edits yourself, or review what an agent has done.
Opening the Editor
Click the folder icon in the title bar when viewing a task. The editor opens with the code editor on the left and the file tree on the right.
Navigating Files
The right panel shows your project's file tree. Click a file to open it. Files open in tabs at the top of the editor, so you can switch between multiple files.
Common system directories like node_modules, .git, and build output are hidden by default. Files with Git changes are highlighted in the file tree.
Editing
The editor covers the core editing workflow today, including syntax highlighting, find/replace, tabs, and common keyboard shortcuts. Unsaved editor buffers are saved for recovery after 2 seconds of inactivity, or press ⌘S to write the active file to disk immediately.
We're continuing to expand the editor with LSP-powered language features, ⌘P quick file opening, and drag-and-drop file support.
Saving
Files with unsaved changes show a dot in their tab. Use ⌘⇧S to save all open files at once.
After saving, the diff view updates to reflect your changes.