@codingame/monaco-vscode-view-common-service-override 4.5.1 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/vscode/src/vs/base/browser/ui/grid/grid.js +12 -12
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +26 -26
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +4 -3
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +127 -220
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +43 -44
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +7 -30
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +67 -138
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +21 -36
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +26 -27
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +17 -31
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +215 -764
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +27 -42
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +24 -23
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +31 -33
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +51 -54
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +38 -41
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +21 -24
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -5
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +17 -20
- package/vscode/src/vs/workbench/browser/window.js +41 -92
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +41 -78
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +23 -46
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +36 -27
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +14 -15
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +10 -11
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +25 -52
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +55 -87
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +18 -48
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +61 -150
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +15 -70
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +9 -20
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +14 -65
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +38 -113
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +12 -19
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +34 -75
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +16 -37
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +40 -43
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +12 -11
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +24 -61
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +7 -6
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +37 -70
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +23 -46
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +26 -27
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +2 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +50 -52
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +18 -34
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +7 -10
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.js +2 -2
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +45 -46
- package/vscode/src/vs/workbench/services/driver/browser/driver.js +8 -6
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +45 -68
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +95 -98
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +34 -74
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +69 -67
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +52 -47
|
@@ -36,89 +36,53 @@ import { ShowMultipleEditorTabsAction, ShowSingleEditorTabAction, HideEditorTabs
|
|
|
36
36
|
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
37
37
|
import 'vscode/vscode/vs/workbench/browser/parts/editor/editor.autosave.contribution';
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
))), [
|
|
44
|
-
( new SyncDescriptor(UntitledTextEditorInput)),
|
|
45
|
-
( new SyncDescriptor(TextResourceEditorInput))
|
|
39
|
+
const _moduleId = "vs/workbench/browser/parts/editor/editor.contribution";
|
|
40
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localizeWithPath(_moduleId, 0, "Text Editor"))), [
|
|
41
|
+
( (new SyncDescriptor(UntitledTextEditorInput))),
|
|
42
|
+
( (new SyncDescriptor(TextResourceEditorInput)))
|
|
46
43
|
]);
|
|
47
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localizeWithPath(
|
|
48
|
-
|
|
49
|
-
'textDiffEditor',
|
|
50
|
-
"Text Diff Editor"
|
|
51
|
-
))), [
|
|
52
|
-
( new SyncDescriptor(DiffEditorInput))
|
|
44
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localizeWithPath(_moduleId, 1, "Text Diff Editor"))), [
|
|
45
|
+
( (new SyncDescriptor(DiffEditorInput)))
|
|
53
46
|
]);
|
|
54
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localizeWithPath(
|
|
55
|
-
|
|
56
|
-
'binaryDiffEditor',
|
|
57
|
-
"Binary Diff Editor"
|
|
58
|
-
))), [
|
|
59
|
-
( new SyncDescriptor(DiffEditorInput))
|
|
47
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localizeWithPath(_moduleId, 2, "Binary Diff Editor"))), [
|
|
48
|
+
( (new SyncDescriptor(DiffEditorInput)))
|
|
60
49
|
]);
|
|
61
|
-
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localizeWithPath(
|
|
62
|
-
|
|
63
|
-
'sideBySideEditor',
|
|
64
|
-
"Side by Side Editor"
|
|
65
|
-
))), [
|
|
66
|
-
( new SyncDescriptor(SideBySideEditorInput))
|
|
50
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localizeWithPath(_moduleId, 3, "Side by Side Editor"))), [
|
|
51
|
+
( (new SyncDescriptor(SideBySideEditorInput)))
|
|
67
52
|
]);
|
|
68
|
-
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(UntitledTextEditorInput.ID, UntitledTextEditorInputSerializer);
|
|
69
|
-
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(SideBySideEditorInput.ID, SideBySideEditorInputSerializer);
|
|
70
|
-
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(DiffEditorInput.ID, DiffEditorInputSerializer);
|
|
53
|
+
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(UntitledTextEditorInput.ID, UntitledTextEditorInputSerializer);
|
|
54
|
+
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(SideBySideEditorInput.ID, SideBySideEditorInputSerializer);
|
|
55
|
+
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(DiffEditorInput.ID, DiffEditorInputSerializer);
|
|
71
56
|
registerWorkbenchContribution2(EditorStatusContribution.ID, EditorStatusContribution, 2 );
|
|
72
57
|
registerWorkbenchContribution2(UntitledTextEditorWorkingCopyEditorHandler.ID, UntitledTextEditorWorkingCopyEditorHandler, 2 );
|
|
73
58
|
registerWorkbenchContribution2(DynamicEditorConfigurations.ID, DynamicEditorConfigurations, 2 );
|
|
74
59
|
registerEditorContribution(FloatingEditorClickMenu.ID, FloatingEditorClickMenu, 1 );
|
|
75
|
-
const quickAccessRegistry = ( Registry.as(Extensions.Quickaccess));
|
|
60
|
+
const quickAccessRegistry = ( (Registry.as(Extensions.Quickaccess)));
|
|
76
61
|
const editorPickerContextKey = 'inEditorsPicker';
|
|
77
|
-
const editorPickerContext = ( ContextKeyExpr.and(
|
|
62
|
+
const editorPickerContext = ( (ContextKeyExpr.and(
|
|
63
|
+
inQuickPickContext,
|
|
64
|
+
(ContextKeyExpr.has(editorPickerContextKey))
|
|
65
|
+
)));
|
|
78
66
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
79
67
|
ctor: ActiveGroupEditorsByMostRecentlyUsedQuickAccess,
|
|
80
68
|
prefix: ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
81
69
|
contextKey: editorPickerContextKey,
|
|
82
|
-
placeholder: ( localizeWithPath(
|
|
83
|
-
|
|
84
|
-
'editorQuickAccessPlaceholder',
|
|
85
|
-
"Type the name of an editor to open it."
|
|
86
|
-
)),
|
|
87
|
-
helpEntries: [{ description: ( localizeWithPath(
|
|
88
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
89
|
-
'activeGroupEditorsByMostRecentlyUsedQuickAccess',
|
|
90
|
-
"Show Editors in Active Group by Most Recently Used"
|
|
91
|
-
)), commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID }]
|
|
70
|
+
placeholder: ( localizeWithPath(_moduleId, 4, "Type the name of an editor to open it.")),
|
|
71
|
+
helpEntries: [{ description: ( localizeWithPath(_moduleId, 5, "Show Editors in Active Group by Most Recently Used")), commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID }]
|
|
92
72
|
});
|
|
93
73
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
94
74
|
ctor: AllEditorsByAppearanceQuickAccess,
|
|
95
75
|
prefix: AllEditorsByAppearanceQuickAccess.PREFIX,
|
|
96
76
|
contextKey: editorPickerContextKey,
|
|
97
|
-
placeholder: ( localizeWithPath(
|
|
98
|
-
|
|
99
|
-
'editorQuickAccessPlaceholder',
|
|
100
|
-
"Type the name of an editor to open it."
|
|
101
|
-
)),
|
|
102
|
-
helpEntries: [{ description: ( localizeWithPath(
|
|
103
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
104
|
-
'allEditorsByAppearanceQuickAccess',
|
|
105
|
-
"Show All Opened Editors By Appearance"
|
|
106
|
-
)), commandId: ShowAllEditorsByAppearanceAction.ID }]
|
|
77
|
+
placeholder: ( localizeWithPath(_moduleId, 4, "Type the name of an editor to open it.")),
|
|
78
|
+
helpEntries: [{ description: ( localizeWithPath(_moduleId, 6, "Show All Opened Editors By Appearance")), commandId: ShowAllEditorsByAppearanceAction.ID }]
|
|
107
79
|
});
|
|
108
80
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
109
81
|
ctor: AllEditorsByMostRecentlyUsedQuickAccess,
|
|
110
82
|
prefix: AllEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
111
83
|
contextKey: editorPickerContextKey,
|
|
112
|
-
placeholder: ( localizeWithPath(
|
|
113
|
-
|
|
114
|
-
'editorQuickAccessPlaceholder',
|
|
115
|
-
"Type the name of an editor to open it."
|
|
116
|
-
)),
|
|
117
|
-
helpEntries: [{ description: ( localizeWithPath(
|
|
118
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
119
|
-
'allEditorsByMostRecentlyUsedQuickAccess',
|
|
120
|
-
"Show All Opened Editors By Most Recently Used"
|
|
121
|
-
)), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
|
|
84
|
+
placeholder: ( localizeWithPath(_moduleId, 4, "Type the name of an editor to open it.")),
|
|
85
|
+
helpEntries: [{ description: ( localizeWithPath(_moduleId, 7, "Show All Opened Editors By Most Recently Used")), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
|
|
122
86
|
});
|
|
123
87
|
registerAction2(ChangeLanguageAction);
|
|
124
88
|
registerAction2(ChangeEOLAction);
|
|
@@ -252,265 +216,81 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
252
216
|
setup();
|
|
253
217
|
if (isMacintosh) {
|
|
254
218
|
MenuRegistry.appendMenuItem(MenuId.TouchBarContext, {
|
|
255
|
-
command: { id: NavigateBackwardsAction.ID, title: NavigateBackwardsAction.LABEL, icon: { dark: ( FileAccess.asFileUri('vs/workbench/browser/parts/editor/media/back-tb.png')) } },
|
|
219
|
+
command: { id: NavigateBackwardsAction.ID, title: NavigateBackwardsAction.LABEL, icon: { dark: ( (FileAccess.asFileUri('vs/workbench/browser/parts/editor/media/back-tb.png'))) } },
|
|
256
220
|
group: 'navigation',
|
|
257
221
|
order: 0
|
|
258
222
|
});
|
|
259
223
|
MenuRegistry.appendMenuItem(MenuId.TouchBarContext, {
|
|
260
|
-
command: { id: NavigateForwardAction.ID, title: NavigateForwardAction.LABEL, icon: { dark: ( FileAccess.asFileUri('vs/workbench/browser/parts/editor/media/forward-tb.png')) } },
|
|
224
|
+
command: { id: NavigateForwardAction.ID, title: NavigateForwardAction.LABEL, icon: { dark: ( (FileAccess.asFileUri('vs/workbench/browser/parts/editor/media/forward-tb.png'))) } },
|
|
261
225
|
group: 'navigation',
|
|
262
226
|
order: 1
|
|
263
227
|
});
|
|
264
228
|
}
|
|
265
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localizeWithPath(
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
)), icon: Codicon.
|
|
270
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id:
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
MenuRegistry.appendMenuItem(MenuId.
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
MenuRegistry.appendMenuItem(MenuId.
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
))
|
|
285
|
-
MenuRegistry.appendMenuItem(MenuId.
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
)) }, group: '
|
|
290
|
-
MenuRegistry.appendMenuItem(MenuId.
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
))
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
)) }, group: '
|
|
305
|
-
MenuRegistry.appendMenuItem(MenuId.
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
MenuRegistry.appendMenuItem(MenuId.
|
|
311
|
-
MenuRegistry.appendMenuItem(MenuId.
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
)) }, group: '
|
|
316
|
-
MenuRegistry.appendMenuItem(MenuId.
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
)) }, group: '
|
|
321
|
-
MenuRegistry.appendMenuItem(MenuId.
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
))
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
)) }, group: '2_split', order: 40 });
|
|
331
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localizeWithPath(
|
|
332
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
333
|
-
'moveEditorGroupToNewWindow',
|
|
334
|
-
"Move into New Window"
|
|
335
|
-
)) }, group: '3_window', order: 10 });
|
|
336
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localizeWithPath(
|
|
337
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
338
|
-
'copyEditorGroupToNewWindow',
|
|
339
|
-
"Copy into New Window"
|
|
340
|
-
)) }, group: '3_window', order: 20 });
|
|
341
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localizeWithPath(
|
|
342
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
343
|
-
'tabBar',
|
|
344
|
-
"Tab Bar"
|
|
345
|
-
)), group: '4_config', order: 10, when: ( InEditorZenModeContext.negate()) });
|
|
346
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localizeWithPath(
|
|
347
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
348
|
-
'multipleTabs',
|
|
349
|
-
"Multiple Tabs"
|
|
350
|
-
)), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple')) }, group: '1_config', order: 10 });
|
|
351
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localizeWithPath(
|
|
352
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
353
|
-
'singleTab',
|
|
354
|
-
"Single Tab"
|
|
355
|
-
)), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single')) }, group: '1_config', order: 20 });
|
|
356
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localizeWithPath(
|
|
357
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
358
|
-
'hideTabs',
|
|
359
|
-
"Hidden"
|
|
360
|
-
)), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')) }, group: '1_config', order: 30 });
|
|
361
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localizeWithPath(
|
|
362
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
363
|
-
'tabBar',
|
|
364
|
-
"Tab Bar"
|
|
365
|
-
)), group: '4_config', order: 10, when: InEditorZenModeContext });
|
|
366
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localizeWithPath(
|
|
367
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
368
|
-
'multipleTabs',
|
|
369
|
-
"Multiple Tabs"
|
|
370
|
-
)), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'multiple')) }, group: '1_config', order: 10 });
|
|
371
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localizeWithPath(
|
|
372
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
373
|
-
'singleTab',
|
|
374
|
-
"Single Tab"
|
|
375
|
-
)), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'single')) }, group: '1_config', order: 20 });
|
|
376
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localizeWithPath(
|
|
377
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
378
|
-
'hideTabs',
|
|
379
|
-
"Hidden"
|
|
380
|
-
)), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'none')) }, group: '1_config', order: 30 });
|
|
381
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localizeWithPath(
|
|
382
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
383
|
-
'editorActionsPosition',
|
|
384
|
-
"Editor Actions Position"
|
|
385
|
-
)), group: '4_config', order: 20 });
|
|
386
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localizeWithPath(
|
|
387
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
388
|
-
'tabBar',
|
|
389
|
-
"Tab Bar"
|
|
390
|
-
)), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')) }, group: '1_config', order: 10, when: ( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')).negate()) });
|
|
391
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localizeWithPath(
|
|
392
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
393
|
-
'titleBar',
|
|
394
|
-
"Title Bar"
|
|
395
|
-
)), 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 });
|
|
396
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localizeWithPath(
|
|
397
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
398
|
-
'hidden',
|
|
399
|
-
"Hidden"
|
|
400
|
-
)), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden')) }, group: '1_config', order: 30 });
|
|
401
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localizeWithPath('vs/workbench/browser/parts/editor/editor.contribution', 'close', "Close")) }, group: '1_close', order: 10 });
|
|
402
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localizeWithPath(
|
|
403
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
404
|
-
'closeOthers',
|
|
405
|
-
"Close Others"
|
|
406
|
-
)), precondition: ( EditorGroupEditorsCountContext.notEqualsTo('1')) }, group: '1_close', order: 20 });
|
|
407
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localizeWithPath(
|
|
408
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
409
|
-
'closeRight',
|
|
410
|
-
"Close to the Right"
|
|
411
|
-
)), precondition: ( ActiveEditorLastInGroupContext.toNegated()) }, group: '1_close', order: 30, when: EditorTabsVisibleContext });
|
|
412
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localizeWithPath(
|
|
413
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
414
|
-
'closeAllSaved',
|
|
415
|
-
"Close Saved"
|
|
416
|
-
)) }, group: '1_close', order: 40 });
|
|
417
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localizeWithPath(
|
|
418
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
419
|
-
'closeAll',
|
|
420
|
-
"Close All"
|
|
421
|
-
)) }, group: '1_close', order: 50 });
|
|
422
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localizeWithPath(
|
|
423
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
424
|
-
'reopenWith',
|
|
425
|
-
"Reopen Editor With..."
|
|
426
|
-
)) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
|
|
427
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localizeWithPath(
|
|
428
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
429
|
-
'keepOpen',
|
|
430
|
-
"Keep Open"
|
|
431
|
-
)), precondition: ( ActiveEditorPinnedContext.toNegated()) }, group: '3_preview', order: 10, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
|
|
432
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localizeWithPath('vs/workbench/browser/parts/editor/editor.contribution', 'pin', "Pin")) }, group: '3_preview', order: 20, when: ( ActiveEditorStickyContext.toNegated()) });
|
|
433
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localizeWithPath('vs/workbench/browser/parts/editor/editor.contribution', 'unpin', "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
|
|
434
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localizeWithPath(
|
|
435
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
436
|
-
'splitUp',
|
|
437
|
-
"Split Up"
|
|
438
|
-
)) }, group: '5_split', order: 10 });
|
|
439
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localizeWithPath(
|
|
440
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
441
|
-
'splitDown',
|
|
442
|
-
"Split Down"
|
|
443
|
-
)) }, group: '5_split', order: 20 });
|
|
444
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localizeWithPath(
|
|
445
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
446
|
-
'splitLeft',
|
|
447
|
-
"Split Left"
|
|
448
|
-
)) }, group: '5_split', order: 30 });
|
|
449
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localizeWithPath(
|
|
450
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
451
|
-
'splitRight',
|
|
452
|
-
"Split Right"
|
|
453
|
-
)) }, group: '5_split', order: 40 });
|
|
454
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localizeWithPath(
|
|
455
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
456
|
-
'splitInGroup',
|
|
457
|
-
"Split in Group"
|
|
458
|
-
)) }, group: '6_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
|
|
459
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localizeWithPath(
|
|
460
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
461
|
-
'joinInGroup',
|
|
462
|
-
"Join in Group"
|
|
463
|
-
)) }, group: '6_split_in_group', order: 10, when: SideBySideEditorActiveContext });
|
|
464
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localizeWithPath(
|
|
465
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
466
|
-
'moveToNewWindow',
|
|
467
|
-
"Move into New Window"
|
|
468
|
-
)) }, group: '7_new_window', order: 10 });
|
|
469
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localizeWithPath(
|
|
470
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
471
|
-
'copyToNewWindow',
|
|
472
|
-
"Copy into New Window"
|
|
473
|
-
)) }, group: '7_new_window', order: 20 });
|
|
474
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localizeWithPath(
|
|
475
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
476
|
-
'inlineView',
|
|
477
|
-
"Inline View"
|
|
478
|
-
)), toggled: ( ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false)) }, group: '1_diff', order: 10, when: ( ContextKeyExpr.has('isInDiffEditor')) });
|
|
479
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localizeWithPath(
|
|
480
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
481
|
-
'showOpenedEditors',
|
|
482
|
-
"Show Opened Editors"
|
|
483
|
-
)) }, group: '3_open', order: 10 });
|
|
484
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localizeWithPath(
|
|
485
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
486
|
-
'closeAll',
|
|
487
|
-
"Close All"
|
|
488
|
-
)) }, group: '5_close', order: 10 });
|
|
489
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localizeWithPath(
|
|
490
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
491
|
-
'closeAllSaved',
|
|
492
|
-
"Close Saved"
|
|
493
|
-
)) }, group: '5_close', order: 20 });
|
|
494
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localizeWithPath(
|
|
495
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
496
|
-
'togglePreviewMode',
|
|
497
|
-
"Enable Preview Editors"
|
|
498
|
-
)), toggled: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) }, group: '7_settings', order: 10 });
|
|
499
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localizeWithPath(
|
|
500
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
501
|
-
'maximizeGroup',
|
|
502
|
-
"Maximize Group"
|
|
503
|
-
)) }, group: '8_group_operations', order: 5, when: ( ContextKeyExpr.and(( EditorPartMaximizedEditorGroupContext.negate()), EditorPartMultipleEditorGroupsContext)) });
|
|
504
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localizeWithPath(
|
|
505
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
506
|
-
'unmaximizeGroup',
|
|
507
|
-
"Unmaximize Group"
|
|
508
|
-
)) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
|
|
509
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localizeWithPath(
|
|
510
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
511
|
-
'lockGroup',
|
|
512
|
-
"Lock Group"
|
|
513
|
-
)), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( IsAuxiliaryEditorPartContext.toNegated()) });
|
|
229
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localizeWithPath(_moduleId, 8, "Lock Group")), icon: Codicon.unlock }, group: 'navigation', order: 10, when: ( (ContextKeyExpr.and(
|
|
230
|
+
IsAuxiliaryEditorPartContext,
|
|
231
|
+
(ActiveEditorGroupLockedContext.toNegated())
|
|
232
|
+
))) });
|
|
233
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localizeWithPath(_moduleId, 9, "Unlock Group")), icon: Codicon.lock, toggled: ContextKeyExpr.true() }, group: 'navigation', order: 10, when: ActiveEditorGroupLockedContext });
|
|
234
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localizeWithPath(_moduleId, 10, "Close Group")), icon: Codicon.close }, group: 'navigation', order: 20, when: ( (ContextKeyExpr.or(IsAuxiliaryEditorPartContext, EditorPartMultipleEditorGroupsContext))) });
|
|
235
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localizeWithPath(_moduleId, 11, "Split Up")) }, group: '2_split', order: 10 });
|
|
236
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localizeWithPath(_moduleId, 12, "Split Down")) }, group: '2_split', order: 20 });
|
|
237
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localizeWithPath(_moduleId, 13, "Split Left")) }, group: '2_split', order: 30 });
|
|
238
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localizeWithPath(_moduleId, 14, "Split Right")) }, group: '2_split', order: 40 });
|
|
239
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localizeWithPath(_moduleId, 15, "New Window")) }, group: '3_window', order: 10 });
|
|
240
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localizeWithPath(_moduleId, 16, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '4_lock', order: 10, when: ( (IsAuxiliaryEditorPartContext.toNegated())) });
|
|
241
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localizeWithPath(_moduleId, 17, "Close")) }, group: '5_close', order: 10, when: MultipleEditorGroupsContext });
|
|
242
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localizeWithPath(_moduleId, 11, "Split Up")) }, group: '2_split', order: 10 });
|
|
243
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localizeWithPath(_moduleId, 12, "Split Down")) }, group: '2_split', order: 20 });
|
|
244
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localizeWithPath(_moduleId, 13, "Split Left")) }, group: '2_split', order: 30 });
|
|
245
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localizeWithPath(_moduleId, 14, "Split Right")) }, group: '2_split', order: 40 });
|
|
246
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localizeWithPath(_moduleId, 18, "Move into New Window")) }, group: '3_window', order: 10 });
|
|
247
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localizeWithPath(_moduleId, 19, "Copy into New Window")) }, group: '3_window', order: 20 });
|
|
248
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localizeWithPath(_moduleId, 20, "Tab Bar")), group: '4_config', order: 10, when: ( (InEditorZenModeContext.negate())) });
|
|
249
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localizeWithPath(_moduleId, 21, "Multiple Tabs")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple'))) }, group: '1_config', order: 10 });
|
|
250
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localizeWithPath(_moduleId, 22, "Single Tab")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single'))) }, group: '1_config', order: 20 });
|
|
251
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localizeWithPath(_moduleId, 23, "Hidden")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none'))) }, group: '1_config', order: 30 });
|
|
252
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localizeWithPath(_moduleId, 20, "Tab Bar")), group: '4_config', order: 10, when: InEditorZenModeContext });
|
|
253
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localizeWithPath(_moduleId, 21, "Multiple Tabs")), toggled: ( (ContextKeyExpr.equals('config.zenMode.showTabs', 'multiple'))) }, group: '1_config', order: 10 });
|
|
254
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localizeWithPath(_moduleId, 22, "Single Tab")), toggled: ( (ContextKeyExpr.equals('config.zenMode.showTabs', 'single'))) }, group: '1_config', order: 20 });
|
|
255
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localizeWithPath(_moduleId, 23, "Hidden")), toggled: ( (ContextKeyExpr.equals('config.zenMode.showTabs', 'none'))) }, group: '1_config', order: 30 });
|
|
256
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localizeWithPath(_moduleId, 24, "Editor Actions Position")), group: '4_config', order: 20 });
|
|
257
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localizeWithPath(_moduleId, 20, "Tab Bar")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default'))) }, group: '1_config', order: 10, when: ( (( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none'))).negate())) });
|
|
258
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localizeWithPath(_moduleId, 25, "Title Bar")), toggled: ( (ContextKeyExpr.or(
|
|
259
|
+
(ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'titleBar')),
|
|
260
|
+
(ContextKeyExpr.and(
|
|
261
|
+
(ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')),
|
|
262
|
+
(ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default'))
|
|
263
|
+
))
|
|
264
|
+
))) }, group: '1_config', order: 20 });
|
|
265
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localizeWithPath(_moduleId, 26, "Hidden")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden'))) }, group: '1_config', order: 30 });
|
|
266
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localizeWithPath(_moduleId, 17, "Close")) }, group: '1_close', order: 10 });
|
|
267
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localizeWithPath(_moduleId, 27, "Close Others")), precondition: ( (EditorGroupEditorsCountContext.notEqualsTo('1'))) }, group: '1_close', order: 20 });
|
|
268
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localizeWithPath(_moduleId, 28, "Close to the Right")), precondition: ( (ActiveEditorLastInGroupContext.toNegated())) }, group: '1_close', order: 30, when: EditorTabsVisibleContext });
|
|
269
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localizeWithPath(_moduleId, 29, "Close Saved")) }, group: '1_close', order: 40 });
|
|
270
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localizeWithPath(_moduleId, 30, "Close All")) }, group: '1_close', order: 50 });
|
|
271
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localizeWithPath(_moduleId, 31, "Reopen Editor With...")) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
|
|
272
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localizeWithPath(_moduleId, 32, "Keep Open")), precondition: ( (ActiveEditorPinnedContext.toNegated())) }, group: '3_preview', order: 10, when: ( (ContextKeyExpr.has('config.workbench.editor.enablePreview'))) });
|
|
273
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localizeWithPath(_moduleId, 33, "Pin")) }, group: '3_preview', order: 20, when: ( (ActiveEditorStickyContext.toNegated())) });
|
|
274
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localizeWithPath(_moduleId, 34, "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
|
|
275
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localizeWithPath(_moduleId, 11, "Split Up")) }, group: '5_split', order: 10 });
|
|
276
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localizeWithPath(_moduleId, 12, "Split Down")) }, group: '5_split', order: 20 });
|
|
277
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localizeWithPath(_moduleId, 13, "Split Left")) }, group: '5_split', order: 30 });
|
|
278
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localizeWithPath(_moduleId, 14, "Split Right")) }, group: '5_split', order: 40 });
|
|
279
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localizeWithPath(_moduleId, 35, "Split in Group")) }, group: '6_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
|
|
280
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localizeWithPath(_moduleId, 36, "Join in Group")) }, group: '6_split_in_group', order: 10, when: SideBySideEditorActiveContext });
|
|
281
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localizeWithPath(_moduleId, 37, "Move into New Window")) }, group: '7_new_window', order: 10 });
|
|
282
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localizeWithPath(_moduleId, 38, "Copy into New Window")) }, group: '7_new_window', order: 20 });
|
|
283
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localizeWithPath(_moduleId, 39, "Inline View")), toggled: ( (ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false))) }, group: '1_diff', order: 10, when: ( (ContextKeyExpr.has('isInDiffEditor'))) });
|
|
284
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localizeWithPath(_moduleId, 40, "Show Opened Editors")) }, group: '3_open', order: 10 });
|
|
285
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localizeWithPath(_moduleId, 30, "Close All")) }, group: '5_close', order: 10 });
|
|
286
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localizeWithPath(_moduleId, 29, "Close Saved")) }, group: '5_close', order: 20 });
|
|
287
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localizeWithPath(_moduleId, 41, "Enable Preview Editors")), toggled: ( (ContextKeyExpr.has('config.workbench.editor.enablePreview'))) }, group: '7_settings', order: 10 });
|
|
288
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localizeWithPath(_moduleId, 42, "Maximize Group")) }, group: '8_group_operations', order: 5, when: ( (ContextKeyExpr.and(
|
|
289
|
+
(EditorPartMaximizedEditorGroupContext.negate()),
|
|
290
|
+
EditorPartMultipleEditorGroupsContext
|
|
291
|
+
))) });
|
|
292
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localizeWithPath(_moduleId, 43, "Unmaximize Group")) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
|
|
293
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localizeWithPath(_moduleId, 44, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( (IsAuxiliaryEditorPartContext.toNegated())) });
|
|
514
294
|
function appendEditorToolItem(primary, when, order, alternative, precondition) {
|
|
515
295
|
const item = {
|
|
516
296
|
command: {
|
|
@@ -537,233 +317,140 @@ const SPLIT_ORDER = 100000;
|
|
|
537
317
|
const CLOSE_ORDER = 1000000;
|
|
538
318
|
appendEditorToolItem({
|
|
539
319
|
id: SPLIT_EDITOR,
|
|
540
|
-
title: ( localizeWithPath(
|
|
541
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
542
|
-
'splitEditorRight',
|
|
543
|
-
"Split Editor Right"
|
|
544
|
-
)),
|
|
320
|
+
title: ( localizeWithPath(_moduleId, 45, "Split Editor Right")),
|
|
545
321
|
icon: Codicon.splitHorizontal
|
|
546
322
|
}, ContextKeyExpr.not('splitEditorsVertically'), SPLIT_ORDER, {
|
|
547
323
|
id: SPLIT_EDITOR_DOWN,
|
|
548
|
-
title: ( localizeWithPath(
|
|
549
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
550
|
-
'splitEditorDown',
|
|
551
|
-
"Split Editor Down"
|
|
552
|
-
)),
|
|
324
|
+
title: ( localizeWithPath(_moduleId, 46, "Split Editor Down")),
|
|
553
325
|
icon: Codicon.splitVertical
|
|
554
326
|
});
|
|
555
327
|
appendEditorToolItem({
|
|
556
328
|
id: SPLIT_EDITOR,
|
|
557
|
-
title: ( localizeWithPath(
|
|
558
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
559
|
-
'splitEditorDown',
|
|
560
|
-
"Split Editor Down"
|
|
561
|
-
)),
|
|
329
|
+
title: ( localizeWithPath(_moduleId, 46, "Split Editor Down")),
|
|
562
330
|
icon: Codicon.splitVertical
|
|
563
|
-
}, ( ContextKeyExpr.has('splitEditorsVertically')), SPLIT_ORDER, {
|
|
331
|
+
}, ( (ContextKeyExpr.has('splitEditorsVertically'))), SPLIT_ORDER, {
|
|
564
332
|
id: SPLIT_EDITOR_RIGHT,
|
|
565
|
-
title: ( localizeWithPath(
|
|
566
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
567
|
-
'splitEditorRight',
|
|
568
|
-
"Split Editor Right"
|
|
569
|
-
)),
|
|
333
|
+
title: ( localizeWithPath(_moduleId, 45, "Split Editor Right")),
|
|
570
334
|
icon: Codicon.splitHorizontal
|
|
571
335
|
});
|
|
572
336
|
appendEditorToolItem({
|
|
573
337
|
id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
|
|
574
|
-
title: ( localizeWithPath(
|
|
575
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
576
|
-
'toggleSplitEditorInGroupLayout',
|
|
577
|
-
"Toggle Layout"
|
|
578
|
-
)),
|
|
338
|
+
title: ( localizeWithPath(_moduleId, 47, "Toggle Layout")),
|
|
579
339
|
icon: Codicon.editorLayout
|
|
580
340
|
}, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
|
|
581
341
|
appendEditorToolItem({
|
|
582
342
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
583
|
-
title: ( localizeWithPath(
|
|
343
|
+
title: ( localizeWithPath(_moduleId, 17, "Close")),
|
|
584
344
|
icon: Codicon.close
|
|
585
|
-
}, ( ContextKeyExpr.and(
|
|
345
|
+
}, ( (ContextKeyExpr.and(
|
|
346
|
+
(EditorTabsVisibleContext.toNegated()),
|
|
347
|
+
(ActiveEditorDirtyContext.toNegated()),
|
|
348
|
+
(ActiveEditorStickyContext.toNegated())
|
|
349
|
+
))), CLOSE_ORDER, {
|
|
586
350
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
587
|
-
title: ( localizeWithPath(
|
|
588
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
589
|
-
'closeAll',
|
|
590
|
-
"Close All"
|
|
591
|
-
)),
|
|
351
|
+
title: ( localizeWithPath(_moduleId, 30, "Close All")),
|
|
592
352
|
icon: Codicon.closeAll
|
|
593
353
|
});
|
|
594
354
|
appendEditorToolItem({
|
|
595
355
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
596
|
-
title: ( localizeWithPath(
|
|
356
|
+
title: ( localizeWithPath(_moduleId, 17, "Close")),
|
|
597
357
|
icon: Codicon.closeDirty
|
|
598
|
-
}, ( ContextKeyExpr.and(
|
|
358
|
+
}, ( (ContextKeyExpr.and(
|
|
359
|
+
(EditorTabsVisibleContext.toNegated()),
|
|
360
|
+
ActiveEditorDirtyContext,
|
|
361
|
+
(ActiveEditorStickyContext.toNegated())
|
|
362
|
+
))), CLOSE_ORDER, {
|
|
599
363
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
600
|
-
title: ( localizeWithPath(
|
|
601
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
602
|
-
'closeAll',
|
|
603
|
-
"Close All"
|
|
604
|
-
)),
|
|
364
|
+
title: ( localizeWithPath(_moduleId, 30, "Close All")),
|
|
605
365
|
icon: Codicon.closeAll
|
|
606
366
|
});
|
|
607
367
|
appendEditorToolItem({
|
|
608
368
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
609
|
-
title: ( localizeWithPath(
|
|
369
|
+
title: ( localizeWithPath(_moduleId, 34, "Unpin")),
|
|
610
370
|
icon: Codicon.pinned
|
|
611
|
-
}, ( ContextKeyExpr.and(
|
|
371
|
+
}, ( (ContextKeyExpr.and(
|
|
372
|
+
(EditorTabsVisibleContext.toNegated()),
|
|
373
|
+
(ActiveEditorDirtyContext.toNegated()),
|
|
374
|
+
ActiveEditorStickyContext
|
|
375
|
+
))), CLOSE_ORDER, {
|
|
612
376
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
613
|
-
title: ( localizeWithPath(
|
|
377
|
+
title: ( localizeWithPath(_moduleId, 17, "Close")),
|
|
614
378
|
icon: Codicon.close
|
|
615
379
|
});
|
|
616
380
|
appendEditorToolItem({
|
|
617
381
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
618
|
-
title: ( localizeWithPath(
|
|
382
|
+
title: ( localizeWithPath(_moduleId, 34, "Unpin")),
|
|
619
383
|
icon: Codicon.pinnedDirty
|
|
620
|
-
}, ( ContextKeyExpr.and(
|
|
384
|
+
}, ( (ContextKeyExpr.and(
|
|
385
|
+
(EditorTabsVisibleContext.toNegated()),
|
|
386
|
+
ActiveEditorDirtyContext,
|
|
387
|
+
ActiveEditorStickyContext
|
|
388
|
+
))), CLOSE_ORDER, {
|
|
621
389
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
622
|
-
title: ( localizeWithPath(
|
|
390
|
+
title: ( localizeWithPath(_moduleId, 17, "Close")),
|
|
623
391
|
icon: Codicon.close
|
|
624
392
|
});
|
|
625
393
|
appendEditorToolItem({
|
|
626
394
|
id: LOCK_GROUP_COMMAND_ID,
|
|
627
|
-
title: ( localizeWithPath(
|
|
628
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
629
|
-
'lockEditorGroup',
|
|
630
|
-
"Lock Group"
|
|
631
|
-
)),
|
|
395
|
+
title: ( localizeWithPath(_moduleId, 48, "Lock Group")),
|
|
632
396
|
icon: Codicon.unlock
|
|
633
|
-
}, ( ContextKeyExpr.and(
|
|
397
|
+
}, ( (ContextKeyExpr.and(
|
|
398
|
+
IsAuxiliaryEditorPartContext,
|
|
399
|
+
(ActiveEditorGroupLockedContext.toNegated())
|
|
400
|
+
))), CLOSE_ORDER - 1);
|
|
634
401
|
appendEditorToolItem({
|
|
635
402
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
636
|
-
title: ( localizeWithPath(
|
|
637
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
638
|
-
'unlockEditorGroup',
|
|
639
|
-
"Unlock Group"
|
|
640
|
-
)),
|
|
403
|
+
title: ( localizeWithPath(_moduleId, 49, "Unlock Group")),
|
|
641
404
|
icon: Codicon.lock,
|
|
642
405
|
toggled: ContextKeyExpr.true()
|
|
643
406
|
}, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
|
|
644
|
-
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localizeWithPath(
|
|
645
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
646
|
-
'previousChangeIcon',
|
|
647
|
-
'Icon for the previous change action in the diff editor.'
|
|
648
|
-
)));
|
|
407
|
+
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localizeWithPath(_moduleId, 50, 'Icon for the previous change action in the diff editor.')));
|
|
649
408
|
appendEditorToolItem({
|
|
650
409
|
id: GOTO_PREVIOUS_CHANGE,
|
|
651
|
-
title: ( localizeWithPath(
|
|
652
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
653
|
-
'navigate.prev.label',
|
|
654
|
-
"Previous Change"
|
|
655
|
-
)),
|
|
410
|
+
title: ( localizeWithPath(_moduleId, 51, "Previous Change")),
|
|
656
411
|
icon: previousChangeIcon
|
|
657
412
|
}, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges);
|
|
658
|
-
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localizeWithPath(
|
|
659
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
660
|
-
'nextChangeIcon',
|
|
661
|
-
'Icon for the next change action in the diff editor.'
|
|
662
|
-
)));
|
|
413
|
+
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localizeWithPath(_moduleId, 52, 'Icon for the next change action in the diff editor.')));
|
|
663
414
|
appendEditorToolItem({
|
|
664
415
|
id: GOTO_NEXT_CHANGE,
|
|
665
|
-
title: ( localizeWithPath(
|
|
666
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
667
|
-
'navigate.next.label',
|
|
668
|
-
"Next Change"
|
|
669
|
-
)),
|
|
416
|
+
title: ( localizeWithPath(_moduleId, 53, "Next Change")),
|
|
670
417
|
icon: nextChangeIcon
|
|
671
418
|
}, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges);
|
|
672
419
|
appendEditorToolItem({
|
|
673
420
|
id: DIFF_SWAP_SIDES,
|
|
674
|
-
title: ( localizeWithPath(
|
|
675
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
676
|
-
'swapDiffSides',
|
|
677
|
-
"Swap Left and Right Side"
|
|
678
|
-
)),
|
|
421
|
+
title: ( localizeWithPath(_moduleId, 54, "Swap Left and Right Side")),
|
|
679
422
|
icon: Codicon.arrowSwap
|
|
680
|
-
}, ( ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext)), 15, undefined, undefined);
|
|
681
|
-
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localizeWithPath(
|
|
682
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
683
|
-
'toggleWhitespace',
|
|
684
|
-
'Icon for the toggle whitespace action in the diff editor.'
|
|
685
|
-
)));
|
|
423
|
+
}, ( (ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext))), 15, undefined, undefined);
|
|
424
|
+
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localizeWithPath(_moduleId, 55, 'Icon for the toggle whitespace action in the diff editor.')));
|
|
686
425
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
687
426
|
command: {
|
|
688
427
|
id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
|
|
689
|
-
title: ( localizeWithPath(
|
|
690
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
691
|
-
'ignoreTrimWhitespace.label',
|
|
692
|
-
"Show Leading/Trailing Whitespace Differences"
|
|
693
|
-
)),
|
|
428
|
+
title: ( localizeWithPath(_moduleId, 56, "Show Leading/Trailing Whitespace Differences")),
|
|
694
429
|
icon: toggleWhitespace,
|
|
695
430
|
precondition: TextCompareEditorActiveContext,
|
|
696
|
-
toggled: ( ContextKeyExpr.equals('config.diffEditor.ignoreTrimWhitespace', false)),
|
|
431
|
+
toggled: ( (ContextKeyExpr.equals('config.diffEditor.ignoreTrimWhitespace', false))),
|
|
697
432
|
},
|
|
698
433
|
group: 'navigation',
|
|
699
434
|
when: TextCompareEditorActiveContext,
|
|
700
435
|
order: 20,
|
|
701
436
|
});
|
|
702
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2WithPath(
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id:
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
)), category: Categories.View } });
|
|
712
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id:
|
|
713
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
714
|
-
'unpinEditor',
|
|
715
|
-
'Unpin Editor'
|
|
716
|
-
)), category: Categories.View } });
|
|
717
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2WithPath(
|
|
718
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
719
|
-
'closeEditor',
|
|
720
|
-
'Close Editor'
|
|
721
|
-
)), category: Categories.View } });
|
|
722
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2WithPath(
|
|
723
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
724
|
-
'closePinnedEditor',
|
|
725
|
-
'Close Pinned Editor'
|
|
726
|
-
)), category: Categories.View } });
|
|
727
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2WithPath(
|
|
728
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
729
|
-
'closeEditorsInGroup',
|
|
730
|
-
'Close All Editors in Group'
|
|
731
|
-
)), category: Categories.View } });
|
|
732
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2WithPath(
|
|
733
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
734
|
-
'closeSavedEditors',
|
|
735
|
-
'Close Saved Editors in Group'
|
|
736
|
-
)), category: Categories.View } });
|
|
737
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2WithPath(
|
|
738
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
739
|
-
'closeOtherEditors',
|
|
740
|
-
'Close Other Editors in Group'
|
|
741
|
-
)), category: Categories.View } });
|
|
742
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2WithPath(
|
|
743
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
744
|
-
'closeRightEditors',
|
|
745
|
-
'Close Editors to the Right in Group'
|
|
746
|
-
)), category: Categories.View }, when: ( ActiveEditorLastInGroupContext.toNegated()) });
|
|
747
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2WithPath(
|
|
748
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
749
|
-
'closeEditorGroup',
|
|
750
|
-
'Close Editor Group'
|
|
751
|
-
)), category: Categories.View }, when: MultipleEditorGroupsContext });
|
|
752
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2WithPath(
|
|
753
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
754
|
-
'reopenWith',
|
|
755
|
-
"Reopen Editor With..."
|
|
756
|
-
)), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
|
|
437
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2WithPath(_moduleId, 57, 'Keep Editor')), category: Categories.View }, when: ( (ContextKeyExpr.has('config.workbench.editor.enablePreview'))) });
|
|
438
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2WithPath(_moduleId, 58, 'Pin Editor')), category: Categories.View } });
|
|
439
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2WithPath(_moduleId, 59, 'Unpin Editor')), category: Categories.View } });
|
|
440
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2WithPath(_moduleId, 60, 'Close Editor')), category: Categories.View } });
|
|
441
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2WithPath(_moduleId, 61, 'Close Pinned Editor')), category: Categories.View } });
|
|
442
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2WithPath(_moduleId, 62, 'Close All Editors in Group')), category: Categories.View } });
|
|
443
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2WithPath(_moduleId, 63, 'Close Saved Editors in Group')), category: Categories.View } });
|
|
444
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2WithPath(_moduleId, 64, 'Close Other Editors in Group')), category: Categories.View } });
|
|
445
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2WithPath(_moduleId, 65, 'Close Editors to the Right in Group')), category: Categories.View }, when: ( (ActiveEditorLastInGroupContext.toNegated())) });
|
|
446
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2WithPath(_moduleId, 66, 'Close Editor Group')), category: Categories.View }, when: MultipleEditorGroupsContext });
|
|
447
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2WithPath(_moduleId, 31, "Reopen Editor With...")), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
|
|
757
448
|
MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
758
449
|
group: '1_editor',
|
|
759
450
|
command: {
|
|
760
451
|
id: ReopenClosedEditorAction.ID,
|
|
761
|
-
title: ( localizeWithPath(
|
|
762
|
-
|
|
763
|
-
{ key: 'miReopenClosedEditor', comment: ['&& denotes a mnemonic'] },
|
|
764
|
-
"&&Reopen Closed Editor"
|
|
765
|
-
)),
|
|
766
|
-
precondition: ( ContextKeyExpr.has('canReopenClosedEditor'))
|
|
452
|
+
title: ( localizeWithPath(_moduleId, 67, "&&Reopen Closed Editor")),
|
|
453
|
+
precondition: ( (ContextKeyExpr.has('canReopenClosedEditor')))
|
|
767
454
|
},
|
|
768
455
|
order: 1
|
|
769
456
|
});
|
|
@@ -771,31 +458,19 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
771
458
|
group: 'z_clear',
|
|
772
459
|
command: {
|
|
773
460
|
id: ClearRecentFilesAction.ID,
|
|
774
|
-
title: ( localizeWithPath(
|
|
775
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
776
|
-
{ key: 'miClearRecentOpen', comment: ['&& denotes a mnemonic'] },
|
|
777
|
-
"&&Clear Recently Opened..."
|
|
778
|
-
))
|
|
461
|
+
title: ( localizeWithPath(_moduleId, 68, "&&Clear Recently Opened..."))
|
|
779
462
|
},
|
|
780
463
|
order: 1
|
|
781
464
|
});
|
|
782
465
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
783
|
-
title: ( localizeWithPath(
|
|
784
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
785
|
-
'miShare',
|
|
786
|
-
"Share"
|
|
787
|
-
)),
|
|
466
|
+
title: ( localizeWithPath(_moduleId, 69, "Share")),
|
|
788
467
|
submenu: MenuId.MenubarShare,
|
|
789
468
|
group: '45_share',
|
|
790
469
|
order: 1,
|
|
791
470
|
});
|
|
792
471
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
793
472
|
group: '2_appearance',
|
|
794
|
-
title: ( localizeWithPath(
|
|
795
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
796
|
-
{ key: 'miEditorLayout', comment: ['&& denotes a mnemonic'] },
|
|
797
|
-
"Editor &&Layout"
|
|
798
|
-
)),
|
|
473
|
+
title: ( localizeWithPath(_moduleId, 70, "Editor &&Layout")),
|
|
799
474
|
submenu: MenuId.MenubarLayoutMenu,
|
|
800
475
|
order: 2
|
|
801
476
|
});
|
|
@@ -804,16 +479,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
804
479
|
command: {
|
|
805
480
|
id: SPLIT_EDITOR_UP,
|
|
806
481
|
title: {
|
|
807
|
-
...( localize2WithPath(
|
|
808
|
-
|
|
809
|
-
'miSplitEditorUpWithoutMnemonic',
|
|
810
|
-
"Split Up"
|
|
811
|
-
)),
|
|
812
|
-
mnemonicTitle: ( localizeWithPath(
|
|
813
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
814
|
-
{ key: 'miSplitEditorUp', comment: ['&& denotes a mnemonic'] },
|
|
815
|
-
"Split &&Up"
|
|
816
|
-
)),
|
|
482
|
+
...( localize2WithPath(_moduleId, 71, "Split Up")),
|
|
483
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 72, "Split &&Up")),
|
|
817
484
|
}
|
|
818
485
|
},
|
|
819
486
|
order: 1
|
|
@@ -823,16 +490,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
823
490
|
command: {
|
|
824
491
|
id: SPLIT_EDITOR_DOWN,
|
|
825
492
|
title: {
|
|
826
|
-
...( localize2WithPath(
|
|
827
|
-
|
|
828
|
-
'miSplitEditorDownWithoutMnemonic',
|
|
829
|
-
"Split Down"
|
|
830
|
-
)),
|
|
831
|
-
mnemonicTitle: ( localizeWithPath(
|
|
832
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
833
|
-
{ key: 'miSplitEditorDown', comment: ['&& denotes a mnemonic'] },
|
|
834
|
-
"Split &&Down"
|
|
835
|
-
)),
|
|
493
|
+
...( localize2WithPath(_moduleId, 73, "Split Down")),
|
|
494
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 74, "Split &&Down")),
|
|
836
495
|
}
|
|
837
496
|
},
|
|
838
497
|
order: 2
|
|
@@ -842,16 +501,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
842
501
|
command: {
|
|
843
502
|
id: SPLIT_EDITOR_LEFT,
|
|
844
503
|
title: {
|
|
845
|
-
...( localize2WithPath(
|
|
846
|
-
|
|
847
|
-
'miSplitEditorLeftWithoutMnemonic',
|
|
848
|
-
"Split Left"
|
|
849
|
-
)),
|
|
850
|
-
mnemonicTitle: ( localizeWithPath(
|
|
851
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
852
|
-
{ key: 'miSplitEditorLeft', comment: ['&& denotes a mnemonic'] },
|
|
853
|
-
"Split &&Left"
|
|
854
|
-
)),
|
|
504
|
+
...( localize2WithPath(_moduleId, 75, "Split Left")),
|
|
505
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 76, "Split &&Left")),
|
|
855
506
|
}
|
|
856
507
|
},
|
|
857
508
|
order: 3
|
|
@@ -861,16 +512,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
861
512
|
command: {
|
|
862
513
|
id: SPLIT_EDITOR_RIGHT,
|
|
863
514
|
title: {
|
|
864
|
-
...( localize2WithPath(
|
|
865
|
-
|
|
866
|
-
'miSplitEditorRightWithoutMnemonic',
|
|
867
|
-
"Split Right"
|
|
868
|
-
)),
|
|
869
|
-
mnemonicTitle: ( localizeWithPath(
|
|
870
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
871
|
-
{ key: 'miSplitEditorRight', comment: ['&& denotes a mnemonic'] },
|
|
872
|
-
"Split &&Right"
|
|
873
|
-
)),
|
|
515
|
+
...( localize2WithPath(_moduleId, 77, "Split Right")),
|
|
516
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 78, "Split &&Right")),
|
|
874
517
|
}
|
|
875
518
|
},
|
|
876
519
|
order: 4
|
|
@@ -880,16 +523,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
880
523
|
command: {
|
|
881
524
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
882
525
|
title: {
|
|
883
|
-
...( localize2WithPath(
|
|
884
|
-
|
|
885
|
-
'miSplitEditorInGroupWithoutMnemonic',
|
|
886
|
-
"Split in Group"
|
|
887
|
-
)),
|
|
888
|
-
mnemonicTitle: ( localizeWithPath(
|
|
889
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
890
|
-
{ key: 'miSplitEditorInGroup', comment: ['&& denotes a mnemonic'] },
|
|
891
|
-
"Split in &&Group"
|
|
892
|
-
)),
|
|
526
|
+
...( localize2WithPath(_moduleId, 79, "Split in Group")),
|
|
527
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 80, "Split in &&Group")),
|
|
893
528
|
}
|
|
894
529
|
},
|
|
895
530
|
when: ActiveEditorCanSplitInGroupContext,
|
|
@@ -900,16 +535,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
900
535
|
command: {
|
|
901
536
|
id: JOIN_EDITOR_IN_GROUP,
|
|
902
537
|
title: {
|
|
903
|
-
...( localize2WithPath(
|
|
904
|
-
|
|
905
|
-
'miJoinEditorInGroupWithoutMnemonic',
|
|
906
|
-
"Join in Group"
|
|
907
|
-
)),
|
|
908
|
-
mnemonicTitle: ( localizeWithPath(
|
|
909
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
910
|
-
{ key: 'miJoinEditorInGroup', comment: ['&& denotes a mnemonic'] },
|
|
911
|
-
"Join in &&Group"
|
|
912
|
-
)),
|
|
538
|
+
...( localize2WithPath(_moduleId, 81, "Join in Group")),
|
|
539
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 82, "Join in &&Group")),
|
|
913
540
|
}
|
|
914
541
|
},
|
|
915
542
|
when: SideBySideEditorActiveContext,
|
|
@@ -920,16 +547,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
920
547
|
command: {
|
|
921
548
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
922
549
|
title: {
|
|
923
|
-
...( localize2WithPath(
|
|
924
|
-
|
|
925
|
-
'moveEditorToNewWindow',
|
|
926
|
-
"Move Editor into New Window"
|
|
927
|
-
)),
|
|
928
|
-
mnemonicTitle: ( localizeWithPath(
|
|
929
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
930
|
-
{ key: 'miMoveEditorToNewWindow', comment: ['&& denotes a mnemonic'] },
|
|
931
|
-
"&&Move Editor into New Window"
|
|
932
|
-
)),
|
|
550
|
+
...( localize2WithPath(_moduleId, 83, "Move Editor into New Window")),
|
|
551
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 84, "&&Move Editor into New Window")),
|
|
933
552
|
}
|
|
934
553
|
},
|
|
935
554
|
order: 1
|
|
@@ -939,16 +558,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
939
558
|
command: {
|
|
940
559
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
941
560
|
title: {
|
|
942
|
-
...( localize2WithPath(
|
|
943
|
-
|
|
944
|
-
'copyEditorToNewWindow',
|
|
945
|
-
"Copy Editor into New Window"
|
|
946
|
-
)),
|
|
947
|
-
mnemonicTitle: ( localizeWithPath(
|
|
948
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
949
|
-
{ key: 'miCopyEditorToNewWindow', comment: ['&& denotes a mnemonic'] },
|
|
950
|
-
"&&Copy Editor into New Window"
|
|
951
|
-
)),
|
|
561
|
+
...( localize2WithPath(_moduleId, 85, "Copy Editor into New Window")),
|
|
562
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 86, "&&Copy Editor into New Window")),
|
|
952
563
|
}
|
|
953
564
|
},
|
|
954
565
|
order: 2
|
|
@@ -958,16 +569,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
958
569
|
command: {
|
|
959
570
|
id: EditorLayoutSingleAction.ID,
|
|
960
571
|
title: {
|
|
961
|
-
...( localize2WithPath(
|
|
962
|
-
|
|
963
|
-
'miSingleColumnEditorLayoutWithoutMnemonic',
|
|
964
|
-
"Single"
|
|
965
|
-
)),
|
|
966
|
-
mnemonicTitle: ( localizeWithPath(
|
|
967
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
968
|
-
{ key: 'miSingleColumnEditorLayout', comment: ['&& denotes a mnemonic'] },
|
|
969
|
-
"&&Single"
|
|
970
|
-
)),
|
|
572
|
+
...( localize2WithPath(_moduleId, 87, "Single")),
|
|
573
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 88, "&&Single")),
|
|
971
574
|
}
|
|
972
575
|
},
|
|
973
576
|
order: 1
|
|
@@ -977,16 +580,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
977
580
|
command: {
|
|
978
581
|
id: EditorLayoutTwoColumnsAction.ID,
|
|
979
582
|
title: {
|
|
980
|
-
...( localize2WithPath(
|
|
981
|
-
|
|
982
|
-
'miTwoColumnsEditorLayoutWithoutMnemonic',
|
|
983
|
-
"Two Columns"
|
|
984
|
-
)),
|
|
985
|
-
mnemonicTitle: ( localizeWithPath(
|
|
986
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
987
|
-
{ key: 'miTwoColumnsEditorLayout', comment: ['&& denotes a mnemonic'] },
|
|
988
|
-
"&&Two Columns"
|
|
989
|
-
)),
|
|
583
|
+
...( localize2WithPath(_moduleId, 89, "Two Columns")),
|
|
584
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 90, "&&Two Columns")),
|
|
990
585
|
}
|
|
991
586
|
},
|
|
992
587
|
order: 3
|
|
@@ -996,16 +591,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
996
591
|
command: {
|
|
997
592
|
id: EditorLayoutThreeColumnsAction.ID,
|
|
998
593
|
title: {
|
|
999
|
-
...( localize2WithPath(
|
|
1000
|
-
|
|
1001
|
-
'miThreeColumnsEditorLayoutWithoutMnemonic',
|
|
1002
|
-
"Three Columns"
|
|
1003
|
-
)),
|
|
1004
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1005
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1006
|
-
{ key: 'miThreeColumnsEditorLayout', comment: ['&& denotes a mnemonic'] },
|
|
1007
|
-
"T&&hree Columns"
|
|
1008
|
-
)),
|
|
594
|
+
...( localize2WithPath(_moduleId, 91, "Three Columns")),
|
|
595
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 92, "T&&hree Columns")),
|
|
1009
596
|
}
|
|
1010
597
|
},
|
|
1011
598
|
order: 4
|
|
@@ -1015,16 +602,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1015
602
|
command: {
|
|
1016
603
|
id: EditorLayoutTwoRowsAction.ID,
|
|
1017
604
|
title: {
|
|
1018
|
-
...( localize2WithPath(
|
|
1019
|
-
|
|
1020
|
-
'miTwoRowsEditorLayoutWithoutMnemonic',
|
|
1021
|
-
"Two Rows"
|
|
1022
|
-
)),
|
|
1023
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1024
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1025
|
-
{ key: 'miTwoRowsEditorLayout', comment: ['&& denotes a mnemonic'] },
|
|
1026
|
-
"T&&wo Rows"
|
|
1027
|
-
)),
|
|
605
|
+
...( localize2WithPath(_moduleId, 93, "Two Rows")),
|
|
606
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 94, "T&&wo Rows")),
|
|
1028
607
|
}
|
|
1029
608
|
},
|
|
1030
609
|
order: 5
|
|
@@ -1034,16 +613,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1034
613
|
command: {
|
|
1035
614
|
id: EditorLayoutThreeRowsAction.ID,
|
|
1036
615
|
title: {
|
|
1037
|
-
...( localize2WithPath(
|
|
1038
|
-
|
|
1039
|
-
'miThreeRowsEditorLayoutWithoutMnemonic',
|
|
1040
|
-
"Three Rows"
|
|
1041
|
-
)),
|
|
1042
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1043
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1044
|
-
{ key: 'miThreeRowsEditorLayout', comment: ['&& denotes a mnemonic'] },
|
|
1045
|
-
"Three &&Rows"
|
|
1046
|
-
)),
|
|
616
|
+
...( localize2WithPath(_moduleId, 95, "Three Rows")),
|
|
617
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 96, "Three &&Rows")),
|
|
1047
618
|
}
|
|
1048
619
|
},
|
|
1049
620
|
order: 6
|
|
@@ -1053,16 +624,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1053
624
|
command: {
|
|
1054
625
|
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
1055
626
|
title: {
|
|
1056
|
-
...( localize2WithPath(
|
|
1057
|
-
|
|
1058
|
-
'miTwoByTwoGridEditorLayoutWithoutMnemonic',
|
|
1059
|
-
"Grid (2x2)"
|
|
1060
|
-
)),
|
|
1061
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1062
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1063
|
-
{ key: 'miTwoByTwoGridEditorLayout', comment: ['&& denotes a mnemonic'] },
|
|
1064
|
-
"&&Grid (2x2)"
|
|
1065
|
-
)),
|
|
627
|
+
...( localize2WithPath(_moduleId, 97, "Grid (2x2)")),
|
|
628
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 98, "&&Grid (2x2)")),
|
|
1066
629
|
}
|
|
1067
630
|
},
|
|
1068
631
|
order: 7
|
|
@@ -1072,16 +635,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1072
635
|
command: {
|
|
1073
636
|
id: EditorLayoutTwoRowsRightAction.ID,
|
|
1074
637
|
title: {
|
|
1075
|
-
...( localize2WithPath(
|
|
1076
|
-
|
|
1077
|
-
'miTwoRowsRightEditorLayoutWithoutMnemonic',
|
|
1078
|
-
"Two Rows Right"
|
|
1079
|
-
)),
|
|
1080
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1081
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1082
|
-
{ key: 'miTwoRowsRightEditorLayout', comment: ['&& denotes a mnemonic'] },
|
|
1083
|
-
"Two R&&ows Right"
|
|
1084
|
-
)),
|
|
638
|
+
...( localize2WithPath(_moduleId, 99, "Two Rows Right")),
|
|
639
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 100, "Two R&&ows Right")),
|
|
1085
640
|
}
|
|
1086
641
|
},
|
|
1087
642
|
order: 8
|
|
@@ -1091,16 +646,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1091
646
|
command: {
|
|
1092
647
|
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
1093
648
|
title: {
|
|
1094
|
-
...( localize2WithPath(
|
|
1095
|
-
|
|
1096
|
-
'miTwoColumnsBottomEditorLayoutWithoutMnemonic',
|
|
1097
|
-
"Two Columns Bottom"
|
|
1098
|
-
)),
|
|
1099
|
-
mnemonicTitle: ( localizeWithPath(
|
|
1100
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1101
|
-
{ key: 'miTwoColumnsBottomEditorLayout', comment: ['&& denotes a mnemonic'] },
|
|
1102
|
-
"Two &&Columns Bottom"
|
|
1103
|
-
)),
|
|
649
|
+
...( localize2WithPath(_moduleId, 101, "Two Columns Bottom")),
|
|
650
|
+
mnemonicTitle: ( localizeWithPath(_moduleId, 102, "Two &&Columns Bottom")),
|
|
1104
651
|
}
|
|
1105
652
|
},
|
|
1106
653
|
order: 9
|
|
@@ -1109,12 +656,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
1109
656
|
group: '1_history_nav',
|
|
1110
657
|
command: {
|
|
1111
658
|
id: 'workbench.action.navigateToLastEditLocation',
|
|
1112
|
-
title: ( localizeWithPath(
|
|
1113
|
-
|
|
1114
|
-
{ key: 'miLastEditLocation', comment: ['&& denotes a mnemonic'] },
|
|
1115
|
-
"&&Last Edit Location"
|
|
1116
|
-
)),
|
|
1117
|
-
precondition: ( ContextKeyExpr.has('canNavigateToLastEditLocation'))
|
|
659
|
+
title: ( localizeWithPath(_moduleId, 103, "&&Last Edit Location")),
|
|
660
|
+
precondition: ( (ContextKeyExpr.has('canNavigateToLastEditLocation')))
|
|
1118
661
|
},
|
|
1119
662
|
order: 3
|
|
1120
663
|
});
|
|
@@ -1122,37 +665,25 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1122
665
|
group: '1_sideBySide',
|
|
1123
666
|
command: {
|
|
1124
667
|
id: FOCUS_FIRST_SIDE_EDITOR,
|
|
1125
|
-
title: ( localizeWithPath(
|
|
1126
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1127
|
-
{ key: 'miFirstSideEditor', comment: ['&& denotes a mnemonic'] },
|
|
1128
|
-
"&&First Side in Editor"
|
|
1129
|
-
))
|
|
668
|
+
title: ( localizeWithPath(_moduleId, 104, "&&First Side in Editor"))
|
|
1130
669
|
},
|
|
1131
|
-
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
670
|
+
when: ( (ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext))),
|
|
1132
671
|
order: 1
|
|
1133
672
|
});
|
|
1134
673
|
MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
1135
674
|
group: '1_sideBySide',
|
|
1136
675
|
command: {
|
|
1137
676
|
id: FOCUS_SECOND_SIDE_EDITOR,
|
|
1138
|
-
title: ( localizeWithPath(
|
|
1139
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1140
|
-
{ key: 'miSecondSideEditor', comment: ['&& denotes a mnemonic'] },
|
|
1141
|
-
"&&Second Side in Editor"
|
|
1142
|
-
))
|
|
677
|
+
title: ( localizeWithPath(_moduleId, 105, "&&Second Side in Editor"))
|
|
1143
678
|
},
|
|
1144
|
-
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
679
|
+
when: ( (ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext))),
|
|
1145
680
|
order: 2
|
|
1146
681
|
});
|
|
1147
682
|
MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
1148
683
|
group: '2_any',
|
|
1149
684
|
command: {
|
|
1150
685
|
id: 'workbench.action.nextEditor',
|
|
1151
|
-
title: ( localizeWithPath(
|
|
1152
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1153
|
-
{ key: 'miNextEditor', comment: ['&& denotes a mnemonic'] },
|
|
1154
|
-
"&&Next Editor"
|
|
1155
|
-
))
|
|
686
|
+
title: ( localizeWithPath(_moduleId, 106, "&&Next Editor"))
|
|
1156
687
|
},
|
|
1157
688
|
order: 1
|
|
1158
689
|
});
|
|
@@ -1160,11 +691,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1160
691
|
group: '2_any',
|
|
1161
692
|
command: {
|
|
1162
693
|
id: 'workbench.action.previousEditor',
|
|
1163
|
-
title: ( localizeWithPath(
|
|
1164
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1165
|
-
{ key: 'miPreviousEditor', comment: ['&& denotes a mnemonic'] },
|
|
1166
|
-
"&&Previous Editor"
|
|
1167
|
-
))
|
|
694
|
+
title: ( localizeWithPath(_moduleId, 107, "&&Previous Editor"))
|
|
1168
695
|
},
|
|
1169
696
|
order: 2
|
|
1170
697
|
});
|
|
@@ -1172,11 +699,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1172
699
|
group: '3_any_used',
|
|
1173
700
|
command: {
|
|
1174
701
|
id: 'workbench.action.openNextRecentlyUsedEditor',
|
|
1175
|
-
title: ( localizeWithPath(
|
|
1176
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1177
|
-
{ key: 'miNextRecentlyUsedEditor', comment: ['&& denotes a mnemonic'] },
|
|
1178
|
-
"&&Next Used Editor"
|
|
1179
|
-
))
|
|
702
|
+
title: ( localizeWithPath(_moduleId, 108, "&&Next Used Editor"))
|
|
1180
703
|
},
|
|
1181
704
|
order: 1
|
|
1182
705
|
});
|
|
@@ -1184,11 +707,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1184
707
|
group: '3_any_used',
|
|
1185
708
|
command: {
|
|
1186
709
|
id: 'workbench.action.openPreviousRecentlyUsedEditor',
|
|
1187
|
-
title: ( localizeWithPath(
|
|
1188
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1189
|
-
{ key: 'miPreviousRecentlyUsedEditor', comment: ['&& denotes a mnemonic'] },
|
|
1190
|
-
"&&Previous Used Editor"
|
|
1191
|
-
))
|
|
710
|
+
title: ( localizeWithPath(_moduleId, 109, "&&Previous Used Editor"))
|
|
1192
711
|
},
|
|
1193
712
|
order: 2
|
|
1194
713
|
});
|
|
@@ -1196,11 +715,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1196
715
|
group: '4_group',
|
|
1197
716
|
command: {
|
|
1198
717
|
id: 'workbench.action.nextEditorInGroup',
|
|
1199
|
-
title: ( localizeWithPath(
|
|
1200
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1201
|
-
{ key: 'miNextEditorInGroup', comment: ['&& denotes a mnemonic'] },
|
|
1202
|
-
"&&Next Editor in Group"
|
|
1203
|
-
))
|
|
718
|
+
title: ( localizeWithPath(_moduleId, 110, "&&Next Editor in Group"))
|
|
1204
719
|
},
|
|
1205
720
|
order: 1
|
|
1206
721
|
});
|
|
@@ -1208,11 +723,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1208
723
|
group: '4_group',
|
|
1209
724
|
command: {
|
|
1210
725
|
id: 'workbench.action.previousEditorInGroup',
|
|
1211
|
-
title: ( localizeWithPath(
|
|
1212
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1213
|
-
{ key: 'miPreviousEditorInGroup', comment: ['&& denotes a mnemonic'] },
|
|
1214
|
-
"&&Previous Editor in Group"
|
|
1215
|
-
))
|
|
726
|
+
title: ( localizeWithPath(_moduleId, 111, "&&Previous Editor in Group"))
|
|
1216
727
|
},
|
|
1217
728
|
order: 2
|
|
1218
729
|
});
|
|
@@ -1220,11 +731,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1220
731
|
group: '5_group_used',
|
|
1221
732
|
command: {
|
|
1222
733
|
id: 'workbench.action.openNextRecentlyUsedEditorInGroup',
|
|
1223
|
-
title: ( localizeWithPath(
|
|
1224
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1225
|
-
{ key: 'miNextUsedEditorInGroup', comment: ['&& denotes a mnemonic'] },
|
|
1226
|
-
"&&Next Used Editor in Group"
|
|
1227
|
-
))
|
|
734
|
+
title: ( localizeWithPath(_moduleId, 112, "&&Next Used Editor in Group"))
|
|
1228
735
|
},
|
|
1229
736
|
order: 1
|
|
1230
737
|
});
|
|
@@ -1232,21 +739,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1232
739
|
group: '5_group_used',
|
|
1233
740
|
command: {
|
|
1234
741
|
id: 'workbench.action.openPreviousRecentlyUsedEditorInGroup',
|
|
1235
|
-
title: ( localizeWithPath(
|
|
1236
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1237
|
-
{ key: 'miPreviousUsedEditorInGroup', comment: ['&& denotes a mnemonic'] },
|
|
1238
|
-
"&&Previous Used Editor in Group"
|
|
1239
|
-
))
|
|
742
|
+
title: ( localizeWithPath(_moduleId, 113, "&&Previous Used Editor in Group"))
|
|
1240
743
|
},
|
|
1241
744
|
order: 2
|
|
1242
745
|
});
|
|
1243
746
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1244
747
|
group: '2_editor_nav',
|
|
1245
|
-
title: ( localizeWithPath(
|
|
1246
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1247
|
-
{ key: 'miSwitchEditor', comment: ['&& denotes a mnemonic'] },
|
|
1248
|
-
"Switch &&Editor"
|
|
1249
|
-
)),
|
|
748
|
+
title: ( localizeWithPath(_moduleId, 114, "Switch &&Editor")),
|
|
1250
749
|
submenu: MenuId.MenubarSwitchEditorMenu,
|
|
1251
750
|
order: 1
|
|
1252
751
|
});
|
|
@@ -1254,11 +753,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1254
753
|
group: '1_focus_index',
|
|
1255
754
|
command: {
|
|
1256
755
|
id: 'workbench.action.focusFirstEditorGroup',
|
|
1257
|
-
title: ( localizeWithPath(
|
|
1258
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1259
|
-
{ key: 'miFocusFirstGroup', comment: ['&& denotes a mnemonic'] },
|
|
1260
|
-
"Group &&1"
|
|
1261
|
-
))
|
|
756
|
+
title: ( localizeWithPath(_moduleId, 115, "Group &&1"))
|
|
1262
757
|
},
|
|
1263
758
|
order: 1
|
|
1264
759
|
});
|
|
@@ -1266,11 +761,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1266
761
|
group: '1_focus_index',
|
|
1267
762
|
command: {
|
|
1268
763
|
id: 'workbench.action.focusSecondEditorGroup',
|
|
1269
|
-
title: ( localizeWithPath(
|
|
1270
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1271
|
-
{ key: 'miFocusSecondGroup', comment: ['&& denotes a mnemonic'] },
|
|
1272
|
-
"Group &&2"
|
|
1273
|
-
))
|
|
764
|
+
title: ( localizeWithPath(_moduleId, 116, "Group &&2"))
|
|
1274
765
|
},
|
|
1275
766
|
order: 2
|
|
1276
767
|
});
|
|
@@ -1278,11 +769,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1278
769
|
group: '1_focus_index',
|
|
1279
770
|
command: {
|
|
1280
771
|
id: 'workbench.action.focusThirdEditorGroup',
|
|
1281
|
-
title: ( localizeWithPath(
|
|
1282
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1283
|
-
{ key: 'miFocusThirdGroup', comment: ['&& denotes a mnemonic'] },
|
|
1284
|
-
"Group &&3"
|
|
1285
|
-
)),
|
|
772
|
+
title: ( localizeWithPath(_moduleId, 117, "Group &&3")),
|
|
1286
773
|
precondition: MultipleEditorGroupsContext
|
|
1287
774
|
},
|
|
1288
775
|
order: 3
|
|
@@ -1291,11 +778,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1291
778
|
group: '1_focus_index',
|
|
1292
779
|
command: {
|
|
1293
780
|
id: 'workbench.action.focusFourthEditorGroup',
|
|
1294
|
-
title: ( localizeWithPath(
|
|
1295
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1296
|
-
{ key: 'miFocusFourthGroup', comment: ['&& denotes a mnemonic'] },
|
|
1297
|
-
"Group &&4"
|
|
1298
|
-
)),
|
|
781
|
+
title: ( localizeWithPath(_moduleId, 118, "Group &&4")),
|
|
1299
782
|
precondition: MultipleEditorGroupsContext
|
|
1300
783
|
},
|
|
1301
784
|
order: 4
|
|
@@ -1304,11 +787,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1304
787
|
group: '1_focus_index',
|
|
1305
788
|
command: {
|
|
1306
789
|
id: 'workbench.action.focusFifthEditorGroup',
|
|
1307
|
-
title: ( localizeWithPath(
|
|
1308
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1309
|
-
{ key: 'miFocusFifthGroup', comment: ['&& denotes a mnemonic'] },
|
|
1310
|
-
"Group &&5"
|
|
1311
|
-
)),
|
|
790
|
+
title: ( localizeWithPath(_moduleId, 119, "Group &&5")),
|
|
1312
791
|
precondition: MultipleEditorGroupsContext
|
|
1313
792
|
},
|
|
1314
793
|
order: 5
|
|
@@ -1317,11 +796,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1317
796
|
group: '2_next_prev',
|
|
1318
797
|
command: {
|
|
1319
798
|
id: 'workbench.action.focusNextGroup',
|
|
1320
|
-
title: ( localizeWithPath(
|
|
1321
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1322
|
-
{ key: 'miNextGroup', comment: ['&& denotes a mnemonic'] },
|
|
1323
|
-
"&&Next Group"
|
|
1324
|
-
)),
|
|
799
|
+
title: ( localizeWithPath(_moduleId, 120, "&&Next Group")),
|
|
1325
800
|
precondition: MultipleEditorGroupsContext
|
|
1326
801
|
},
|
|
1327
802
|
order: 1
|
|
@@ -1330,11 +805,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1330
805
|
group: '2_next_prev',
|
|
1331
806
|
command: {
|
|
1332
807
|
id: 'workbench.action.focusPreviousGroup',
|
|
1333
|
-
title: ( localizeWithPath(
|
|
1334
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1335
|
-
{ key: 'miPreviousGroup', comment: ['&& denotes a mnemonic'] },
|
|
1336
|
-
"&&Previous Group"
|
|
1337
|
-
)),
|
|
808
|
+
title: ( localizeWithPath(_moduleId, 121, "&&Previous Group")),
|
|
1338
809
|
precondition: MultipleEditorGroupsContext
|
|
1339
810
|
},
|
|
1340
811
|
order: 2
|
|
@@ -1343,11 +814,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1343
814
|
group: '3_directional',
|
|
1344
815
|
command: {
|
|
1345
816
|
id: 'workbench.action.focusLeftGroup',
|
|
1346
|
-
title: ( localizeWithPath(
|
|
1347
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1348
|
-
{ key: 'miFocusLeftGroup', comment: ['&& denotes a mnemonic'] },
|
|
1349
|
-
"Group &&Left"
|
|
1350
|
-
)),
|
|
817
|
+
title: ( localizeWithPath(_moduleId, 122, "Group &&Left")),
|
|
1351
818
|
precondition: MultipleEditorGroupsContext
|
|
1352
819
|
},
|
|
1353
820
|
order: 1
|
|
@@ -1356,11 +823,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1356
823
|
group: '3_directional',
|
|
1357
824
|
command: {
|
|
1358
825
|
id: 'workbench.action.focusRightGroup',
|
|
1359
|
-
title: ( localizeWithPath(
|
|
1360
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1361
|
-
{ key: 'miFocusRightGroup', comment: ['&& denotes a mnemonic'] },
|
|
1362
|
-
"Group &&Right"
|
|
1363
|
-
)),
|
|
826
|
+
title: ( localizeWithPath(_moduleId, 123, "Group &&Right")),
|
|
1364
827
|
precondition: MultipleEditorGroupsContext
|
|
1365
828
|
},
|
|
1366
829
|
order: 2
|
|
@@ -1369,11 +832,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1369
832
|
group: '3_directional',
|
|
1370
833
|
command: {
|
|
1371
834
|
id: 'workbench.action.focusAboveGroup',
|
|
1372
|
-
title: ( localizeWithPath(
|
|
1373
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1374
|
-
{ key: 'miFocusAboveGroup', comment: ['&& denotes a mnemonic'] },
|
|
1375
|
-
"Group &&Above"
|
|
1376
|
-
)),
|
|
835
|
+
title: ( localizeWithPath(_moduleId, 124, "Group &&Above")),
|
|
1377
836
|
precondition: MultipleEditorGroupsContext
|
|
1378
837
|
},
|
|
1379
838
|
order: 3
|
|
@@ -1382,22 +841,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1382
841
|
group: '3_directional',
|
|
1383
842
|
command: {
|
|
1384
843
|
id: 'workbench.action.focusBelowGroup',
|
|
1385
|
-
title: ( localizeWithPath(
|
|
1386
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1387
|
-
{ key: 'miFocusBelowGroup', comment: ['&& denotes a mnemonic'] },
|
|
1388
|
-
"Group &&Below"
|
|
1389
|
-
)),
|
|
844
|
+
title: ( localizeWithPath(_moduleId, 125, "Group &&Below")),
|
|
1390
845
|
precondition: MultipleEditorGroupsContext
|
|
1391
846
|
},
|
|
1392
847
|
order: 4
|
|
1393
848
|
});
|
|
1394
849
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1395
850
|
group: '2_editor_nav',
|
|
1396
|
-
title: ( localizeWithPath(
|
|
1397
|
-
'vs/workbench/browser/parts/editor/editor.contribution',
|
|
1398
|
-
{ key: 'miSwitchGroup', comment: ['&& denotes a mnemonic'] },
|
|
1399
|
-
"Switch &&Group"
|
|
1400
|
-
)),
|
|
851
|
+
title: ( localizeWithPath(_moduleId, 126, "Switch &&Group")),
|
|
1401
852
|
submenu: MenuId.MenubarSwitchGroupMenu,
|
|
1402
853
|
order: 2
|
|
1403
854
|
});
|