mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Data Explorer Disconnect and Error Handling (#4243)
* adding context * apply extension changes * shimming disconnect * add data explorer context menu and add disconnect to it * clean up shim code; better handle errors * remove tpromise * simplify code
This commit is contained in:
@@ -98,7 +98,8 @@ export const enum MenuId {
|
||||
ViewTitle,
|
||||
// {{SQL CARBON EDIT}}
|
||||
ObjectExplorerItemContext,
|
||||
NotebookToolbar
|
||||
NotebookToolbar,
|
||||
DataExplorerContext
|
||||
}
|
||||
|
||||
export interface IMenuActionOptions {
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace schema {
|
||||
// {{SQL CARBON EDIT}}
|
||||
case 'objectExplorer/item/context': return MenuId.ObjectExplorerItemContext;
|
||||
case 'notebook/toolbar': return MenuId.NotebookToolbar;
|
||||
case 'dataExplorer/context': return MenuId.DataExplorerContext;
|
||||
}
|
||||
|
||||
return void 0;
|
||||
|
||||
Reference in New Issue
Block a user