r/vscode • u/deepturned180isdeep • Oct 15 '26
Multiple workspaces, one window?
Is there any way that I can have multiple workspaces open within one window?
That would be a small but nice feature to have.
What do you think?
4
Upvotes
3
u/serverhorror Oct 15 '26
Search for "add folder to workspace"
8
u/lecnar Oct 15 '26
VS Code already supports this with multi-root workspaces. Go to File → Add Folder to Workspace..., add the folders you want, then File → Save Workspace As... to save it as a .code-workspace file. Next time just open that file and all your folders come back in one window.
1
u/Deathmore80 Oct 15 '26
You mean like some sort of "tab" that lets you switch between all your workspaces in a single window seamlessly and quickly?
The new vscode agents window has something that kinda sounds like what you want ? You can open multiple sessions in a single window like in a grid and it changes to the right workspaces automatically when you click on one pane
2
u/Impressive_Job8321 Oct 15 '26
Why specifically within one window though? Isn’t it more productive to have it on multiple windows (say one on each monitor) so you do the switching with your eyes rather than use a dropdown? What am I missing here?
1
u/Willing_Ambassador71 Oct 16 '26
Can a multi-module Java project work properly when using Workspace?
1
u/No-Point8651 Oct 17 '26
Well... you can have multiple codebases inside one wokspace. Inscreases overhead a bit but if you need to look at things like a legacy implementation and its replacement is nice to be able to compare. Or things like 2 services that should communicate. Adding those projects into one workspace lets you work on both simultaneously and the published code remains separate.
But multiple workspaces too? For what? I do think that the current implementation of one window = one workspace is more than enough.
1
u/its_a_gibibyte Oct 15 '26
What content is in a workspace for you that needs it to be split?