@codingame/monaco-vscode-view-common-service-override 23.1.0 → 23.2.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/index.js +10 -3
- package/package.json +41 -41
- package/vscode/src/vs/workbench/browser/actions/helpActions.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/actions/helpActions.js +339 -0
- 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/editor/editor.contribution.js +166 -166
- 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.d.ts +1 -1
- 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 +29 -29
- 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/mergeEditorAccessibilityHelp.js +5 -5
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -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/scrollLocking/browser/scrollLocking.js +7 -7
- 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 +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 +6 -6
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +1 -1
- 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 +10 -10
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +8 -8
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.d.ts +1 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.js +1 -1
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +5 -5
|
@@ -38,17 +38,17 @@ import { getFontSnippets } from '@codingame/monaco-vscode-api/vscode/vs/base/bro
|
|
|
38
38
|
import { registerEditorFontConfigurations } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorConfigurationSchema';
|
|
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(3074, "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(3075, "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(3076, "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(3077, "Side by Side Editor"))), [
|
|
52
52
|
( new SyncDescriptor(SideBySideEditorInput))
|
|
53
53
|
]);
|
|
54
54
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(UntitledTextEditorInput.ID, UntitledTextEditorInputSerializer);
|
|
@@ -64,22 +64,22 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
64
64
|
ctor: ActiveGroupEditorsByMostRecentlyUsedQuickAccess,
|
|
65
65
|
prefix: ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
66
66
|
contextKey: editorPickerContextKey,
|
|
67
|
-
placeholder: ( localize(
|
|
68
|
-
helpEntries: [{ description: ( localize(
|
|
67
|
+
placeholder: ( localize(3078, "Type the name of an editor to open it.")),
|
|
68
|
+
helpEntries: [{ description: ( localize(3079, "Show Editors in Active Group by Most Recently Used")), commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID }]
|
|
69
69
|
});
|
|
70
70
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
71
71
|
ctor: AllEditorsByAppearanceQuickAccess,
|
|
72
72
|
prefix: AllEditorsByAppearanceQuickAccess.PREFIX,
|
|
73
73
|
contextKey: editorPickerContextKey,
|
|
74
|
-
placeholder: ( localize(
|
|
75
|
-
helpEntries: [{ description: ( localize(
|
|
74
|
+
placeholder: ( localize(3078, "Type the name of an editor to open it.")),
|
|
75
|
+
helpEntries: [{ description: ( localize(3080, "Show All Opened Editors By Appearance")), commandId: ShowAllEditorsByAppearanceAction.ID }]
|
|
76
76
|
});
|
|
77
77
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
78
78
|
ctor: AllEditorsByMostRecentlyUsedQuickAccess,
|
|
79
79
|
prefix: AllEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
80
80
|
contextKey: editorPickerContextKey,
|
|
81
|
-
placeholder: ( localize(
|
|
82
|
-
helpEntries: [{ description: ( localize(
|
|
81
|
+
placeholder: ( localize(3078, "Type the name of an editor to open it.")),
|
|
82
|
+
helpEntries: [{ description: ( localize(3081, "Show All Opened Editors By Most Recently Used")), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
|
|
83
83
|
});
|
|
84
84
|
registerAction2(ChangeLanguageAction);
|
|
85
85
|
registerAction2(ChangeEOLAction);
|
|
@@ -224,69 +224,69 @@ if (isMacintosh) {
|
|
|
224
224
|
order: 1
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
228
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
229
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(
|
|
230
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
231
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
232
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
233
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
234
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(
|
|
235
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
236
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(
|
|
237
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
238
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
239
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
240
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
241
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
242
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
243
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(
|
|
244
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(
|
|
245
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(
|
|
246
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(
|
|
247
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(
|
|
248
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(
|
|
249
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(
|
|
250
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(
|
|
251
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(
|
|
252
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(
|
|
253
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(
|
|
254
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(
|
|
255
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(
|
|
256
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(
|
|
257
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
258
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(
|
|
259
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(
|
|
260
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
261
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(
|
|
262
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(
|
|
263
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(
|
|
264
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(
|
|
265
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR, title: ( localize(
|
|
266
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR, title: ( localize(
|
|
267
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorSplitMoveSubmenu, title: ( localize(
|
|
268
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
269
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
270
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(
|
|
271
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
272
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
273
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
274
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
275
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_ABOVE_GROUP, title: ( localize(
|
|
276
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_BELOW_GROUP, title: ( localize(
|
|
277
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_LEFT_GROUP, title: ( localize(
|
|
278
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_RIGHT_GROUP, title: ( localize(
|
|
279
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(
|
|
280
|
-
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(
|
|
281
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(
|
|
282
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(
|
|
283
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
284
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(
|
|
285
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(
|
|
286
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(
|
|
287
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(
|
|
288
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
289
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(
|
|
227
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(3082, "Lock Group")), icon: Codicon.unlock }, group: 'navigation', order: 10, when: ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))) });
|
|
228
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(3083, "Unlock Group")), icon: Codicon.lock, toggled: ContextKeyExpr.true() }, group: 'navigation', order: 10, when: ActiveEditorGroupLockedContext });
|
|
229
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(3084, "Close Group")), icon: Codicon.close }, group: 'navigation', order: 20, when: ( ContextKeyExpr.or(IsAuxiliaryWindowContext, EditorPartMultipleEditorGroupsContext)) });
|
|
230
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(3085, "Split Up")) }, group: '2_split', order: 10 });
|
|
231
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(3086, "Split Down")) }, group: '2_split', order: 20 });
|
|
232
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(3087, "Split Left")) }, group: '2_split', order: 30 });
|
|
233
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(3088, "Split Right")) }, group: '2_split', order: 40 });
|
|
234
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(3089, "New Window")) }, group: '3_window', order: 10 });
|
|
235
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(3090, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '4_lock', order: 10, when: ( IsAuxiliaryWindowContext.toNegated()) });
|
|
236
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(3091, "Close")) }, group: '5_close', order: 10, when: MultipleEditorGroupsContext });
|
|
237
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(3085, "Split Up")) }, group: '2_split', order: 10 });
|
|
238
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(3086, "Split Down")) }, group: '2_split', order: 20 });
|
|
239
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(3087, "Split Left")) }, group: '2_split', order: 30 });
|
|
240
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(3088, "Split Right")) }, group: '2_split', order: 40 });
|
|
241
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3092, "Move into New Window")) }, group: '3_window', order: 10 });
|
|
242
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3093, "Copy into New Window")) }, group: '3_window', order: 20 });
|
|
243
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(3094, "Tab Bar")), group: '4_config', order: 10, when: ( InEditorZenModeContext.negate()) });
|
|
244
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(3095, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple')) }, group: '1_config', order: 10 });
|
|
245
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(3096, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single')) }, group: '1_config', order: 20 });
|
|
246
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(3097, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')) }, group: '1_config', order: 30 });
|
|
247
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(3094, "Tab Bar")), group: '4_config', order: 10, when: InEditorZenModeContext });
|
|
248
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(3095, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'multiple')) }, group: '1_config', order: 10 });
|
|
249
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(3096, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'single')) }, group: '1_config', order: 20 });
|
|
250
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(3097, "Hidden")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'none')) }, group: '1_config', order: 30 });
|
|
251
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(3098, "Editor Actions Position")), group: '4_config', order: 20 });
|
|
252
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(3094, "Tab Bar")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')) }, group: '1_config', order: 10, when: ( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')).negate()) });
|
|
253
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(3099, "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 });
|
|
254
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(3100, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden')) }, group: '1_config', order: 30 });
|
|
255
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(3101, "Configure Tabs")) }, group: '9_configure', order: 10 });
|
|
256
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(3091, "Close")) }, group: '1_close', order: 10 });
|
|
257
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3102, "Close Others")), precondition: ( EditorGroupEditorsCountContext.notEqualsTo('1')) }, group: '1_close', order: 20 });
|
|
258
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(3103, "Close to the Right")), precondition: ( ContextKeyExpr.and(( ActiveEditorLastInGroupContext.toNegated()), ( MultipleEditorsSelectedInGroupContext.negate()))) }, group: '1_close', order: 30, when: EditorTabsVisibleContext });
|
|
259
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(3104, "Close Saved")) }, group: '1_close', order: 40 });
|
|
260
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3105, "Close All")) }, group: '1_close', order: 50 });
|
|
261
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(3106, "Reopen Editor With...")) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
|
|
262
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(3107, "Keep Open")), precondition: ( ActiveEditorPinnedContext.toNegated()) }, group: '3_preview', order: 10, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
|
|
263
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(3108, "Pin")) }, group: '3_preview', order: 20, when: ( ActiveEditorStickyContext.toNegated()) });
|
|
264
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(3109, "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
|
|
265
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR, title: ( localize(3088, "Split Right")) }, group: '5_split', order: 10, when: ( SplitEditorsVertically.negate()) });
|
|
266
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR, title: ( localize(3086, "Split Down")) }, group: '5_split', order: 10, when: SplitEditorsVertically });
|
|
267
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorSplitMoveSubmenu, title: ( localize(3110, "Split & Move")), group: '5_split', order: 15 });
|
|
268
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3111, "Move into New Window")) }, group: '7_new_window', order: 10 });
|
|
269
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3112, "Copy into New Window")) }, group: '7_new_window', order: 20 });
|
|
270
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(3113, "Share")), group: '11_share', order: -1, when: ( MultipleEditorsSelectedInGroupContext.negate()) });
|
|
271
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_UP, title: ( localize(3085, "Split Up")) }, group: '1_split', order: 10 });
|
|
272
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(3086, "Split Down")) }, group: '1_split', order: 20 });
|
|
273
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(3087, "Split Left")) }, group: '1_split', order: 30 });
|
|
274
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(3088, "Split Right")) }, group: '1_split', order: 40 });
|
|
275
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_ABOVE_GROUP, title: ( localize(3114, "Move Above")) }, group: '2_move', order: 10 });
|
|
276
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_BELOW_GROUP, title: ( localize(3115, "Move Below")) }, group: '2_move', order: 20 });
|
|
277
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_LEFT_GROUP, title: ( localize(3116, "Move Left")) }, group: '2_move', order: 30 });
|
|
278
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_RIGHT_GROUP, title: ( localize(3117, "Move Right")) }, group: '2_move', order: 40 });
|
|
279
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(3118, "Split in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '3_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
|
|
280
|
+
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(3119, "Join in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '3_split_in_group', order: 10, when: SideBySideEditorActiveContext });
|
|
281
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(3120, "Inline View")), toggled: ( ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false)) }, group: '1_diff', order: 10, when: ( ContextKeyExpr.has('isInDiffEditor')) });
|
|
282
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(3121, "Show Opened Editors")) }, group: '3_open', order: 10 });
|
|
283
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3105, "Close All")) }, group: '5_close', order: 10 });
|
|
284
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(3104, "Close Saved")) }, group: '5_close', order: 20 });
|
|
285
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(3122, "Enable Preview Editors")), toggled: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) }, group: '7_settings', order: 10 });
|
|
286
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(3123, "Maximize Group")) }, group: '8_group_operations', order: 5, when: ( ContextKeyExpr.and(( EditorPartMaximizedEditorGroupContext.negate()), EditorPartMultipleEditorGroupsContext)) });
|
|
287
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(3124, "Unmaximize Group")) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
|
|
288
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(3125, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( IsAuxiliaryWindowContext.toNegated()) });
|
|
289
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(3126, "Configure Editors")) }, group: '9_configure', order: 10 });
|
|
290
290
|
function appendEditorToolItem(primary, when, order, alternative, precondition, enableInCompactMode) {
|
|
291
291
|
const item = {
|
|
292
292
|
command: {
|
|
@@ -316,96 +316,96 @@ const SPLIT_ORDER = 100000;
|
|
|
316
316
|
const CLOSE_ORDER = 1000000;
|
|
317
317
|
appendEditorToolItem({
|
|
318
318
|
id: SPLIT_EDITOR,
|
|
319
|
-
title: ( localize(
|
|
319
|
+
title: ( localize(3127, "Split Editor Right")),
|
|
320
320
|
icon: Codicon.splitHorizontal
|
|
321
321
|
}, ( SplitEditorsVertically.negate()), SPLIT_ORDER, {
|
|
322
322
|
id: SPLIT_EDITOR_DOWN,
|
|
323
|
-
title: ( localize(
|
|
323
|
+
title: ( localize(3128, "Split Editor Down")),
|
|
324
324
|
icon: Codicon.splitVertical
|
|
325
325
|
});
|
|
326
326
|
appendEditorToolItem({
|
|
327
327
|
id: SPLIT_EDITOR,
|
|
328
|
-
title: ( localize(
|
|
328
|
+
title: ( localize(3128, "Split Editor Down")),
|
|
329
329
|
icon: Codicon.splitVertical
|
|
330
330
|
}, SplitEditorsVertically, SPLIT_ORDER, {
|
|
331
331
|
id: SPLIT_EDITOR_RIGHT,
|
|
332
|
-
title: ( localize(
|
|
332
|
+
title: ( localize(3127, "Split Editor Right")),
|
|
333
333
|
icon: Codicon.splitHorizontal
|
|
334
334
|
});
|
|
335
335
|
appendEditorToolItem({
|
|
336
336
|
id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
|
|
337
|
-
title: ( localize(
|
|
337
|
+
title: ( localize(3129, "Toggle Layout")),
|
|
338
338
|
icon: Codicon.editorLayout
|
|
339
339
|
}, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
|
|
340
340
|
appendEditorToolItem({
|
|
341
341
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
342
|
-
title: ( localize(
|
|
342
|
+
title: ( localize(3091, "Close")),
|
|
343
343
|
icon: Codicon.close
|
|
344
344
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
345
345
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
346
|
-
title: ( localize(
|
|
346
|
+
title: ( localize(3105, "Close All")),
|
|
347
347
|
icon: Codicon.closeAll
|
|
348
348
|
});
|
|
349
349
|
appendEditorToolItem({
|
|
350
350
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
351
|
-
title: ( localize(
|
|
351
|
+
title: ( localize(3091, "Close")),
|
|
352
352
|
icon: Codicon.closeDirty
|
|
353
353
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
354
354
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
355
|
-
title: ( localize(
|
|
355
|
+
title: ( localize(3105, "Close All")),
|
|
356
356
|
icon: Codicon.closeAll
|
|
357
357
|
});
|
|
358
358
|
appendEditorToolItem({
|
|
359
359
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
360
|
-
title: ( localize(
|
|
360
|
+
title: ( localize(3109, "Unpin")),
|
|
361
361
|
icon: Codicon.pinned
|
|
362
362
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
363
363
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
364
|
-
title: ( localize(
|
|
364
|
+
title: ( localize(3091, "Close")),
|
|
365
365
|
icon: Codicon.close
|
|
366
366
|
});
|
|
367
367
|
appendEditorToolItem({
|
|
368
368
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
369
|
-
title: ( localize(
|
|
369
|
+
title: ( localize(3109, "Unpin")),
|
|
370
370
|
icon: Codicon.pinnedDirty
|
|
371
371
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
372
372
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
373
|
-
title: ( localize(
|
|
373
|
+
title: ( localize(3091, "Close")),
|
|
374
374
|
icon: Codicon.close
|
|
375
375
|
});
|
|
376
376
|
appendEditorToolItem({
|
|
377
377
|
id: LOCK_GROUP_COMMAND_ID,
|
|
378
|
-
title: ( localize(
|
|
378
|
+
title: ( localize(3130, "Lock Group")),
|
|
379
379
|
icon: Codicon.unlock
|
|
380
380
|
}, ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))), CLOSE_ORDER - 1);
|
|
381
381
|
appendEditorToolItem({
|
|
382
382
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
383
|
-
title: ( localize(
|
|
383
|
+
title: ( localize(3131, "Unlock Group")),
|
|
384
384
|
icon: Codicon.lock,
|
|
385
385
|
toggled: ContextKeyExpr.true()
|
|
386
386
|
}, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
|
|
387
|
-
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(
|
|
387
|
+
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(3132, 'Icon for the previous change action in the diff editor.')));
|
|
388
388
|
appendEditorToolItem({
|
|
389
389
|
id: GOTO_PREVIOUS_CHANGE,
|
|
390
|
-
title: ( localize(
|
|
390
|
+
title: ( localize(3133, "Previous Change")),
|
|
391
391
|
icon: previousChangeIcon
|
|
392
392
|
}, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges, true);
|
|
393
|
-
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(
|
|
393
|
+
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(3134, 'Icon for the next change action in the diff editor.')));
|
|
394
394
|
appendEditorToolItem({
|
|
395
395
|
id: GOTO_NEXT_CHANGE,
|
|
396
|
-
title: ( localize(
|
|
396
|
+
title: ( localize(3135, "Next Change")),
|
|
397
397
|
icon: nextChangeIcon
|
|
398
398
|
}, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges, true);
|
|
399
399
|
appendEditorToolItem({
|
|
400
400
|
id: DIFF_SWAP_SIDES,
|
|
401
|
-
title: ( localize(
|
|
401
|
+
title: ( localize(3136, "Swap Left and Right Side")),
|
|
402
402
|
icon: Codicon.arrowSwap
|
|
403
403
|
}, ( ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext)), 15, undefined, undefined);
|
|
404
|
-
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(
|
|
404
|
+
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(3137, 'Icon for the toggle whitespace action in the diff editor.')));
|
|
405
405
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
406
406
|
command: {
|
|
407
407
|
id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
|
|
408
|
-
title: ( localize(
|
|
408
|
+
title: ( localize(3138, "Show Leading/Trailing Whitespace Differences")),
|
|
409
409
|
icon: toggleWhitespace,
|
|
410
410
|
precondition: TextCompareEditorActiveContext,
|
|
411
411
|
toggled: ( ContextKeyExpr.equals('config.diffEditor.ignoreTrimWhitespace', false)),
|
|
@@ -414,22 +414,22 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
414
414
|
when: TextCompareEditorActiveContext,
|
|
415
415
|
order: 20,
|
|
416
416
|
});
|
|
417
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(
|
|
418
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(
|
|
419
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(
|
|
420
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(
|
|
421
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(
|
|
422
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(
|
|
423
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(
|
|
424
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(
|
|
425
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(
|
|
426
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(
|
|
427
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(
|
|
417
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(3139, 'Keep Editor')), category: Categories.View }, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
|
|
418
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(3140, 'Pin Editor')), category: Categories.View } });
|
|
419
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(3141, 'Unpin Editor')), category: Categories.View } });
|
|
420
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(3142, 'Close Editor')), category: Categories.View } });
|
|
421
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(3143, 'Close Pinned Editor')), category: Categories.View } });
|
|
422
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3144, 'Close All Editors in Group')), category: Categories.View } });
|
|
423
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(3145, 'Close Saved Editors in Group')), category: Categories.View } });
|
|
424
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3146, 'Close Other Editors in Group')), category: Categories.View } });
|
|
425
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(3147, 'Close Editors to the Right in Group')), category: Categories.View }, when: ( ActiveEditorLastInGroupContext.toNegated()) });
|
|
426
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(3148, 'Close Editor Group')), category: Categories.View }, when: MultipleEditorGroupsContext });
|
|
427
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(3106, "Reopen Editor With...")), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
|
|
428
428
|
MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
429
429
|
group: '1_editor',
|
|
430
430
|
command: {
|
|
431
431
|
id: ReopenClosedEditorAction.ID,
|
|
432
|
-
title: ( localize(
|
|
432
|
+
title: ( localize(3149, "&&Reopen Closed Editor")),
|
|
433
433
|
precondition: ( ContextKeyExpr.has('canReopenClosedEditor'))
|
|
434
434
|
},
|
|
435
435
|
order: 1
|
|
@@ -438,19 +438,19 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
438
438
|
group: 'z_clear',
|
|
439
439
|
command: {
|
|
440
440
|
id: ClearRecentFilesAction.ID,
|
|
441
|
-
title: ( localize(
|
|
441
|
+
title: ( localize(3150, "&&Clear Recently Opened..."))
|
|
442
442
|
},
|
|
443
443
|
order: 1
|
|
444
444
|
});
|
|
445
445
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
446
|
-
title: ( localize(
|
|
446
|
+
title: ( localize(3151, "Share")),
|
|
447
447
|
submenu: MenuId.MenubarShare,
|
|
448
448
|
group: '45_share',
|
|
449
449
|
order: 1,
|
|
450
450
|
});
|
|
451
451
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
452
452
|
group: '2_appearance',
|
|
453
|
-
title: ( localize(
|
|
453
|
+
title: ( localize(3152, "Editor &&Layout")),
|
|
454
454
|
submenu: MenuId.MenubarLayoutMenu,
|
|
455
455
|
order: 2
|
|
456
456
|
});
|
|
@@ -459,8 +459,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
459
459
|
command: {
|
|
460
460
|
id: SPLIT_EDITOR_UP,
|
|
461
461
|
title: {
|
|
462
|
-
...( localize2(
|
|
463
|
-
mnemonicTitle: ( localize(
|
|
462
|
+
...( localize2(3153, "Split Up")),
|
|
463
|
+
mnemonicTitle: ( localize(3154, "Split &&Up")),
|
|
464
464
|
}
|
|
465
465
|
},
|
|
466
466
|
order: 1
|
|
@@ -470,8 +470,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
470
470
|
command: {
|
|
471
471
|
id: SPLIT_EDITOR_DOWN,
|
|
472
472
|
title: {
|
|
473
|
-
...( localize2(
|
|
474
|
-
mnemonicTitle: ( localize(
|
|
473
|
+
...( localize2(3155, "Split Down")),
|
|
474
|
+
mnemonicTitle: ( localize(3156, "Split &&Down")),
|
|
475
475
|
}
|
|
476
476
|
},
|
|
477
477
|
order: 2
|
|
@@ -481,8 +481,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
481
481
|
command: {
|
|
482
482
|
id: SPLIT_EDITOR_LEFT,
|
|
483
483
|
title: {
|
|
484
|
-
...( localize2(
|
|
485
|
-
mnemonicTitle: ( localize(
|
|
484
|
+
...( localize2(3157, "Split Left")),
|
|
485
|
+
mnemonicTitle: ( localize(3158, "Split &&Left")),
|
|
486
486
|
}
|
|
487
487
|
},
|
|
488
488
|
order: 3
|
|
@@ -492,8 +492,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
492
492
|
command: {
|
|
493
493
|
id: SPLIT_EDITOR_RIGHT,
|
|
494
494
|
title: {
|
|
495
|
-
...( localize2(
|
|
496
|
-
mnemonicTitle: ( localize(
|
|
495
|
+
...( localize2(3159, "Split Right")),
|
|
496
|
+
mnemonicTitle: ( localize(3160, "Split &&Right")),
|
|
497
497
|
}
|
|
498
498
|
},
|
|
499
499
|
order: 4
|
|
@@ -503,8 +503,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
503
503
|
command: {
|
|
504
504
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
505
505
|
title: {
|
|
506
|
-
...( localize2(
|
|
507
|
-
mnemonicTitle: ( localize(
|
|
506
|
+
...( localize2(3161, "Split in Group")),
|
|
507
|
+
mnemonicTitle: ( localize(3162, "Split in &&Group")),
|
|
508
508
|
}
|
|
509
509
|
},
|
|
510
510
|
when: ActiveEditorCanSplitInGroupContext,
|
|
@@ -515,8 +515,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
515
515
|
command: {
|
|
516
516
|
id: JOIN_EDITOR_IN_GROUP,
|
|
517
517
|
title: {
|
|
518
|
-
...( localize2(
|
|
519
|
-
mnemonicTitle: ( localize(
|
|
518
|
+
...( localize2(3163, "Join in Group")),
|
|
519
|
+
mnemonicTitle: ( localize(3164, "Join in &&Group")),
|
|
520
520
|
}
|
|
521
521
|
},
|
|
522
522
|
when: SideBySideEditorActiveContext,
|
|
@@ -527,8 +527,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
527
527
|
command: {
|
|
528
528
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
529
529
|
title: {
|
|
530
|
-
...( localize2(
|
|
531
|
-
mnemonicTitle: ( localize(
|
|
530
|
+
...( localize2(3165, "Move Editor into New Window")),
|
|
531
|
+
mnemonicTitle: ( localize(3166, "&&Move Editor into New Window")),
|
|
532
532
|
}
|
|
533
533
|
},
|
|
534
534
|
order: 1
|
|
@@ -538,8 +538,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
538
538
|
command: {
|
|
539
539
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
540
540
|
title: {
|
|
541
|
-
...( localize2(
|
|
542
|
-
mnemonicTitle: ( localize(
|
|
541
|
+
...( localize2(3167, "Copy Editor into New Window")),
|
|
542
|
+
mnemonicTitle: ( localize(3168, "&&Copy Editor into New Window")),
|
|
543
543
|
}
|
|
544
544
|
},
|
|
545
545
|
order: 2
|
|
@@ -549,8 +549,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
549
549
|
command: {
|
|
550
550
|
id: EditorLayoutSingleAction.ID,
|
|
551
551
|
title: {
|
|
552
|
-
...( localize2(
|
|
553
|
-
mnemonicTitle: ( localize(
|
|
552
|
+
...( localize2(3169, "Single")),
|
|
553
|
+
mnemonicTitle: ( localize(3170, "&&Single")),
|
|
554
554
|
}
|
|
555
555
|
},
|
|
556
556
|
order: 1
|
|
@@ -560,8 +560,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
560
560
|
command: {
|
|
561
561
|
id: EditorLayoutTwoColumnsAction.ID,
|
|
562
562
|
title: {
|
|
563
|
-
...( localize2(
|
|
564
|
-
mnemonicTitle: ( localize(
|
|
563
|
+
...( localize2(3171, "Two Columns")),
|
|
564
|
+
mnemonicTitle: ( localize(3172, "&&Two Columns")),
|
|
565
565
|
}
|
|
566
566
|
},
|
|
567
567
|
order: 3
|
|
@@ -571,8 +571,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
571
571
|
command: {
|
|
572
572
|
id: EditorLayoutThreeColumnsAction.ID,
|
|
573
573
|
title: {
|
|
574
|
-
...( localize2(
|
|
575
|
-
mnemonicTitle: ( localize(
|
|
574
|
+
...( localize2(3173, "Three Columns")),
|
|
575
|
+
mnemonicTitle: ( localize(3174, "T&&hree Columns")),
|
|
576
576
|
}
|
|
577
577
|
},
|
|
578
578
|
order: 4
|
|
@@ -582,8 +582,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
582
582
|
command: {
|
|
583
583
|
id: EditorLayoutTwoRowsAction.ID,
|
|
584
584
|
title: {
|
|
585
|
-
...( localize2(
|
|
586
|
-
mnemonicTitle: ( localize(
|
|
585
|
+
...( localize2(3175, "Two Rows")),
|
|
586
|
+
mnemonicTitle: ( localize(3176, "T&&wo Rows")),
|
|
587
587
|
}
|
|
588
588
|
},
|
|
589
589
|
order: 5
|
|
@@ -593,8 +593,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
593
593
|
command: {
|
|
594
594
|
id: EditorLayoutThreeRowsAction.ID,
|
|
595
595
|
title: {
|
|
596
|
-
...( localize2(
|
|
597
|
-
mnemonicTitle: ( localize(
|
|
596
|
+
...( localize2(3177, "Three Rows")),
|
|
597
|
+
mnemonicTitle: ( localize(3178, "Three &&Rows")),
|
|
598
598
|
}
|
|
599
599
|
},
|
|
600
600
|
order: 6
|
|
@@ -604,8 +604,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
604
604
|
command: {
|
|
605
605
|
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
606
606
|
title: {
|
|
607
|
-
...( localize2(
|
|
608
|
-
mnemonicTitle: ( localize(
|
|
607
|
+
...( localize2(3179, "Grid (2x2)")),
|
|
608
|
+
mnemonicTitle: ( localize(3180, "&&Grid (2x2)")),
|
|
609
609
|
}
|
|
610
610
|
},
|
|
611
611
|
order: 7
|
|
@@ -615,8 +615,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
615
615
|
command: {
|
|
616
616
|
id: EditorLayoutTwoRowsRightAction.ID,
|
|
617
617
|
title: {
|
|
618
|
-
...( localize2(
|
|
619
|
-
mnemonicTitle: ( localize(
|
|
618
|
+
...( localize2(3181, "Two Rows Right")),
|
|
619
|
+
mnemonicTitle: ( localize(3182, "Two R&&ows Right")),
|
|
620
620
|
}
|
|
621
621
|
},
|
|
622
622
|
order: 8
|
|
@@ -626,8 +626,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
626
626
|
command: {
|
|
627
627
|
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
628
628
|
title: {
|
|
629
|
-
...( localize2(
|
|
630
|
-
mnemonicTitle: ( localize(
|
|
629
|
+
...( localize2(3183, "Two Columns Bottom")),
|
|
630
|
+
mnemonicTitle: ( localize(3184, "Two &&Columns Bottom")),
|
|
631
631
|
}
|
|
632
632
|
},
|
|
633
633
|
order: 9
|
|
@@ -636,7 +636,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
636
636
|
group: '1_history_nav',
|
|
637
637
|
command: {
|
|
638
638
|
id: 'workbench.action.navigateToLastEditLocation',
|
|
639
|
-
title: ( localize(
|
|
639
|
+
title: ( localize(3185, "&&Last Edit Location")),
|
|
640
640
|
precondition: ( ContextKeyExpr.has('canNavigateToLastEditLocation'))
|
|
641
641
|
},
|
|
642
642
|
order: 3
|
|
@@ -645,7 +645,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
645
645
|
group: '1_sideBySide',
|
|
646
646
|
command: {
|
|
647
647
|
id: FOCUS_FIRST_SIDE_EDITOR,
|
|
648
|
-
title: ( localize(
|
|
648
|
+
title: ( localize(3186, "&&First Side in Editor"))
|
|
649
649
|
},
|
|
650
650
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
651
651
|
order: 1
|
|
@@ -654,7 +654,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
654
654
|
group: '1_sideBySide',
|
|
655
655
|
command: {
|
|
656
656
|
id: FOCUS_SECOND_SIDE_EDITOR,
|
|
657
|
-
title: ( localize(
|
|
657
|
+
title: ( localize(3187, "&&Second Side in Editor"))
|
|
658
658
|
},
|
|
659
659
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
660
660
|
order: 2
|
|
@@ -663,7 +663,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
663
663
|
group: '2_any',
|
|
664
664
|
command: {
|
|
665
665
|
id: 'workbench.action.nextEditor',
|
|
666
|
-
title: ( localize(
|
|
666
|
+
title: ( localize(3188, "&&Next Editor"))
|
|
667
667
|
},
|
|
668
668
|
order: 1
|
|
669
669
|
});
|
|
@@ -671,7 +671,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
671
671
|
group: '2_any',
|
|
672
672
|
command: {
|
|
673
673
|
id: 'workbench.action.previousEditor',
|
|
674
|
-
title: ( localize(
|
|
674
|
+
title: ( localize(3189, "&&Previous Editor"))
|
|
675
675
|
},
|
|
676
676
|
order: 2
|
|
677
677
|
});
|
|
@@ -679,7 +679,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
679
679
|
group: '3_any_used',
|
|
680
680
|
command: {
|
|
681
681
|
id: 'workbench.action.openNextRecentlyUsedEditor',
|
|
682
|
-
title: ( localize(
|
|
682
|
+
title: ( localize(3190, "&&Next Used Editor"))
|
|
683
683
|
},
|
|
684
684
|
order: 1
|
|
685
685
|
});
|
|
@@ -687,7 +687,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
687
687
|
group: '3_any_used',
|
|
688
688
|
command: {
|
|
689
689
|
id: 'workbench.action.openPreviousRecentlyUsedEditor',
|
|
690
|
-
title: ( localize(
|
|
690
|
+
title: ( localize(3191, "&&Previous Used Editor"))
|
|
691
691
|
},
|
|
692
692
|
order: 2
|
|
693
693
|
});
|
|
@@ -695,7 +695,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
695
695
|
group: '4_group',
|
|
696
696
|
command: {
|
|
697
697
|
id: 'workbench.action.nextEditorInGroup',
|
|
698
|
-
title: ( localize(
|
|
698
|
+
title: ( localize(3192, "&&Next Editor in Group"))
|
|
699
699
|
},
|
|
700
700
|
order: 1
|
|
701
701
|
});
|
|
@@ -703,7 +703,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
703
703
|
group: '4_group',
|
|
704
704
|
command: {
|
|
705
705
|
id: 'workbench.action.previousEditorInGroup',
|
|
706
|
-
title: ( localize(
|
|
706
|
+
title: ( localize(3193, "&&Previous Editor in Group"))
|
|
707
707
|
},
|
|
708
708
|
order: 2
|
|
709
709
|
});
|
|
@@ -711,7 +711,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
711
711
|
group: '5_group_used',
|
|
712
712
|
command: {
|
|
713
713
|
id: 'workbench.action.openNextRecentlyUsedEditorInGroup',
|
|
714
|
-
title: ( localize(
|
|
714
|
+
title: ( localize(3194, "&&Next Used Editor in Group"))
|
|
715
715
|
},
|
|
716
716
|
order: 1
|
|
717
717
|
});
|
|
@@ -719,13 +719,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
719
719
|
group: '5_group_used',
|
|
720
720
|
command: {
|
|
721
721
|
id: 'workbench.action.openPreviousRecentlyUsedEditorInGroup',
|
|
722
|
-
title: ( localize(
|
|
722
|
+
title: ( localize(3195, "&&Previous Used Editor in Group"))
|
|
723
723
|
},
|
|
724
724
|
order: 2
|
|
725
725
|
});
|
|
726
726
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
727
727
|
group: '2_editor_nav',
|
|
728
|
-
title: ( localize(
|
|
728
|
+
title: ( localize(3196, "Switch &&Editor")),
|
|
729
729
|
submenu: MenuId.MenubarSwitchEditorMenu,
|
|
730
730
|
order: 1
|
|
731
731
|
});
|
|
@@ -733,7 +733,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
733
733
|
group: '1_focus_index',
|
|
734
734
|
command: {
|
|
735
735
|
id: 'workbench.action.focusFirstEditorGroup',
|
|
736
|
-
title: ( localize(
|
|
736
|
+
title: ( localize(3197, "Group &&1"))
|
|
737
737
|
},
|
|
738
738
|
order: 1
|
|
739
739
|
});
|
|
@@ -741,7 +741,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
741
741
|
group: '1_focus_index',
|
|
742
742
|
command: {
|
|
743
743
|
id: 'workbench.action.focusSecondEditorGroup',
|
|
744
|
-
title: ( localize(
|
|
744
|
+
title: ( localize(3198, "Group &&2"))
|
|
745
745
|
},
|
|
746
746
|
order: 2
|
|
747
747
|
});
|
|
@@ -749,7 +749,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
749
749
|
group: '1_focus_index',
|
|
750
750
|
command: {
|
|
751
751
|
id: 'workbench.action.focusThirdEditorGroup',
|
|
752
|
-
title: ( localize(
|
|
752
|
+
title: ( localize(3199, "Group &&3")),
|
|
753
753
|
precondition: MultipleEditorGroupsContext
|
|
754
754
|
},
|
|
755
755
|
order: 3
|
|
@@ -758,7 +758,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
758
758
|
group: '1_focus_index',
|
|
759
759
|
command: {
|
|
760
760
|
id: 'workbench.action.focusFourthEditorGroup',
|
|
761
|
-
title: ( localize(
|
|
761
|
+
title: ( localize(3200, "Group &&4")),
|
|
762
762
|
precondition: MultipleEditorGroupsContext
|
|
763
763
|
},
|
|
764
764
|
order: 4
|
|
@@ -767,7 +767,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
767
767
|
group: '1_focus_index',
|
|
768
768
|
command: {
|
|
769
769
|
id: 'workbench.action.focusFifthEditorGroup',
|
|
770
|
-
title: ( localize(
|
|
770
|
+
title: ( localize(3201, "Group &&5")),
|
|
771
771
|
precondition: MultipleEditorGroupsContext
|
|
772
772
|
},
|
|
773
773
|
order: 5
|
|
@@ -776,7 +776,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
776
776
|
group: '2_next_prev',
|
|
777
777
|
command: {
|
|
778
778
|
id: 'workbench.action.focusNextGroup',
|
|
779
|
-
title: ( localize(
|
|
779
|
+
title: ( localize(3202, "&&Next Group")),
|
|
780
780
|
precondition: MultipleEditorGroupsContext
|
|
781
781
|
},
|
|
782
782
|
order: 1
|
|
@@ -785,7 +785,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
785
785
|
group: '2_next_prev',
|
|
786
786
|
command: {
|
|
787
787
|
id: 'workbench.action.focusPreviousGroup',
|
|
788
|
-
title: ( localize(
|
|
788
|
+
title: ( localize(3203, "&&Previous Group")),
|
|
789
789
|
precondition: MultipleEditorGroupsContext
|
|
790
790
|
},
|
|
791
791
|
order: 2
|
|
@@ -794,7 +794,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
794
794
|
group: '3_directional',
|
|
795
795
|
command: {
|
|
796
796
|
id: 'workbench.action.focusLeftGroup',
|
|
797
|
-
title: ( localize(
|
|
797
|
+
title: ( localize(3204, "Group &&Left")),
|
|
798
798
|
precondition: MultipleEditorGroupsContext
|
|
799
799
|
},
|
|
800
800
|
order: 1
|
|
@@ -803,7 +803,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
803
803
|
group: '3_directional',
|
|
804
804
|
command: {
|
|
805
805
|
id: 'workbench.action.focusRightGroup',
|
|
806
|
-
title: ( localize(
|
|
806
|
+
title: ( localize(3205, "Group &&Right")),
|
|
807
807
|
precondition: MultipleEditorGroupsContext
|
|
808
808
|
},
|
|
809
809
|
order: 2
|
|
@@ -812,7 +812,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
812
812
|
group: '3_directional',
|
|
813
813
|
command: {
|
|
814
814
|
id: 'workbench.action.focusAboveGroup',
|
|
815
|
-
title: ( localize(
|
|
815
|
+
title: ( localize(3206, "Group &&Above")),
|
|
816
816
|
precondition: MultipleEditorGroupsContext
|
|
817
817
|
},
|
|
818
818
|
order: 3
|
|
@@ -821,14 +821,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
821
821
|
group: '3_directional',
|
|
822
822
|
command: {
|
|
823
823
|
id: 'workbench.action.focusBelowGroup',
|
|
824
|
-
title: ( localize(
|
|
824
|
+
title: ( localize(3207, "Group &&Below")),
|
|
825
825
|
precondition: MultipleEditorGroupsContext
|
|
826
826
|
},
|
|
827
827
|
order: 4
|
|
828
828
|
});
|
|
829
829
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
830
830
|
group: '2_editor_nav',
|
|
831
|
-
title: ( localize(
|
|
831
|
+
title: ( localize(3208, "Switch &&Group")),
|
|
832
832
|
submenu: MenuId.MenubarSwitchGroupMenu,
|
|
833
833
|
order: 2
|
|
834
834
|
});
|