Opening the File Explorer
The File Explorer lives in the Right Bar on the Files tab.- Keyboard
- Mouse
src/renderer/constants/shortcuts.ts:27, 9-13src/renderer/components/FileExplorerPanel.tsx
File Tree Features
Git Status Indicators
Files display color-coded status badges:| Badge | Status | Color | Description |
|---|---|---|---|
| M | Modified | Orange | File has uncommitted changes |
| A | Added | Green | File is newly added (staged) |
| D | Deleted | Red | File is deleted (staged) |
| ? | Untracked | Gray | File is not tracked by git |
| C | Conflicted | Red | File has merge conflicts |
src/renderer/contexts/GitStatusContext.tsx
File Icons
Files show extension-specific icons with theme-aware colors:Folder Expansion
Keyboard Navigation
Use arrow keys:
→Expand folder←Collapse folder↑/↓Navigate up/downEnterOpen selected file
Hidden Files
Toggle hidden file visibility: Settings → Interface → Show Hidden Files When disabled, files matching these patterns are hidden:.*(dotfiles)node_modules/dist/,build/,out/__pycache__/.git/
src/renderer/hooks/useSettings.ts → showHiddenFiles
Filtering Files
Quickly find files with fuzzy search:- Filter Files (Cmd+F)
- Fuzzy File Search (Cmd+G)
When the Files tab is focused, press Features:
Cmd+F to filter the visible tree:- Case-insensitive search
- Matches anywhere in path
- Real-time filtering
- Highlights matches
src/renderer/constants/shortcuts.ts:90@-Mention System
Reference files directly in AI prompts using @-mentions:How It Works
Select File
Navigate suggestions with arrow keys:
↑/↓Navigate up/downEnterSelect fileEscCancel autocomplete
src/renderer/hooks/useAtMentionCompletion.ts@-Mention Features
Fuzzy Matching
Fuzzy Matching
Type partial paths and get intelligent matches:
File Type Icons
File Type Icons
Autocomplete shows file extension badges:
- TypeScript: Blue badge
- Markdown: Green badge
- JSON: Amber badge
- CSS: Purple badge
Git Status
Git Status
Modified files show their git status in autocomplete:
- M for modified files (more likely to be relevant)
- A for added files
- ? for untracked files
Folder @-Mentions
Folder @-Mentions
Reference entire directories:The AI sees the folder structure and can analyze multiple files.
@-Mention Interface
src/renderer/components/MainPanel.tsx:96-100
File Preview
Double-click files to open them in File Preview tabs:Preview Features
- Syntax Highlighting
- Edit Mode
- Search in File
- Copy Path
Code files render with full syntax highlighting:
- 100+ languages supported
- Theme-aware colors
- Line numbers
- Copy code button
File Preview Tabs
File previews open as tabs alongside AI tabs:src/renderer/utils/tabHelpers.ts
File Operations
Context Menu
Right-click any file for operations:- Open in Preview - Open in tab
- @-Mention - Insert reference in prompt
- Copy Path - Copy full path
- Copy Relative Path - Copy workspace-relative path
- Reveal in Finder - Show in file manager
- Open in External Editor - Open in default app
src/renderer/components/FileExplorerPanel.tsx
Drag and Drop (Planned)
Future: Drag files from explorer into input field to create @-mentions.File Tree Refresh
Refresh file tree to see new files:- Auto-Refresh
- Manual Refresh
Enable auto-refresh in File Explorer settings:Right Bar → Files → ⚙️ → Auto-refresh intervalOptions: 5s, 10s, 30s, 60s, or disabled.
src/renderer/hooks/useFileTreeManagement.ts:refreshFileTree()
SSH Remote Files
When an agent uses SSH remote execution, file operations work transparently:- File tree shows remote files
- @-mentions work with remote paths
- File preview loads remote content
- Edit mode saves to remote host
src/main/utils/ssh-spawn-wrapper.ts
File Tree State Persistence
Your file tree state persists across sessions:Saved State
- Expanded folders - Which folders are open
- Scroll position - Where you scrolled to
- Filter query - Last search term
- Hidden files toggle - Show/hide setting
maestro-sessions.json
Keyboard Shortcuts
Next Steps
Git Integration
Git status indicators and diff viewer
Output Filtering
Search and filter AI responses
Dual-Mode Sessions
Switch between AI and terminal
Keyboard Shortcuts
Complete keyboard reference