@codingame/monaco-vscode-view-common-service-override 8.0.4 → 9.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +58 -58
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +21 -21
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +159 -159
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +8 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +19 -4
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +12 -12
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +22 -19
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +27 -27
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +11 -11
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +2 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +11 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +20 -16
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +8 -8
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +2 -2
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +0 -271
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/fixedZoneWidget.js +0 -41
|
@@ -37,17 +37,17 @@ import { ShowMultipleEditorTabsAction, ShowSingleEditorTabAction, HideEditorTabs
|
|
|
37
37
|
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
38
38
|
import 'vscode/vscode/vs/workbench/browser/parts/editor/editor.contribution._autosave';
|
|
39
39
|
|
|
40
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(
|
|
40
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(4190, "Text Editor"))), [
|
|
41
41
|
( (new SyncDescriptor(UntitledTextEditorInput))),
|
|
42
42
|
( (new SyncDescriptor(TextResourceEditorInput)))
|
|
43
43
|
]);
|
|
44
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(
|
|
44
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(4191, "Text Diff Editor"))), [
|
|
45
45
|
( (new SyncDescriptor(DiffEditorInput)))
|
|
46
46
|
]);
|
|
47
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(
|
|
47
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(4192, "Binary Diff Editor"))), [
|
|
48
48
|
( (new SyncDescriptor(DiffEditorInput)))
|
|
49
49
|
]);
|
|
50
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(
|
|
50
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(4193, "Side by Side Editor"))), [
|
|
51
51
|
( (new SyncDescriptor(SideBySideEditorInput)))
|
|
52
52
|
]);
|
|
53
53
|
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(UntitledTextEditorInput.ID, UntitledTextEditorInputSerializer);
|
|
@@ -67,22 +67,22 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
67
67
|
ctor: ActiveGroupEditorsByMostRecentlyUsedQuickAccess,
|
|
68
68
|
prefix: ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
69
69
|
contextKey: editorPickerContextKey,
|
|
70
|
-
placeholder: ( localize(
|
|
71
|
-
helpEntries: [{ description: ( localize(
|
|
70
|
+
placeholder: ( localize(4194, "Type the name of an editor to open it.")),
|
|
71
|
+
helpEntries: [{ description: ( localize(4195, "Show Editors in Active Group by Most Recently Used")), commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID }]
|
|
72
72
|
});
|
|
73
73
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
74
74
|
ctor: AllEditorsByAppearanceQuickAccess,
|
|
75
75
|
prefix: AllEditorsByAppearanceQuickAccess.PREFIX,
|
|
76
76
|
contextKey: editorPickerContextKey,
|
|
77
|
-
placeholder: ( localize(
|
|
78
|
-
helpEntries: [{ description: ( localize(
|
|
77
|
+
placeholder: ( localize(4194, "Type the name of an editor to open it.")),
|
|
78
|
+
helpEntries: [{ description: ( localize(4196, "Show All Opened Editors By Appearance")), commandId: ShowAllEditorsByAppearanceAction.ID }]
|
|
79
79
|
});
|
|
80
80
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
81
81
|
ctor: AllEditorsByMostRecentlyUsedQuickAccess,
|
|
82
82
|
prefix: AllEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
83
83
|
contextKey: editorPickerContextKey,
|
|
84
|
-
placeholder: ( localize(
|
|
85
|
-
helpEntries: [{ description: ( localize(
|
|
84
|
+
placeholder: ( localize(4194, "Type the name of an editor to open it.")),
|
|
85
|
+
helpEntries: [{ description: ( localize(4197, "Show All Opened Editors By Most Recently Used")), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
|
|
86
86
|
});
|
|
87
87
|
registerAction2(ChangeLanguageAction);
|
|
88
88
|
registerAction2(ChangeEOLAction);
|
|
@@ -226,77 +226,77 @@ if (isMacintosh) {
|
|
|
226
226
|
order: 1
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
229
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(4198, "Lock Group")), icon: Codicon.unlock }, group: 'navigation', order: 10, when: ( (ContextKeyExpr.and(
|
|
230
230
|
IsAuxiliaryEditorPartContext,
|
|
231
231
|
(ActiveEditorGroupLockedContext.toNegated())
|
|
232
232
|
))) });
|
|
233
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
234
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(
|
|
235
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
236
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
237
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
238
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
239
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(
|
|
240
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
241
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(
|
|
242
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
243
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
244
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
245
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
246
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
247
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
248
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(
|
|
249
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(
|
|
250
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(
|
|
251
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(
|
|
252
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(
|
|
253
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(
|
|
254
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(
|
|
255
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(
|
|
256
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(
|
|
257
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(
|
|
258
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(
|
|
233
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(4199, "Unlock Group")), icon: Codicon.lock, toggled: ContextKeyExpr.true() }, group: 'navigation', order: 10, when: ActiveEditorGroupLockedContext });
|
|
234
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(4200, "Close Group")), icon: Codicon.close }, group: 'navigation', order: 20, when: ( (ContextKeyExpr.or(IsAuxiliaryEditorPartContext, EditorPartMultipleEditorGroupsContext))) });
|
|
235
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(4201, "Split Up")) }, group: '2_split', order: 10 });
|
|
236
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(4202, "Split Down")) }, group: '2_split', order: 20 });
|
|
237
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(4203, "Split Left")) }, group: '2_split', order: 30 });
|
|
238
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(4204, "Split Right")) }, group: '2_split', order: 40 });
|
|
239
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(4205, "New Window")) }, group: '3_window', order: 10 });
|
|
240
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(4206, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '4_lock', order: 10, when: ( (IsAuxiliaryEditorPartContext.toNegated())) });
|
|
241
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(4207, "Close")) }, group: '5_close', order: 10, when: MultipleEditorGroupsContext });
|
|
242
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(4201, "Split Up")) }, group: '2_split', order: 10 });
|
|
243
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(4202, "Split Down")) }, group: '2_split', order: 20 });
|
|
244
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(4203, "Split Left")) }, group: '2_split', order: 30 });
|
|
245
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(4204, "Split Right")) }, group: '2_split', order: 40 });
|
|
246
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(4208, "Move into New Window")) }, group: '3_window', order: 10 });
|
|
247
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(4209, "Copy into New Window")) }, group: '3_window', order: 20 });
|
|
248
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(4210, "Tab Bar")), group: '4_config', order: 10, when: ( (InEditorZenModeContext.negate())) });
|
|
249
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(4211, "Multiple Tabs")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple'))) }, group: '1_config', order: 10 });
|
|
250
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(4212, "Single Tab")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single'))) }, group: '1_config', order: 20 });
|
|
251
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(4213, "Hidden")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none'))) }, group: '1_config', order: 30 });
|
|
252
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(4210, "Tab Bar")), group: '4_config', order: 10, when: InEditorZenModeContext });
|
|
253
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(4211, "Multiple Tabs")), toggled: ( (ContextKeyExpr.equals('config.zenMode.showTabs', 'multiple'))) }, group: '1_config', order: 10 });
|
|
254
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(4212, "Single Tab")), toggled: ( (ContextKeyExpr.equals('config.zenMode.showTabs', 'single'))) }, group: '1_config', order: 20 });
|
|
255
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(4213, "Hidden")), toggled: ( (ContextKeyExpr.equals('config.zenMode.showTabs', 'none'))) }, group: '1_config', order: 30 });
|
|
256
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(4214, "Editor Actions Position")), group: '4_config', order: 20 });
|
|
257
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(4210, "Tab Bar")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default'))) }, group: '1_config', order: 10, when: ( (( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none'))).negate())) });
|
|
258
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(4215, "Title Bar")), toggled: ( (ContextKeyExpr.or(
|
|
259
259
|
(ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'titleBar')),
|
|
260
260
|
(ContextKeyExpr.and(
|
|
261
261
|
(ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')),
|
|
262
262
|
(ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default'))
|
|
263
263
|
))
|
|
264
264
|
))) }, group: '1_config', order: 20 });
|
|
265
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(
|
|
266
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(
|
|
267
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(
|
|
268
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
269
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(
|
|
265
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(4216, "Hidden")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden'))) }, group: '1_config', order: 30 });
|
|
266
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(4217, "Configure Tabs")) }, group: '9_configure', order: 10 });
|
|
267
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(4207, "Close")) }, group: '1_close', order: 10 });
|
|
268
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(4218, "Close Others")), precondition: ( (EditorGroupEditorsCountContext.notEqualsTo('1'))) }, group: '1_close', order: 20 });
|
|
269
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(4219, "Close to the Right")), precondition: ( (ContextKeyExpr.and(
|
|
270
270
|
(ActiveEditorLastInGroupContext.toNegated()),
|
|
271
271
|
(MultipleEditorsSelectedInGroupContext.negate())
|
|
272
272
|
))) }, group: '1_close', order: 30, when: EditorTabsVisibleContext });
|
|
273
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(
|
|
274
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
275
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(
|
|
276
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(
|
|
277
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(
|
|
278
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(
|
|
279
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
280
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
281
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
282
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
283
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(
|
|
284
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(
|
|
285
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
286
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
287
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(
|
|
288
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(
|
|
289
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(
|
|
290
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
291
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(
|
|
292
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(
|
|
293
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(
|
|
273
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(4220, "Close Saved")) }, group: '1_close', order: 40 });
|
|
274
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(4221, "Close All")) }, group: '1_close', order: 50 });
|
|
275
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(4222, "Reopen Editor With...")) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
|
|
276
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(4223, "Keep Open")), precondition: ( (ActiveEditorPinnedContext.toNegated())) }, group: '3_preview', order: 10, when: ( (ContextKeyExpr.has('config.workbench.editor.enablePreview'))) });
|
|
277
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(4224, "Pin")) }, group: '3_preview', order: 20, when: ( (ActiveEditorStickyContext.toNegated())) });
|
|
278
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(4225, "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
|
|
279
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(4201, "Split Up")) }, group: '5_split', order: 10 });
|
|
280
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(4202, "Split Down")) }, group: '5_split', order: 20 });
|
|
281
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(4203, "Split Left")) }, group: '5_split', order: 30 });
|
|
282
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(4204, "Split Right")) }, group: '5_split', order: 40 });
|
|
283
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(4226, "Split in Group")), precondition: ( (MultipleEditorsSelectedInGroupContext.negate())) }, group: '6_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
|
|
284
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(4227, "Join in Group")), precondition: ( (MultipleEditorsSelectedInGroupContext.negate())) }, group: '6_split_in_group', order: 10, when: SideBySideEditorActiveContext });
|
|
285
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(4228, "Move into New Window")) }, group: '7_new_window', order: 10 });
|
|
286
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(4229, "Copy into New Window")) }, group: '7_new_window', order: 20 });
|
|
287
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(4230, "Share")), group: '11_share', order: -1, when: ( (MultipleEditorsSelectedInGroupContext.negate())) });
|
|
288
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(4231, "Inline View")), toggled: ( (ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false))) }, group: '1_diff', order: 10, when: ( (ContextKeyExpr.has('isInDiffEditor'))) });
|
|
289
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(4232, "Show Opened Editors")) }, group: '3_open', order: 10 });
|
|
290
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(4221, "Close All")) }, group: '5_close', order: 10 });
|
|
291
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(4220, "Close Saved")) }, group: '5_close', order: 20 });
|
|
292
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(4233, "Enable Preview Editors")), toggled: ( (ContextKeyExpr.has('config.workbench.editor.enablePreview'))) }, group: '7_settings', order: 10 });
|
|
293
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(4234, "Maximize Group")) }, group: '8_group_operations', order: 5, when: ( (ContextKeyExpr.and(
|
|
294
294
|
(EditorPartMaximizedEditorGroupContext.negate()),
|
|
295
295
|
EditorPartMultipleEditorGroupsContext
|
|
296
296
|
))) });
|
|
297
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(
|
|
298
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
299
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(
|
|
297
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(4235, "Unmaximize Group")) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
|
|
298
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(4236, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( (IsAuxiliaryEditorPartContext.toNegated())) });
|
|
299
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(4237, "Configure Editors")) }, group: '9_configure', order: 10 });
|
|
300
300
|
function appendEditorToolItem(primary, when, order, alternative, precondition) {
|
|
301
301
|
const item = {
|
|
302
302
|
command: {
|
|
@@ -323,30 +323,30 @@ const SPLIT_ORDER = 100000;
|
|
|
323
323
|
const CLOSE_ORDER = 1000000;
|
|
324
324
|
appendEditorToolItem({
|
|
325
325
|
id: SPLIT_EDITOR,
|
|
326
|
-
title: ( localize(
|
|
326
|
+
title: ( localize(4238, "Split Editor Right")),
|
|
327
327
|
icon: Codicon.splitHorizontal
|
|
328
328
|
}, ContextKeyExpr.not('splitEditorsVertically'), SPLIT_ORDER, {
|
|
329
329
|
id: SPLIT_EDITOR_DOWN,
|
|
330
|
-
title: ( localize(
|
|
330
|
+
title: ( localize(4239, "Split Editor Down")),
|
|
331
331
|
icon: Codicon.splitVertical
|
|
332
332
|
});
|
|
333
333
|
appendEditorToolItem({
|
|
334
334
|
id: SPLIT_EDITOR,
|
|
335
|
-
title: ( localize(
|
|
335
|
+
title: ( localize(4239, "Split Editor Down")),
|
|
336
336
|
icon: Codicon.splitVertical
|
|
337
337
|
}, ( (ContextKeyExpr.has('splitEditorsVertically'))), SPLIT_ORDER, {
|
|
338
338
|
id: SPLIT_EDITOR_RIGHT,
|
|
339
|
-
title: ( localize(
|
|
339
|
+
title: ( localize(4238, "Split Editor Right")),
|
|
340
340
|
icon: Codicon.splitHorizontal
|
|
341
341
|
});
|
|
342
342
|
appendEditorToolItem({
|
|
343
343
|
id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
|
|
344
|
-
title: ( localize(
|
|
344
|
+
title: ( localize(4240, "Toggle Layout")),
|
|
345
345
|
icon: Codicon.editorLayout
|
|
346
346
|
}, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
|
|
347
347
|
appendEditorToolItem({
|
|
348
348
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
349
|
-
title: ( localize(
|
|
349
|
+
title: ( localize(4207, "Close")),
|
|
350
350
|
icon: Codicon.close
|
|
351
351
|
}, ( (ContextKeyExpr.and(
|
|
352
352
|
(EditorTabsVisibleContext.toNegated()),
|
|
@@ -354,12 +354,12 @@ appendEditorToolItem({
|
|
|
354
354
|
(ActiveEditorStickyContext.toNegated())
|
|
355
355
|
))), CLOSE_ORDER, {
|
|
356
356
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
357
|
-
title: ( localize(
|
|
357
|
+
title: ( localize(4221, "Close All")),
|
|
358
358
|
icon: Codicon.closeAll
|
|
359
359
|
});
|
|
360
360
|
appendEditorToolItem({
|
|
361
361
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
362
|
-
title: ( localize(
|
|
362
|
+
title: ( localize(4207, "Close")),
|
|
363
363
|
icon: Codicon.closeDirty
|
|
364
364
|
}, ( (ContextKeyExpr.and(
|
|
365
365
|
(EditorTabsVisibleContext.toNegated()),
|
|
@@ -367,12 +367,12 @@ appendEditorToolItem({
|
|
|
367
367
|
(ActiveEditorStickyContext.toNegated())
|
|
368
368
|
))), CLOSE_ORDER, {
|
|
369
369
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
370
|
-
title: ( localize(
|
|
370
|
+
title: ( localize(4221, "Close All")),
|
|
371
371
|
icon: Codicon.closeAll
|
|
372
372
|
});
|
|
373
373
|
appendEditorToolItem({
|
|
374
374
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
375
|
-
title: ( localize(
|
|
375
|
+
title: ( localize(4225, "Unpin")),
|
|
376
376
|
icon: Codicon.pinned
|
|
377
377
|
}, ( (ContextKeyExpr.and(
|
|
378
378
|
(EditorTabsVisibleContext.toNegated()),
|
|
@@ -380,12 +380,12 @@ appendEditorToolItem({
|
|
|
380
380
|
ActiveEditorStickyContext
|
|
381
381
|
))), CLOSE_ORDER, {
|
|
382
382
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
383
|
-
title: ( localize(
|
|
383
|
+
title: ( localize(4207, "Close")),
|
|
384
384
|
icon: Codicon.close
|
|
385
385
|
});
|
|
386
386
|
appendEditorToolItem({
|
|
387
387
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
388
|
-
title: ( localize(
|
|
388
|
+
title: ( localize(4225, "Unpin")),
|
|
389
389
|
icon: Codicon.pinnedDirty
|
|
390
390
|
}, ( (ContextKeyExpr.and(
|
|
391
391
|
(EditorTabsVisibleContext.toNegated()),
|
|
@@ -393,12 +393,12 @@ appendEditorToolItem({
|
|
|
393
393
|
ActiveEditorStickyContext
|
|
394
394
|
))), CLOSE_ORDER, {
|
|
395
395
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
396
|
-
title: ( localize(
|
|
396
|
+
title: ( localize(4207, "Close")),
|
|
397
397
|
icon: Codicon.close
|
|
398
398
|
});
|
|
399
399
|
appendEditorToolItem({
|
|
400
400
|
id: LOCK_GROUP_COMMAND_ID,
|
|
401
|
-
title: ( localize(
|
|
401
|
+
title: ( localize(4241, "Lock Group")),
|
|
402
402
|
icon: Codicon.unlock
|
|
403
403
|
}, ( (ContextKeyExpr.and(
|
|
404
404
|
IsAuxiliaryEditorPartContext,
|
|
@@ -406,32 +406,32 @@ appendEditorToolItem({
|
|
|
406
406
|
))), CLOSE_ORDER - 1);
|
|
407
407
|
appendEditorToolItem({
|
|
408
408
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
409
|
-
title: ( localize(
|
|
409
|
+
title: ( localize(4242, "Unlock Group")),
|
|
410
410
|
icon: Codicon.lock,
|
|
411
411
|
toggled: ContextKeyExpr.true()
|
|
412
412
|
}, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
|
|
413
|
-
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(
|
|
413
|
+
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(4243, 'Icon for the previous change action in the diff editor.')));
|
|
414
414
|
appendEditorToolItem({
|
|
415
415
|
id: GOTO_PREVIOUS_CHANGE,
|
|
416
|
-
title: ( localize(
|
|
416
|
+
title: ( localize(4244, "Previous Change")),
|
|
417
417
|
icon: previousChangeIcon
|
|
418
418
|
}, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges);
|
|
419
|
-
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(
|
|
419
|
+
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(4245, 'Icon for the next change action in the diff editor.')));
|
|
420
420
|
appendEditorToolItem({
|
|
421
421
|
id: GOTO_NEXT_CHANGE,
|
|
422
|
-
title: ( localize(
|
|
422
|
+
title: ( localize(4246, "Next Change")),
|
|
423
423
|
icon: nextChangeIcon
|
|
424
424
|
}, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges);
|
|
425
425
|
appendEditorToolItem({
|
|
426
426
|
id: DIFF_SWAP_SIDES,
|
|
427
|
-
title: ( localize(
|
|
427
|
+
title: ( localize(4247, "Swap Left and Right Side")),
|
|
428
428
|
icon: Codicon.arrowSwap
|
|
429
429
|
}, ( (ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext))), 15, undefined, undefined);
|
|
430
|
-
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(
|
|
430
|
+
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(4248, 'Icon for the toggle whitespace action in the diff editor.')));
|
|
431
431
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
432
432
|
command: {
|
|
433
433
|
id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
|
|
434
|
-
title: ( localize(
|
|
434
|
+
title: ( localize(4249, "Show Leading/Trailing Whitespace Differences")),
|
|
435
435
|
icon: toggleWhitespace,
|
|
436
436
|
precondition: TextCompareEditorActiveContext,
|
|
437
437
|
toggled: ( (ContextKeyExpr.equals('config.diffEditor.ignoreTrimWhitespace', false))),
|
|
@@ -440,22 +440,22 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
440
440
|
when: TextCompareEditorActiveContext,
|
|
441
441
|
order: 20,
|
|
442
442
|
});
|
|
443
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(
|
|
444
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(
|
|
445
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(
|
|
446
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(
|
|
447
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(
|
|
448
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(
|
|
449
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(
|
|
450
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(
|
|
451
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(
|
|
452
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(
|
|
453
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(
|
|
443
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(4250, 'Keep Editor')), category: Categories.View }, when: ( (ContextKeyExpr.has('config.workbench.editor.enablePreview'))) });
|
|
444
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(4251, 'Pin Editor')), category: Categories.View } });
|
|
445
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(4252, 'Unpin Editor')), category: Categories.View } });
|
|
446
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(4253, 'Close Editor')), category: Categories.View } });
|
|
447
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(4254, 'Close Pinned Editor')), category: Categories.View } });
|
|
448
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(4255, 'Close All Editors in Group')), category: Categories.View } });
|
|
449
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(4256, 'Close Saved Editors in Group')), category: Categories.View } });
|
|
450
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(4257, 'Close Other Editors in Group')), category: Categories.View } });
|
|
451
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(4258, 'Close Editors to the Right in Group')), category: Categories.View }, when: ( (ActiveEditorLastInGroupContext.toNegated())) });
|
|
452
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(4259, 'Close Editor Group')), category: Categories.View }, when: MultipleEditorGroupsContext });
|
|
453
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(4222, "Reopen Editor With...")), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
|
|
454
454
|
MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
455
455
|
group: '1_editor',
|
|
456
456
|
command: {
|
|
457
457
|
id: ReopenClosedEditorAction.ID,
|
|
458
|
-
title: ( localize(
|
|
458
|
+
title: ( localize(4260, "&&Reopen Closed Editor")),
|
|
459
459
|
precondition: ( (ContextKeyExpr.has('canReopenClosedEditor')))
|
|
460
460
|
},
|
|
461
461
|
order: 1
|
|
@@ -464,19 +464,19 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
464
464
|
group: 'z_clear',
|
|
465
465
|
command: {
|
|
466
466
|
id: ClearRecentFilesAction.ID,
|
|
467
|
-
title: ( localize(
|
|
467
|
+
title: ( localize(4261, "&&Clear Recently Opened..."))
|
|
468
468
|
},
|
|
469
469
|
order: 1
|
|
470
470
|
});
|
|
471
471
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
472
|
-
title: ( localize(
|
|
472
|
+
title: ( localize(4262, "Share")),
|
|
473
473
|
submenu: MenuId.MenubarShare,
|
|
474
474
|
group: '45_share',
|
|
475
475
|
order: 1,
|
|
476
476
|
});
|
|
477
477
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
478
478
|
group: '2_appearance',
|
|
479
|
-
title: ( localize(
|
|
479
|
+
title: ( localize(4263, "Editor &&Layout")),
|
|
480
480
|
submenu: MenuId.MenubarLayoutMenu,
|
|
481
481
|
order: 2
|
|
482
482
|
});
|
|
@@ -485,8 +485,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
485
485
|
command: {
|
|
486
486
|
id: SPLIT_EDITOR_UP,
|
|
487
487
|
title: {
|
|
488
|
-
...( localize2(
|
|
489
|
-
mnemonicTitle: ( localize(
|
|
488
|
+
...( localize2(4264, "Split Up")),
|
|
489
|
+
mnemonicTitle: ( localize(4265, "Split &&Up")),
|
|
490
490
|
}
|
|
491
491
|
},
|
|
492
492
|
order: 1
|
|
@@ -496,8 +496,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
496
496
|
command: {
|
|
497
497
|
id: SPLIT_EDITOR_DOWN,
|
|
498
498
|
title: {
|
|
499
|
-
...( localize2(
|
|
500
|
-
mnemonicTitle: ( localize(
|
|
499
|
+
...( localize2(4266, "Split Down")),
|
|
500
|
+
mnemonicTitle: ( localize(4267, "Split &&Down")),
|
|
501
501
|
}
|
|
502
502
|
},
|
|
503
503
|
order: 2
|
|
@@ -507,8 +507,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
507
507
|
command: {
|
|
508
508
|
id: SPLIT_EDITOR_LEFT,
|
|
509
509
|
title: {
|
|
510
|
-
...( localize2(
|
|
511
|
-
mnemonicTitle: ( localize(
|
|
510
|
+
...( localize2(4268, "Split Left")),
|
|
511
|
+
mnemonicTitle: ( localize(4269, "Split &&Left")),
|
|
512
512
|
}
|
|
513
513
|
},
|
|
514
514
|
order: 3
|
|
@@ -518,8 +518,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
518
518
|
command: {
|
|
519
519
|
id: SPLIT_EDITOR_RIGHT,
|
|
520
520
|
title: {
|
|
521
|
-
...( localize2(
|
|
522
|
-
mnemonicTitle: ( localize(
|
|
521
|
+
...( localize2(4270, "Split Right")),
|
|
522
|
+
mnemonicTitle: ( localize(4271, "Split &&Right")),
|
|
523
523
|
}
|
|
524
524
|
},
|
|
525
525
|
order: 4
|
|
@@ -529,8 +529,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
529
529
|
command: {
|
|
530
530
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
531
531
|
title: {
|
|
532
|
-
...( localize2(
|
|
533
|
-
mnemonicTitle: ( localize(
|
|
532
|
+
...( localize2(4272, "Split in Group")),
|
|
533
|
+
mnemonicTitle: ( localize(4273, "Split in &&Group")),
|
|
534
534
|
}
|
|
535
535
|
},
|
|
536
536
|
when: ActiveEditorCanSplitInGroupContext,
|
|
@@ -541,8 +541,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
541
541
|
command: {
|
|
542
542
|
id: JOIN_EDITOR_IN_GROUP,
|
|
543
543
|
title: {
|
|
544
|
-
...( localize2(
|
|
545
|
-
mnemonicTitle: ( localize(
|
|
544
|
+
...( localize2(4274, "Join in Group")),
|
|
545
|
+
mnemonicTitle: ( localize(4275, "Join in &&Group")),
|
|
546
546
|
}
|
|
547
547
|
},
|
|
548
548
|
when: SideBySideEditorActiveContext,
|
|
@@ -553,8 +553,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
553
553
|
command: {
|
|
554
554
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
555
555
|
title: {
|
|
556
|
-
...( localize2(
|
|
557
|
-
mnemonicTitle: ( localize(
|
|
556
|
+
...( localize2(4276, "Move Editor into New Window")),
|
|
557
|
+
mnemonicTitle: ( localize(4277, "&&Move Editor into New Window")),
|
|
558
558
|
}
|
|
559
559
|
},
|
|
560
560
|
order: 1
|
|
@@ -564,8 +564,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
564
564
|
command: {
|
|
565
565
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
566
566
|
title: {
|
|
567
|
-
...( localize2(
|
|
568
|
-
mnemonicTitle: ( localize(
|
|
567
|
+
...( localize2(4278, "Copy Editor into New Window")),
|
|
568
|
+
mnemonicTitle: ( localize(4279, "&&Copy Editor into New Window")),
|
|
569
569
|
}
|
|
570
570
|
},
|
|
571
571
|
order: 2
|
|
@@ -575,8 +575,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
575
575
|
command: {
|
|
576
576
|
id: EditorLayoutSingleAction.ID,
|
|
577
577
|
title: {
|
|
578
|
-
...( localize2(
|
|
579
|
-
mnemonicTitle: ( localize(
|
|
578
|
+
...( localize2(4280, "Single")),
|
|
579
|
+
mnemonicTitle: ( localize(4281, "&&Single")),
|
|
580
580
|
}
|
|
581
581
|
},
|
|
582
582
|
order: 1
|
|
@@ -586,8 +586,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
586
586
|
command: {
|
|
587
587
|
id: EditorLayoutTwoColumnsAction.ID,
|
|
588
588
|
title: {
|
|
589
|
-
...( localize2(
|
|
590
|
-
mnemonicTitle: ( localize(
|
|
589
|
+
...( localize2(4282, "Two Columns")),
|
|
590
|
+
mnemonicTitle: ( localize(4283, "&&Two Columns")),
|
|
591
591
|
}
|
|
592
592
|
},
|
|
593
593
|
order: 3
|
|
@@ -597,8 +597,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
597
597
|
command: {
|
|
598
598
|
id: EditorLayoutThreeColumnsAction.ID,
|
|
599
599
|
title: {
|
|
600
|
-
...( localize2(
|
|
601
|
-
mnemonicTitle: ( localize(
|
|
600
|
+
...( localize2(4284, "Three Columns")),
|
|
601
|
+
mnemonicTitle: ( localize(4285, "T&&hree Columns")),
|
|
602
602
|
}
|
|
603
603
|
},
|
|
604
604
|
order: 4
|
|
@@ -608,8 +608,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
608
608
|
command: {
|
|
609
609
|
id: EditorLayoutTwoRowsAction.ID,
|
|
610
610
|
title: {
|
|
611
|
-
...( localize2(
|
|
612
|
-
mnemonicTitle: ( localize(
|
|
611
|
+
...( localize2(4286, "Two Rows")),
|
|
612
|
+
mnemonicTitle: ( localize(4287, "T&&wo Rows")),
|
|
613
613
|
}
|
|
614
614
|
},
|
|
615
615
|
order: 5
|
|
@@ -619,8 +619,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
619
619
|
command: {
|
|
620
620
|
id: EditorLayoutThreeRowsAction.ID,
|
|
621
621
|
title: {
|
|
622
|
-
...( localize2(
|
|
623
|
-
mnemonicTitle: ( localize(
|
|
622
|
+
...( localize2(4288, "Three Rows")),
|
|
623
|
+
mnemonicTitle: ( localize(4289, "Three &&Rows")),
|
|
624
624
|
}
|
|
625
625
|
},
|
|
626
626
|
order: 6
|
|
@@ -630,8 +630,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
630
630
|
command: {
|
|
631
631
|
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
632
632
|
title: {
|
|
633
|
-
...( localize2(
|
|
634
|
-
mnemonicTitle: ( localize(
|
|
633
|
+
...( localize2(4290, "Grid (2x2)")),
|
|
634
|
+
mnemonicTitle: ( localize(4291, "&&Grid (2x2)")),
|
|
635
635
|
}
|
|
636
636
|
},
|
|
637
637
|
order: 7
|
|
@@ -641,8 +641,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
641
641
|
command: {
|
|
642
642
|
id: EditorLayoutTwoRowsRightAction.ID,
|
|
643
643
|
title: {
|
|
644
|
-
...( localize2(
|
|
645
|
-
mnemonicTitle: ( localize(
|
|
644
|
+
...( localize2(4292, "Two Rows Right")),
|
|
645
|
+
mnemonicTitle: ( localize(4293, "Two R&&ows Right")),
|
|
646
646
|
}
|
|
647
647
|
},
|
|
648
648
|
order: 8
|
|
@@ -652,8 +652,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
652
652
|
command: {
|
|
653
653
|
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
654
654
|
title: {
|
|
655
|
-
...( localize2(
|
|
656
|
-
mnemonicTitle: ( localize(
|
|
655
|
+
...( localize2(4294, "Two Columns Bottom")),
|
|
656
|
+
mnemonicTitle: ( localize(4295, "Two &&Columns Bottom")),
|
|
657
657
|
}
|
|
658
658
|
},
|
|
659
659
|
order: 9
|
|
@@ -662,7 +662,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
662
662
|
group: '1_history_nav',
|
|
663
663
|
command: {
|
|
664
664
|
id: 'workbench.action.navigateToLastEditLocation',
|
|
665
|
-
title: ( localize(
|
|
665
|
+
title: ( localize(4296, "&&Last Edit Location")),
|
|
666
666
|
precondition: ( (ContextKeyExpr.has('canNavigateToLastEditLocation')))
|
|
667
667
|
},
|
|
668
668
|
order: 3
|
|
@@ -671,7 +671,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
671
671
|
group: '1_sideBySide',
|
|
672
672
|
command: {
|
|
673
673
|
id: FOCUS_FIRST_SIDE_EDITOR,
|
|
674
|
-
title: ( localize(
|
|
674
|
+
title: ( localize(4297, "&&First Side in Editor"))
|
|
675
675
|
},
|
|
676
676
|
when: ( (ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext))),
|
|
677
677
|
order: 1
|
|
@@ -680,7 +680,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
680
680
|
group: '1_sideBySide',
|
|
681
681
|
command: {
|
|
682
682
|
id: FOCUS_SECOND_SIDE_EDITOR,
|
|
683
|
-
title: ( localize(
|
|
683
|
+
title: ( localize(4298, "&&Second Side in Editor"))
|
|
684
684
|
},
|
|
685
685
|
when: ( (ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext))),
|
|
686
686
|
order: 2
|
|
@@ -689,7 +689,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
689
689
|
group: '2_any',
|
|
690
690
|
command: {
|
|
691
691
|
id: 'workbench.action.nextEditor',
|
|
692
|
-
title: ( localize(
|
|
692
|
+
title: ( localize(4299, "&&Next Editor"))
|
|
693
693
|
},
|
|
694
694
|
order: 1
|
|
695
695
|
});
|
|
@@ -697,7 +697,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
697
697
|
group: '2_any',
|
|
698
698
|
command: {
|
|
699
699
|
id: 'workbench.action.previousEditor',
|
|
700
|
-
title: ( localize(
|
|
700
|
+
title: ( localize(4300, "&&Previous Editor"))
|
|
701
701
|
},
|
|
702
702
|
order: 2
|
|
703
703
|
});
|
|
@@ -705,7 +705,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
705
705
|
group: '3_any_used',
|
|
706
706
|
command: {
|
|
707
707
|
id: 'workbench.action.openNextRecentlyUsedEditor',
|
|
708
|
-
title: ( localize(
|
|
708
|
+
title: ( localize(4301, "&&Next Used Editor"))
|
|
709
709
|
},
|
|
710
710
|
order: 1
|
|
711
711
|
});
|
|
@@ -713,7 +713,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
713
713
|
group: '3_any_used',
|
|
714
714
|
command: {
|
|
715
715
|
id: 'workbench.action.openPreviousRecentlyUsedEditor',
|
|
716
|
-
title: ( localize(
|
|
716
|
+
title: ( localize(4302, "&&Previous Used Editor"))
|
|
717
717
|
},
|
|
718
718
|
order: 2
|
|
719
719
|
});
|
|
@@ -721,7 +721,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
721
721
|
group: '4_group',
|
|
722
722
|
command: {
|
|
723
723
|
id: 'workbench.action.nextEditorInGroup',
|
|
724
|
-
title: ( localize(
|
|
724
|
+
title: ( localize(4303, "&&Next Editor in Group"))
|
|
725
725
|
},
|
|
726
726
|
order: 1
|
|
727
727
|
});
|
|
@@ -729,7 +729,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
729
729
|
group: '4_group',
|
|
730
730
|
command: {
|
|
731
731
|
id: 'workbench.action.previousEditorInGroup',
|
|
732
|
-
title: ( localize(
|
|
732
|
+
title: ( localize(4304, "&&Previous Editor in Group"))
|
|
733
733
|
},
|
|
734
734
|
order: 2
|
|
735
735
|
});
|
|
@@ -737,7 +737,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
737
737
|
group: '5_group_used',
|
|
738
738
|
command: {
|
|
739
739
|
id: 'workbench.action.openNextRecentlyUsedEditorInGroup',
|
|
740
|
-
title: ( localize(
|
|
740
|
+
title: ( localize(4305, "&&Next Used Editor in Group"))
|
|
741
741
|
},
|
|
742
742
|
order: 1
|
|
743
743
|
});
|
|
@@ -745,13 +745,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
745
745
|
group: '5_group_used',
|
|
746
746
|
command: {
|
|
747
747
|
id: 'workbench.action.openPreviousRecentlyUsedEditorInGroup',
|
|
748
|
-
title: ( localize(
|
|
748
|
+
title: ( localize(4306, "&&Previous Used Editor in Group"))
|
|
749
749
|
},
|
|
750
750
|
order: 2
|
|
751
751
|
});
|
|
752
752
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
753
753
|
group: '2_editor_nav',
|
|
754
|
-
title: ( localize(
|
|
754
|
+
title: ( localize(4307, "Switch &&Editor")),
|
|
755
755
|
submenu: MenuId.MenubarSwitchEditorMenu,
|
|
756
756
|
order: 1
|
|
757
757
|
});
|
|
@@ -759,7 +759,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
759
759
|
group: '1_focus_index',
|
|
760
760
|
command: {
|
|
761
761
|
id: 'workbench.action.focusFirstEditorGroup',
|
|
762
|
-
title: ( localize(
|
|
762
|
+
title: ( localize(4308, "Group &&1"))
|
|
763
763
|
},
|
|
764
764
|
order: 1
|
|
765
765
|
});
|
|
@@ -767,7 +767,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
767
767
|
group: '1_focus_index',
|
|
768
768
|
command: {
|
|
769
769
|
id: 'workbench.action.focusSecondEditorGroup',
|
|
770
|
-
title: ( localize(
|
|
770
|
+
title: ( localize(4309, "Group &&2"))
|
|
771
771
|
},
|
|
772
772
|
order: 2
|
|
773
773
|
});
|
|
@@ -775,7 +775,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
775
775
|
group: '1_focus_index',
|
|
776
776
|
command: {
|
|
777
777
|
id: 'workbench.action.focusThirdEditorGroup',
|
|
778
|
-
title: ( localize(
|
|
778
|
+
title: ( localize(4310, "Group &&3")),
|
|
779
779
|
precondition: MultipleEditorGroupsContext
|
|
780
780
|
},
|
|
781
781
|
order: 3
|
|
@@ -784,7 +784,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
784
784
|
group: '1_focus_index',
|
|
785
785
|
command: {
|
|
786
786
|
id: 'workbench.action.focusFourthEditorGroup',
|
|
787
|
-
title: ( localize(
|
|
787
|
+
title: ( localize(4311, "Group &&4")),
|
|
788
788
|
precondition: MultipleEditorGroupsContext
|
|
789
789
|
},
|
|
790
790
|
order: 4
|
|
@@ -793,7 +793,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
793
793
|
group: '1_focus_index',
|
|
794
794
|
command: {
|
|
795
795
|
id: 'workbench.action.focusFifthEditorGroup',
|
|
796
|
-
title: ( localize(
|
|
796
|
+
title: ( localize(4312, "Group &&5")),
|
|
797
797
|
precondition: MultipleEditorGroupsContext
|
|
798
798
|
},
|
|
799
799
|
order: 5
|
|
@@ -802,7 +802,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
802
802
|
group: '2_next_prev',
|
|
803
803
|
command: {
|
|
804
804
|
id: 'workbench.action.focusNextGroup',
|
|
805
|
-
title: ( localize(
|
|
805
|
+
title: ( localize(4313, "&&Next Group")),
|
|
806
806
|
precondition: MultipleEditorGroupsContext
|
|
807
807
|
},
|
|
808
808
|
order: 1
|
|
@@ -811,7 +811,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
811
811
|
group: '2_next_prev',
|
|
812
812
|
command: {
|
|
813
813
|
id: 'workbench.action.focusPreviousGroup',
|
|
814
|
-
title: ( localize(
|
|
814
|
+
title: ( localize(4314, "&&Previous Group")),
|
|
815
815
|
precondition: MultipleEditorGroupsContext
|
|
816
816
|
},
|
|
817
817
|
order: 2
|
|
@@ -820,7 +820,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
820
820
|
group: '3_directional',
|
|
821
821
|
command: {
|
|
822
822
|
id: 'workbench.action.focusLeftGroup',
|
|
823
|
-
title: ( localize(
|
|
823
|
+
title: ( localize(4315, "Group &&Left")),
|
|
824
824
|
precondition: MultipleEditorGroupsContext
|
|
825
825
|
},
|
|
826
826
|
order: 1
|
|
@@ -829,7 +829,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
829
829
|
group: '3_directional',
|
|
830
830
|
command: {
|
|
831
831
|
id: 'workbench.action.focusRightGroup',
|
|
832
|
-
title: ( localize(
|
|
832
|
+
title: ( localize(4316, "Group &&Right")),
|
|
833
833
|
precondition: MultipleEditorGroupsContext
|
|
834
834
|
},
|
|
835
835
|
order: 2
|
|
@@ -838,7 +838,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
838
838
|
group: '3_directional',
|
|
839
839
|
command: {
|
|
840
840
|
id: 'workbench.action.focusAboveGroup',
|
|
841
|
-
title: ( localize(
|
|
841
|
+
title: ( localize(4317, "Group &&Above")),
|
|
842
842
|
precondition: MultipleEditorGroupsContext
|
|
843
843
|
},
|
|
844
844
|
order: 3
|
|
@@ -847,14 +847,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
847
847
|
group: '3_directional',
|
|
848
848
|
command: {
|
|
849
849
|
id: 'workbench.action.focusBelowGroup',
|
|
850
|
-
title: ( localize(
|
|
850
|
+
title: ( localize(4318, "Group &&Below")),
|
|
851
851
|
precondition: MultipleEditorGroupsContext
|
|
852
852
|
},
|
|
853
853
|
order: 4
|
|
854
854
|
});
|
|
855
855
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
856
856
|
group: '2_editor_nav',
|
|
857
|
-
title: ( localize(
|
|
857
|
+
title: ( localize(4319, "Switch &&Group")),
|
|
858
858
|
submenu: MenuId.MenubarSwitchGroupMenu,
|
|
859
859
|
order: 2
|
|
860
860
|
});
|