Description
I regularly work across multiple projects/repos in parallel, which today means multiple VS Code editor windows spread across multiple virtual desktops — one window per project. This is the classic pain point tracked in #43188 and #293272: window/taskbar clutter, no unified way to see "what am I working on right now" across projects, and constant Cmd/Alt-tabbing or desktop-switching just to change context.
The new Agents window and the GitHub Copilot app both solve a version of this problem for agent chat sessions: instead of one window per repo, you get one dedicated window with a sidebar listing sessions, each scoped to a different repo/workspace, switchable with one click. It works well and it's genuinely nice not to need
But that pattern is currently limited to agent/chat sessions (see #311148, #318936, which are about multi-root support within an agent session, not about the editor itself). For plain editing — actually opening files, running debuggers, using the terminal, per-project extensions/settings — I'm still stuck with one editor window per project, same as always.
Feature request
A "Sessions" (or "Projects") sidebar for the regular editor window, structurally similar to the Agents window's session list, but for full editing contexts rather than just chat:
- Each entry in the sidebar = one project/workspace/repo, opened and kept "warm" (its own editor group state, terminal(s), debug sessions, extension host context) but not a separate OS-level window.
- Clicking an entry swaps the entire editor workbench (explorer, open tabs, terminal, git panel, extensions view, etc.) to that project's context — similar to switching workspace folders today, but instant and without a window reload.
- Each session/project keeps genuinely separate settings, extensions-per-folder behavior, and search/index scope — i.e., it should behave like today's separate windows behave, not like a multi-root workspace (which merges search, mixes settings, etc. — a distinction people raise repeatedly in Allow to open multiple workspaces in the same window #43188).
- One editor window, one taskbar/dock icon, no virtual-desktop sprawl — this is the main win.
Alternatives you've considered
- Multi-root workspaces: doesn't fit — settings, search, and indexing get mixed across projects I want kept separate (raised repeatedly in Allow to open multiple workspaces in the same window #43188).
- Native OS window tabs (e.g., macOS
window.nativeTabs): partial workaround, platform-limited, and still N separate full workbench instances rather than a coordinated sidebar. - Third-party extensions (Project Manager, vscode-workspace-switcher, vsc-workspace-sidebar): help with quick-opening, but still open a new window/instance per project rather than consolidating into one.
Additional context
This is closely related to the long-standing #43188 and #293272, which ask for the same underlying outcome (one window, multiple projects) via a tabbed-workspace model. I think the Agents window's session-list sidebar is a cleaner, already-shipped UX for solving it — it would be great to see that pattern extended from "agent sessions" to "editing sessions" generally, rather than treated as chat-only infrastructure.
Activity
immanuelsavio commentedon Sep 14, 2026
Sandeep Somavarapu (@sandy081) I put together a working implementation for this and wanted to get your take on the architecture before opening a PR.
This is also related to #43188 and #293272, but this issue is the closest match to the workflow I was trying to solve: keeping several independent project sessions alive and switching between them without tearing down their extension hosts, terminals, editors, or workspace state.
The implementation takes a relatively small approach to the problem.
Instead of putting multiple VS Code workbenches inside a single
BrowserWindow, each project remains a normal VS Code window internally. That means each one keeps the isolation VS Code already provides:A small main-process service groups those windows. Only the active member is shown. Switching hides the current member and shows/focuses the target.
From the user side, it feels like switching full project sessions inside one VS Code frame, while internally continuing to use the existing VS Code window model.
I went this route because making multiple complete workbenches live inside one actual Electron window appears to require much larger changes around window identity, IPC, extension hosts, lifecycle, and workspace storage.
Working implementation
The implementation is here:
https://github.com/immanuelsavio/vscode/tree/feature/workspace-spaces-mvp
The branch includes the full version I have been dogfooding, including:
The UX is still experimental. The part I am mainly looking for feedback on is the window-coordination architecture underneath it.
Behavior that is working
The implementation currently handles:
I also dogfooded the original motivating case with two independent real extension sessions running in two different repositories.
Both sessions continued running while hidden, completed independently, and retained their conversation/session state while switching back and forth.
Testing
The implementation has been exercised through:
SpacesModelunit testsSpacesMainServicetestsManual dogfooding also covered:
Known limitations
There are still some intentional MVP limitations:
The name
Spacesis also provisional because of the collision with macOS Spaces.The core implementation is working end-to-end. Before opening a PR, I mainly want to confirm whether this window-coordination model is an architecture VS Code would consider upstream.
Would coordinating existing VS Code windows in this way be acceptable as the implementation direction for this feature, or would VS Code require multiple workbench contexts to live inside a single underlying OS/Electron window?
If this architecture is acceptable, I can trim the branch down to the exact PR scope you prefer and adjust naming, UI placement, platform coverage, or implementation details based on your feedback.
immanuelsavio commentedon Sep 15, 2026
Spaces-VSCode-github.mp4
Quick demo of Spaces: three projects in one VS Code window, switching between them. Each Space keeps its own workspace, extensions, terminals and Claude Code session, so work in the Spaces you're not looking at keeps running. Nothing reloads when you switch back.
Sandeep Somavarapu (@sandy081) Benjamin T. Vincent (@drbenvincent)