-
Notifications
You must be signed in to change notification settings - Fork 34.3k
Closed
Labels
apifeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplanremoteRemote system operations issuesRemote system operations issuesworkbench-multirootMulti-root (multiple folders) issuesMulti-root (multiple folders) issues
Milestone
Description
Today I can call vscode.openFolder to open a folder programmatically:
vscode.commands.executeCommand("vscode.openFolder", vscode.Uri.file(path), false);
However, I would like to be able to do the same thing with the new multi-root workspace and just add a folder to the workspace. Something like this, but where I can pass in a Uri
For more context on our scenario, see @chrisdias's comments on this issue: #13807
NOTE: We realize such a command might restart the extension host, but we don't care if that happens.
Metadata
Metadata
Assignees
Labels
apifeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplanremoteRemote system operations issuesRemote system operations issuesworkbench-multirootMulti-root (multiple folders) issuesMulti-root (multiple folders) issues