Skip to content

Workspaces and files

xmsadik edited this page Nov 29, 2026 · 1 revision

A workspace is a project folder with its own file tree, terminal tabs and viewer tabs. Terminals and tabs keep running and stay open when you switch to another workspace.

The navigation rail

The rail on the far left shows icons. The » button at its bottom expands it to full labels (Hide labels folds it again).

The expanded navigation rail next to Mission control

Adding and switching workspaces

  • Add: + in the panel header (you can pick several folders), drag a folder onto the window, or Workspaces: Add workspace… in the command palette. A project on the Projects screen that is not a workspace yet has Add as workspace. The same folder cannot be added twice.
  • Switch: click a workspace, use the quick switcher in the Files header, or press Ctrl+1 … Ctrl+9 for the first nine.
  • Remove: right-click → Remove workspace. Nothing is deleted from disk; unsaved files are offered for saving first.

The quick switcher in the Files header, with a workspace that needs permission

Workspaces and Files tabs

The left panel has two tabs. Workspaces lists every workspace with its path (paths under your home folder are shortened to ~\…) and the state of its agents. Files shows the active workspace's file tree. Picking a workspace keeps you on the tab you are on.

Groups

Sort workspaces into your own groups, for example Work, Personal or Games:

  • Right-click a workspace (or press its … button or Shift+F10) → Move to group…: your groups, New group… and Remove from group.
  • The New group button in the panel header, or right-click on empty space, creates one.
  • Right-click a group header to rename, delete (its workspaces become ungrouped) or move it.
  • Click a header, or press Enter / ← / → on it, to collapse it. A collapsed group shows a red count when one of its agents waits for you.

Workspaces without a group come last under Ungrouped. The quick switcher, Mission control and Ctrl+1 … Ctrl+9 follow the grouped order.

Workspaces tab with a Work group and ungrouped workspaces

The workspace menu also holds New agent in worktree… (Worktrees), Check docs (Docs check), Agent context… (Agent context), Rename (display name only), Move up / Move down and Open in Explorer.

The workspace menu: new agent in worktree, check docs, agent context, rename, groups

The file tree

  • Folders come first, then files, sorted alphabetically.
  • Single-click selects. Double-click (or Enter) opens a file in an italic preview tab that the next preview replaces; Ctrl+click or Ctrl+Enter opens a permanent tab. Typing in a preview tab pins it.
  • Keyboard: ↑ / ↓ move, ← / → collapse and expand, F2 renames, Delete moves to the Recycle Bin.
  • Right-click for New File, New Folder, Rename, Delete, Copy Path, Copy Relative Path, Reveal in Explorer, Open terminal here and Save clipboard image here.
  • The filter box fuzzy-searches the active workspace; Esc clears it.
  • The tree updates live when files change on disk, for example when an agent writes them.
  • Hidden by default: .git, node_modules, dist, target, .DS_Store. Change the list in Settings → Files (name-only globs such as *.log), and turn on Respect .gitignore to hide what your repository ignores.

Save clipboard image here. After a screenshot (Win+Shift+S), right-click a folder, or select it and press Ctrl+V. The image is saved as screenshot-YYYYMMDD-HHMMSS.png and its relative path is copied, so you can paste it into an agent that cannot take pasted images.

The viewer

The viewer opens files next to the terminal. Tabs belong to the workspace; an unsaved tab shows ●; middle-click closes a tab.

File type What you get
Text and code Monaco editor. Ctrl+S saves. Encoding (UTF-8, UTF-8 BOM, UTF-16) and line endings (LF/CRLF) are kept exactly. Shift+Alt+F formats JSON and XML. Files over 5 MB open read-only; files over 50 MB are not opened as text.
Markdown Edit, Preview and Split. GitHub-flavoured Markdown with tables, task lists and highlighted code; relative links and images work. Ctrl+Shift+M toggles Edit/Preview.
HTML Source and Preview. The preview runs in a sandbox with scripts off until you tick the box.
Images and SVG Fit, 100 % and zoom (Ctrl+wheel), size and dimensions in the footer. SVG also has a Source mode.
PDF Page by page, zoom, Fit width and Ctrl+F search.
Anything else Open with default app (only Reveal in Explorer for executables and shortcuts).

When an agent changes a file you have open: a clean tab reloads silently; a tab with your own edits shows Reload, Keep mine and Compare.

The status bar

From left to right: the workspace name and git branch (or a short SHA when detached), and on the right the open file's encoding and line ending, the agent count per state and the ? help button.

Clone this wiki locally