@codingame/monaco-vscode-view-common-service-override 32.0.2 → 33.0.9
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 +4 -4
- package/vscode/src/vs/sessions/common/theme.js +25 -25
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +56 -56
- package/vscode/src/vs/workbench/browser/actions/helpActions.js +20 -20
- 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 +179 -174
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +18 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubar.contribution.js +8 -8
- package/vscode/src/vs/workbench/browser/workbench.zenMode.contribution.js +15 -15
- 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/browser/customEditors.js +2 -4
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +37 -7
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.d.ts +4 -7
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +4 -6
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.d.ts +62 -35
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +68 -52
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +7 -7
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +29 -29
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +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/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 +2 -2
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +31 -22
- 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, ActiveCustomEditorDiffCanToggleLayoutContext, EditorPartMaximizedEditorGroupContext, ActiveEditorDirtyContext, TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext, ActiveCustomEditorTextDiffContext, IsSessionsWindowContext } 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, ActiveCustomEditorDiffCanToggleLayoutContext, EditorPartModalContext, EditorPartMaximizedEditorGroupContext, ActiveEditorDirtyContext, TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext, ActiveCustomEditorTextDiffContext, 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(3238, "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(3239, "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(3240, "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(3241, "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(3242, "Type the name of an editor to open it.")),
|
|
83
83
|
helpEntries: [{
|
|
84
|
-
description: ( localize(
|
|
84
|
+
description: ( localize(3243, "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(3242, "Type the name of an editor to open it.")),
|
|
93
93
|
helpEntries: [{
|
|
94
|
-
description: ( localize(
|
|
94
|
+
description: ( localize(3244, "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(3242, "Type the name of an editor to open it.")),
|
|
103
103
|
helpEntries: [{
|
|
104
|
-
description: ( localize(
|
|
104
|
+
description: ( localize(3245, "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(3246, "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(3247, "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(3248, "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(3249, "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(3250, "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(3251, "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(3252, "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(3253, "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(3254, "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(3255, "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(3249, "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(3250, "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(3251, "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(3252, "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(3256, "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(3257, "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(3258, "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(3259, "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(3260, "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(3261, "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(3258, "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(3259, "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(3260, "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(3261, "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(3262, "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(3258, "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(3263, "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(3264, "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(3265, "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(3255, "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(3266, "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(3267, "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(3268, "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(3269, "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(3270, "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(3271, "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(3272, "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(3273, "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(3252, "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(3250, "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(3274, "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(3275, "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(3276, "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(3277, "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(3249, "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(3250, "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(3251, "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(3252, "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(3278, "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(3279, "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(3280, "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(3281, "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(3282, "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(3283, "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(3284, "Inline View")),
|
|
732
732
|
toggled: ( ContextKeyExpr.equals("config.diffEditor.renderSideBySide", false))
|
|
733
733
|
},
|
|
734
734
|
group: "1_diff",
|
|
@@ -738,40 +738,44 @@ 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(3285, "Show Opened Editors"))
|
|
742
742
|
},
|
|
743
743
|
group: "3_open",
|
|
744
|
-
order: 10
|
|
744
|
+
order: 10,
|
|
745
|
+
when: ( EditorPartModalContext.toNegated())
|
|
745
746
|
});
|
|
746
747
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
747
748
|
command: {
|
|
748
749
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
749
|
-
title: ( localize(
|
|
750
|
+
title: ( localize(3269, "Close All"))
|
|
750
751
|
},
|
|
751
752
|
group: "5_close",
|
|
752
|
-
order: 10
|
|
753
|
+
order: 10,
|
|
754
|
+
when: ( EditorPartModalContext.toNegated())
|
|
753
755
|
});
|
|
754
756
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
755
757
|
command: {
|
|
756
758
|
id: CLOSE_SAVED_EDITORS_COMMAND_ID,
|
|
757
|
-
title: ( localize(
|
|
759
|
+
title: ( localize(3268, "Close Saved"))
|
|
758
760
|
},
|
|
759
761
|
group: "5_close",
|
|
760
|
-
order: 20
|
|
762
|
+
order: 20,
|
|
763
|
+
when: ( EditorPartModalContext.toNegated())
|
|
761
764
|
});
|
|
762
765
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
763
766
|
command: {
|
|
764
767
|
id: TOGGLE_KEEP_EDITORS_COMMAND_ID,
|
|
765
|
-
title: ( localize(
|
|
768
|
+
title: ( localize(3286, "Enable Preview Editors")),
|
|
766
769
|
toggled: ( ContextKeyExpr.has("config.workbench.editor.enablePreview"))
|
|
767
770
|
},
|
|
768
771
|
group: "7_settings",
|
|
769
|
-
order: 10
|
|
772
|
+
order: 10,
|
|
773
|
+
when: ( EditorPartModalContext.toNegated())
|
|
770
774
|
});
|
|
771
775
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
772
776
|
command: {
|
|
773
777
|
id: TOGGLE_MAXIMIZE_EDITOR_GROUP,
|
|
774
|
-
title: ( localize(
|
|
778
|
+
title: ( localize(3287, "Maximize Group"))
|
|
775
779
|
},
|
|
776
780
|
group: "8_group_operations",
|
|
777
781
|
order: 5,
|
|
@@ -780,7 +784,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
780
784
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
781
785
|
command: {
|
|
782
786
|
id: TOGGLE_MAXIMIZE_EDITOR_GROUP,
|
|
783
|
-
title: ( localize(
|
|
787
|
+
title: ( localize(3288, "Unmaximize Group"))
|
|
784
788
|
},
|
|
785
789
|
group: "8_group_operations",
|
|
786
790
|
order: 5,
|
|
@@ -789,20 +793,21 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
789
793
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
790
794
|
command: {
|
|
791
795
|
id: TOGGLE_LOCK_GROUP_COMMAND_ID,
|
|
792
|
-
title: ( localize(
|
|
796
|
+
title: ( localize(3289, "Lock Group")),
|
|
793
797
|
toggled: ActiveEditorGroupLockedContext
|
|
794
798
|
},
|
|
795
799
|
group: "8_group_operations",
|
|
796
800
|
order: 10,
|
|
797
|
-
when: ( IsAuxiliaryWindowContext.toNegated())
|
|
801
|
+
when: ( ContextKeyExpr.and(( IsAuxiliaryWindowContext.toNegated()), ( EditorPartModalContext.toNegated())))
|
|
798
802
|
});
|
|
799
803
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
800
804
|
command: {
|
|
801
805
|
id: ConfigureEditorAction.ID,
|
|
802
|
-
title: ( localize(
|
|
806
|
+
title: ( localize(3290, "Configure Editors"))
|
|
803
807
|
},
|
|
804
808
|
group: "9_configure",
|
|
805
|
-
order: 10
|
|
809
|
+
order: 10,
|
|
810
|
+
when: ( EditorPartModalContext.toNegated())
|
|
806
811
|
});
|
|
807
812
|
function appendEditorToolItem(
|
|
808
813
|
primary,
|
|
@@ -844,101 +849,101 @@ const SPLIT_ORDER = 100000;
|
|
|
844
849
|
const CLOSE_ORDER = 1000000;
|
|
845
850
|
appendEditorToolItem({
|
|
846
851
|
id: SPLIT_EDITOR,
|
|
847
|
-
title: ( localize(
|
|
852
|
+
title: ( localize(3291, "Split Editor Right")),
|
|
848
853
|
icon: Codicon.splitHorizontal
|
|
849
854
|
}, ( SplitEditorsVertically.negate()), SPLIT_ORDER, {
|
|
850
855
|
id: SPLIT_EDITOR_DOWN,
|
|
851
|
-
title: ( localize(
|
|
856
|
+
title: ( localize(3292, "Split Editor Down")),
|
|
852
857
|
icon: Codicon.splitVertical
|
|
853
858
|
});
|
|
854
859
|
appendEditorToolItem({
|
|
855
860
|
id: SPLIT_EDITOR,
|
|
856
|
-
title: ( localize(
|
|
861
|
+
title: ( localize(3292, "Split Editor Down")),
|
|
857
862
|
icon: Codicon.splitVertical
|
|
858
863
|
}, SplitEditorsVertically, SPLIT_ORDER, {
|
|
859
864
|
id: SPLIT_EDITOR_RIGHT,
|
|
860
|
-
title: ( localize(
|
|
865
|
+
title: ( localize(3291, "Split Editor Right")),
|
|
861
866
|
icon: Codicon.splitHorizontal
|
|
862
867
|
});
|
|
863
868
|
appendEditorToolItem({
|
|
864
869
|
id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
|
|
865
|
-
title: ( localize(
|
|
870
|
+
title: ( localize(3293, "Toggle Layout")),
|
|
866
871
|
icon: Codicon.editorLayout
|
|
867
872
|
}, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
|
|
868
873
|
appendEditorToolItem({
|
|
869
874
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
870
|
-
title: ( localize(
|
|
875
|
+
title: ( localize(3255, "Close")),
|
|
871
876
|
icon: Codicon.close
|
|
872
877
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
873
878
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
874
|
-
title: ( localize(
|
|
879
|
+
title: ( localize(3269, "Close All")),
|
|
875
880
|
icon: Codicon.closeAll
|
|
876
881
|
});
|
|
877
882
|
appendEditorToolItem({
|
|
878
883
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
879
|
-
title: ( localize(
|
|
884
|
+
title: ( localize(3255, "Close")),
|
|
880
885
|
icon: Codicon.closeDirty
|
|
881
886
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
882
887
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
883
|
-
title: ( localize(
|
|
888
|
+
title: ( localize(3269, "Close All")),
|
|
884
889
|
icon: Codicon.closeAll
|
|
885
890
|
});
|
|
886
891
|
appendEditorToolItem({
|
|
887
892
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
888
|
-
title: ( localize(
|
|
893
|
+
title: ( localize(3273, "Unpin")),
|
|
889
894
|
icon: Codicon.pinned
|
|
890
895
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
891
896
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
892
|
-
title: ( localize(
|
|
897
|
+
title: ( localize(3255, "Close")),
|
|
893
898
|
icon: Codicon.close
|
|
894
899
|
});
|
|
895
900
|
appendEditorToolItem({
|
|
896
901
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
897
|
-
title: ( localize(
|
|
902
|
+
title: ( localize(3273, "Unpin")),
|
|
898
903
|
icon: Codicon.pinnedDirty
|
|
899
904
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
900
905
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
901
|
-
title: ( localize(
|
|
906
|
+
title: ( localize(3255, "Close")),
|
|
902
907
|
icon: Codicon.close
|
|
903
908
|
});
|
|
904
909
|
appendEditorToolItem({
|
|
905
910
|
id: LOCK_GROUP_COMMAND_ID,
|
|
906
|
-
title: ( localize(
|
|
911
|
+
title: ( localize(3294, "Lock Group")),
|
|
907
912
|
icon: Codicon.unlock
|
|
908
913
|
}, ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))), CLOSE_ORDER - 1);
|
|
909
914
|
appendEditorToolItem({
|
|
910
915
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
911
|
-
title: ( localize(
|
|
916
|
+
title: ( localize(3295, "Unlock Group")),
|
|
912
917
|
icon: Codicon.lock,
|
|
913
918
|
toggled: ContextKeyExpr.true()
|
|
914
919
|
}, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
|
|
915
|
-
const previousChangeIcon = registerIcon("diff-editor-previous-change", Codicon.arrowUp, ( localize(
|
|
920
|
+
const previousChangeIcon = registerIcon("diff-editor-previous-change", Codicon.arrowUp, ( localize(3296, "Icon for the previous change action in the diff editor.")));
|
|
916
921
|
appendEditorToolItem({
|
|
917
922
|
id: GOTO_PREVIOUS_CHANGE,
|
|
918
|
-
title: ( localize(
|
|
923
|
+
title: ( localize(3297, "Previous Change")),
|
|
919
924
|
icon: previousChangeIcon
|
|
920
925
|
}, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges, true, true);
|
|
921
|
-
const nextChangeIcon = registerIcon("diff-editor-next-change", Codicon.arrowDown, ( localize(
|
|
926
|
+
const nextChangeIcon = registerIcon("diff-editor-next-change", Codicon.arrowDown, ( localize(3298, "Icon for the next change action in the diff editor.")));
|
|
922
927
|
appendEditorToolItem({
|
|
923
928
|
id: GOTO_NEXT_CHANGE,
|
|
924
|
-
title: ( localize(
|
|
929
|
+
title: ( localize(3299, "Next Change")),
|
|
925
930
|
icon: nextChangeIcon
|
|
926
931
|
}, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges, true, true);
|
|
927
932
|
appendEditorToolItem({
|
|
928
933
|
id: DIFF_SWAP_SIDES,
|
|
929
|
-
title: ( localize(
|
|
934
|
+
title: ( localize(3300, "Swap Left and Right Side")),
|
|
930
935
|
icon: Codicon.arrowSwap
|
|
931
936
|
}, ( ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext)), 15, undefined, undefined);
|
|
932
937
|
appendEditorToolItem({
|
|
933
938
|
id: ReOpenInTextEditorAction.ID,
|
|
934
|
-
title: ( localize(
|
|
939
|
+
title: ( localize(3301, "Reopen as Text")),
|
|
935
940
|
icon: Codicon.fileCode
|
|
936
941
|
}, ActiveCustomEditorTextDiffContext, 16, undefined, undefined);
|
|
937
|
-
const toggleWhitespace = registerIcon("diff-editor-toggle-whitespace", Codicon.whitespace, ( localize(
|
|
942
|
+
const toggleWhitespace = registerIcon("diff-editor-toggle-whitespace", Codicon.whitespace, ( localize(3302, "Icon for the toggle whitespace action in the diff editor.")));
|
|
938
943
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
939
944
|
command: {
|
|
940
945
|
id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
|
|
941
|
-
title: ( localize(
|
|
946
|
+
title: ( localize(3303, "Show Leading/Trailing Whitespace Differences")),
|
|
942
947
|
icon: toggleWhitespace,
|
|
943
948
|
precondition: TextCompareEditorActiveContext,
|
|
944
949
|
toggled: ( ContextKeyExpr.equals("config.diffEditor.ignoreTrimWhitespace", false))
|
|
@@ -950,7 +955,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
950
955
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
951
956
|
command: {
|
|
952
957
|
id: KEEP_EDITOR_COMMAND_ID,
|
|
953
|
-
title: ( localize2(
|
|
958
|
+
title: ( localize2(3304, "Keep Editor")),
|
|
954
959
|
category: Categories.View
|
|
955
960
|
},
|
|
956
961
|
when: ( ContextKeyExpr.has("config.workbench.editor.enablePreview"))
|
|
@@ -958,56 +963,56 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
958
963
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
959
964
|
command: {
|
|
960
965
|
id: PIN_EDITOR_COMMAND_ID,
|
|
961
|
-
title: ( localize2(
|
|
966
|
+
title: ( localize2(3305, "Pin Editor")),
|
|
962
967
|
category: Categories.View
|
|
963
968
|
}
|
|
964
969
|
});
|
|
965
970
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
966
971
|
command: {
|
|
967
972
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
968
|
-
title: ( localize2(
|
|
973
|
+
title: ( localize2(3306, "Unpin Editor")),
|
|
969
974
|
category: Categories.View
|
|
970
975
|
}
|
|
971
976
|
});
|
|
972
977
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
973
978
|
command: {
|
|
974
979
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
975
|
-
title: ( localize2(
|
|
980
|
+
title: ( localize2(3307, "Close Editor")),
|
|
976
981
|
category: Categories.View
|
|
977
982
|
}
|
|
978
983
|
});
|
|
979
984
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
980
985
|
command: {
|
|
981
986
|
id: CLOSE_PINNED_EDITOR_COMMAND_ID,
|
|
982
|
-
title: ( localize2(
|
|
987
|
+
title: ( localize2(3308, "Close Pinned Editor")),
|
|
983
988
|
category: Categories.View
|
|
984
989
|
}
|
|
985
990
|
});
|
|
986
991
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
987
992
|
command: {
|
|
988
993
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
989
|
-
title: ( localize2(
|
|
994
|
+
title: ( localize2(3309, "Close All Editors in Group")),
|
|
990
995
|
category: Categories.View
|
|
991
996
|
}
|
|
992
997
|
});
|
|
993
998
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
994
999
|
command: {
|
|
995
1000
|
id: CLOSE_SAVED_EDITORS_COMMAND_ID,
|
|
996
|
-
title: ( localize2(
|
|
1001
|
+
title: ( localize2(3310, "Close Saved Editors in Group")),
|
|
997
1002
|
category: Categories.View
|
|
998
1003
|
}
|
|
999
1004
|
});
|
|
1000
1005
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1001
1006
|
command: {
|
|
1002
1007
|
id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID,
|
|
1003
|
-
title: ( localize2(
|
|
1008
|
+
title: ( localize2(3311, "Close Other Editors in Group")),
|
|
1004
1009
|
category: Categories.View
|
|
1005
1010
|
}
|
|
1006
1011
|
});
|
|
1007
1012
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1008
1013
|
command: {
|
|
1009
1014
|
id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID,
|
|
1010
|
-
title: ( localize2(
|
|
1015
|
+
title: ( localize2(3312, "Close Editors to the Right in Group")),
|
|
1011
1016
|
category: Categories.View
|
|
1012
1017
|
},
|
|
1013
1018
|
when: ( ActiveEditorLastInGroupContext.toNegated())
|
|
@@ -1015,7 +1020,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
1015
1020
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1016
1021
|
command: {
|
|
1017
1022
|
id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID,
|
|
1018
|
-
title: ( localize2(
|
|
1023
|
+
title: ( localize2(3313, "Close Editor Group")),
|
|
1019
1024
|
category: Categories.View
|
|
1020
1025
|
},
|
|
1021
1026
|
when: MultipleEditorGroupsContext
|
|
@@ -1023,7 +1028,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
1023
1028
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1024
1029
|
command: {
|
|
1025
1030
|
id: REOPEN_WITH_COMMAND_ID,
|
|
1026
|
-
title: ( localize2(
|
|
1031
|
+
title: ( localize2(3270, "Reopen Editor With...")),
|
|
1027
1032
|
category: Categories.View
|
|
1028
1033
|
},
|
|
1029
1034
|
when: ActiveEditorAvailableEditorIdsContext
|
|
@@ -1032,7 +1037,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
1032
1037
|
group: "1_editor",
|
|
1033
1038
|
command: {
|
|
1034
1039
|
id: ReopenClosedEditorAction.ID,
|
|
1035
|
-
title: ( localize(
|
|
1040
|
+
title: ( localize(3314, "&&Reopen Closed Editor")),
|
|
1036
1041
|
precondition: ( ContextKeyExpr.has("canReopenClosedEditor"))
|
|
1037
1042
|
},
|
|
1038
1043
|
order: 1
|
|
@@ -1041,12 +1046,12 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
1041
1046
|
group: "z_clear",
|
|
1042
1047
|
command: {
|
|
1043
1048
|
id: ClearRecentFilesAction.ID,
|
|
1044
|
-
title: ( localize(
|
|
1049
|
+
title: ( localize(3315, "&&Clear Recently Opened..."))
|
|
1045
1050
|
},
|
|
1046
1051
|
order: 1
|
|
1047
1052
|
});
|
|
1048
1053
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
1049
|
-
title: ( localize(
|
|
1054
|
+
title: ( localize(3316, "Share")),
|
|
1050
1055
|
submenu: MenuId.MenubarShare,
|
|
1051
1056
|
group: "45_share",
|
|
1052
1057
|
order: 1,
|
|
@@ -1054,7 +1059,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
1054
1059
|
});
|
|
1055
1060
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
1056
1061
|
group: "2_appearance",
|
|
1057
|
-
title: ( localize(
|
|
1062
|
+
title: ( localize(3317, "Editor &&Layout")),
|
|
1058
1063
|
submenu: MenuId.MenubarLayoutMenu,
|
|
1059
1064
|
order: 2,
|
|
1060
1065
|
when: ( IsSessionsWindowContext.negate())
|
|
@@ -1064,8 +1069,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1064
1069
|
command: {
|
|
1065
1070
|
id: SPLIT_EDITOR_UP,
|
|
1066
1071
|
title: {
|
|
1067
|
-
...( localize2(
|
|
1068
|
-
mnemonicTitle: ( localize(
|
|
1072
|
+
...( localize2(3318, "Split Up")),
|
|
1073
|
+
mnemonicTitle: ( localize(3319, "Split &&Up"))
|
|
1069
1074
|
}
|
|
1070
1075
|
},
|
|
1071
1076
|
order: 1
|
|
@@ -1075,8 +1080,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1075
1080
|
command: {
|
|
1076
1081
|
id: SPLIT_EDITOR_DOWN,
|
|
1077
1082
|
title: {
|
|
1078
|
-
...( localize2(
|
|
1079
|
-
mnemonicTitle: ( localize(
|
|
1083
|
+
...( localize2(3320, "Split Down")),
|
|
1084
|
+
mnemonicTitle: ( localize(3321, "Split &&Down"))
|
|
1080
1085
|
}
|
|
1081
1086
|
},
|
|
1082
1087
|
order: 2
|
|
@@ -1086,8 +1091,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1086
1091
|
command: {
|
|
1087
1092
|
id: SPLIT_EDITOR_LEFT,
|
|
1088
1093
|
title: {
|
|
1089
|
-
...( localize2(
|
|
1090
|
-
mnemonicTitle: ( localize(
|
|
1094
|
+
...( localize2(3322, "Split Left")),
|
|
1095
|
+
mnemonicTitle: ( localize(3323, "Split &&Left"))
|
|
1091
1096
|
}
|
|
1092
1097
|
},
|
|
1093
1098
|
order: 3
|
|
@@ -1097,8 +1102,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1097
1102
|
command: {
|
|
1098
1103
|
id: SPLIT_EDITOR_RIGHT,
|
|
1099
1104
|
title: {
|
|
1100
|
-
...( localize2(
|
|
1101
|
-
mnemonicTitle: ( localize(
|
|
1105
|
+
...( localize2(3324, "Split Right")),
|
|
1106
|
+
mnemonicTitle: ( localize(3325, "Split &&Right"))
|
|
1102
1107
|
}
|
|
1103
1108
|
},
|
|
1104
1109
|
order: 4
|
|
@@ -1108,8 +1113,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1108
1113
|
command: {
|
|
1109
1114
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
1110
1115
|
title: {
|
|
1111
|
-
...( localize2(
|
|
1112
|
-
mnemonicTitle: ( localize(
|
|
1116
|
+
...( localize2(3326, "Split in Group")),
|
|
1117
|
+
mnemonicTitle: ( localize(3327, "Split in &&Group"))
|
|
1113
1118
|
}
|
|
1114
1119
|
},
|
|
1115
1120
|
when: ActiveEditorCanSplitInGroupContext,
|
|
@@ -1120,8 +1125,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1120
1125
|
command: {
|
|
1121
1126
|
id: JOIN_EDITOR_IN_GROUP,
|
|
1122
1127
|
title: {
|
|
1123
|
-
...( localize2(
|
|
1124
|
-
mnemonicTitle: ( localize(
|
|
1128
|
+
...( localize2(3328, "Join in Group")),
|
|
1129
|
+
mnemonicTitle: ( localize(3329, "Join in &&Group"))
|
|
1125
1130
|
}
|
|
1126
1131
|
},
|
|
1127
1132
|
when: SideBySideEditorActiveContext,
|
|
@@ -1132,8 +1137,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1132
1137
|
command: {
|
|
1133
1138
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
1134
1139
|
title: {
|
|
1135
|
-
...( localize2(
|
|
1136
|
-
mnemonicTitle: ( localize(
|
|
1140
|
+
...( localize2(3330, "Move Editor into New Window")),
|
|
1141
|
+
mnemonicTitle: ( localize(3331, "&&Move Editor into New Window"))
|
|
1137
1142
|
}
|
|
1138
1143
|
},
|
|
1139
1144
|
order: 1
|
|
@@ -1143,8 +1148,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1143
1148
|
command: {
|
|
1144
1149
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
1145
1150
|
title: {
|
|
1146
|
-
...( localize2(
|
|
1147
|
-
mnemonicTitle: ( localize(
|
|
1151
|
+
...( localize2(3332, "Copy Editor into New Window")),
|
|
1152
|
+
mnemonicTitle: ( localize(3333, "&&Copy Editor into New Window"))
|
|
1148
1153
|
}
|
|
1149
1154
|
},
|
|
1150
1155
|
order: 2
|
|
@@ -1154,8 +1159,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1154
1159
|
command: {
|
|
1155
1160
|
id: EditorLayoutSingleAction.ID,
|
|
1156
1161
|
title: {
|
|
1157
|
-
...( localize2(
|
|
1158
|
-
mnemonicTitle: ( localize(
|
|
1162
|
+
...( localize2(3334, "Single")),
|
|
1163
|
+
mnemonicTitle: ( localize(3335, "&&Single"))
|
|
1159
1164
|
}
|
|
1160
1165
|
},
|
|
1161
1166
|
order: 1
|
|
@@ -1165,8 +1170,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1165
1170
|
command: {
|
|
1166
1171
|
id: EditorLayoutTwoColumnsAction.ID,
|
|
1167
1172
|
title: {
|
|
1168
|
-
...( localize2(
|
|
1169
|
-
mnemonicTitle: ( localize(
|
|
1173
|
+
...( localize2(3336, "Two Columns")),
|
|
1174
|
+
mnemonicTitle: ( localize(3337, "&&Two Columns"))
|
|
1170
1175
|
}
|
|
1171
1176
|
},
|
|
1172
1177
|
order: 3
|
|
@@ -1176,8 +1181,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1176
1181
|
command: {
|
|
1177
1182
|
id: EditorLayoutThreeColumnsAction.ID,
|
|
1178
1183
|
title: {
|
|
1179
|
-
...( localize2(
|
|
1180
|
-
mnemonicTitle: ( localize(
|
|
1184
|
+
...( localize2(3338, "Three Columns")),
|
|
1185
|
+
mnemonicTitle: ( localize(3339, "T&&hree Columns"))
|
|
1181
1186
|
}
|
|
1182
1187
|
},
|
|
1183
1188
|
order: 4
|
|
@@ -1187,8 +1192,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1187
1192
|
command: {
|
|
1188
1193
|
id: EditorLayoutTwoRowsAction.ID,
|
|
1189
1194
|
title: {
|
|
1190
|
-
...( localize2(
|
|
1191
|
-
mnemonicTitle: ( localize(
|
|
1195
|
+
...( localize2(3340, "Two Rows")),
|
|
1196
|
+
mnemonicTitle: ( localize(3341, "T&&wo Rows"))
|
|
1192
1197
|
}
|
|
1193
1198
|
},
|
|
1194
1199
|
order: 5
|
|
@@ -1198,8 +1203,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1198
1203
|
command: {
|
|
1199
1204
|
id: EditorLayoutThreeRowsAction.ID,
|
|
1200
1205
|
title: {
|
|
1201
|
-
...( localize2(
|
|
1202
|
-
mnemonicTitle: ( localize(
|
|
1206
|
+
...( localize2(3342, "Three Rows")),
|
|
1207
|
+
mnemonicTitle: ( localize(3343, "Three &&Rows"))
|
|
1203
1208
|
}
|
|
1204
1209
|
},
|
|
1205
1210
|
order: 6
|
|
@@ -1209,8 +1214,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1209
1214
|
command: {
|
|
1210
1215
|
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
1211
1216
|
title: {
|
|
1212
|
-
...( localize2(
|
|
1213
|
-
mnemonicTitle: ( localize(
|
|
1217
|
+
...( localize2(3344, "Grid (2x2)")),
|
|
1218
|
+
mnemonicTitle: ( localize(3345, "&&Grid (2x2)"))
|
|
1214
1219
|
}
|
|
1215
1220
|
},
|
|
1216
1221
|
order: 7
|
|
@@ -1220,8 +1225,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1220
1225
|
command: {
|
|
1221
1226
|
id: EditorLayoutTwoRowsRightAction.ID,
|
|
1222
1227
|
title: {
|
|
1223
|
-
...( localize2(
|
|
1224
|
-
mnemonicTitle: ( localize(
|
|
1228
|
+
...( localize2(3346, "Two Rows Right")),
|
|
1229
|
+
mnemonicTitle: ( localize(3347, "Two R&&ows Right"))
|
|
1225
1230
|
}
|
|
1226
1231
|
},
|
|
1227
1232
|
order: 8
|
|
@@ -1231,8 +1236,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1231
1236
|
command: {
|
|
1232
1237
|
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
1233
1238
|
title: {
|
|
1234
|
-
...( localize2(
|
|
1235
|
-
mnemonicTitle: ( localize(
|
|
1239
|
+
...( localize2(3348, "Two Columns Bottom")),
|
|
1240
|
+
mnemonicTitle: ( localize(3349, "Two &&Columns Bottom"))
|
|
1236
1241
|
}
|
|
1237
1242
|
},
|
|
1238
1243
|
order: 9
|
|
@@ -1241,7 +1246,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
1241
1246
|
group: "1_history_nav",
|
|
1242
1247
|
command: {
|
|
1243
1248
|
id: "workbench.action.navigateToLastEditLocation",
|
|
1244
|
-
title: ( localize(
|
|
1249
|
+
title: ( localize(3350, "&&Last Edit Location")),
|
|
1245
1250
|
precondition: ( ContextKeyExpr.has("canNavigateToLastEditLocation"))
|
|
1246
1251
|
},
|
|
1247
1252
|
order: 3
|
|
@@ -1250,7 +1255,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1250
1255
|
group: "1_sideBySide",
|
|
1251
1256
|
command: {
|
|
1252
1257
|
id: FOCUS_FIRST_SIDE_EDITOR,
|
|
1253
|
-
title: ( localize(
|
|
1258
|
+
title: ( localize(3351, "&&First Side in Editor"))
|
|
1254
1259
|
},
|
|
1255
1260
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
1256
1261
|
order: 1
|
|
@@ -1259,7 +1264,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1259
1264
|
group: "1_sideBySide",
|
|
1260
1265
|
command: {
|
|
1261
1266
|
id: FOCUS_SECOND_SIDE_EDITOR,
|
|
1262
|
-
title: ( localize(
|
|
1267
|
+
title: ( localize(3352, "&&Second Side in Editor"))
|
|
1263
1268
|
},
|
|
1264
1269
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
1265
1270
|
order: 2
|
|
@@ -1268,7 +1273,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1268
1273
|
group: "2_any",
|
|
1269
1274
|
command: {
|
|
1270
1275
|
id: "workbench.action.nextEditor",
|
|
1271
|
-
title: ( localize(
|
|
1276
|
+
title: ( localize(3353, "&&Next Editor"))
|
|
1272
1277
|
},
|
|
1273
1278
|
order: 1
|
|
1274
1279
|
});
|
|
@@ -1276,7 +1281,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1276
1281
|
group: "2_any",
|
|
1277
1282
|
command: {
|
|
1278
1283
|
id: "workbench.action.previousEditor",
|
|
1279
|
-
title: ( localize(
|
|
1284
|
+
title: ( localize(3354, "&&Previous Editor"))
|
|
1280
1285
|
},
|
|
1281
1286
|
order: 2
|
|
1282
1287
|
});
|
|
@@ -1284,7 +1289,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1284
1289
|
group: "3_any_used",
|
|
1285
1290
|
command: {
|
|
1286
1291
|
id: "workbench.action.openNextRecentlyUsedEditor",
|
|
1287
|
-
title: ( localize(
|
|
1292
|
+
title: ( localize(3355, "&&Next Used Editor"))
|
|
1288
1293
|
},
|
|
1289
1294
|
order: 1
|
|
1290
1295
|
});
|
|
@@ -1292,7 +1297,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1292
1297
|
group: "3_any_used",
|
|
1293
1298
|
command: {
|
|
1294
1299
|
id: "workbench.action.openPreviousRecentlyUsedEditor",
|
|
1295
|
-
title: ( localize(
|
|
1300
|
+
title: ( localize(3356, "&&Previous Used Editor"))
|
|
1296
1301
|
},
|
|
1297
1302
|
order: 2
|
|
1298
1303
|
});
|
|
@@ -1300,7 +1305,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1300
1305
|
group: "4_group",
|
|
1301
1306
|
command: {
|
|
1302
1307
|
id: "workbench.action.nextEditorInGroup",
|
|
1303
|
-
title: ( localize(
|
|
1308
|
+
title: ( localize(3357, "&&Next Editor in Group"))
|
|
1304
1309
|
},
|
|
1305
1310
|
order: 1
|
|
1306
1311
|
});
|
|
@@ -1308,7 +1313,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1308
1313
|
group: "4_group",
|
|
1309
1314
|
command: {
|
|
1310
1315
|
id: "workbench.action.previousEditorInGroup",
|
|
1311
|
-
title: ( localize(
|
|
1316
|
+
title: ( localize(3358, "&&Previous Editor in Group"))
|
|
1312
1317
|
},
|
|
1313
1318
|
order: 2
|
|
1314
1319
|
});
|
|
@@ -1316,7 +1321,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1316
1321
|
group: "5_group_used",
|
|
1317
1322
|
command: {
|
|
1318
1323
|
id: "workbench.action.openNextRecentlyUsedEditorInGroup",
|
|
1319
|
-
title: ( localize(
|
|
1324
|
+
title: ( localize(3359, "&&Next Used Editor in Group"))
|
|
1320
1325
|
},
|
|
1321
1326
|
order: 1
|
|
1322
1327
|
});
|
|
@@ -1324,13 +1329,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1324
1329
|
group: "5_group_used",
|
|
1325
1330
|
command: {
|
|
1326
1331
|
id: "workbench.action.openPreviousRecentlyUsedEditorInGroup",
|
|
1327
|
-
title: ( localize(
|
|
1332
|
+
title: ( localize(3360, "&&Previous Used Editor in Group"))
|
|
1328
1333
|
},
|
|
1329
1334
|
order: 2
|
|
1330
1335
|
});
|
|
1331
1336
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1332
1337
|
group: "2_editor_nav",
|
|
1333
|
-
title: ( localize(
|
|
1338
|
+
title: ( localize(3361, "Switch &&Editor")),
|
|
1334
1339
|
submenu: MenuId.MenubarSwitchEditorMenu,
|
|
1335
1340
|
order: 1
|
|
1336
1341
|
});
|
|
@@ -1338,7 +1343,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1338
1343
|
group: "1_focus_index",
|
|
1339
1344
|
command: {
|
|
1340
1345
|
id: "workbench.action.focusFirstEditorGroup",
|
|
1341
|
-
title: ( localize(
|
|
1346
|
+
title: ( localize(3362, "Group &&1"))
|
|
1342
1347
|
},
|
|
1343
1348
|
order: 1
|
|
1344
1349
|
});
|
|
@@ -1346,7 +1351,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1346
1351
|
group: "1_focus_index",
|
|
1347
1352
|
command: {
|
|
1348
1353
|
id: "workbench.action.focusSecondEditorGroup",
|
|
1349
|
-
title: ( localize(
|
|
1354
|
+
title: ( localize(3363, "Group &&2"))
|
|
1350
1355
|
},
|
|
1351
1356
|
order: 2
|
|
1352
1357
|
});
|
|
@@ -1354,7 +1359,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1354
1359
|
group: "1_focus_index",
|
|
1355
1360
|
command: {
|
|
1356
1361
|
id: "workbench.action.focusThirdEditorGroup",
|
|
1357
|
-
title: ( localize(
|
|
1362
|
+
title: ( localize(3364, "Group &&3")),
|
|
1358
1363
|
precondition: MultipleEditorGroupsContext
|
|
1359
1364
|
},
|
|
1360
1365
|
order: 3
|
|
@@ -1363,7 +1368,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1363
1368
|
group: "1_focus_index",
|
|
1364
1369
|
command: {
|
|
1365
1370
|
id: "workbench.action.focusFourthEditorGroup",
|
|
1366
|
-
title: ( localize(
|
|
1371
|
+
title: ( localize(3365, "Group &&4")),
|
|
1367
1372
|
precondition: MultipleEditorGroupsContext
|
|
1368
1373
|
},
|
|
1369
1374
|
order: 4
|
|
@@ -1372,7 +1377,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1372
1377
|
group: "1_focus_index",
|
|
1373
1378
|
command: {
|
|
1374
1379
|
id: "workbench.action.focusFifthEditorGroup",
|
|
1375
|
-
title: ( localize(
|
|
1380
|
+
title: ( localize(3366, "Group &&5")),
|
|
1376
1381
|
precondition: MultipleEditorGroupsContext
|
|
1377
1382
|
},
|
|
1378
1383
|
order: 5
|
|
@@ -1381,7 +1386,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1381
1386
|
group: "2_next_prev",
|
|
1382
1387
|
command: {
|
|
1383
1388
|
id: "workbench.action.focusNextGroup",
|
|
1384
|
-
title: ( localize(
|
|
1389
|
+
title: ( localize(3367, "&&Next Group")),
|
|
1385
1390
|
precondition: MultipleEditorGroupsContext
|
|
1386
1391
|
},
|
|
1387
1392
|
order: 1
|
|
@@ -1390,7 +1395,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1390
1395
|
group: "2_next_prev",
|
|
1391
1396
|
command: {
|
|
1392
1397
|
id: "workbench.action.focusPreviousGroup",
|
|
1393
|
-
title: ( localize(
|
|
1398
|
+
title: ( localize(3368, "&&Previous Group")),
|
|
1394
1399
|
precondition: MultipleEditorGroupsContext
|
|
1395
1400
|
},
|
|
1396
1401
|
order: 2
|
|
@@ -1399,7 +1404,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1399
1404
|
group: "3_directional",
|
|
1400
1405
|
command: {
|
|
1401
1406
|
id: "workbench.action.focusLeftGroup",
|
|
1402
|
-
title: ( localize(
|
|
1407
|
+
title: ( localize(3369, "Group &&Left")),
|
|
1403
1408
|
precondition: MultipleEditorGroupsContext
|
|
1404
1409
|
},
|
|
1405
1410
|
order: 1
|
|
@@ -1408,7 +1413,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1408
1413
|
group: "3_directional",
|
|
1409
1414
|
command: {
|
|
1410
1415
|
id: "workbench.action.focusRightGroup",
|
|
1411
|
-
title: ( localize(
|
|
1416
|
+
title: ( localize(3370, "Group &&Right")),
|
|
1412
1417
|
precondition: MultipleEditorGroupsContext
|
|
1413
1418
|
},
|
|
1414
1419
|
order: 2
|
|
@@ -1417,7 +1422,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1417
1422
|
group: "3_directional",
|
|
1418
1423
|
command: {
|
|
1419
1424
|
id: "workbench.action.focusAboveGroup",
|
|
1420
|
-
title: ( localize(
|
|
1425
|
+
title: ( localize(3371, "Group &&Above")),
|
|
1421
1426
|
precondition: MultipleEditorGroupsContext
|
|
1422
1427
|
},
|
|
1423
1428
|
order: 3
|
|
@@ -1426,14 +1431,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1426
1431
|
group: "3_directional",
|
|
1427
1432
|
command: {
|
|
1428
1433
|
id: "workbench.action.focusBelowGroup",
|
|
1429
|
-
title: ( localize(
|
|
1434
|
+
title: ( localize(3372, "Group &&Below")),
|
|
1430
1435
|
precondition: MultipleEditorGroupsContext
|
|
1431
1436
|
},
|
|
1432
1437
|
order: 4
|
|
1433
1438
|
});
|
|
1434
1439
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1435
1440
|
group: "2_editor_nav",
|
|
1436
|
-
title: ( localize(
|
|
1441
|
+
title: ( localize(3373, "Switch &&Group")),
|
|
1437
1442
|
submenu: MenuId.MenubarSwitchGroupMenu,
|
|
1438
1443
|
order: 2
|
|
1439
1444
|
});
|