@codingame/monaco-vscode-view-common-service-override 13.0.0 → 13.1.0
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 +43 -55
- 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 +7 -7
- 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/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/customEditorInputFactory.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.js +7 -7
- 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 +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/overlayWebview.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +2 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +7 -7
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +9 -9
- 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 +5 -5
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +1 -1
|
@@ -38,17 +38,17 @@ import { ShowMultipleEditorTabsAction, ShowSingleEditorTabAction, HideEditorTabs
|
|
|
38
38
|
import { EditorContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/editorContextKeys';
|
|
39
39
|
import '@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common/vscode/vs/workbench/browser/parts/editor/editor.contribution._autosave';
|
|
40
40
|
|
|
41
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(
|
|
41
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(2812, "Text Editor"))), [
|
|
42
42
|
( new SyncDescriptor(UntitledTextEditorInput)),
|
|
43
43
|
( new SyncDescriptor(TextResourceEditorInput))
|
|
44
44
|
]);
|
|
45
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(
|
|
45
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(2813, "Text Diff Editor"))), [
|
|
46
46
|
( new SyncDescriptor(DiffEditorInput))
|
|
47
47
|
]);
|
|
48
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(
|
|
48
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(2814, "Binary Diff Editor"))), [
|
|
49
49
|
( new SyncDescriptor(DiffEditorInput))
|
|
50
50
|
]);
|
|
51
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(
|
|
51
|
+
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(2815, "Side by Side Editor"))), [
|
|
52
52
|
( new SyncDescriptor(SideBySideEditorInput))
|
|
53
53
|
]);
|
|
54
54
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(UntitledTextEditorInput.ID, UntitledTextEditorInputSerializer);
|
|
@@ -65,22 +65,22 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
65
65
|
ctor: ActiveGroupEditorsByMostRecentlyUsedQuickAccess,
|
|
66
66
|
prefix: ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
67
67
|
contextKey: editorPickerContextKey,
|
|
68
|
-
placeholder: ( localize(
|
|
69
|
-
helpEntries: [{ description: ( localize(
|
|
68
|
+
placeholder: ( localize(2816, "Type the name of an editor to open it.")),
|
|
69
|
+
helpEntries: [{ description: ( localize(2817, "Show Editors in Active Group by Most Recently Used")), commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID }]
|
|
70
70
|
});
|
|
71
71
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
72
72
|
ctor: AllEditorsByAppearanceQuickAccess,
|
|
73
73
|
prefix: AllEditorsByAppearanceQuickAccess.PREFIX,
|
|
74
74
|
contextKey: editorPickerContextKey,
|
|
75
|
-
placeholder: ( localize(
|
|
76
|
-
helpEntries: [{ description: ( localize(
|
|
75
|
+
placeholder: ( localize(2816, "Type the name of an editor to open it.")),
|
|
76
|
+
helpEntries: [{ description: ( localize(2818, "Show All Opened Editors By Appearance")), commandId: ShowAllEditorsByAppearanceAction.ID }]
|
|
77
77
|
});
|
|
78
78
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
79
79
|
ctor: AllEditorsByMostRecentlyUsedQuickAccess,
|
|
80
80
|
prefix: AllEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
81
81
|
contextKey: editorPickerContextKey,
|
|
82
|
-
placeholder: ( localize(
|
|
83
|
-
helpEntries: [{ description: ( localize(
|
|
82
|
+
placeholder: ( localize(2816, "Type the name of an editor to open it.")),
|
|
83
|
+
helpEntries: [{ description: ( localize(2819, "Show All Opened Editors By Most Recently Used")), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
|
|
84
84
|
});
|
|
85
85
|
registerAction2(ToggleOvertypeInsertMode);
|
|
86
86
|
registerAction2(ChangeLanguageAction);
|
|
@@ -225,62 +225,62 @@ if (isMacintosh) {
|
|
|
225
225
|
order: 1
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
229
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
230
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(
|
|
231
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
232
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
233
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
234
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
235
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(
|
|
236
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
237
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(
|
|
238
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
239
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
240
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
241
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
242
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
243
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
244
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(
|
|
245
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(
|
|
246
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(
|
|
247
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(
|
|
248
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(
|
|
249
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(
|
|
250
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(
|
|
251
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(
|
|
252
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(
|
|
253
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(
|
|
254
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(
|
|
255
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(
|
|
256
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(
|
|
257
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(
|
|
258
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
259
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(
|
|
260
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(
|
|
261
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
262
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(
|
|
263
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(
|
|
264
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(
|
|
265
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(
|
|
266
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
267
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
268
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
269
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
270
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(
|
|
271
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(
|
|
272
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
273
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
274
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(
|
|
275
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(
|
|
276
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(
|
|
277
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
278
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(
|
|
279
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(
|
|
280
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(
|
|
281
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(
|
|
282
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
283
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(
|
|
228
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(2820, "Lock Group")), icon: Codicon.unlock }, group: 'navigation', order: 10, when: ( ContextKeyExpr.and(IsAuxiliaryEditorPartContext, ( ActiveEditorGroupLockedContext.toNegated()))) });
|
|
229
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(2821, "Unlock Group")), icon: Codicon.lock, toggled: ContextKeyExpr.true() }, group: 'navigation', order: 10, when: ActiveEditorGroupLockedContext });
|
|
230
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(2822, "Close Group")), icon: Codicon.close }, group: 'navigation', order: 20, when: ( ContextKeyExpr.or(IsAuxiliaryEditorPartContext, EditorPartMultipleEditorGroupsContext)) });
|
|
231
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(2823, "Split Up")) }, group: '2_split', order: 10 });
|
|
232
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(2824, "Split Down")) }, group: '2_split', order: 20 });
|
|
233
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(2825, "Split Left")) }, group: '2_split', order: 30 });
|
|
234
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(2826, "Split Right")) }, group: '2_split', order: 40 });
|
|
235
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(2827, "New Window")) }, group: '3_window', order: 10 });
|
|
236
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(2828, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '4_lock', order: 10, when: ( IsAuxiliaryEditorPartContext.toNegated()) });
|
|
237
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(2829, "Close")) }, group: '5_close', order: 10, when: MultipleEditorGroupsContext });
|
|
238
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(2823, "Split Up")) }, group: '2_split', order: 10 });
|
|
239
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(2824, "Split Down")) }, group: '2_split', order: 20 });
|
|
240
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(2825, "Split Left")) }, group: '2_split', order: 30 });
|
|
241
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(2826, "Split Right")) }, group: '2_split', order: 40 });
|
|
242
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2830, "Move into New Window")) }, group: '3_window', order: 10 });
|
|
243
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2831, "Copy into New Window")) }, group: '3_window', order: 20 });
|
|
244
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(2832, "Tab Bar")), group: '4_config', order: 10, when: ( InEditorZenModeContext.negate()) });
|
|
245
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(2833, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple')) }, group: '1_config', order: 10 });
|
|
246
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(2834, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single')) }, group: '1_config', order: 20 });
|
|
247
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(2835, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')) }, group: '1_config', order: 30 });
|
|
248
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(2832, "Tab Bar")), group: '4_config', order: 10, when: InEditorZenModeContext });
|
|
249
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(2833, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'multiple')) }, group: '1_config', order: 10 });
|
|
250
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(2834, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'single')) }, group: '1_config', order: 20 });
|
|
251
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(2835, "Hidden")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'none')) }, group: '1_config', order: 30 });
|
|
252
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(2836, "Editor Actions Position")), group: '4_config', order: 20 });
|
|
253
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(2832, "Tab Bar")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')) }, group: '1_config', order: 10, when: ( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')).negate()) });
|
|
254
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(2837, "Title Bar")), toggled: ( ContextKeyExpr.or(( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'titleBar')), ( ContextKeyExpr.and(( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')), ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')))))) }, group: '1_config', order: 20 });
|
|
255
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(2838, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden')) }, group: '1_config', order: 30 });
|
|
256
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(2839, "Configure Tabs")) }, group: '9_configure', order: 10 });
|
|
257
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(2829, "Close")) }, group: '1_close', order: 10 });
|
|
258
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(2840, "Close Others")), precondition: ( EditorGroupEditorsCountContext.notEqualsTo('1')) }, group: '1_close', order: 20 });
|
|
259
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(2841, "Close to the Right")), precondition: ( ContextKeyExpr.and(( ActiveEditorLastInGroupContext.toNegated()), ( MultipleEditorsSelectedInGroupContext.negate()))) }, group: '1_close', order: 30, when: EditorTabsVisibleContext });
|
|
260
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(2842, "Close Saved")) }, group: '1_close', order: 40 });
|
|
261
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(2843, "Close All")) }, group: '1_close', order: 50 });
|
|
262
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(2844, "Reopen Editor With...")) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
|
|
263
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(2845, "Keep Open")), precondition: ( ActiveEditorPinnedContext.toNegated()) }, group: '3_preview', order: 10, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
|
|
264
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(2846, "Pin")) }, group: '3_preview', order: 20, when: ( ActiveEditorStickyContext.toNegated()) });
|
|
265
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(2847, "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
|
|
266
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(2823, "Split Up")) }, group: '5_split', order: 10 });
|
|
267
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(2824, "Split Down")) }, group: '5_split', order: 20 });
|
|
268
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(2825, "Split Left")) }, group: '5_split', order: 30 });
|
|
269
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(2826, "Split Right")) }, group: '5_split', order: 40 });
|
|
270
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(2848, "Split in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '6_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
|
|
271
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(2849, "Join in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '6_split_in_group', order: 10, when: SideBySideEditorActiveContext });
|
|
272
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2850, "Move into New Window")) }, group: '7_new_window', order: 10 });
|
|
273
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2851, "Copy into New Window")) }, group: '7_new_window', order: 20 });
|
|
274
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(2852, "Share")), group: '11_share', order: -1, when: ( MultipleEditorsSelectedInGroupContext.negate()) });
|
|
275
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(2853, "Inline View")), toggled: ( ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false)) }, group: '1_diff', order: 10, when: ( ContextKeyExpr.has('isInDiffEditor')) });
|
|
276
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(2854, "Show Opened Editors")) }, group: '3_open', order: 10 });
|
|
277
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(2843, "Close All")) }, group: '5_close', order: 10 });
|
|
278
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(2842, "Close Saved")) }, group: '5_close', order: 20 });
|
|
279
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(2855, "Enable Preview Editors")), toggled: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) }, group: '7_settings', order: 10 });
|
|
280
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(2856, "Maximize Group")) }, group: '8_group_operations', order: 5, when: ( ContextKeyExpr.and(( EditorPartMaximizedEditorGroupContext.negate()), EditorPartMultipleEditorGroupsContext)) });
|
|
281
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(2857, "Unmaximize Group")) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
|
|
282
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(2858, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( IsAuxiliaryEditorPartContext.toNegated()) });
|
|
283
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(2859, "Configure Editors")) }, group: '9_configure', order: 10 });
|
|
284
284
|
function appendEditorToolItem(primary, when, order, alternative, precondition) {
|
|
285
285
|
const item = {
|
|
286
286
|
command: {
|
|
@@ -307,96 +307,96 @@ const SPLIT_ORDER = 100000;
|
|
|
307
307
|
const CLOSE_ORDER = 1000000;
|
|
308
308
|
appendEditorToolItem({
|
|
309
309
|
id: SPLIT_EDITOR,
|
|
310
|
-
title: ( localize(
|
|
310
|
+
title: ( localize(2860, "Split Editor Right")),
|
|
311
311
|
icon: Codicon.splitHorizontal
|
|
312
312
|
}, ContextKeyExpr.not('splitEditorsVertically'), SPLIT_ORDER, {
|
|
313
313
|
id: SPLIT_EDITOR_DOWN,
|
|
314
|
-
title: ( localize(
|
|
314
|
+
title: ( localize(2861, "Split Editor Down")),
|
|
315
315
|
icon: Codicon.splitVertical
|
|
316
316
|
});
|
|
317
317
|
appendEditorToolItem({
|
|
318
318
|
id: SPLIT_EDITOR,
|
|
319
|
-
title: ( localize(
|
|
319
|
+
title: ( localize(2861, "Split Editor Down")),
|
|
320
320
|
icon: Codicon.splitVertical
|
|
321
321
|
}, ( ContextKeyExpr.has('splitEditorsVertically')), SPLIT_ORDER, {
|
|
322
322
|
id: SPLIT_EDITOR_RIGHT,
|
|
323
|
-
title: ( localize(
|
|
323
|
+
title: ( localize(2860, "Split Editor Right")),
|
|
324
324
|
icon: Codicon.splitHorizontal
|
|
325
325
|
});
|
|
326
326
|
appendEditorToolItem({
|
|
327
327
|
id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
|
|
328
|
-
title: ( localize(
|
|
328
|
+
title: ( localize(2862, "Toggle Layout")),
|
|
329
329
|
icon: Codicon.editorLayout
|
|
330
330
|
}, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
|
|
331
331
|
appendEditorToolItem({
|
|
332
332
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
333
|
-
title: ( localize(
|
|
333
|
+
title: ( localize(2829, "Close")),
|
|
334
334
|
icon: Codicon.close
|
|
335
335
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
336
336
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
337
|
-
title: ( localize(
|
|
337
|
+
title: ( localize(2843, "Close All")),
|
|
338
338
|
icon: Codicon.closeAll
|
|
339
339
|
});
|
|
340
340
|
appendEditorToolItem({
|
|
341
341
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
342
|
-
title: ( localize(
|
|
342
|
+
title: ( localize(2829, "Close")),
|
|
343
343
|
icon: Codicon.closeDirty
|
|
344
344
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
345
345
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
346
|
-
title: ( localize(
|
|
346
|
+
title: ( localize(2843, "Close All")),
|
|
347
347
|
icon: Codicon.closeAll
|
|
348
348
|
});
|
|
349
349
|
appendEditorToolItem({
|
|
350
350
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
351
|
-
title: ( localize(
|
|
351
|
+
title: ( localize(2847, "Unpin")),
|
|
352
352
|
icon: Codicon.pinned
|
|
353
353
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
354
354
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
355
|
-
title: ( localize(
|
|
355
|
+
title: ( localize(2829, "Close")),
|
|
356
356
|
icon: Codicon.close
|
|
357
357
|
});
|
|
358
358
|
appendEditorToolItem({
|
|
359
359
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
360
|
-
title: ( localize(
|
|
360
|
+
title: ( localize(2847, "Unpin")),
|
|
361
361
|
icon: Codicon.pinnedDirty
|
|
362
362
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
363
363
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
364
|
-
title: ( localize(
|
|
364
|
+
title: ( localize(2829, "Close")),
|
|
365
365
|
icon: Codicon.close
|
|
366
366
|
});
|
|
367
367
|
appendEditorToolItem({
|
|
368
368
|
id: LOCK_GROUP_COMMAND_ID,
|
|
369
|
-
title: ( localize(
|
|
369
|
+
title: ( localize(2863, "Lock Group")),
|
|
370
370
|
icon: Codicon.unlock
|
|
371
371
|
}, ( ContextKeyExpr.and(IsAuxiliaryEditorPartContext, ( ActiveEditorGroupLockedContext.toNegated()))), CLOSE_ORDER - 1);
|
|
372
372
|
appendEditorToolItem({
|
|
373
373
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
374
|
-
title: ( localize(
|
|
374
|
+
title: ( localize(2864, "Unlock Group")),
|
|
375
375
|
icon: Codicon.lock,
|
|
376
376
|
toggled: ContextKeyExpr.true()
|
|
377
377
|
}, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
|
|
378
|
-
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(
|
|
378
|
+
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(2865, 'Icon for the previous change action in the diff editor.')));
|
|
379
379
|
appendEditorToolItem({
|
|
380
380
|
id: GOTO_PREVIOUS_CHANGE,
|
|
381
|
-
title: ( localize(
|
|
381
|
+
title: ( localize(2866, "Previous Change")),
|
|
382
382
|
icon: previousChangeIcon
|
|
383
383
|
}, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges);
|
|
384
|
-
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(
|
|
384
|
+
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(2867, 'Icon for the next change action in the diff editor.')));
|
|
385
385
|
appendEditorToolItem({
|
|
386
386
|
id: GOTO_NEXT_CHANGE,
|
|
387
|
-
title: ( localize(
|
|
387
|
+
title: ( localize(2868, "Next Change")),
|
|
388
388
|
icon: nextChangeIcon
|
|
389
389
|
}, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges);
|
|
390
390
|
appendEditorToolItem({
|
|
391
391
|
id: DIFF_SWAP_SIDES,
|
|
392
|
-
title: ( localize(
|
|
392
|
+
title: ( localize(2869, "Swap Left and Right Side")),
|
|
393
393
|
icon: Codicon.arrowSwap
|
|
394
394
|
}, ( ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext)), 15, undefined, undefined);
|
|
395
|
-
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(
|
|
395
|
+
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(2870, 'Icon for the toggle whitespace action in the diff editor.')));
|
|
396
396
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
397
397
|
command: {
|
|
398
398
|
id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
|
|
399
|
-
title: ( localize(
|
|
399
|
+
title: ( localize(2871, "Show Leading/Trailing Whitespace Differences")),
|
|
400
400
|
icon: toggleWhitespace,
|
|
401
401
|
precondition: TextCompareEditorActiveContext,
|
|
402
402
|
toggled: ( ContextKeyExpr.equals('config.diffEditor.ignoreTrimWhitespace', false)),
|
|
@@ -405,22 +405,22 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
405
405
|
when: TextCompareEditorActiveContext,
|
|
406
406
|
order: 20,
|
|
407
407
|
});
|
|
408
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(
|
|
409
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(
|
|
410
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(
|
|
411
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(
|
|
412
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(
|
|
413
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(
|
|
414
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(
|
|
415
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(
|
|
416
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(
|
|
417
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(
|
|
418
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(
|
|
408
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(2872, 'Keep Editor')), category: Categories.View }, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
|
|
409
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(2873, 'Pin Editor')), category: Categories.View } });
|
|
410
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(2874, 'Unpin Editor')), category: Categories.View } });
|
|
411
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(2875, 'Close Editor')), category: Categories.View } });
|
|
412
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(2876, 'Close Pinned Editor')), category: Categories.View } });
|
|
413
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(2877, 'Close All Editors in Group')), category: Categories.View } });
|
|
414
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(2878, 'Close Saved Editors in Group')), category: Categories.View } });
|
|
415
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(2879, 'Close Other Editors in Group')), category: Categories.View } });
|
|
416
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(2880, 'Close Editors to the Right in Group')), category: Categories.View }, when: ( ActiveEditorLastInGroupContext.toNegated()) });
|
|
417
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(2881, 'Close Editor Group')), category: Categories.View }, when: MultipleEditorGroupsContext });
|
|
418
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(2844, "Reopen Editor With...")), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
|
|
419
419
|
MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
420
420
|
group: '1_editor',
|
|
421
421
|
command: {
|
|
422
422
|
id: ReopenClosedEditorAction.ID,
|
|
423
|
-
title: ( localize(
|
|
423
|
+
title: ( localize(2882, "&&Reopen Closed Editor")),
|
|
424
424
|
precondition: ( ContextKeyExpr.has('canReopenClosedEditor'))
|
|
425
425
|
},
|
|
426
426
|
order: 1
|
|
@@ -429,19 +429,19 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
429
429
|
group: 'z_clear',
|
|
430
430
|
command: {
|
|
431
431
|
id: ClearRecentFilesAction.ID,
|
|
432
|
-
title: ( localize(
|
|
432
|
+
title: ( localize(2883, "&&Clear Recently Opened..."))
|
|
433
433
|
},
|
|
434
434
|
order: 1
|
|
435
435
|
});
|
|
436
436
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
437
|
-
title: ( localize(
|
|
437
|
+
title: ( localize(2884, "Share")),
|
|
438
438
|
submenu: MenuId.MenubarShare,
|
|
439
439
|
group: '45_share',
|
|
440
440
|
order: 1,
|
|
441
441
|
});
|
|
442
442
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
443
443
|
group: '2_appearance',
|
|
444
|
-
title: ( localize(
|
|
444
|
+
title: ( localize(2885, "Editor &&Layout")),
|
|
445
445
|
submenu: MenuId.MenubarLayoutMenu,
|
|
446
446
|
order: 2
|
|
447
447
|
});
|
|
@@ -450,8 +450,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
450
450
|
command: {
|
|
451
451
|
id: SPLIT_EDITOR_UP,
|
|
452
452
|
title: {
|
|
453
|
-
...( localize2(
|
|
454
|
-
mnemonicTitle: ( localize(
|
|
453
|
+
...( localize2(2886, "Split Up")),
|
|
454
|
+
mnemonicTitle: ( localize(2887, "Split &&Up")),
|
|
455
455
|
}
|
|
456
456
|
},
|
|
457
457
|
order: 1
|
|
@@ -461,8 +461,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
461
461
|
command: {
|
|
462
462
|
id: SPLIT_EDITOR_DOWN,
|
|
463
463
|
title: {
|
|
464
|
-
...( localize2(
|
|
465
|
-
mnemonicTitle: ( localize(
|
|
464
|
+
...( localize2(2888, "Split Down")),
|
|
465
|
+
mnemonicTitle: ( localize(2889, "Split &&Down")),
|
|
466
466
|
}
|
|
467
467
|
},
|
|
468
468
|
order: 2
|
|
@@ -472,8 +472,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
472
472
|
command: {
|
|
473
473
|
id: SPLIT_EDITOR_LEFT,
|
|
474
474
|
title: {
|
|
475
|
-
...( localize2(
|
|
476
|
-
mnemonicTitle: ( localize(
|
|
475
|
+
...( localize2(2890, "Split Left")),
|
|
476
|
+
mnemonicTitle: ( localize(2891, "Split &&Left")),
|
|
477
477
|
}
|
|
478
478
|
},
|
|
479
479
|
order: 3
|
|
@@ -483,8 +483,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
483
483
|
command: {
|
|
484
484
|
id: SPLIT_EDITOR_RIGHT,
|
|
485
485
|
title: {
|
|
486
|
-
...( localize2(
|
|
487
|
-
mnemonicTitle: ( localize(
|
|
486
|
+
...( localize2(2892, "Split Right")),
|
|
487
|
+
mnemonicTitle: ( localize(2893, "Split &&Right")),
|
|
488
488
|
}
|
|
489
489
|
},
|
|
490
490
|
order: 4
|
|
@@ -494,8 +494,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
494
494
|
command: {
|
|
495
495
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
496
496
|
title: {
|
|
497
|
-
...( localize2(
|
|
498
|
-
mnemonicTitle: ( localize(
|
|
497
|
+
...( localize2(2894, "Split in Group")),
|
|
498
|
+
mnemonicTitle: ( localize(2895, "Split in &&Group")),
|
|
499
499
|
}
|
|
500
500
|
},
|
|
501
501
|
when: ActiveEditorCanSplitInGroupContext,
|
|
@@ -506,8 +506,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
506
506
|
command: {
|
|
507
507
|
id: JOIN_EDITOR_IN_GROUP,
|
|
508
508
|
title: {
|
|
509
|
-
...( localize2(
|
|
510
|
-
mnemonicTitle: ( localize(
|
|
509
|
+
...( localize2(2896, "Join in Group")),
|
|
510
|
+
mnemonicTitle: ( localize(2897, "Join in &&Group")),
|
|
511
511
|
}
|
|
512
512
|
},
|
|
513
513
|
when: SideBySideEditorActiveContext,
|
|
@@ -518,8 +518,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
518
518
|
command: {
|
|
519
519
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
520
520
|
title: {
|
|
521
|
-
...( localize2(
|
|
522
|
-
mnemonicTitle: ( localize(
|
|
521
|
+
...( localize2(2898, "Move Editor into New Window")),
|
|
522
|
+
mnemonicTitle: ( localize(2899, "&&Move Editor into New Window")),
|
|
523
523
|
}
|
|
524
524
|
},
|
|
525
525
|
order: 1
|
|
@@ -529,8 +529,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
529
529
|
command: {
|
|
530
530
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
531
531
|
title: {
|
|
532
|
-
...( localize2(
|
|
533
|
-
mnemonicTitle: ( localize(
|
|
532
|
+
...( localize2(2900, "Copy Editor into New Window")),
|
|
533
|
+
mnemonicTitle: ( localize(2901, "&&Copy Editor into New Window")),
|
|
534
534
|
}
|
|
535
535
|
},
|
|
536
536
|
order: 2
|
|
@@ -540,8 +540,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
540
540
|
command: {
|
|
541
541
|
id: EditorLayoutSingleAction.ID,
|
|
542
542
|
title: {
|
|
543
|
-
...( localize2(
|
|
544
|
-
mnemonicTitle: ( localize(
|
|
543
|
+
...( localize2(2902, "Single")),
|
|
544
|
+
mnemonicTitle: ( localize(2903, "&&Single")),
|
|
545
545
|
}
|
|
546
546
|
},
|
|
547
547
|
order: 1
|
|
@@ -551,8 +551,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
551
551
|
command: {
|
|
552
552
|
id: EditorLayoutTwoColumnsAction.ID,
|
|
553
553
|
title: {
|
|
554
|
-
...( localize2(
|
|
555
|
-
mnemonicTitle: ( localize(
|
|
554
|
+
...( localize2(2904, "Two Columns")),
|
|
555
|
+
mnemonicTitle: ( localize(2905, "&&Two Columns")),
|
|
556
556
|
}
|
|
557
557
|
},
|
|
558
558
|
order: 3
|
|
@@ -562,8 +562,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
562
562
|
command: {
|
|
563
563
|
id: EditorLayoutThreeColumnsAction.ID,
|
|
564
564
|
title: {
|
|
565
|
-
...( localize2(
|
|
566
|
-
mnemonicTitle: ( localize(
|
|
565
|
+
...( localize2(2906, "Three Columns")),
|
|
566
|
+
mnemonicTitle: ( localize(2907, "T&&hree Columns")),
|
|
567
567
|
}
|
|
568
568
|
},
|
|
569
569
|
order: 4
|
|
@@ -573,8 +573,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
573
573
|
command: {
|
|
574
574
|
id: EditorLayoutTwoRowsAction.ID,
|
|
575
575
|
title: {
|
|
576
|
-
...( localize2(
|
|
577
|
-
mnemonicTitle: ( localize(
|
|
576
|
+
...( localize2(2908, "Two Rows")),
|
|
577
|
+
mnemonicTitle: ( localize(2909, "T&&wo Rows")),
|
|
578
578
|
}
|
|
579
579
|
},
|
|
580
580
|
order: 5
|
|
@@ -584,8 +584,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
584
584
|
command: {
|
|
585
585
|
id: EditorLayoutThreeRowsAction.ID,
|
|
586
586
|
title: {
|
|
587
|
-
...( localize2(
|
|
588
|
-
mnemonicTitle: ( localize(
|
|
587
|
+
...( localize2(2910, "Three Rows")),
|
|
588
|
+
mnemonicTitle: ( localize(2911, "Three &&Rows")),
|
|
589
589
|
}
|
|
590
590
|
},
|
|
591
591
|
order: 6
|
|
@@ -595,8 +595,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
595
595
|
command: {
|
|
596
596
|
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
597
597
|
title: {
|
|
598
|
-
...( localize2(
|
|
599
|
-
mnemonicTitle: ( localize(
|
|
598
|
+
...( localize2(2912, "Grid (2x2)")),
|
|
599
|
+
mnemonicTitle: ( localize(2913, "&&Grid (2x2)")),
|
|
600
600
|
}
|
|
601
601
|
},
|
|
602
602
|
order: 7
|
|
@@ -606,8 +606,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
606
606
|
command: {
|
|
607
607
|
id: EditorLayoutTwoRowsRightAction.ID,
|
|
608
608
|
title: {
|
|
609
|
-
...( localize2(
|
|
610
|
-
mnemonicTitle: ( localize(
|
|
609
|
+
...( localize2(2914, "Two Rows Right")),
|
|
610
|
+
mnemonicTitle: ( localize(2915, "Two R&&ows Right")),
|
|
611
611
|
}
|
|
612
612
|
},
|
|
613
613
|
order: 8
|
|
@@ -617,8 +617,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
617
617
|
command: {
|
|
618
618
|
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
619
619
|
title: {
|
|
620
|
-
...( localize2(
|
|
621
|
-
mnemonicTitle: ( localize(
|
|
620
|
+
...( localize2(2916, "Two Columns Bottom")),
|
|
621
|
+
mnemonicTitle: ( localize(2917, "Two &&Columns Bottom")),
|
|
622
622
|
}
|
|
623
623
|
},
|
|
624
624
|
order: 9
|
|
@@ -627,7 +627,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
627
627
|
group: '1_history_nav',
|
|
628
628
|
command: {
|
|
629
629
|
id: 'workbench.action.navigateToLastEditLocation',
|
|
630
|
-
title: ( localize(
|
|
630
|
+
title: ( localize(2918, "&&Last Edit Location")),
|
|
631
631
|
precondition: ( ContextKeyExpr.has('canNavigateToLastEditLocation'))
|
|
632
632
|
},
|
|
633
633
|
order: 3
|
|
@@ -636,7 +636,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
636
636
|
group: '1_sideBySide',
|
|
637
637
|
command: {
|
|
638
638
|
id: FOCUS_FIRST_SIDE_EDITOR,
|
|
639
|
-
title: ( localize(
|
|
639
|
+
title: ( localize(2919, "&&First Side in Editor"))
|
|
640
640
|
},
|
|
641
641
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
642
642
|
order: 1
|
|
@@ -645,7 +645,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
645
645
|
group: '1_sideBySide',
|
|
646
646
|
command: {
|
|
647
647
|
id: FOCUS_SECOND_SIDE_EDITOR,
|
|
648
|
-
title: ( localize(
|
|
648
|
+
title: ( localize(2920, "&&Second Side in Editor"))
|
|
649
649
|
},
|
|
650
650
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
651
651
|
order: 2
|
|
@@ -654,7 +654,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
654
654
|
group: '2_any',
|
|
655
655
|
command: {
|
|
656
656
|
id: 'workbench.action.nextEditor',
|
|
657
|
-
title: ( localize(
|
|
657
|
+
title: ( localize(2921, "&&Next Editor"))
|
|
658
658
|
},
|
|
659
659
|
order: 1
|
|
660
660
|
});
|
|
@@ -662,7 +662,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
662
662
|
group: '2_any',
|
|
663
663
|
command: {
|
|
664
664
|
id: 'workbench.action.previousEditor',
|
|
665
|
-
title: ( localize(
|
|
665
|
+
title: ( localize(2922, "&&Previous Editor"))
|
|
666
666
|
},
|
|
667
667
|
order: 2
|
|
668
668
|
});
|
|
@@ -670,7 +670,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
670
670
|
group: '3_any_used',
|
|
671
671
|
command: {
|
|
672
672
|
id: 'workbench.action.openNextRecentlyUsedEditor',
|
|
673
|
-
title: ( localize(
|
|
673
|
+
title: ( localize(2923, "&&Next Used Editor"))
|
|
674
674
|
},
|
|
675
675
|
order: 1
|
|
676
676
|
});
|
|
@@ -678,7 +678,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
678
678
|
group: '3_any_used',
|
|
679
679
|
command: {
|
|
680
680
|
id: 'workbench.action.openPreviousRecentlyUsedEditor',
|
|
681
|
-
title: ( localize(
|
|
681
|
+
title: ( localize(2924, "&&Previous Used Editor"))
|
|
682
682
|
},
|
|
683
683
|
order: 2
|
|
684
684
|
});
|
|
@@ -686,7 +686,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
686
686
|
group: '4_group',
|
|
687
687
|
command: {
|
|
688
688
|
id: 'workbench.action.nextEditorInGroup',
|
|
689
|
-
title: ( localize(
|
|
689
|
+
title: ( localize(2925, "&&Next Editor in Group"))
|
|
690
690
|
},
|
|
691
691
|
order: 1
|
|
692
692
|
});
|
|
@@ -694,7 +694,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
694
694
|
group: '4_group',
|
|
695
695
|
command: {
|
|
696
696
|
id: 'workbench.action.previousEditorInGroup',
|
|
697
|
-
title: ( localize(
|
|
697
|
+
title: ( localize(2926, "&&Previous Editor in Group"))
|
|
698
698
|
},
|
|
699
699
|
order: 2
|
|
700
700
|
});
|
|
@@ -702,7 +702,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
702
702
|
group: '5_group_used',
|
|
703
703
|
command: {
|
|
704
704
|
id: 'workbench.action.openNextRecentlyUsedEditorInGroup',
|
|
705
|
-
title: ( localize(
|
|
705
|
+
title: ( localize(2927, "&&Next Used Editor in Group"))
|
|
706
706
|
},
|
|
707
707
|
order: 1
|
|
708
708
|
});
|
|
@@ -710,13 +710,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
710
710
|
group: '5_group_used',
|
|
711
711
|
command: {
|
|
712
712
|
id: 'workbench.action.openPreviousRecentlyUsedEditorInGroup',
|
|
713
|
-
title: ( localize(
|
|
713
|
+
title: ( localize(2928, "&&Previous Used Editor in Group"))
|
|
714
714
|
},
|
|
715
715
|
order: 2
|
|
716
716
|
});
|
|
717
717
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
718
718
|
group: '2_editor_nav',
|
|
719
|
-
title: ( localize(
|
|
719
|
+
title: ( localize(2929, "Switch &&Editor")),
|
|
720
720
|
submenu: MenuId.MenubarSwitchEditorMenu,
|
|
721
721
|
order: 1
|
|
722
722
|
});
|
|
@@ -724,7 +724,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
724
724
|
group: '1_focus_index',
|
|
725
725
|
command: {
|
|
726
726
|
id: 'workbench.action.focusFirstEditorGroup',
|
|
727
|
-
title: ( localize(
|
|
727
|
+
title: ( localize(2930, "Group &&1"))
|
|
728
728
|
},
|
|
729
729
|
order: 1
|
|
730
730
|
});
|
|
@@ -732,7 +732,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
732
732
|
group: '1_focus_index',
|
|
733
733
|
command: {
|
|
734
734
|
id: 'workbench.action.focusSecondEditorGroup',
|
|
735
|
-
title: ( localize(
|
|
735
|
+
title: ( localize(2931, "Group &&2"))
|
|
736
736
|
},
|
|
737
737
|
order: 2
|
|
738
738
|
});
|
|
@@ -740,7 +740,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
740
740
|
group: '1_focus_index',
|
|
741
741
|
command: {
|
|
742
742
|
id: 'workbench.action.focusThirdEditorGroup',
|
|
743
|
-
title: ( localize(
|
|
743
|
+
title: ( localize(2932, "Group &&3")),
|
|
744
744
|
precondition: MultipleEditorGroupsContext
|
|
745
745
|
},
|
|
746
746
|
order: 3
|
|
@@ -749,7 +749,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
749
749
|
group: '1_focus_index',
|
|
750
750
|
command: {
|
|
751
751
|
id: 'workbench.action.focusFourthEditorGroup',
|
|
752
|
-
title: ( localize(
|
|
752
|
+
title: ( localize(2933, "Group &&4")),
|
|
753
753
|
precondition: MultipleEditorGroupsContext
|
|
754
754
|
},
|
|
755
755
|
order: 4
|
|
@@ -758,7 +758,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
758
758
|
group: '1_focus_index',
|
|
759
759
|
command: {
|
|
760
760
|
id: 'workbench.action.focusFifthEditorGroup',
|
|
761
|
-
title: ( localize(
|
|
761
|
+
title: ( localize(2934, "Group &&5")),
|
|
762
762
|
precondition: MultipleEditorGroupsContext
|
|
763
763
|
},
|
|
764
764
|
order: 5
|
|
@@ -767,7 +767,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
767
767
|
group: '2_next_prev',
|
|
768
768
|
command: {
|
|
769
769
|
id: 'workbench.action.focusNextGroup',
|
|
770
|
-
title: ( localize(
|
|
770
|
+
title: ( localize(2935, "&&Next Group")),
|
|
771
771
|
precondition: MultipleEditorGroupsContext
|
|
772
772
|
},
|
|
773
773
|
order: 1
|
|
@@ -776,7 +776,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
776
776
|
group: '2_next_prev',
|
|
777
777
|
command: {
|
|
778
778
|
id: 'workbench.action.focusPreviousGroup',
|
|
779
|
-
title: ( localize(
|
|
779
|
+
title: ( localize(2936, "&&Previous Group")),
|
|
780
780
|
precondition: MultipleEditorGroupsContext
|
|
781
781
|
},
|
|
782
782
|
order: 2
|
|
@@ -785,7 +785,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
785
785
|
group: '3_directional',
|
|
786
786
|
command: {
|
|
787
787
|
id: 'workbench.action.focusLeftGroup',
|
|
788
|
-
title: ( localize(
|
|
788
|
+
title: ( localize(2937, "Group &&Left")),
|
|
789
789
|
precondition: MultipleEditorGroupsContext
|
|
790
790
|
},
|
|
791
791
|
order: 1
|
|
@@ -794,7 +794,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
794
794
|
group: '3_directional',
|
|
795
795
|
command: {
|
|
796
796
|
id: 'workbench.action.focusRightGroup',
|
|
797
|
-
title: ( localize(
|
|
797
|
+
title: ( localize(2938, "Group &&Right")),
|
|
798
798
|
precondition: MultipleEditorGroupsContext
|
|
799
799
|
},
|
|
800
800
|
order: 2
|
|
@@ -803,7 +803,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
803
803
|
group: '3_directional',
|
|
804
804
|
command: {
|
|
805
805
|
id: 'workbench.action.focusAboveGroup',
|
|
806
|
-
title: ( localize(
|
|
806
|
+
title: ( localize(2939, "Group &&Above")),
|
|
807
807
|
precondition: MultipleEditorGroupsContext
|
|
808
808
|
},
|
|
809
809
|
order: 3
|
|
@@ -812,14 +812,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
812
812
|
group: '3_directional',
|
|
813
813
|
command: {
|
|
814
814
|
id: 'workbench.action.focusBelowGroup',
|
|
815
|
-
title: ( localize(
|
|
815
|
+
title: ( localize(2940, "Group &&Below")),
|
|
816
816
|
precondition: MultipleEditorGroupsContext
|
|
817
817
|
},
|
|
818
818
|
order: 4
|
|
819
819
|
});
|
|
820
820
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
821
821
|
group: '2_editor_nav',
|
|
822
|
-
title: ( localize(
|
|
822
|
+
title: ( localize(2941, "Switch &&Group")),
|
|
823
823
|
submenu: MenuId.MenubarSwitchGroupMenu,
|
|
824
824
|
order: 2
|
|
825
825
|
});
|