mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
adds close workspace to data workspace view menu (#13809)
* adds close workspace to data workspace view menu * moving vscode command out to main * update context menu groups
This commit is contained in:
committed by
GitHub
parent
c7303803ba
commit
786d526e9c
@@ -35,6 +35,9 @@ export function activate(context: vscode.ExtensionContext): Promise<IExtension>
|
||||
context.subscriptions.push(vscode.commands.registerCommand('dataworkspace.refresh', () => {
|
||||
workspaceTreeDataProvider.refresh();
|
||||
}));
|
||||
context.subscriptions.push(vscode.commands.registerCommand('dataworkspace.close', () => {
|
||||
vscode.commands.executeCommand('workbench.action.closeFolder');
|
||||
}));
|
||||
context.subscriptions.push(vscode.commands.registerCommand('projects.removeProject', async (treeItem: WorkspaceTreeItem) => {
|
||||
await workspaceService.removeProject(vscode.Uri.file(treeItem.element.project.projectFilePath));
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user