mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
remove commented our code that is removed elsewhere (#8370)
This commit is contained in:
@@ -21,7 +21,7 @@ import { PeekContext } from 'vs/editor/contrib/referenceSearch/peekViewWidget';
|
|||||||
import { ReferencesController } from 'vs/editor/contrib/referenceSearch/referencesController';
|
import { ReferencesController } from 'vs/editor/contrib/referenceSearch/referencesController';
|
||||||
import { ReferencesModel } from 'vs/editor/contrib/referenceSearch/referencesModel';
|
import { ReferencesModel } from 'vs/editor/contrib/referenceSearch/referencesModel';
|
||||||
import * as nls from 'vs/nls';
|
import * as nls from 'vs/nls';
|
||||||
// import { MenuId, MenuRegistry } from 'vs/platform/actions/common/actions';
|
import { MenuId, MenuRegistry } from 'vs/platform/actions/common/actions';
|
||||||
import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
|
import { ContextKeyExpr } from 'vs/platform/contextkey/common/contextkey';
|
||||||
import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';
|
import { KeybindingWeight } from 'vs/platform/keybinding/common/keybindingsRegistry';
|
||||||
import { INotificationService } from 'vs/platform/notification/common/notification';
|
import { INotificationService } from 'vs/platform/notification/common/notification';
|
||||||
@@ -477,31 +477,29 @@ registerEditorAction(GoToTypeDefinitionAction);
|
|||||||
registerEditorAction(PeekTypeDefinitionAction);
|
registerEditorAction(PeekTypeDefinitionAction);
|
||||||
|
|
||||||
// Go to menu
|
// Go to menu
|
||||||
// {{SQL CARBON EDIT}} - Disable unused menu items
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
||||||
// MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
group: '4_symbol_nav',
|
||||||
// group: '4_symbol_nav',
|
command: {
|
||||||
// command: {
|
id: 'editor.action.goToDeclaration',
|
||||||
// id: 'editor.action.goToDeclaration',
|
title: nls.localize({ key: 'miGotoDefinition', comment: ['&& denotes a mnemonic'] }, "Go to &&Definition")
|
||||||
// title: nls.localize({ key: 'miGotoDefinition', comment: ['&& denotes a mnemonic'] }, "Go to &&Definition")
|
},
|
||||||
// },
|
order: 2
|
||||||
// order: 2
|
});
|
||||||
// });
|
|
||||||
|
|
||||||
// MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
||||||
// group: '4_symbol_nav',
|
group: '4_symbol_nav',
|
||||||
// command: {
|
command: {
|
||||||
// id: 'editor.action.goToTypeDefinition',
|
id: 'editor.action.goToTypeDefinition',
|
||||||
// title: nls.localize({ key: 'miGotoTypeDefinition', comment: ['&& denotes a mnemonic'] }, "Go to &&Type Definition")
|
title: nls.localize({ key: 'miGotoTypeDefinition', comment: ['&& denotes a mnemonic'] }, "Go to &&Type Definition")
|
||||||
// },
|
},
|
||||||
// order: 3
|
order: 3
|
||||||
// });
|
});
|
||||||
|
|
||||||
// MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
||||||
// group: '4_symbol_nav',
|
group: '4_symbol_nav',
|
||||||
// command: {
|
command: {
|
||||||
// id: 'editor.action.goToImplementation',
|
id: 'editor.action.goToImplementation',
|
||||||
// title: nls.localize({ key: 'miGotoImplementation', comment: ['&& denotes a mnemonic'] }, "Go to &&Implementation")
|
title: nls.localize({ key: 'miGotoImplementation', comment: ['&& denotes a mnemonic'] }, "Go to &&Implementation")
|
||||||
// },
|
},
|
||||||
// order: 4
|
order: 4
|
||||||
// });
|
});
|
||||||
// {{SQL CARBON EDIT - End}}
|
|
||||||
|
|||||||
@@ -166,16 +166,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|||||||
|
|
||||||
// Go to menu
|
// Go to menu
|
||||||
|
|
||||||
// {{SQL CARBON EDIT}} - Disable unused menu item
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
||||||
// MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
group: '4_symbol_nav',
|
||||||
// group: '4_symbol_nav',
|
command: {
|
||||||
// command: {
|
id: 'workbench.action.gotoSymbol',
|
||||||
// id: 'workbench.action.gotoSymbol',
|
title: nls.localize({ key: 'miGotoSymbolInFile', comment: ['&& denotes a mnemonic'] }, "Go to &&Symbol in File...")
|
||||||
// title: nls.localize({ key: 'miGotoSymbolInFile', comment: ['&& denotes a mnemonic'] }, "Go to &&Symbol in File...")
|
},
|
||||||
// },
|
order: 1
|
||||||
// order: 1
|
});
|
||||||
// });
|
|
||||||
// {{SQL CARBON EDIT}} - End
|
|
||||||
|
|
||||||
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
||||||
group: '5_infile_nav',
|
group: '5_infile_nav',
|
||||||
|
|||||||
@@ -800,13 +800,11 @@ MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|||||||
|
|
||||||
// Go to menu
|
// Go to menu
|
||||||
|
|
||||||
// {{SQL CARBON EDIT}} - Disable unused menu item
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
||||||
// MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
group: '3_global_nav',
|
||||||
// group: '3_global_nav',
|
command: {
|
||||||
// command: {
|
id: 'workbench.action.showAllSymbols',
|
||||||
// id: 'workbench.action.showAllSymbols',
|
title: nls.localize({ key: 'miGotoSymbolInWorkspace', comment: ['&& denotes a mnemonic'] }, "Go to Symbol in &&Workspace...")
|
||||||
// title: nls.localize({ key: 'miGotoSymbolInWorkspace', comment: ['&& denotes a mnemonic'] }, "Go to Symbol in &&Workspace...")
|
},
|
||||||
// },
|
order: 2
|
||||||
// order: 2
|
});
|
||||||
// });
|
|
||||||
// {{SQL CARBON EDIT}} - End
|
|
||||||
|
|||||||
Reference in New Issue
Block a user