-
Notifications
You must be signed in to change notification settings - Fork 30.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test: Multi Root Workspaces #30722
Comments
Sorry in advance if this is the wrong place to put this question, but is there any way to achieve the following functionality? I have folder |
@glarue currently not but we are working on SCM support for multi root scenarios. |
@isidorn @weinand @chrisdias todays insider build should be good to go for testing 👍 |
@isidorn @weinand @chrisdias Please update to latest insiders for testing. Thanks. |
@weinand @isidorn @chrisdias thanks so much for taking the time to test, you found awesome bugs ❤️ |
Test for: Multi Root Workspaces
Complexity: 5
In this milestone we rewrote how multi root workspaces surface in VS Code. The previous solution with having a
workspace
setting in user settings is obsolete (there is no migration). See #396 (comment) for more details on our approach.Note: to see the workspace name in the window title (helps for testing), configure
"window.title": "${activeEditorShort}${separator}${rootName}"
Basics
Most workspace related operations center around a new submenu under the file menu:
Try to work with multi root workspaces and play around with the available actions. Transition between empty workspaces, single folder workspaces and multi-root workspaces. Some things to keep an eye on:
File > Open Recent
as well as the recently opened picker (F1>open recent
)window.restoreWindows: all
to restore multiple windows)Untitled Workspaces
Workspaces that are not saved are called "Untitled Workspace". Verify:
Data
Once you are in a workspace context, we use the workspaces identifier to associate:
ExtensionContext.storagePath
API)Verify:
ExtensionContext.storagePath
location per workspaceSettings
Once you are in a workspace context, workspace settings are no longer stored within the
.vscode
folder, but within the workspace file.NOTE: Opening workspace settings in a Multi-root workspace currently shows the complete workspace config file. To show only Settings, is pending for next week.
Verify:
The text was updated successfully, but these errors were encountered: