The extension adds 4 commands. They add the folder in the active file to the workspace.
It's better than "Add Folder" not to show the folder dialog.
The settings let the user control whether to show each command in the context menu.
Right-click the title menu and select "Add This Folder to Workspace".
It adds the folder in the active file to the workspace by one click.
Run the command "Add This Folder to Workspace with Pick".
The user can pick a folder from the upper folders in the active file and adds the folder to the workspace.
Right-click the title menu and select "Add This Folder to Workspace & Close Others".
It adds the folder in the active file to the workspace and removes other folders from the workspace.
It is a bit better than "Close Workspace" and "Add This Folder to Workspace".
Run the command "Add This Folder to Workspace & Close Others with Pick".
The user can pick a folder from the upper folders in the active file, adds the folder to the workspace and removes other folders from the workspace.
It is a bit better than "Close Workspace" and "Add This Folder to Workspace with Pick".
- Controls whether to ask for confirmation in the 'Add This Folder to Workspace & Close Others' (
true
by default)
addThisFolderToWorkspace.confirmCloseOthers: true
- Controls whether 'Add This Folder to Workspace' is displayed on the context menu (
true
by default)
addThisFolderToWorkspace.showAddThisFolderToWorkspaceInContextMenu: true
- Controls whether 'Add This Folder to Workspace with Pick' is displayed on the context menu (
false
by default)
addThisFolderToWorkspace.showAddThisFolderToWorkspaceWithPickInContextMenu: false
- Controls whether 'Add This Folder to Workspace & Close Others' is displayed on the context menu (
true
by default)
addThisFolderToWorkspace.showAddThisFolderToWorkspaceCloseOthersInContextMenu: true
- Controls whether 'Add This Folder to Workspace & Close Others with Pick' is displayed on the context menu (
false
by default)
addThisFolderToWorkspace.showAddThisFolderToWorkspaceCloseOthersWithPickInContextMenu: false
You can install the extension from the Visual Studio Marketplace.