Overview
The Files & Editor view is ADE’s built-in IDE workbench, powered by the same Monaco engine that drives VS Code. What sets it apart is lane awareness: a workspace scope selector switches the file tree, open tabs, and diff views to any lane’s worktree instantly — letting you compare the same file across lanes without leaving the editor.Monaco Engine
Full VS Code editor quality: IntelliSense, multi-cursor, bracket matching, and syntax highlighting for every major language.
Lane-Scoped
The file tree and every open file are scoped to the selected lane. Switch lanes and the editor instantly shows that worktree’s state.
Conflict Resolution
A 3-way merge editor handles conflicts inline — accept yours, theirs, or both with a single click.
The Workspace Scope Selector
The workspace scope selector is a dropdown at the top of the Files view. It lists all active lanes in your project. Selecting a lane switches the entire file explorer and editor context to that lane’s worktree.When you switch lanes in the scope selector, open file tabs remain open but reload to show the version of each file in the newly selected lane’s worktree. If a file does not exist in the new lane, its tab shows a “File not found in this lane” placeholder.
File Explorer
The left panel is a full project file explorer for the selected lane’s worktree.Git Status Annotations
Every file and directory in the tree displays a git status badge:
Directories show a badge if any file inside them has a status. Clicking a directory badge expands it to reveal the affected files.
Right-Click Context Menu
Right-clicking any file in the explorer reveals git and file operations:Editor Modes
The editor renders in one of four modes depending on the file’s state.- Normal Mode
- Diff Mode
- Conflict Mode
- Read-Only Mode
Standard editing mode. The full Monaco editor with syntax highlighting, IntelliSense, bracket matching, and all standard editing features.Files open in Normal mode when they are unmodified or when you open a file that has not been touched since the last commit.
Conflict Resolution Workflow
When a rebase or merge produces conflicts in a lane, here is the complete resolution workflow inside ADE:1
Identify conflicted files
Files with conflicts appear in the file explorer with a red
C badge. The lane’s status in the Lanes list also shows conflict. Open the Files view scoped to the affected lane.2
Open the first conflicted file
Click the file in the explorer. It opens automatically in Conflict Mode — the 3-way merge view with your version, the base, and their version side by side.
3
Resolve each hunk
Work through each conflicting hunk using Accept Mine, Accept Theirs, Accept Both, or by editing the result manually. A progress indicator in the editor toolbar shows “3 of 7 conflicts resolved” as you work.
4
File is auto-staged on full resolution
Once the last conflict in a file is marked resolved, ADE automatically stages the file. The badge changes from
C to M (staged).5
Repeat for all conflicted files
Continue until all
C-badged files are resolved. The commit/continue bar at the bottom of the editor activates when all conflicts are cleared.6
Commit or continue the rebase
Click Complete Merge (for a merge operation) or Continue Rebase (for a rebase). ADE runs the appropriate git command (
git commit or git rebase --continue) and the lane’s status returns to idle.Saving Files
Manual save:Cmd+S saves the current file immediately. ADE writes atomically — it writes to a temporary file first, then performs an atomic rename — so there are no partial saves or corruption if the process is interrupted mid-write.
Auto-save: Configurable in Settings → Editor. Options:
- Off: Files are only saved on
Cmd+S - On focus loss: File saves when you click away from the editor pane
- After delay: File saves N milliseconds after the last keystroke (default: 1000ms)
Searching
Quick Open
Press
Cmd+P to open the quick file finder. Type any part of a filename to fuzzy-search across all files in the current lane’s worktree. Arrow keys navigate results; Enter opens the selected file.Find in Workspace
Press
Cmd+Shift+F to open workspace-wide search. Searches all files in the current lane’s worktree with full regex support. Results appear in a side panel; clicking a result opens the file at that line.- Regex mode: Toggle with the
.*button - Case sensitivity: Toggle with the
Aabutton - Include/exclude patterns: Filter results to specific globs (e.g.,
src/**/*.ts) or exclude directories (e.g.,!node_modules) - Replace: Enter a replacement string to replace individual matches or all matches in the workspace
Split Editors
Drag any open file tab to the right edge, bottom edge, or center of the editor area to split the editor pane. ADE supports up to 4 split panes in any combination of horizontal and vertical splits. Each pane is independent — you can have Diff Mode in one pane and Normal Mode in another, or view the same file in two different lanes by switching the scope selector per-pane (right-click a pane’s header to set its lane scope independently). To close a split, click the× on the pane’s header or drag its last tab back into another pane.
Terminal Panel
The optional terminal panel slides up from the bottom of the editor area. Press `Cmd+“ (backtick) to toggle it. The terminal is scoped to the same lane as the current editor scope — it opens a PTY session in that lane’s worktree. See Terminals & Sessions for full documentation on terminal session management.Breadcrumb Navigation
The breadcrumb bar at the top of the editor (just below the tab strip) shows the full path of the currently open file, segmented by directory. Click any path segment to:- Open a directory: Shows a dropdown listing all siblings at that level, letting you navigate laterally without returning to the file explorer
- Navigate up: Jump directly to any ancestor directory
Keyboard Shortcuts
Git Operations from the Editor
Beyond the file explorer’s right-click menu, ADE embeds a lightweight git operations bar at the bottom of the Files view. It shows the current branch name, staged/unstaged counts, and provides quick-action buttons:
All git operations show their output in a small inline log panel that auto-dismisses after 3 seconds on success, or stays open on error.
Related Pages
Terminals
Manage PTY terminal sessions inside lanes, including agent sessions and session transcripts.
Conflicts
ADE’s dedicated conflict detection and analysis tooling, beyond in-editor resolution.
Lanes
Understand lane types and worktree isolation before using the lane scope selector.
History
Browse commit history, checkpoints, and session transcripts for any lane.