@codingame/monaco-vscode-view-common-service-override 30.0.1 → 31.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +56 -56
- package/vscode/src/vs/workbench/browser/actions/helpActions.js +26 -23
- 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 +171 -169
- 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 +3 -3
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
- 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 +10 -10
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +8 -8
- 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 +2 -2
- 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/conflictActions.js +20 -20
- 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 +10 -10
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/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 +3 -3
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.d.ts +9 -7
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +25 -79
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.d.ts +7 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +18 -9
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +7 -7
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +5 -5
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
|
@@ -3,7 +3,7 @@ import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/regist
|
|
|
3
3
|
import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
4
|
import { EditorPaneDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/editor';
|
|
5
5
|
import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
6
|
-
import { IsAuxiliaryWindowContext, ActiveEditorGroupLockedContext, EditorPartMultipleEditorGroupsContext, MultipleEditorGroupsContext, InEditorZenModeContext, EditorGroupEditorsCountContext, EditorTabsVisibleContext, ActiveEditorLastInGroupContext, MultipleEditorsSelectedInGroupContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorPinnedContext, ActiveEditorStickyContext, SplitEditorsVertically, ActiveEditorCanSplitInGroupContext, SideBySideEditorActiveContext, EditorPartMaximizedEditorGroupContext, ActiveEditorDirtyContext, TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
6
|
+
import { IsAuxiliaryWindowContext, ActiveEditorGroupLockedContext, EditorPartMultipleEditorGroupsContext, MultipleEditorGroupsContext, InEditorZenModeContext, EditorGroupEditorsCountContext, EditorTabsVisibleContext, ActiveEditorLastInGroupContext, MultipleEditorsSelectedInGroupContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorPinnedContext, ActiveEditorStickyContext, SplitEditorsVertically, ActiveEditorCanSplitInGroupContext, SideBySideEditorActiveContext, EditorPartMaximizedEditorGroupContext, ActiveEditorDirtyContext, TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext, IsSessionsWindowContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
7
7
|
import { SideBySideEditorInput, SideBySideEditorInputSerializer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/sideBySideEditorInput';
|
|
8
8
|
import { TextResourceEditor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/textResourceEditor';
|
|
9
9
|
import { SideBySideEditor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/sideBySideEditor';
|
|
@@ -39,19 +39,19 @@ import { registerEditorFontConfigurations } from '@codingame/monaco-vscode-api/v
|
|
|
39
39
|
import '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/editor/editor.contribution._autosave';
|
|
40
40
|
|
|
41
41
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
42
|
-
EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(
|
|
42
|
+
EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(3175, "Text Editor"))),
|
|
43
43
|
[( new SyncDescriptor(UntitledTextEditorInput)), ( new SyncDescriptor(TextResourceEditorInput))]
|
|
44
44
|
);
|
|
45
45
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
46
|
-
EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(
|
|
46
|
+
EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(3176, "Text Diff Editor"))),
|
|
47
47
|
[( new SyncDescriptor(DiffEditorInput))]
|
|
48
48
|
);
|
|
49
49
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
50
|
-
EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(
|
|
50
|
+
EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(3177, "Binary Diff Editor"))),
|
|
51
51
|
[( new SyncDescriptor(DiffEditorInput))]
|
|
52
52
|
);
|
|
53
53
|
( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
|
|
54
|
-
EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(
|
|
54
|
+
EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(3178, "Side by Side Editor"))),
|
|
55
55
|
[( new SyncDescriptor(SideBySideEditorInput))]
|
|
56
56
|
);
|
|
57
57
|
( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(UntitledTextEditorInput.ID, UntitledTextEditorInputSerializer);
|
|
@@ -79,9 +79,9 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
79
79
|
ctor: ActiveGroupEditorsByMostRecentlyUsedQuickAccess,
|
|
80
80
|
prefix: ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
81
81
|
contextKey: editorPickerContextKey,
|
|
82
|
-
placeholder: ( localize(
|
|
82
|
+
placeholder: ( localize(3179, "Type the name of an editor to open it.")),
|
|
83
83
|
helpEntries: [{
|
|
84
|
-
description: ( localize(
|
|
84
|
+
description: ( localize(3180, "Show Editors in Active Group by Most Recently Used")),
|
|
85
85
|
commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID
|
|
86
86
|
}]
|
|
87
87
|
});
|
|
@@ -89,9 +89,9 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
89
89
|
ctor: AllEditorsByAppearanceQuickAccess,
|
|
90
90
|
prefix: AllEditorsByAppearanceQuickAccess.PREFIX,
|
|
91
91
|
contextKey: editorPickerContextKey,
|
|
92
|
-
placeholder: ( localize(
|
|
92
|
+
placeholder: ( localize(3179, "Type the name of an editor to open it.")),
|
|
93
93
|
helpEntries: [{
|
|
94
|
-
description: ( localize(
|
|
94
|
+
description: ( localize(3181, "Show All Opened Editors By Appearance")),
|
|
95
95
|
commandId: ShowAllEditorsByAppearanceAction.ID
|
|
96
96
|
}]
|
|
97
97
|
});
|
|
@@ -99,9 +99,9 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
99
99
|
ctor: AllEditorsByMostRecentlyUsedQuickAccess,
|
|
100
100
|
prefix: AllEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
101
101
|
contextKey: editorPickerContextKey,
|
|
102
|
-
placeholder: ( localize(
|
|
102
|
+
placeholder: ( localize(3179, "Type the name of an editor to open it.")),
|
|
103
103
|
helpEntries: [{
|
|
104
|
-
description: ( localize(
|
|
104
|
+
description: ( localize(3182, "Show All Opened Editors By Most Recently Used")),
|
|
105
105
|
commandId: ShowAllEditorsByMostRecentlyUsedAction.ID
|
|
106
106
|
}]
|
|
107
107
|
});
|
|
@@ -269,7 +269,7 @@ if (isMacintosh) {
|
|
|
269
269
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, {
|
|
270
270
|
command: {
|
|
271
271
|
id: LOCK_GROUP_COMMAND_ID,
|
|
272
|
-
title: ( localize(
|
|
272
|
+
title: ( localize(3183, "Lock Group")),
|
|
273
273
|
icon: Codicon.unlock
|
|
274
274
|
},
|
|
275
275
|
group: "navigation",
|
|
@@ -279,7 +279,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, {
|
|
|
279
279
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, {
|
|
280
280
|
command: {
|
|
281
281
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
282
|
-
title: ( localize(
|
|
282
|
+
title: ( localize(3184, "Unlock Group")),
|
|
283
283
|
icon: Codicon.lock,
|
|
284
284
|
toggled: ContextKeyExpr.true()
|
|
285
285
|
},
|
|
@@ -290,7 +290,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, {
|
|
|
290
290
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, {
|
|
291
291
|
command: {
|
|
292
292
|
id: CLOSE_EDITOR_GROUP_COMMAND_ID,
|
|
293
|
-
title: ( localize(
|
|
293
|
+
title: ( localize(3185, "Close Group")),
|
|
294
294
|
icon: Codicon.close
|
|
295
295
|
},
|
|
296
296
|
group: "navigation",
|
|
@@ -300,7 +300,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, {
|
|
|
300
300
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
301
301
|
command: {
|
|
302
302
|
id: SPLIT_EDITOR_UP,
|
|
303
|
-
title: ( localize(
|
|
303
|
+
title: ( localize(3186, "Split Up"))
|
|
304
304
|
},
|
|
305
305
|
group: "2_split",
|
|
306
306
|
order: 10
|
|
@@ -308,7 +308,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
|
308
308
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
309
309
|
command: {
|
|
310
310
|
id: SPLIT_EDITOR_DOWN,
|
|
311
|
-
title: ( localize(
|
|
311
|
+
title: ( localize(3187, "Split Down"))
|
|
312
312
|
},
|
|
313
313
|
group: "2_split",
|
|
314
314
|
order: 20
|
|
@@ -316,7 +316,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
|
316
316
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
317
317
|
command: {
|
|
318
318
|
id: SPLIT_EDITOR_LEFT,
|
|
319
|
-
title: ( localize(
|
|
319
|
+
title: ( localize(3188, "Split Left"))
|
|
320
320
|
},
|
|
321
321
|
group: "2_split",
|
|
322
322
|
order: 30
|
|
@@ -324,7 +324,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
|
324
324
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
325
325
|
command: {
|
|
326
326
|
id: SPLIT_EDITOR_RIGHT,
|
|
327
|
-
title: ( localize(
|
|
327
|
+
title: ( localize(3189, "Split Right"))
|
|
328
328
|
},
|
|
329
329
|
group: "2_split",
|
|
330
330
|
order: 40
|
|
@@ -332,7 +332,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
|
332
332
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
333
333
|
command: {
|
|
334
334
|
id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID,
|
|
335
|
-
title: ( localize(
|
|
335
|
+
title: ( localize(3190, "New Window"))
|
|
336
336
|
},
|
|
337
337
|
group: "3_window",
|
|
338
338
|
order: 10
|
|
@@ -340,7 +340,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
|
340
340
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
341
341
|
command: {
|
|
342
342
|
id: TOGGLE_LOCK_GROUP_COMMAND_ID,
|
|
343
|
-
title: ( localize(
|
|
343
|
+
title: ( localize(3191, "Lock Group")),
|
|
344
344
|
toggled: ActiveEditorGroupLockedContext
|
|
345
345
|
},
|
|
346
346
|
group: "4_lock",
|
|
@@ -350,7 +350,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
|
350
350
|
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
351
351
|
command: {
|
|
352
352
|
id: CLOSE_EDITOR_GROUP_COMMAND_ID,
|
|
353
|
-
title: ( localize(
|
|
353
|
+
title: ( localize(3192, "Close"))
|
|
354
354
|
},
|
|
355
355
|
group: "5_close",
|
|
356
356
|
order: 10,
|
|
@@ -359,7 +359,7 @@ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, {
|
|
|
359
359
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
360
360
|
command: {
|
|
361
361
|
id: SPLIT_EDITOR_UP,
|
|
362
|
-
title: ( localize(
|
|
362
|
+
title: ( localize(3186, "Split Up"))
|
|
363
363
|
},
|
|
364
364
|
group: "2_split",
|
|
365
365
|
order: 10
|
|
@@ -367,7 +367,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
|
367
367
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
368
368
|
command: {
|
|
369
369
|
id: SPLIT_EDITOR_DOWN,
|
|
370
|
-
title: ( localize(
|
|
370
|
+
title: ( localize(3187, "Split Down"))
|
|
371
371
|
},
|
|
372
372
|
group: "2_split",
|
|
373
373
|
order: 20
|
|
@@ -375,7 +375,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
|
375
375
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
376
376
|
command: {
|
|
377
377
|
id: SPLIT_EDITOR_LEFT,
|
|
378
|
-
title: ( localize(
|
|
378
|
+
title: ( localize(3188, "Split Left"))
|
|
379
379
|
},
|
|
380
380
|
group: "2_split",
|
|
381
381
|
order: 30
|
|
@@ -383,7 +383,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
|
383
383
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
384
384
|
command: {
|
|
385
385
|
id: SPLIT_EDITOR_RIGHT,
|
|
386
|
-
title: ( localize(
|
|
386
|
+
title: ( localize(3189, "Split Right"))
|
|
387
387
|
},
|
|
388
388
|
group: "2_split",
|
|
389
389
|
order: 40
|
|
@@ -391,7 +391,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
|
391
391
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
392
392
|
command: {
|
|
393
393
|
id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID,
|
|
394
|
-
title: ( localize(
|
|
394
|
+
title: ( localize(3193, "Move into New Window"))
|
|
395
395
|
},
|
|
396
396
|
group: "3_window",
|
|
397
397
|
order: 10
|
|
@@ -399,14 +399,14 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
|
399
399
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
400
400
|
command: {
|
|
401
401
|
id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID,
|
|
402
|
-
title: ( localize(
|
|
402
|
+
title: ( localize(3194, "Copy into New Window"))
|
|
403
403
|
},
|
|
404
404
|
group: "3_window",
|
|
405
405
|
order: 20
|
|
406
406
|
});
|
|
407
407
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
408
408
|
submenu: MenuId.EditorTabsBarShowTabsSubmenu,
|
|
409
|
-
title: ( localize(
|
|
409
|
+
title: ( localize(3195, "Tab Bar")),
|
|
410
410
|
group: "4_config",
|
|
411
411
|
order: 10,
|
|
412
412
|
when: ( InEditorZenModeContext.negate())
|
|
@@ -414,7 +414,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
|
414
414
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, {
|
|
415
415
|
command: {
|
|
416
416
|
id: ShowMultipleEditorTabsAction.ID,
|
|
417
|
-
title: ( localize(
|
|
417
|
+
title: ( localize(3196, "Multiple Tabs")),
|
|
418
418
|
toggled: ( ContextKeyExpr.equals("config.workbench.editor.showTabs", "multiple"))
|
|
419
419
|
},
|
|
420
420
|
group: "1_config",
|
|
@@ -423,7 +423,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, {
|
|
|
423
423
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, {
|
|
424
424
|
command: {
|
|
425
425
|
id: ShowSingleEditorTabAction.ID,
|
|
426
|
-
title: ( localize(
|
|
426
|
+
title: ( localize(3197, "Single Tab")),
|
|
427
427
|
toggled: ( ContextKeyExpr.equals("config.workbench.editor.showTabs", "single"))
|
|
428
428
|
},
|
|
429
429
|
group: "1_config",
|
|
@@ -432,7 +432,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, {
|
|
|
432
432
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, {
|
|
433
433
|
command: {
|
|
434
434
|
id: HideEditorTabsAction.ID,
|
|
435
|
-
title: ( localize(
|
|
435
|
+
title: ( localize(3198, "Hidden")),
|
|
436
436
|
toggled: ( ContextKeyExpr.equals("config.workbench.editor.showTabs", "none"))
|
|
437
437
|
},
|
|
438
438
|
group: "1_config",
|
|
@@ -440,7 +440,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, {
|
|
|
440
440
|
});
|
|
441
441
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
442
442
|
submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu,
|
|
443
|
-
title: ( localize(
|
|
443
|
+
title: ( localize(3195, "Tab Bar")),
|
|
444
444
|
group: "4_config",
|
|
445
445
|
order: 10,
|
|
446
446
|
when: InEditorZenModeContext
|
|
@@ -448,7 +448,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
|
448
448
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, {
|
|
449
449
|
command: {
|
|
450
450
|
id: ZenShowMultipleEditorTabsAction.ID,
|
|
451
|
-
title: ( localize(
|
|
451
|
+
title: ( localize(3196, "Multiple Tabs")),
|
|
452
452
|
toggled: ( ContextKeyExpr.equals("config.zenMode.showTabs", "multiple"))
|
|
453
453
|
},
|
|
454
454
|
group: "1_config",
|
|
@@ -457,7 +457,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, {
|
|
|
457
457
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, {
|
|
458
458
|
command: {
|
|
459
459
|
id: ZenShowSingleEditorTabAction.ID,
|
|
460
|
-
title: ( localize(
|
|
460
|
+
title: ( localize(3197, "Single Tab")),
|
|
461
461
|
toggled: ( ContextKeyExpr.equals("config.zenMode.showTabs", "single"))
|
|
462
462
|
},
|
|
463
463
|
group: "1_config",
|
|
@@ -466,7 +466,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, {
|
|
|
466
466
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, {
|
|
467
467
|
command: {
|
|
468
468
|
id: ZenHideEditorTabsAction.ID,
|
|
469
|
-
title: ( localize(
|
|
469
|
+
title: ( localize(3198, "Hidden")),
|
|
470
470
|
toggled: ( ContextKeyExpr.equals("config.zenMode.showTabs", "none"))
|
|
471
471
|
},
|
|
472
472
|
group: "1_config",
|
|
@@ -474,14 +474,14 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, {
|
|
|
474
474
|
});
|
|
475
475
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
476
476
|
submenu: MenuId.EditorActionsPositionSubmenu,
|
|
477
|
-
title: ( localize(
|
|
477
|
+
title: ( localize(3199, "Editor Actions Position")),
|
|
478
478
|
group: "4_config",
|
|
479
479
|
order: 20
|
|
480
480
|
});
|
|
481
481
|
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, {
|
|
482
482
|
command: {
|
|
483
483
|
id: EditorActionsDefaultAction.ID,
|
|
484
|
-
title: ( localize(
|
|
484
|
+
title: ( localize(3195, "Tab Bar")),
|
|
485
485
|
toggled: ( ContextKeyExpr.equals("config.workbench.editor.editorActionsLocation", "default"))
|
|
486
486
|
},
|
|
487
487
|
group: "1_config",
|
|
@@ -491,7 +491,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, {
|
|
|
491
491
|
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, {
|
|
492
492
|
command: {
|
|
493
493
|
id: EditorActionsTitleBarAction.ID,
|
|
494
|
-
title: ( localize(
|
|
494
|
+
title: ( localize(3200, "Title Bar")),
|
|
495
495
|
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"))))))
|
|
496
496
|
},
|
|
497
497
|
group: "1_config",
|
|
@@ -500,7 +500,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, {
|
|
|
500
500
|
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, {
|
|
501
501
|
command: {
|
|
502
502
|
id: HideEditorActionsAction.ID,
|
|
503
|
-
title: ( localize(
|
|
503
|
+
title: ( localize(3201, "Hidden")),
|
|
504
504
|
toggled: ( ContextKeyExpr.equals("config.workbench.editor.editorActionsLocation", "hidden"))
|
|
505
505
|
},
|
|
506
506
|
group: "1_config",
|
|
@@ -509,7 +509,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, {
|
|
|
509
509
|
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
510
510
|
command: {
|
|
511
511
|
id: ConfigureEditorTabsAction.ID,
|
|
512
|
-
title: ( localize(
|
|
512
|
+
title: ( localize(3202, "Configure Tabs"))
|
|
513
513
|
},
|
|
514
514
|
group: "9_configure",
|
|
515
515
|
order: 10
|
|
@@ -517,7 +517,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, {
|
|
|
517
517
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
518
518
|
command: {
|
|
519
519
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
520
|
-
title: ( localize(
|
|
520
|
+
title: ( localize(3192, "Close"))
|
|
521
521
|
},
|
|
522
522
|
group: "1_close",
|
|
523
523
|
order: 10
|
|
@@ -525,7 +525,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
525
525
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
526
526
|
command: {
|
|
527
527
|
id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID,
|
|
528
|
-
title: ( localize(
|
|
528
|
+
title: ( localize(3203, "Close Others")),
|
|
529
529
|
precondition: ( EditorGroupEditorsCountContext.notEqualsTo("1"))
|
|
530
530
|
},
|
|
531
531
|
group: "1_close",
|
|
@@ -534,7 +534,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
534
534
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
535
535
|
command: {
|
|
536
536
|
id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID,
|
|
537
|
-
title: ( localize(
|
|
537
|
+
title: ( localize(3204, "Close to the Right")),
|
|
538
538
|
precondition: ( ContextKeyExpr.and(( ActiveEditorLastInGroupContext.toNegated()), ( MultipleEditorsSelectedInGroupContext.negate())))
|
|
539
539
|
},
|
|
540
540
|
group: "1_close",
|
|
@@ -544,7 +544,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
544
544
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
545
545
|
command: {
|
|
546
546
|
id: CLOSE_SAVED_EDITORS_COMMAND_ID,
|
|
547
|
-
title: ( localize(
|
|
547
|
+
title: ( localize(3205, "Close Saved"))
|
|
548
548
|
},
|
|
549
549
|
group: "1_close",
|
|
550
550
|
order: 40
|
|
@@ -552,7 +552,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
552
552
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
553
553
|
command: {
|
|
554
554
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
555
|
-
title: ( localize(
|
|
555
|
+
title: ( localize(3206, "Close All"))
|
|
556
556
|
},
|
|
557
557
|
group: "1_close",
|
|
558
558
|
order: 50
|
|
@@ -560,7 +560,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
560
560
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
561
561
|
command: {
|
|
562
562
|
id: REOPEN_WITH_COMMAND_ID,
|
|
563
|
-
title: ( localize(
|
|
563
|
+
title: ( localize(3207, "Reopen Editor With..."))
|
|
564
564
|
},
|
|
565
565
|
group: "1_open",
|
|
566
566
|
order: 10,
|
|
@@ -569,7 +569,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
569
569
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
570
570
|
command: {
|
|
571
571
|
id: KEEP_EDITOR_COMMAND_ID,
|
|
572
|
-
title: ( localize(
|
|
572
|
+
title: ( localize(3208, "Keep Open")),
|
|
573
573
|
precondition: ( ActiveEditorPinnedContext.toNegated())
|
|
574
574
|
},
|
|
575
575
|
group: "3_preview",
|
|
@@ -579,7 +579,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
579
579
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
580
580
|
command: {
|
|
581
581
|
id: PIN_EDITOR_COMMAND_ID,
|
|
582
|
-
title: ( localize(
|
|
582
|
+
title: ( localize(3209, "Pin"))
|
|
583
583
|
},
|
|
584
584
|
group: "3_preview",
|
|
585
585
|
order: 20,
|
|
@@ -588,7 +588,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
588
588
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
589
589
|
command: {
|
|
590
590
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
591
|
-
title: ( localize(
|
|
591
|
+
title: ( localize(3210, "Unpin"))
|
|
592
592
|
},
|
|
593
593
|
group: "3_preview",
|
|
594
594
|
order: 20,
|
|
@@ -597,7 +597,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
597
597
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
598
598
|
command: {
|
|
599
599
|
id: SPLIT_EDITOR,
|
|
600
|
-
title: ( localize(
|
|
600
|
+
title: ( localize(3189, "Split Right"))
|
|
601
601
|
},
|
|
602
602
|
group: "5_split",
|
|
603
603
|
order: 10,
|
|
@@ -606,7 +606,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
606
606
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
607
607
|
command: {
|
|
608
608
|
id: SPLIT_EDITOR,
|
|
609
|
-
title: ( localize(
|
|
609
|
+
title: ( localize(3187, "Split Down"))
|
|
610
610
|
},
|
|
611
611
|
group: "5_split",
|
|
612
612
|
order: 10,
|
|
@@ -614,14 +614,14 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
614
614
|
});
|
|
615
615
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
616
616
|
submenu: MenuId.EditorSplitMoveSubmenu,
|
|
617
|
-
title: ( localize(
|
|
617
|
+
title: ( localize(3211, "Split & Move")),
|
|
618
618
|
group: "5_split",
|
|
619
619
|
order: 15
|
|
620
620
|
});
|
|
621
621
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
622
622
|
command: {
|
|
623
623
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
624
|
-
title: ( localize(
|
|
624
|
+
title: ( localize(3212, "Move into New Window"))
|
|
625
625
|
},
|
|
626
626
|
group: "7_new_window",
|
|
627
627
|
order: 10
|
|
@@ -629,14 +629,14 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
629
629
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
630
630
|
command: {
|
|
631
631
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
632
|
-
title: ( localize(
|
|
632
|
+
title: ( localize(3213, "Copy into New Window"))
|
|
633
633
|
},
|
|
634
634
|
group: "7_new_window",
|
|
635
635
|
order: 20
|
|
636
636
|
});
|
|
637
637
|
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
638
638
|
submenu: MenuId.EditorTitleContextShare,
|
|
639
|
-
title: ( localize(
|
|
639
|
+
title: ( localize(3214, "Share")),
|
|
640
640
|
group: "11_share",
|
|
641
641
|
order: -1,
|
|
642
642
|
when: ( MultipleEditorsSelectedInGroupContext.negate())
|
|
@@ -644,7 +644,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, {
|
|
|
644
644
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
645
645
|
command: {
|
|
646
646
|
id: SPLIT_EDITOR_UP,
|
|
647
|
-
title: ( localize(
|
|
647
|
+
title: ( localize(3186, "Split Up"))
|
|
648
648
|
},
|
|
649
649
|
group: "1_split",
|
|
650
650
|
order: 10
|
|
@@ -652,7 +652,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
652
652
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
653
653
|
command: {
|
|
654
654
|
id: SPLIT_EDITOR_DOWN,
|
|
655
|
-
title: ( localize(
|
|
655
|
+
title: ( localize(3187, "Split Down"))
|
|
656
656
|
},
|
|
657
657
|
group: "1_split",
|
|
658
658
|
order: 20
|
|
@@ -660,7 +660,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
660
660
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
661
661
|
command: {
|
|
662
662
|
id: SPLIT_EDITOR_LEFT,
|
|
663
|
-
title: ( localize(
|
|
663
|
+
title: ( localize(3188, "Split Left"))
|
|
664
664
|
},
|
|
665
665
|
group: "1_split",
|
|
666
666
|
order: 30
|
|
@@ -668,7 +668,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
668
668
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
669
669
|
command: {
|
|
670
670
|
id: SPLIT_EDITOR_RIGHT,
|
|
671
|
-
title: ( localize(
|
|
671
|
+
title: ( localize(3189, "Split Right"))
|
|
672
672
|
},
|
|
673
673
|
group: "1_split",
|
|
674
674
|
order: 40
|
|
@@ -676,7 +676,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
676
676
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
677
677
|
command: {
|
|
678
678
|
id: MOVE_EDITOR_INTO_ABOVE_GROUP,
|
|
679
|
-
title: ( localize(
|
|
679
|
+
title: ( localize(3215, "Move Above"))
|
|
680
680
|
},
|
|
681
681
|
group: "2_move",
|
|
682
682
|
order: 10
|
|
@@ -684,7 +684,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
684
684
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
685
685
|
command: {
|
|
686
686
|
id: MOVE_EDITOR_INTO_BELOW_GROUP,
|
|
687
|
-
title: ( localize(
|
|
687
|
+
title: ( localize(3216, "Move Below"))
|
|
688
688
|
},
|
|
689
689
|
group: "2_move",
|
|
690
690
|
order: 20
|
|
@@ -692,7 +692,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
692
692
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
693
693
|
command: {
|
|
694
694
|
id: MOVE_EDITOR_INTO_LEFT_GROUP,
|
|
695
|
-
title: ( localize(
|
|
695
|
+
title: ( localize(3217, "Move Left"))
|
|
696
696
|
},
|
|
697
697
|
group: "2_move",
|
|
698
698
|
order: 30
|
|
@@ -700,7 +700,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
700
700
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
701
701
|
command: {
|
|
702
702
|
id: MOVE_EDITOR_INTO_RIGHT_GROUP,
|
|
703
|
-
title: ( localize(
|
|
703
|
+
title: ( localize(3218, "Move Right"))
|
|
704
704
|
},
|
|
705
705
|
group: "2_move",
|
|
706
706
|
order: 40
|
|
@@ -708,7 +708,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
708
708
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
709
709
|
command: {
|
|
710
710
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
711
|
-
title: ( localize(
|
|
711
|
+
title: ( localize(3219, "Split in Group")),
|
|
712
712
|
precondition: ( MultipleEditorsSelectedInGroupContext.negate())
|
|
713
713
|
},
|
|
714
714
|
group: "3_split_in_group",
|
|
@@ -718,7 +718,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
718
718
|
MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
719
719
|
command: {
|
|
720
720
|
id: JOIN_EDITOR_IN_GROUP,
|
|
721
|
-
title: ( localize(
|
|
721
|
+
title: ( localize(3220, "Join in Group")),
|
|
722
722
|
precondition: ( MultipleEditorsSelectedInGroupContext.negate())
|
|
723
723
|
},
|
|
724
724
|
group: "3_split_in_group",
|
|
@@ -728,7 +728,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, {
|
|
|
728
728
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
729
729
|
command: {
|
|
730
730
|
id: TOGGLE_DIFF_SIDE_BY_SIDE,
|
|
731
|
-
title: ( localize(
|
|
731
|
+
title: ( localize(3221, "Inline View")),
|
|
732
732
|
toggled: ( ContextKeyExpr.equals("config.diffEditor.renderSideBySide", false))
|
|
733
733
|
},
|
|
734
734
|
group: "1_diff",
|
|
@@ -738,7 +738,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
738
738
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
739
739
|
command: {
|
|
740
740
|
id: SHOW_EDITORS_IN_GROUP,
|
|
741
|
-
title: ( localize(
|
|
741
|
+
title: ( localize(3222, "Show Opened Editors"))
|
|
742
742
|
},
|
|
743
743
|
group: "3_open",
|
|
744
744
|
order: 10
|
|
@@ -746,7 +746,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
746
746
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
747
747
|
command: {
|
|
748
748
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
749
|
-
title: ( localize(
|
|
749
|
+
title: ( localize(3206, "Close All"))
|
|
750
750
|
},
|
|
751
751
|
group: "5_close",
|
|
752
752
|
order: 10
|
|
@@ -754,7 +754,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
754
754
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
755
755
|
command: {
|
|
756
756
|
id: CLOSE_SAVED_EDITORS_COMMAND_ID,
|
|
757
|
-
title: ( localize(
|
|
757
|
+
title: ( localize(3205, "Close Saved"))
|
|
758
758
|
},
|
|
759
759
|
group: "5_close",
|
|
760
760
|
order: 20
|
|
@@ -762,7 +762,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
762
762
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
763
763
|
command: {
|
|
764
764
|
id: TOGGLE_KEEP_EDITORS_COMMAND_ID,
|
|
765
|
-
title: ( localize(
|
|
765
|
+
title: ( localize(3223, "Enable Preview Editors")),
|
|
766
766
|
toggled: ( ContextKeyExpr.has("config.workbench.editor.enablePreview"))
|
|
767
767
|
},
|
|
768
768
|
group: "7_settings",
|
|
@@ -771,7 +771,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
771
771
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
772
772
|
command: {
|
|
773
773
|
id: TOGGLE_MAXIMIZE_EDITOR_GROUP,
|
|
774
|
-
title: ( localize(
|
|
774
|
+
title: ( localize(3224, "Maximize Group"))
|
|
775
775
|
},
|
|
776
776
|
group: "8_group_operations",
|
|
777
777
|
order: 5,
|
|
@@ -780,7 +780,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
780
780
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
781
781
|
command: {
|
|
782
782
|
id: TOGGLE_MAXIMIZE_EDITOR_GROUP,
|
|
783
|
-
title: ( localize(
|
|
783
|
+
title: ( localize(3225, "Unmaximize Group"))
|
|
784
784
|
},
|
|
785
785
|
group: "8_group_operations",
|
|
786
786
|
order: 5,
|
|
@@ -789,7 +789,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
789
789
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
790
790
|
command: {
|
|
791
791
|
id: TOGGLE_LOCK_GROUP_COMMAND_ID,
|
|
792
|
-
title: ( localize(
|
|
792
|
+
title: ( localize(3226, "Lock Group")),
|
|
793
793
|
toggled: ActiveEditorGroupLockedContext
|
|
794
794
|
},
|
|
795
795
|
group: "8_group_operations",
|
|
@@ -799,7 +799,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
799
799
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
800
800
|
command: {
|
|
801
801
|
id: ConfigureEditorAction.ID,
|
|
802
|
-
title: ( localize(
|
|
802
|
+
title: ( localize(3227, "Configure Editors"))
|
|
803
803
|
},
|
|
804
804
|
group: "9_configure",
|
|
805
805
|
order: 10
|
|
@@ -844,96 +844,96 @@ const SPLIT_ORDER = 100000;
|
|
|
844
844
|
const CLOSE_ORDER = 1000000;
|
|
845
845
|
appendEditorToolItem({
|
|
846
846
|
id: SPLIT_EDITOR,
|
|
847
|
-
title: ( localize(
|
|
847
|
+
title: ( localize(3228, "Split Editor Right")),
|
|
848
848
|
icon: Codicon.splitHorizontal
|
|
849
849
|
}, ( SplitEditorsVertically.negate()), SPLIT_ORDER, {
|
|
850
850
|
id: SPLIT_EDITOR_DOWN,
|
|
851
|
-
title: ( localize(
|
|
851
|
+
title: ( localize(3229, "Split Editor Down")),
|
|
852
852
|
icon: Codicon.splitVertical
|
|
853
853
|
});
|
|
854
854
|
appendEditorToolItem({
|
|
855
855
|
id: SPLIT_EDITOR,
|
|
856
|
-
title: ( localize(
|
|
856
|
+
title: ( localize(3229, "Split Editor Down")),
|
|
857
857
|
icon: Codicon.splitVertical
|
|
858
858
|
}, SplitEditorsVertically, SPLIT_ORDER, {
|
|
859
859
|
id: SPLIT_EDITOR_RIGHT,
|
|
860
|
-
title: ( localize(
|
|
860
|
+
title: ( localize(3228, "Split Editor Right")),
|
|
861
861
|
icon: Codicon.splitHorizontal
|
|
862
862
|
});
|
|
863
863
|
appendEditorToolItem({
|
|
864
864
|
id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
|
|
865
|
-
title: ( localize(
|
|
865
|
+
title: ( localize(3230, "Toggle Layout")),
|
|
866
866
|
icon: Codicon.editorLayout
|
|
867
867
|
}, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
|
|
868
868
|
appendEditorToolItem({
|
|
869
869
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
870
|
-
title: ( localize(
|
|
870
|
+
title: ( localize(3192, "Close")),
|
|
871
871
|
icon: Codicon.close
|
|
872
872
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
873
873
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
874
|
-
title: ( localize(
|
|
874
|
+
title: ( localize(3206, "Close All")),
|
|
875
875
|
icon: Codicon.closeAll
|
|
876
876
|
});
|
|
877
877
|
appendEditorToolItem({
|
|
878
878
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
879
|
-
title: ( localize(
|
|
879
|
+
title: ( localize(3192, "Close")),
|
|
880
880
|
icon: Codicon.closeDirty
|
|
881
881
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
882
882
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
883
|
-
title: ( localize(
|
|
883
|
+
title: ( localize(3206, "Close All")),
|
|
884
884
|
icon: Codicon.closeAll
|
|
885
885
|
});
|
|
886
886
|
appendEditorToolItem({
|
|
887
887
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
888
|
-
title: ( localize(
|
|
888
|
+
title: ( localize(3210, "Unpin")),
|
|
889
889
|
icon: Codicon.pinned
|
|
890
890
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
891
891
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
892
|
-
title: ( localize(
|
|
892
|
+
title: ( localize(3192, "Close")),
|
|
893
893
|
icon: Codicon.close
|
|
894
894
|
});
|
|
895
895
|
appendEditorToolItem({
|
|
896
896
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
897
|
-
title: ( localize(
|
|
897
|
+
title: ( localize(3210, "Unpin")),
|
|
898
898
|
icon: Codicon.pinnedDirty
|
|
899
899
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
900
900
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
901
|
-
title: ( localize(
|
|
901
|
+
title: ( localize(3192, "Close")),
|
|
902
902
|
icon: Codicon.close
|
|
903
903
|
});
|
|
904
904
|
appendEditorToolItem({
|
|
905
905
|
id: LOCK_GROUP_COMMAND_ID,
|
|
906
|
-
title: ( localize(
|
|
906
|
+
title: ( localize(3231, "Lock Group")),
|
|
907
907
|
icon: Codicon.unlock
|
|
908
908
|
}, ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))), CLOSE_ORDER - 1);
|
|
909
909
|
appendEditorToolItem({
|
|
910
910
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
911
|
-
title: ( localize(
|
|
911
|
+
title: ( localize(3232, "Unlock Group")),
|
|
912
912
|
icon: Codicon.lock,
|
|
913
913
|
toggled: ContextKeyExpr.true()
|
|
914
914
|
}, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
|
|
915
|
-
const previousChangeIcon = registerIcon("diff-editor-previous-change", Codicon.arrowUp, ( localize(
|
|
915
|
+
const previousChangeIcon = registerIcon("diff-editor-previous-change", Codicon.arrowUp, ( localize(3233, "Icon for the previous change action in the diff editor.")));
|
|
916
916
|
appendEditorToolItem({
|
|
917
917
|
id: GOTO_PREVIOUS_CHANGE,
|
|
918
|
-
title: ( localize(
|
|
918
|
+
title: ( localize(3234, "Previous Change")),
|
|
919
919
|
icon: previousChangeIcon
|
|
920
920
|
}, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges, true, true);
|
|
921
|
-
const nextChangeIcon = registerIcon("diff-editor-next-change", Codicon.arrowDown, ( localize(
|
|
921
|
+
const nextChangeIcon = registerIcon("diff-editor-next-change", Codicon.arrowDown, ( localize(3235, "Icon for the next change action in the diff editor.")));
|
|
922
922
|
appendEditorToolItem({
|
|
923
923
|
id: GOTO_NEXT_CHANGE,
|
|
924
|
-
title: ( localize(
|
|
924
|
+
title: ( localize(3236, "Next Change")),
|
|
925
925
|
icon: nextChangeIcon
|
|
926
926
|
}, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges, true, true);
|
|
927
927
|
appendEditorToolItem({
|
|
928
928
|
id: DIFF_SWAP_SIDES,
|
|
929
|
-
title: ( localize(
|
|
929
|
+
title: ( localize(3237, "Swap Left and Right Side")),
|
|
930
930
|
icon: Codicon.arrowSwap
|
|
931
931
|
}, ( ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext)), 15, undefined, undefined);
|
|
932
|
-
const toggleWhitespace = registerIcon("diff-editor-toggle-whitespace", Codicon.whitespace, ( localize(
|
|
932
|
+
const toggleWhitespace = registerIcon("diff-editor-toggle-whitespace", Codicon.whitespace, ( localize(3238, "Icon for the toggle whitespace action in the diff editor.")));
|
|
933
933
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
934
934
|
command: {
|
|
935
935
|
id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
|
|
936
|
-
title: ( localize(
|
|
936
|
+
title: ( localize(3239, "Show Leading/Trailing Whitespace Differences")),
|
|
937
937
|
icon: toggleWhitespace,
|
|
938
938
|
precondition: TextCompareEditorActiveContext,
|
|
939
939
|
toggled: ( ContextKeyExpr.equals("config.diffEditor.ignoreTrimWhitespace", false))
|
|
@@ -945,7 +945,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
945
945
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
946
946
|
command: {
|
|
947
947
|
id: KEEP_EDITOR_COMMAND_ID,
|
|
948
|
-
title: ( localize2(
|
|
948
|
+
title: ( localize2(3240, "Keep Editor")),
|
|
949
949
|
category: Categories.View
|
|
950
950
|
},
|
|
951
951
|
when: ( ContextKeyExpr.has("config.workbench.editor.enablePreview"))
|
|
@@ -953,56 +953,56 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
953
953
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
954
954
|
command: {
|
|
955
955
|
id: PIN_EDITOR_COMMAND_ID,
|
|
956
|
-
title: ( localize2(
|
|
956
|
+
title: ( localize2(3241, "Pin Editor")),
|
|
957
957
|
category: Categories.View
|
|
958
958
|
}
|
|
959
959
|
});
|
|
960
960
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
961
961
|
command: {
|
|
962
962
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
963
|
-
title: ( localize2(
|
|
963
|
+
title: ( localize2(3242, "Unpin Editor")),
|
|
964
964
|
category: Categories.View
|
|
965
965
|
}
|
|
966
966
|
});
|
|
967
967
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
968
968
|
command: {
|
|
969
969
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
970
|
-
title: ( localize2(
|
|
970
|
+
title: ( localize2(3243, "Close Editor")),
|
|
971
971
|
category: Categories.View
|
|
972
972
|
}
|
|
973
973
|
});
|
|
974
974
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
975
975
|
command: {
|
|
976
976
|
id: CLOSE_PINNED_EDITOR_COMMAND_ID,
|
|
977
|
-
title: ( localize2(
|
|
977
|
+
title: ( localize2(3244, "Close Pinned Editor")),
|
|
978
978
|
category: Categories.View
|
|
979
979
|
}
|
|
980
980
|
});
|
|
981
981
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
982
982
|
command: {
|
|
983
983
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
984
|
-
title: ( localize2(
|
|
984
|
+
title: ( localize2(3245, "Close All Editors in Group")),
|
|
985
985
|
category: Categories.View
|
|
986
986
|
}
|
|
987
987
|
});
|
|
988
988
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
989
989
|
command: {
|
|
990
990
|
id: CLOSE_SAVED_EDITORS_COMMAND_ID,
|
|
991
|
-
title: ( localize2(
|
|
991
|
+
title: ( localize2(3246, "Close Saved Editors in Group")),
|
|
992
992
|
category: Categories.View
|
|
993
993
|
}
|
|
994
994
|
});
|
|
995
995
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
996
996
|
command: {
|
|
997
997
|
id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID,
|
|
998
|
-
title: ( localize2(
|
|
998
|
+
title: ( localize2(3247, "Close Other Editors in Group")),
|
|
999
999
|
category: Categories.View
|
|
1000
1000
|
}
|
|
1001
1001
|
});
|
|
1002
1002
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1003
1003
|
command: {
|
|
1004
1004
|
id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID,
|
|
1005
|
-
title: ( localize2(
|
|
1005
|
+
title: ( localize2(3248, "Close Editors to the Right in Group")),
|
|
1006
1006
|
category: Categories.View
|
|
1007
1007
|
},
|
|
1008
1008
|
when: ( ActiveEditorLastInGroupContext.toNegated())
|
|
@@ -1010,7 +1010,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
1010
1010
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1011
1011
|
command: {
|
|
1012
1012
|
id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID,
|
|
1013
|
-
title: ( localize2(
|
|
1013
|
+
title: ( localize2(3249, "Close Editor Group")),
|
|
1014
1014
|
category: Categories.View
|
|
1015
1015
|
},
|
|
1016
1016
|
when: MultipleEditorGroupsContext
|
|
@@ -1018,7 +1018,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
1018
1018
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1019
1019
|
command: {
|
|
1020
1020
|
id: REOPEN_WITH_COMMAND_ID,
|
|
1021
|
-
title: ( localize2(
|
|
1021
|
+
title: ( localize2(3207, "Reopen Editor With...")),
|
|
1022
1022
|
category: Categories.View
|
|
1023
1023
|
},
|
|
1024
1024
|
when: ActiveEditorAvailableEditorIdsContext
|
|
@@ -1027,7 +1027,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
1027
1027
|
group: "1_editor",
|
|
1028
1028
|
command: {
|
|
1029
1029
|
id: ReopenClosedEditorAction.ID,
|
|
1030
|
-
title: ( localize(
|
|
1030
|
+
title: ( localize(3250, "&&Reopen Closed Editor")),
|
|
1031
1031
|
precondition: ( ContextKeyExpr.has("canReopenClosedEditor"))
|
|
1032
1032
|
},
|
|
1033
1033
|
order: 1
|
|
@@ -1036,29 +1036,31 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
1036
1036
|
group: "z_clear",
|
|
1037
1037
|
command: {
|
|
1038
1038
|
id: ClearRecentFilesAction.ID,
|
|
1039
|
-
title: ( localize(
|
|
1039
|
+
title: ( localize(3251, "&&Clear Recently Opened..."))
|
|
1040
1040
|
},
|
|
1041
1041
|
order: 1
|
|
1042
1042
|
});
|
|
1043
1043
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
1044
|
-
title: ( localize(
|
|
1044
|
+
title: ( localize(3252, "Share")),
|
|
1045
1045
|
submenu: MenuId.MenubarShare,
|
|
1046
1046
|
group: "45_share",
|
|
1047
|
-
order: 1
|
|
1047
|
+
order: 1,
|
|
1048
|
+
when: ( IsSessionsWindowContext.negate())
|
|
1048
1049
|
});
|
|
1049
1050
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
1050
1051
|
group: "2_appearance",
|
|
1051
|
-
title: ( localize(
|
|
1052
|
+
title: ( localize(3253, "Editor &&Layout")),
|
|
1052
1053
|
submenu: MenuId.MenubarLayoutMenu,
|
|
1053
|
-
order: 2
|
|
1054
|
+
order: 2,
|
|
1055
|
+
when: ( IsSessionsWindowContext.negate())
|
|
1054
1056
|
});
|
|
1055
1057
|
MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
1056
1058
|
group: "1_split",
|
|
1057
1059
|
command: {
|
|
1058
1060
|
id: SPLIT_EDITOR_UP,
|
|
1059
1061
|
title: {
|
|
1060
|
-
...( localize2(
|
|
1061
|
-
mnemonicTitle: ( localize(
|
|
1062
|
+
...( localize2(3254, "Split Up")),
|
|
1063
|
+
mnemonicTitle: ( localize(3255, "Split &&Up"))
|
|
1062
1064
|
}
|
|
1063
1065
|
},
|
|
1064
1066
|
order: 1
|
|
@@ -1068,8 +1070,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1068
1070
|
command: {
|
|
1069
1071
|
id: SPLIT_EDITOR_DOWN,
|
|
1070
1072
|
title: {
|
|
1071
|
-
...( localize2(
|
|
1072
|
-
mnemonicTitle: ( localize(
|
|
1073
|
+
...( localize2(3256, "Split Down")),
|
|
1074
|
+
mnemonicTitle: ( localize(3257, "Split &&Down"))
|
|
1073
1075
|
}
|
|
1074
1076
|
},
|
|
1075
1077
|
order: 2
|
|
@@ -1079,8 +1081,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1079
1081
|
command: {
|
|
1080
1082
|
id: SPLIT_EDITOR_LEFT,
|
|
1081
1083
|
title: {
|
|
1082
|
-
...( localize2(
|
|
1083
|
-
mnemonicTitle: ( localize(
|
|
1084
|
+
...( localize2(3258, "Split Left")),
|
|
1085
|
+
mnemonicTitle: ( localize(3259, "Split &&Left"))
|
|
1084
1086
|
}
|
|
1085
1087
|
},
|
|
1086
1088
|
order: 3
|
|
@@ -1090,8 +1092,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1090
1092
|
command: {
|
|
1091
1093
|
id: SPLIT_EDITOR_RIGHT,
|
|
1092
1094
|
title: {
|
|
1093
|
-
...( localize2(
|
|
1094
|
-
mnemonicTitle: ( localize(
|
|
1095
|
+
...( localize2(3260, "Split Right")),
|
|
1096
|
+
mnemonicTitle: ( localize(3261, "Split &&Right"))
|
|
1095
1097
|
}
|
|
1096
1098
|
},
|
|
1097
1099
|
order: 4
|
|
@@ -1101,8 +1103,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1101
1103
|
command: {
|
|
1102
1104
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
1103
1105
|
title: {
|
|
1104
|
-
...( localize2(
|
|
1105
|
-
mnemonicTitle: ( localize(
|
|
1106
|
+
...( localize2(3262, "Split in Group")),
|
|
1107
|
+
mnemonicTitle: ( localize(3263, "Split in &&Group"))
|
|
1106
1108
|
}
|
|
1107
1109
|
},
|
|
1108
1110
|
when: ActiveEditorCanSplitInGroupContext,
|
|
@@ -1113,8 +1115,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1113
1115
|
command: {
|
|
1114
1116
|
id: JOIN_EDITOR_IN_GROUP,
|
|
1115
1117
|
title: {
|
|
1116
|
-
...( localize2(
|
|
1117
|
-
mnemonicTitle: ( localize(
|
|
1118
|
+
...( localize2(3264, "Join in Group")),
|
|
1119
|
+
mnemonicTitle: ( localize(3265, "Join in &&Group"))
|
|
1118
1120
|
}
|
|
1119
1121
|
},
|
|
1120
1122
|
when: SideBySideEditorActiveContext,
|
|
@@ -1125,8 +1127,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1125
1127
|
command: {
|
|
1126
1128
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
1127
1129
|
title: {
|
|
1128
|
-
...( localize2(
|
|
1129
|
-
mnemonicTitle: ( localize(
|
|
1130
|
+
...( localize2(3266, "Move Editor into New Window")),
|
|
1131
|
+
mnemonicTitle: ( localize(3267, "&&Move Editor into New Window"))
|
|
1130
1132
|
}
|
|
1131
1133
|
},
|
|
1132
1134
|
order: 1
|
|
@@ -1136,8 +1138,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1136
1138
|
command: {
|
|
1137
1139
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
1138
1140
|
title: {
|
|
1139
|
-
...( localize2(
|
|
1140
|
-
mnemonicTitle: ( localize(
|
|
1141
|
+
...( localize2(3268, "Copy Editor into New Window")),
|
|
1142
|
+
mnemonicTitle: ( localize(3269, "&&Copy Editor into New Window"))
|
|
1141
1143
|
}
|
|
1142
1144
|
},
|
|
1143
1145
|
order: 2
|
|
@@ -1147,8 +1149,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1147
1149
|
command: {
|
|
1148
1150
|
id: EditorLayoutSingleAction.ID,
|
|
1149
1151
|
title: {
|
|
1150
|
-
...( localize2(
|
|
1151
|
-
mnemonicTitle: ( localize(
|
|
1152
|
+
...( localize2(3270, "Single")),
|
|
1153
|
+
mnemonicTitle: ( localize(3271, "&&Single"))
|
|
1152
1154
|
}
|
|
1153
1155
|
},
|
|
1154
1156
|
order: 1
|
|
@@ -1158,8 +1160,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1158
1160
|
command: {
|
|
1159
1161
|
id: EditorLayoutTwoColumnsAction.ID,
|
|
1160
1162
|
title: {
|
|
1161
|
-
...( localize2(
|
|
1162
|
-
mnemonicTitle: ( localize(
|
|
1163
|
+
...( localize2(3272, "Two Columns")),
|
|
1164
|
+
mnemonicTitle: ( localize(3273, "&&Two Columns"))
|
|
1163
1165
|
}
|
|
1164
1166
|
},
|
|
1165
1167
|
order: 3
|
|
@@ -1169,8 +1171,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1169
1171
|
command: {
|
|
1170
1172
|
id: EditorLayoutThreeColumnsAction.ID,
|
|
1171
1173
|
title: {
|
|
1172
|
-
...( localize2(
|
|
1173
|
-
mnemonicTitle: ( localize(
|
|
1174
|
+
...( localize2(3274, "Three Columns")),
|
|
1175
|
+
mnemonicTitle: ( localize(3275, "T&&hree Columns"))
|
|
1174
1176
|
}
|
|
1175
1177
|
},
|
|
1176
1178
|
order: 4
|
|
@@ -1180,8 +1182,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1180
1182
|
command: {
|
|
1181
1183
|
id: EditorLayoutTwoRowsAction.ID,
|
|
1182
1184
|
title: {
|
|
1183
|
-
...( localize2(
|
|
1184
|
-
mnemonicTitle: ( localize(
|
|
1185
|
+
...( localize2(3276, "Two Rows")),
|
|
1186
|
+
mnemonicTitle: ( localize(3277, "T&&wo Rows"))
|
|
1185
1187
|
}
|
|
1186
1188
|
},
|
|
1187
1189
|
order: 5
|
|
@@ -1191,8 +1193,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1191
1193
|
command: {
|
|
1192
1194
|
id: EditorLayoutThreeRowsAction.ID,
|
|
1193
1195
|
title: {
|
|
1194
|
-
...( localize2(
|
|
1195
|
-
mnemonicTitle: ( localize(
|
|
1196
|
+
...( localize2(3278, "Three Rows")),
|
|
1197
|
+
mnemonicTitle: ( localize(3279, "Three &&Rows"))
|
|
1196
1198
|
}
|
|
1197
1199
|
},
|
|
1198
1200
|
order: 6
|
|
@@ -1202,8 +1204,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1202
1204
|
command: {
|
|
1203
1205
|
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
1204
1206
|
title: {
|
|
1205
|
-
...( localize2(
|
|
1206
|
-
mnemonicTitle: ( localize(
|
|
1207
|
+
...( localize2(3280, "Grid (2x2)")),
|
|
1208
|
+
mnemonicTitle: ( localize(3281, "&&Grid (2x2)"))
|
|
1207
1209
|
}
|
|
1208
1210
|
},
|
|
1209
1211
|
order: 7
|
|
@@ -1213,8 +1215,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1213
1215
|
command: {
|
|
1214
1216
|
id: EditorLayoutTwoRowsRightAction.ID,
|
|
1215
1217
|
title: {
|
|
1216
|
-
...( localize2(
|
|
1217
|
-
mnemonicTitle: ( localize(
|
|
1218
|
+
...( localize2(3282, "Two Rows Right")),
|
|
1219
|
+
mnemonicTitle: ( localize(3283, "Two R&&ows Right"))
|
|
1218
1220
|
}
|
|
1219
1221
|
},
|
|
1220
1222
|
order: 8
|
|
@@ -1224,8 +1226,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1224
1226
|
command: {
|
|
1225
1227
|
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
1226
1228
|
title: {
|
|
1227
|
-
...( localize2(
|
|
1228
|
-
mnemonicTitle: ( localize(
|
|
1229
|
+
...( localize2(3284, "Two Columns Bottom")),
|
|
1230
|
+
mnemonicTitle: ( localize(3285, "Two &&Columns Bottom"))
|
|
1229
1231
|
}
|
|
1230
1232
|
},
|
|
1231
1233
|
order: 9
|
|
@@ -1234,7 +1236,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
1234
1236
|
group: "1_history_nav",
|
|
1235
1237
|
command: {
|
|
1236
1238
|
id: "workbench.action.navigateToLastEditLocation",
|
|
1237
|
-
title: ( localize(
|
|
1239
|
+
title: ( localize(3286, "&&Last Edit Location")),
|
|
1238
1240
|
precondition: ( ContextKeyExpr.has("canNavigateToLastEditLocation"))
|
|
1239
1241
|
},
|
|
1240
1242
|
order: 3
|
|
@@ -1243,7 +1245,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1243
1245
|
group: "1_sideBySide",
|
|
1244
1246
|
command: {
|
|
1245
1247
|
id: FOCUS_FIRST_SIDE_EDITOR,
|
|
1246
|
-
title: ( localize(
|
|
1248
|
+
title: ( localize(3287, "&&First Side in Editor"))
|
|
1247
1249
|
},
|
|
1248
1250
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
1249
1251
|
order: 1
|
|
@@ -1252,7 +1254,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1252
1254
|
group: "1_sideBySide",
|
|
1253
1255
|
command: {
|
|
1254
1256
|
id: FOCUS_SECOND_SIDE_EDITOR,
|
|
1255
|
-
title: ( localize(
|
|
1257
|
+
title: ( localize(3288, "&&Second Side in Editor"))
|
|
1256
1258
|
},
|
|
1257
1259
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
1258
1260
|
order: 2
|
|
@@ -1261,7 +1263,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1261
1263
|
group: "2_any",
|
|
1262
1264
|
command: {
|
|
1263
1265
|
id: "workbench.action.nextEditor",
|
|
1264
|
-
title: ( localize(
|
|
1266
|
+
title: ( localize(3289, "&&Next Editor"))
|
|
1265
1267
|
},
|
|
1266
1268
|
order: 1
|
|
1267
1269
|
});
|
|
@@ -1269,7 +1271,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1269
1271
|
group: "2_any",
|
|
1270
1272
|
command: {
|
|
1271
1273
|
id: "workbench.action.previousEditor",
|
|
1272
|
-
title: ( localize(
|
|
1274
|
+
title: ( localize(3290, "&&Previous Editor"))
|
|
1273
1275
|
},
|
|
1274
1276
|
order: 2
|
|
1275
1277
|
});
|
|
@@ -1277,7 +1279,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1277
1279
|
group: "3_any_used",
|
|
1278
1280
|
command: {
|
|
1279
1281
|
id: "workbench.action.openNextRecentlyUsedEditor",
|
|
1280
|
-
title: ( localize(
|
|
1282
|
+
title: ( localize(3291, "&&Next Used Editor"))
|
|
1281
1283
|
},
|
|
1282
1284
|
order: 1
|
|
1283
1285
|
});
|
|
@@ -1285,7 +1287,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1285
1287
|
group: "3_any_used",
|
|
1286
1288
|
command: {
|
|
1287
1289
|
id: "workbench.action.openPreviousRecentlyUsedEditor",
|
|
1288
|
-
title: ( localize(
|
|
1290
|
+
title: ( localize(3292, "&&Previous Used Editor"))
|
|
1289
1291
|
},
|
|
1290
1292
|
order: 2
|
|
1291
1293
|
});
|
|
@@ -1293,7 +1295,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1293
1295
|
group: "4_group",
|
|
1294
1296
|
command: {
|
|
1295
1297
|
id: "workbench.action.nextEditorInGroup",
|
|
1296
|
-
title: ( localize(
|
|
1298
|
+
title: ( localize(3293, "&&Next Editor in Group"))
|
|
1297
1299
|
},
|
|
1298
1300
|
order: 1
|
|
1299
1301
|
});
|
|
@@ -1301,7 +1303,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1301
1303
|
group: "4_group",
|
|
1302
1304
|
command: {
|
|
1303
1305
|
id: "workbench.action.previousEditorInGroup",
|
|
1304
|
-
title: ( localize(
|
|
1306
|
+
title: ( localize(3294, "&&Previous Editor in Group"))
|
|
1305
1307
|
},
|
|
1306
1308
|
order: 2
|
|
1307
1309
|
});
|
|
@@ -1309,7 +1311,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1309
1311
|
group: "5_group_used",
|
|
1310
1312
|
command: {
|
|
1311
1313
|
id: "workbench.action.openNextRecentlyUsedEditorInGroup",
|
|
1312
|
-
title: ( localize(
|
|
1314
|
+
title: ( localize(3295, "&&Next Used Editor in Group"))
|
|
1313
1315
|
},
|
|
1314
1316
|
order: 1
|
|
1315
1317
|
});
|
|
@@ -1317,13 +1319,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1317
1319
|
group: "5_group_used",
|
|
1318
1320
|
command: {
|
|
1319
1321
|
id: "workbench.action.openPreviousRecentlyUsedEditorInGroup",
|
|
1320
|
-
title: ( localize(
|
|
1322
|
+
title: ( localize(3296, "&&Previous Used Editor in Group"))
|
|
1321
1323
|
},
|
|
1322
1324
|
order: 2
|
|
1323
1325
|
});
|
|
1324
1326
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1325
1327
|
group: "2_editor_nav",
|
|
1326
|
-
title: ( localize(
|
|
1328
|
+
title: ( localize(3297, "Switch &&Editor")),
|
|
1327
1329
|
submenu: MenuId.MenubarSwitchEditorMenu,
|
|
1328
1330
|
order: 1
|
|
1329
1331
|
});
|
|
@@ -1331,7 +1333,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1331
1333
|
group: "1_focus_index",
|
|
1332
1334
|
command: {
|
|
1333
1335
|
id: "workbench.action.focusFirstEditorGroup",
|
|
1334
|
-
title: ( localize(
|
|
1336
|
+
title: ( localize(3298, "Group &&1"))
|
|
1335
1337
|
},
|
|
1336
1338
|
order: 1
|
|
1337
1339
|
});
|
|
@@ -1339,7 +1341,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1339
1341
|
group: "1_focus_index",
|
|
1340
1342
|
command: {
|
|
1341
1343
|
id: "workbench.action.focusSecondEditorGroup",
|
|
1342
|
-
title: ( localize(
|
|
1344
|
+
title: ( localize(3299, "Group &&2"))
|
|
1343
1345
|
},
|
|
1344
1346
|
order: 2
|
|
1345
1347
|
});
|
|
@@ -1347,7 +1349,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1347
1349
|
group: "1_focus_index",
|
|
1348
1350
|
command: {
|
|
1349
1351
|
id: "workbench.action.focusThirdEditorGroup",
|
|
1350
|
-
title: ( localize(
|
|
1352
|
+
title: ( localize(3300, "Group &&3")),
|
|
1351
1353
|
precondition: MultipleEditorGroupsContext
|
|
1352
1354
|
},
|
|
1353
1355
|
order: 3
|
|
@@ -1356,7 +1358,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1356
1358
|
group: "1_focus_index",
|
|
1357
1359
|
command: {
|
|
1358
1360
|
id: "workbench.action.focusFourthEditorGroup",
|
|
1359
|
-
title: ( localize(
|
|
1361
|
+
title: ( localize(3301, "Group &&4")),
|
|
1360
1362
|
precondition: MultipleEditorGroupsContext
|
|
1361
1363
|
},
|
|
1362
1364
|
order: 4
|
|
@@ -1365,7 +1367,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1365
1367
|
group: "1_focus_index",
|
|
1366
1368
|
command: {
|
|
1367
1369
|
id: "workbench.action.focusFifthEditorGroup",
|
|
1368
|
-
title: ( localize(
|
|
1370
|
+
title: ( localize(3302, "Group &&5")),
|
|
1369
1371
|
precondition: MultipleEditorGroupsContext
|
|
1370
1372
|
},
|
|
1371
1373
|
order: 5
|
|
@@ -1374,7 +1376,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1374
1376
|
group: "2_next_prev",
|
|
1375
1377
|
command: {
|
|
1376
1378
|
id: "workbench.action.focusNextGroup",
|
|
1377
|
-
title: ( localize(
|
|
1379
|
+
title: ( localize(3303, "&&Next Group")),
|
|
1378
1380
|
precondition: MultipleEditorGroupsContext
|
|
1379
1381
|
},
|
|
1380
1382
|
order: 1
|
|
@@ -1383,7 +1385,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1383
1385
|
group: "2_next_prev",
|
|
1384
1386
|
command: {
|
|
1385
1387
|
id: "workbench.action.focusPreviousGroup",
|
|
1386
|
-
title: ( localize(
|
|
1388
|
+
title: ( localize(3304, "&&Previous Group")),
|
|
1387
1389
|
precondition: MultipleEditorGroupsContext
|
|
1388
1390
|
},
|
|
1389
1391
|
order: 2
|
|
@@ -1392,7 +1394,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1392
1394
|
group: "3_directional",
|
|
1393
1395
|
command: {
|
|
1394
1396
|
id: "workbench.action.focusLeftGroup",
|
|
1395
|
-
title: ( localize(
|
|
1397
|
+
title: ( localize(3305, "Group &&Left")),
|
|
1396
1398
|
precondition: MultipleEditorGroupsContext
|
|
1397
1399
|
},
|
|
1398
1400
|
order: 1
|
|
@@ -1401,7 +1403,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1401
1403
|
group: "3_directional",
|
|
1402
1404
|
command: {
|
|
1403
1405
|
id: "workbench.action.focusRightGroup",
|
|
1404
|
-
title: ( localize(
|
|
1406
|
+
title: ( localize(3306, "Group &&Right")),
|
|
1405
1407
|
precondition: MultipleEditorGroupsContext
|
|
1406
1408
|
},
|
|
1407
1409
|
order: 2
|
|
@@ -1410,7 +1412,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1410
1412
|
group: "3_directional",
|
|
1411
1413
|
command: {
|
|
1412
1414
|
id: "workbench.action.focusAboveGroup",
|
|
1413
|
-
title: ( localize(
|
|
1415
|
+
title: ( localize(3307, "Group &&Above")),
|
|
1414
1416
|
precondition: MultipleEditorGroupsContext
|
|
1415
1417
|
},
|
|
1416
1418
|
order: 3
|
|
@@ -1419,14 +1421,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1419
1421
|
group: "3_directional",
|
|
1420
1422
|
command: {
|
|
1421
1423
|
id: "workbench.action.focusBelowGroup",
|
|
1422
|
-
title: ( localize(
|
|
1424
|
+
title: ( localize(3308, "Group &&Below")),
|
|
1423
1425
|
precondition: MultipleEditorGroupsContext
|
|
1424
1426
|
},
|
|
1425
1427
|
order: 4
|
|
1426
1428
|
});
|
|
1427
1429
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1428
1430
|
group: "2_editor_nav",
|
|
1429
|
-
title: ( localize(
|
|
1431
|
+
title: ( localize(3309, "Switch &&Group")),
|
|
1430
1432
|
submenu: MenuId.MenubarSwitchGroupMenu,
|
|
1431
1433
|
order: 2
|
|
1432
1434
|
});
|