@codingame/monaco-vscode-view-common-service-override 34.1.3 → 35.0.1
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/sessions/common/theme.d.ts +2 -0
- package/vscode/src/vs/sessions/common/theme.js +40 -27
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +57 -57
- 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 +190 -170
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +28 -13
- 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/common/contributedCustomEditors.js +4 -4
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.d.ts +7 -7
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +26 -26
- 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 +4 -4
- 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 +2 -2
- 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/contrib/webviewView/browser/webviewViewPane.js +8 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +8 -8
- package/vscode/src/vs/workbench/services/history/browser/historyService.d.ts +5 -0
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +49 -18
- 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, EditorPartModalContext, EditorPartMaximizedEditorGroupContext, ActiveEditorDirtyContext, TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext, ActiveCustomEditorTextDiffContext
|
|
6
|
+
import { IsAuxiliaryWindowContext, ActiveEditorGroupLockedContext, EditorPartMultipleEditorGroupsContext, MultipleEditorGroupsContext, InEditorZenModeContext, EditorGroupEditorsCountContext, EditorTabsVisibleContext, ActiveEditorLastInGroupContext, MultipleEditorsSelectedInGroupContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorPinnedContext, ActiveEditorStickyContext, SplitEditorsVertically, ActiveEditorCanSplitInGroupContext, SideBySideEditorActiveContext, ActiveCustomEditorDiffCanToggleLayoutContext, EditorPartModalContext, EditorPartMaximizedEditorGroupContext, IsSessionsWindowContext, ActiveEditorDirtyContext, TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext, ActiveCustomEditorTextDiffContext } 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(3373, "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(3374, "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(3375, "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(3376, "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(3377, "Type the name of an editor to open it.")),
|
|
83
83
|
helpEntries: [{
|
|
84
|
-
description: ( localize(
|
|
84
|
+
description: ( localize(3378, "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(3377, "Type the name of an editor to open it.")),
|
|
93
93
|
helpEntries: [{
|
|
94
|
-
description: ( localize(
|
|
94
|
+
description: ( localize(3379, "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(3377, "Type the name of an editor to open it.")),
|
|
103
103
|
helpEntries: [{
|
|
104
|
-
description: ( localize(
|
|
104
|
+
description: ( localize(3380, "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(3381, "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(3382, "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(3383, "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(3384, "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(3385, "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(3386, "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(3387, "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(3388, "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(3389, "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(3390, "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(3384, "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(3385, "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(3386, "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(3387, "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(3391, "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(3392, "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(3393, "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(3394, "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(3395, "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(3396, "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(3393, "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(3394, "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(3395, "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(3396, "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(3397, "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(3393, "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(3398, "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(3399, "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(3400, "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(3390, "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(3401, "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(3402, "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(3403, "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(3404, "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(3405, "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(3406, "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(3407, "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(3408, "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(3387, "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(3385, "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(3409, "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(3410, "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(3411, "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(3412, "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(3384, "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(3385, "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(3386, "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(3387, "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(3413, "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(3414, "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(3415, "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(3416, "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(3417, "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(3418, "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(3419, "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(3420, "Show Opened Editors"))
|
|
742
742
|
},
|
|
743
743
|
group: "3_open",
|
|
744
744
|
order: 10,
|
|
@@ -747,7 +747,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
747
747
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
748
748
|
command: {
|
|
749
749
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
750
|
-
title: ( localize(
|
|
750
|
+
title: ( localize(3404, "Close All"))
|
|
751
751
|
},
|
|
752
752
|
group: "5_close",
|
|
753
753
|
order: 10,
|
|
@@ -756,7 +756,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
756
756
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
757
757
|
command: {
|
|
758
758
|
id: CLOSE_SAVED_EDITORS_COMMAND_ID,
|
|
759
|
-
title: ( localize(
|
|
759
|
+
title: ( localize(3403, "Close Saved"))
|
|
760
760
|
},
|
|
761
761
|
group: "5_close",
|
|
762
762
|
order: 20,
|
|
@@ -765,7 +765,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
765
765
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
766
766
|
command: {
|
|
767
767
|
id: TOGGLE_KEEP_EDITORS_COMMAND_ID,
|
|
768
|
-
title: ( localize(
|
|
768
|
+
title: ( localize(3421, "Enable Preview Editors")),
|
|
769
769
|
toggled: ( ContextKeyExpr.has("config.workbench.editor.enablePreview"))
|
|
770
770
|
},
|
|
771
771
|
group: "7_settings",
|
|
@@ -775,7 +775,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
775
775
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
776
776
|
command: {
|
|
777
777
|
id: TOGGLE_MAXIMIZE_EDITOR_GROUP,
|
|
778
|
-
title: ( localize(
|
|
778
|
+
title: ( localize(3422, "Maximize Group"))
|
|
779
779
|
},
|
|
780
780
|
group: "8_group_operations",
|
|
781
781
|
order: 5,
|
|
@@ -784,7 +784,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
784
784
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
785
785
|
command: {
|
|
786
786
|
id: TOGGLE_MAXIMIZE_EDITOR_GROUP,
|
|
787
|
-
title: ( localize(
|
|
787
|
+
title: ( localize(3423, "Unmaximize Group"))
|
|
788
788
|
},
|
|
789
789
|
group: "8_group_operations",
|
|
790
790
|
order: 5,
|
|
@@ -793,7 +793,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
793
793
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
794
794
|
command: {
|
|
795
795
|
id: TOGGLE_LOCK_GROUP_COMMAND_ID,
|
|
796
|
-
title: ( localize(
|
|
796
|
+
title: ( localize(3424, "Lock Group")),
|
|
797
797
|
toggled: ActiveEditorGroupLockedContext
|
|
798
798
|
},
|
|
799
799
|
group: "8_group_operations",
|
|
@@ -803,7 +803,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
803
803
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
804
804
|
command: {
|
|
805
805
|
id: ConfigureEditorAction.ID,
|
|
806
|
-
title: ( localize(
|
|
806
|
+
title: ( localize(3425, "Configure Editors"))
|
|
807
807
|
},
|
|
808
808
|
group: "9_configure",
|
|
809
809
|
order: 10,
|
|
@@ -849,101 +849,121 @@ const SPLIT_ORDER = 100000;
|
|
|
849
849
|
const CLOSE_ORDER = 1000000;
|
|
850
850
|
appendEditorToolItem({
|
|
851
851
|
id: SPLIT_EDITOR,
|
|
852
|
-
title: ( localize(
|
|
852
|
+
title: ( localize(3426, "Split Editor Right")),
|
|
853
853
|
icon: Codicon.splitHorizontal
|
|
854
|
-
}, ( SplitEditorsVertically.negate()), SPLIT_ORDER, {
|
|
854
|
+
}, ( ContextKeyExpr.and(( SplitEditorsVertically.negate()), ( IsSessionsWindowContext.toNegated()))), SPLIT_ORDER, {
|
|
855
855
|
id: SPLIT_EDITOR_DOWN,
|
|
856
|
-
title: ( localize(
|
|
856
|
+
title: ( localize(3427, "Split Editor Down")),
|
|
857
857
|
icon: Codicon.splitVertical
|
|
858
858
|
});
|
|
859
859
|
appendEditorToolItem({
|
|
860
860
|
id: SPLIT_EDITOR,
|
|
861
|
-
title: ( localize(
|
|
861
|
+
title: ( localize(3427, "Split Editor Down")),
|
|
862
862
|
icon: Codicon.splitVertical
|
|
863
|
-
}, SplitEditorsVertically, SPLIT_ORDER, {
|
|
863
|
+
}, ( ContextKeyExpr.and(SplitEditorsVertically, ( IsSessionsWindowContext.toNegated()))), SPLIT_ORDER, {
|
|
864
864
|
id: SPLIT_EDITOR_RIGHT,
|
|
865
|
-
title: ( localize(
|
|
865
|
+
title: ( localize(3426, "Split Editor Right")),
|
|
866
866
|
icon: Codicon.splitHorizontal
|
|
867
867
|
});
|
|
868
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
869
|
+
command: {
|
|
870
|
+
id: SPLIT_EDITOR,
|
|
871
|
+
title: ( localize(3426, "Split Editor Right")),
|
|
872
|
+
icon: Codicon.splitHorizontal
|
|
873
|
+
},
|
|
874
|
+
group: "4_split",
|
|
875
|
+
order: 10,
|
|
876
|
+
when: ( ContextKeyExpr.and(IsSessionsWindowContext, ( SplitEditorsVertically.negate())))
|
|
877
|
+
});
|
|
878
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
879
|
+
command: {
|
|
880
|
+
id: SPLIT_EDITOR,
|
|
881
|
+
title: ( localize(3427, "Split Editor Down")),
|
|
882
|
+
icon: Codicon.splitVertical
|
|
883
|
+
},
|
|
884
|
+
group: "4_split",
|
|
885
|
+
order: 10,
|
|
886
|
+
when: ( ContextKeyExpr.and(IsSessionsWindowContext, SplitEditorsVertically))
|
|
887
|
+
});
|
|
868
888
|
appendEditorToolItem({
|
|
869
889
|
id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
|
|
870
|
-
title: ( localize(
|
|
890
|
+
title: ( localize(3428, "Toggle Layout")),
|
|
871
891
|
icon: Codicon.editorLayout
|
|
872
892
|
}, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
|
|
873
893
|
appendEditorToolItem({
|
|
874
894
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
875
|
-
title: ( localize(
|
|
895
|
+
title: ( localize(3390, "Close")),
|
|
876
896
|
icon: Codicon.close
|
|
877
897
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
878
898
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
879
|
-
title: ( localize(
|
|
899
|
+
title: ( localize(3404, "Close All")),
|
|
880
900
|
icon: Codicon.closeAll
|
|
881
901
|
});
|
|
882
902
|
appendEditorToolItem({
|
|
883
903
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
884
|
-
title: ( localize(
|
|
904
|
+
title: ( localize(3390, "Close")),
|
|
885
905
|
icon: Codicon.closeDirty
|
|
886
906
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
887
907
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
888
|
-
title: ( localize(
|
|
908
|
+
title: ( localize(3404, "Close All")),
|
|
889
909
|
icon: Codicon.closeAll
|
|
890
910
|
});
|
|
891
911
|
appendEditorToolItem({
|
|
892
912
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
893
|
-
title: ( localize(
|
|
913
|
+
title: ( localize(3408, "Unpin")),
|
|
894
914
|
icon: Codicon.pinned
|
|
895
915
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
896
916
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
897
|
-
title: ( localize(
|
|
917
|
+
title: ( localize(3390, "Close")),
|
|
898
918
|
icon: Codicon.close
|
|
899
919
|
});
|
|
900
920
|
appendEditorToolItem({
|
|
901
921
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
902
|
-
title: ( localize(
|
|
922
|
+
title: ( localize(3408, "Unpin")),
|
|
903
923
|
icon: Codicon.pinnedDirty
|
|
904
924
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
905
925
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
906
|
-
title: ( localize(
|
|
926
|
+
title: ( localize(3390, "Close")),
|
|
907
927
|
icon: Codicon.close
|
|
908
928
|
});
|
|
909
929
|
appendEditorToolItem({
|
|
910
930
|
id: LOCK_GROUP_COMMAND_ID,
|
|
911
|
-
title: ( localize(
|
|
931
|
+
title: ( localize(3429, "Lock Group")),
|
|
912
932
|
icon: Codicon.unlock
|
|
913
933
|
}, ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))), CLOSE_ORDER - 1);
|
|
914
934
|
appendEditorToolItem({
|
|
915
935
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
916
|
-
title: ( localize(
|
|
936
|
+
title: ( localize(3430, "Unlock Group")),
|
|
917
937
|
icon: Codicon.lock,
|
|
918
938
|
toggled: ContextKeyExpr.true()
|
|
919
939
|
}, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
|
|
920
|
-
const previousChangeIcon = registerIcon("diff-editor-previous-change", Codicon.arrowUp, ( localize(
|
|
940
|
+
const previousChangeIcon = registerIcon("diff-editor-previous-change", Codicon.arrowUp, ( localize(3431, "Icon for the previous change action in the diff editor.")));
|
|
921
941
|
appendEditorToolItem({
|
|
922
942
|
id: GOTO_PREVIOUS_CHANGE,
|
|
923
|
-
title: ( localize(
|
|
943
|
+
title: ( localize(3432, "Previous Change")),
|
|
924
944
|
icon: previousChangeIcon
|
|
925
945
|
}, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges, true, true);
|
|
926
|
-
const nextChangeIcon = registerIcon("diff-editor-next-change", Codicon.arrowDown, ( localize(
|
|
946
|
+
const nextChangeIcon = registerIcon("diff-editor-next-change", Codicon.arrowDown, ( localize(3433, "Icon for the next change action in the diff editor.")));
|
|
927
947
|
appendEditorToolItem({
|
|
928
948
|
id: GOTO_NEXT_CHANGE,
|
|
929
|
-
title: ( localize(
|
|
949
|
+
title: ( localize(3434, "Next Change")),
|
|
930
950
|
icon: nextChangeIcon
|
|
931
951
|
}, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges, true, true);
|
|
932
952
|
appendEditorToolItem({
|
|
933
953
|
id: DIFF_SWAP_SIDES,
|
|
934
|
-
title: ( localize(
|
|
954
|
+
title: ( localize(3435, "Swap Left and Right Side")),
|
|
935
955
|
icon: Codicon.arrowSwap
|
|
936
956
|
}, ( ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext)), 15, undefined, undefined);
|
|
937
957
|
appendEditorToolItem({
|
|
938
958
|
id: ReOpenInTextEditorAction.ID,
|
|
939
|
-
title: ( localize(
|
|
959
|
+
title: ( localize(3436, "Reopen as Text")),
|
|
940
960
|
icon: Codicon.fileCode
|
|
941
961
|
}, ActiveCustomEditorTextDiffContext, 16, undefined, undefined, undefined, true);
|
|
942
|
-
const toggleWhitespace = registerIcon("diff-editor-toggle-whitespace", Codicon.whitespace, ( localize(
|
|
962
|
+
const toggleWhitespace = registerIcon("diff-editor-toggle-whitespace", Codicon.whitespace, ( localize(3437, "Icon for the toggle whitespace action in the diff editor.")));
|
|
943
963
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
944
964
|
command: {
|
|
945
965
|
id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
|
|
946
|
-
title: ( localize(
|
|
966
|
+
title: ( localize(3438, "Show Leading/Trailing Whitespace Differences")),
|
|
947
967
|
icon: toggleWhitespace,
|
|
948
968
|
precondition: TextCompareEditorActiveContext,
|
|
949
969
|
toggled: ( ContextKeyExpr.equals("config.diffEditor.ignoreTrimWhitespace", false))
|
|
@@ -955,7 +975,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
955
975
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
956
976
|
command: {
|
|
957
977
|
id: KEEP_EDITOR_COMMAND_ID,
|
|
958
|
-
title: ( localize2(
|
|
978
|
+
title: ( localize2(3439, "Keep Editor")),
|
|
959
979
|
category: Categories.View
|
|
960
980
|
},
|
|
961
981
|
when: ( ContextKeyExpr.has("config.workbench.editor.enablePreview"))
|
|
@@ -963,56 +983,56 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
963
983
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
964
984
|
command: {
|
|
965
985
|
id: PIN_EDITOR_COMMAND_ID,
|
|
966
|
-
title: ( localize2(
|
|
986
|
+
title: ( localize2(3440, "Pin Editor")),
|
|
967
987
|
category: Categories.View
|
|
968
988
|
}
|
|
969
989
|
});
|
|
970
990
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
971
991
|
command: {
|
|
972
992
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
973
|
-
title: ( localize2(
|
|
993
|
+
title: ( localize2(3441, "Unpin Editor")),
|
|
974
994
|
category: Categories.View
|
|
975
995
|
}
|
|
976
996
|
});
|
|
977
997
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
978
998
|
command: {
|
|
979
999
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
980
|
-
title: ( localize2(
|
|
1000
|
+
title: ( localize2(3442, "Close Editor")),
|
|
981
1001
|
category: Categories.View
|
|
982
1002
|
}
|
|
983
1003
|
});
|
|
984
1004
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
985
1005
|
command: {
|
|
986
1006
|
id: CLOSE_PINNED_EDITOR_COMMAND_ID,
|
|
987
|
-
title: ( localize2(
|
|
1007
|
+
title: ( localize2(3443, "Close Pinned Editor")),
|
|
988
1008
|
category: Categories.View
|
|
989
1009
|
}
|
|
990
1010
|
});
|
|
991
1011
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
992
1012
|
command: {
|
|
993
1013
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
994
|
-
title: ( localize2(
|
|
1014
|
+
title: ( localize2(3444, "Close All Editors in Group")),
|
|
995
1015
|
category: Categories.View
|
|
996
1016
|
}
|
|
997
1017
|
});
|
|
998
1018
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
999
1019
|
command: {
|
|
1000
1020
|
id: CLOSE_SAVED_EDITORS_COMMAND_ID,
|
|
1001
|
-
title: ( localize2(
|
|
1021
|
+
title: ( localize2(3445, "Close Saved Editors in Group")),
|
|
1002
1022
|
category: Categories.View
|
|
1003
1023
|
}
|
|
1004
1024
|
});
|
|
1005
1025
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1006
1026
|
command: {
|
|
1007
1027
|
id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID,
|
|
1008
|
-
title: ( localize2(
|
|
1028
|
+
title: ( localize2(3446, "Close Other Editors in Group")),
|
|
1009
1029
|
category: Categories.View
|
|
1010
1030
|
}
|
|
1011
1031
|
});
|
|
1012
1032
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1013
1033
|
command: {
|
|
1014
1034
|
id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID,
|
|
1015
|
-
title: ( localize2(
|
|
1035
|
+
title: ( localize2(3447, "Close Editors to the Right in Group")),
|
|
1016
1036
|
category: Categories.View
|
|
1017
1037
|
},
|
|
1018
1038
|
when: ( ActiveEditorLastInGroupContext.toNegated())
|
|
@@ -1020,7 +1040,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
1020
1040
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1021
1041
|
command: {
|
|
1022
1042
|
id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID,
|
|
1023
|
-
title: ( localize2(
|
|
1043
|
+
title: ( localize2(3448, "Close Editor Group")),
|
|
1024
1044
|
category: Categories.View
|
|
1025
1045
|
},
|
|
1026
1046
|
when: MultipleEditorGroupsContext
|
|
@@ -1028,7 +1048,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
1028
1048
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1029
1049
|
command: {
|
|
1030
1050
|
id: REOPEN_WITH_COMMAND_ID,
|
|
1031
|
-
title: ( localize2(
|
|
1051
|
+
title: ( localize2(3405, "Reopen Editor With...")),
|
|
1032
1052
|
category: Categories.View
|
|
1033
1053
|
},
|
|
1034
1054
|
when: ActiveEditorAvailableEditorIdsContext
|
|
@@ -1037,7 +1057,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
1037
1057
|
group: "1_editor",
|
|
1038
1058
|
command: {
|
|
1039
1059
|
id: ReopenClosedEditorAction.ID,
|
|
1040
|
-
title: ( localize(
|
|
1060
|
+
title: ( localize(3449, "&&Reopen Closed Editor")),
|
|
1041
1061
|
precondition: ( ContextKeyExpr.has("canReopenClosedEditor"))
|
|
1042
1062
|
},
|
|
1043
1063
|
order: 1
|
|
@@ -1046,12 +1066,12 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
1046
1066
|
group: "z_clear",
|
|
1047
1067
|
command: {
|
|
1048
1068
|
id: ClearRecentFilesAction.ID,
|
|
1049
|
-
title: ( localize(
|
|
1069
|
+
title: ( localize(3450, "&&Clear Recently Opened..."))
|
|
1050
1070
|
},
|
|
1051
1071
|
order: 1
|
|
1052
1072
|
});
|
|
1053
1073
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
1054
|
-
title: ( localize(
|
|
1074
|
+
title: ( localize(3451, "Share")),
|
|
1055
1075
|
submenu: MenuId.MenubarShare,
|
|
1056
1076
|
group: "45_share",
|
|
1057
1077
|
order: 1,
|
|
@@ -1059,7 +1079,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
|
1059
1079
|
});
|
|
1060
1080
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
1061
1081
|
group: "2_appearance",
|
|
1062
|
-
title: ( localize(
|
|
1082
|
+
title: ( localize(3452, "Editor &&Layout")),
|
|
1063
1083
|
submenu: MenuId.MenubarLayoutMenu,
|
|
1064
1084
|
order: 2,
|
|
1065
1085
|
when: ( IsSessionsWindowContext.negate())
|
|
@@ -1069,8 +1089,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1069
1089
|
command: {
|
|
1070
1090
|
id: SPLIT_EDITOR_UP,
|
|
1071
1091
|
title: {
|
|
1072
|
-
...( localize2(
|
|
1073
|
-
mnemonicTitle: ( localize(
|
|
1092
|
+
...( localize2(3453, "Split Up")),
|
|
1093
|
+
mnemonicTitle: ( localize(3454, "Split &&Up"))
|
|
1074
1094
|
}
|
|
1075
1095
|
},
|
|
1076
1096
|
order: 1
|
|
@@ -1080,8 +1100,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1080
1100
|
command: {
|
|
1081
1101
|
id: SPLIT_EDITOR_DOWN,
|
|
1082
1102
|
title: {
|
|
1083
|
-
...( localize2(
|
|
1084
|
-
mnemonicTitle: ( localize(
|
|
1103
|
+
...( localize2(3455, "Split Down")),
|
|
1104
|
+
mnemonicTitle: ( localize(3456, "Split &&Down"))
|
|
1085
1105
|
}
|
|
1086
1106
|
},
|
|
1087
1107
|
order: 2
|
|
@@ -1091,8 +1111,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1091
1111
|
command: {
|
|
1092
1112
|
id: SPLIT_EDITOR_LEFT,
|
|
1093
1113
|
title: {
|
|
1094
|
-
...( localize2(
|
|
1095
|
-
mnemonicTitle: ( localize(
|
|
1114
|
+
...( localize2(3457, "Split Left")),
|
|
1115
|
+
mnemonicTitle: ( localize(3458, "Split &&Left"))
|
|
1096
1116
|
}
|
|
1097
1117
|
},
|
|
1098
1118
|
order: 3
|
|
@@ -1102,8 +1122,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1102
1122
|
command: {
|
|
1103
1123
|
id: SPLIT_EDITOR_RIGHT,
|
|
1104
1124
|
title: {
|
|
1105
|
-
...( localize2(
|
|
1106
|
-
mnemonicTitle: ( localize(
|
|
1125
|
+
...( localize2(3459, "Split Right")),
|
|
1126
|
+
mnemonicTitle: ( localize(3460, "Split &&Right"))
|
|
1107
1127
|
}
|
|
1108
1128
|
},
|
|
1109
1129
|
order: 4
|
|
@@ -1113,8 +1133,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1113
1133
|
command: {
|
|
1114
1134
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
1115
1135
|
title: {
|
|
1116
|
-
...( localize2(
|
|
1117
|
-
mnemonicTitle: ( localize(
|
|
1136
|
+
...( localize2(3461, "Split in Group")),
|
|
1137
|
+
mnemonicTitle: ( localize(3462, "Split in &&Group"))
|
|
1118
1138
|
}
|
|
1119
1139
|
},
|
|
1120
1140
|
when: ActiveEditorCanSplitInGroupContext,
|
|
@@ -1125,8 +1145,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1125
1145
|
command: {
|
|
1126
1146
|
id: JOIN_EDITOR_IN_GROUP,
|
|
1127
1147
|
title: {
|
|
1128
|
-
...( localize2(
|
|
1129
|
-
mnemonicTitle: ( localize(
|
|
1148
|
+
...( localize2(3463, "Join in Group")),
|
|
1149
|
+
mnemonicTitle: ( localize(3464, "Join in &&Group"))
|
|
1130
1150
|
}
|
|
1131
1151
|
},
|
|
1132
1152
|
when: SideBySideEditorActiveContext,
|
|
@@ -1137,8 +1157,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1137
1157
|
command: {
|
|
1138
1158
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
1139
1159
|
title: {
|
|
1140
|
-
...( localize2(
|
|
1141
|
-
mnemonicTitle: ( localize(
|
|
1160
|
+
...( localize2(3465, "Move Editor into New Window")),
|
|
1161
|
+
mnemonicTitle: ( localize(3466, "&&Move Editor into New Window"))
|
|
1142
1162
|
}
|
|
1143
1163
|
},
|
|
1144
1164
|
order: 1
|
|
@@ -1148,8 +1168,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1148
1168
|
command: {
|
|
1149
1169
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
1150
1170
|
title: {
|
|
1151
|
-
...( localize2(
|
|
1152
|
-
mnemonicTitle: ( localize(
|
|
1171
|
+
...( localize2(3467, "Copy Editor into New Window")),
|
|
1172
|
+
mnemonicTitle: ( localize(3468, "&&Copy Editor into New Window"))
|
|
1153
1173
|
}
|
|
1154
1174
|
},
|
|
1155
1175
|
order: 2
|
|
@@ -1159,8 +1179,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1159
1179
|
command: {
|
|
1160
1180
|
id: EditorLayoutSingleAction.ID,
|
|
1161
1181
|
title: {
|
|
1162
|
-
...( localize2(
|
|
1163
|
-
mnemonicTitle: ( localize(
|
|
1182
|
+
...( localize2(3469, "Single")),
|
|
1183
|
+
mnemonicTitle: ( localize(3470, "&&Single"))
|
|
1164
1184
|
}
|
|
1165
1185
|
},
|
|
1166
1186
|
order: 1
|
|
@@ -1170,8 +1190,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1170
1190
|
command: {
|
|
1171
1191
|
id: EditorLayoutTwoColumnsAction.ID,
|
|
1172
1192
|
title: {
|
|
1173
|
-
...( localize2(
|
|
1174
|
-
mnemonicTitle: ( localize(
|
|
1193
|
+
...( localize2(3471, "Two Columns")),
|
|
1194
|
+
mnemonicTitle: ( localize(3472, "&&Two Columns"))
|
|
1175
1195
|
}
|
|
1176
1196
|
},
|
|
1177
1197
|
order: 3
|
|
@@ -1181,8 +1201,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1181
1201
|
command: {
|
|
1182
1202
|
id: EditorLayoutThreeColumnsAction.ID,
|
|
1183
1203
|
title: {
|
|
1184
|
-
...( localize2(
|
|
1185
|
-
mnemonicTitle: ( localize(
|
|
1204
|
+
...( localize2(3473, "Three Columns")),
|
|
1205
|
+
mnemonicTitle: ( localize(3474, "T&&hree Columns"))
|
|
1186
1206
|
}
|
|
1187
1207
|
},
|
|
1188
1208
|
order: 4
|
|
@@ -1192,8 +1212,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1192
1212
|
command: {
|
|
1193
1213
|
id: EditorLayoutTwoRowsAction.ID,
|
|
1194
1214
|
title: {
|
|
1195
|
-
...( localize2(
|
|
1196
|
-
mnemonicTitle: ( localize(
|
|
1215
|
+
...( localize2(3475, "Two Rows")),
|
|
1216
|
+
mnemonicTitle: ( localize(3476, "T&&wo Rows"))
|
|
1197
1217
|
}
|
|
1198
1218
|
},
|
|
1199
1219
|
order: 5
|
|
@@ -1203,8 +1223,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1203
1223
|
command: {
|
|
1204
1224
|
id: EditorLayoutThreeRowsAction.ID,
|
|
1205
1225
|
title: {
|
|
1206
|
-
...( localize2(
|
|
1207
|
-
mnemonicTitle: ( localize(
|
|
1226
|
+
...( localize2(3477, "Three Rows")),
|
|
1227
|
+
mnemonicTitle: ( localize(3478, "Three &&Rows"))
|
|
1208
1228
|
}
|
|
1209
1229
|
},
|
|
1210
1230
|
order: 6
|
|
@@ -1214,8 +1234,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1214
1234
|
command: {
|
|
1215
1235
|
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
1216
1236
|
title: {
|
|
1217
|
-
...( localize2(
|
|
1218
|
-
mnemonicTitle: ( localize(
|
|
1237
|
+
...( localize2(3479, "Grid (2x2)")),
|
|
1238
|
+
mnemonicTitle: ( localize(3480, "&&Grid (2x2)"))
|
|
1219
1239
|
}
|
|
1220
1240
|
},
|
|
1221
1241
|
order: 7
|
|
@@ -1225,8 +1245,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1225
1245
|
command: {
|
|
1226
1246
|
id: EditorLayoutTwoRowsRightAction.ID,
|
|
1227
1247
|
title: {
|
|
1228
|
-
...( localize2(
|
|
1229
|
-
mnemonicTitle: ( localize(
|
|
1248
|
+
...( localize2(3481, "Two Rows Right")),
|
|
1249
|
+
mnemonicTitle: ( localize(3482, "Two R&&ows Right"))
|
|
1230
1250
|
}
|
|
1231
1251
|
},
|
|
1232
1252
|
order: 8
|
|
@@ -1236,8 +1256,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1236
1256
|
command: {
|
|
1237
1257
|
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
1238
1258
|
title: {
|
|
1239
|
-
...( localize2(
|
|
1240
|
-
mnemonicTitle: ( localize(
|
|
1259
|
+
...( localize2(3483, "Two Columns Bottom")),
|
|
1260
|
+
mnemonicTitle: ( localize(3484, "Two &&Columns Bottom"))
|
|
1241
1261
|
}
|
|
1242
1262
|
},
|
|
1243
1263
|
order: 9
|
|
@@ -1246,7 +1266,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
1246
1266
|
group: "1_history_nav",
|
|
1247
1267
|
command: {
|
|
1248
1268
|
id: "workbench.action.navigateToLastEditLocation",
|
|
1249
|
-
title: ( localize(
|
|
1269
|
+
title: ( localize(3485, "&&Last Edit Location")),
|
|
1250
1270
|
precondition: ( ContextKeyExpr.has("canNavigateToLastEditLocation"))
|
|
1251
1271
|
},
|
|
1252
1272
|
order: 3
|
|
@@ -1255,7 +1275,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1255
1275
|
group: "1_sideBySide",
|
|
1256
1276
|
command: {
|
|
1257
1277
|
id: FOCUS_FIRST_SIDE_EDITOR,
|
|
1258
|
-
title: ( localize(
|
|
1278
|
+
title: ( localize(3486, "&&First Side in Editor"))
|
|
1259
1279
|
},
|
|
1260
1280
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
1261
1281
|
order: 1
|
|
@@ -1264,7 +1284,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1264
1284
|
group: "1_sideBySide",
|
|
1265
1285
|
command: {
|
|
1266
1286
|
id: FOCUS_SECOND_SIDE_EDITOR,
|
|
1267
|
-
title: ( localize(
|
|
1287
|
+
title: ( localize(3487, "&&Second Side in Editor"))
|
|
1268
1288
|
},
|
|
1269
1289
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
1270
1290
|
order: 2
|
|
@@ -1273,7 +1293,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1273
1293
|
group: "2_any",
|
|
1274
1294
|
command: {
|
|
1275
1295
|
id: "workbench.action.nextEditor",
|
|
1276
|
-
title: ( localize(
|
|
1296
|
+
title: ( localize(3488, "&&Next Editor"))
|
|
1277
1297
|
},
|
|
1278
1298
|
order: 1
|
|
1279
1299
|
});
|
|
@@ -1281,7 +1301,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1281
1301
|
group: "2_any",
|
|
1282
1302
|
command: {
|
|
1283
1303
|
id: "workbench.action.previousEditor",
|
|
1284
|
-
title: ( localize(
|
|
1304
|
+
title: ( localize(3489, "&&Previous Editor"))
|
|
1285
1305
|
},
|
|
1286
1306
|
order: 2
|
|
1287
1307
|
});
|
|
@@ -1289,7 +1309,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1289
1309
|
group: "3_any_used",
|
|
1290
1310
|
command: {
|
|
1291
1311
|
id: "workbench.action.openNextRecentlyUsedEditor",
|
|
1292
|
-
title: ( localize(
|
|
1312
|
+
title: ( localize(3490, "&&Next Used Editor"))
|
|
1293
1313
|
},
|
|
1294
1314
|
order: 1
|
|
1295
1315
|
});
|
|
@@ -1297,7 +1317,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1297
1317
|
group: "3_any_used",
|
|
1298
1318
|
command: {
|
|
1299
1319
|
id: "workbench.action.openPreviousRecentlyUsedEditor",
|
|
1300
|
-
title: ( localize(
|
|
1320
|
+
title: ( localize(3491, "&&Previous Used Editor"))
|
|
1301
1321
|
},
|
|
1302
1322
|
order: 2
|
|
1303
1323
|
});
|
|
@@ -1305,7 +1325,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1305
1325
|
group: "4_group",
|
|
1306
1326
|
command: {
|
|
1307
1327
|
id: "workbench.action.nextEditorInGroup",
|
|
1308
|
-
title: ( localize(
|
|
1328
|
+
title: ( localize(3492, "&&Next Editor in Group"))
|
|
1309
1329
|
},
|
|
1310
1330
|
order: 1
|
|
1311
1331
|
});
|
|
@@ -1313,7 +1333,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1313
1333
|
group: "4_group",
|
|
1314
1334
|
command: {
|
|
1315
1335
|
id: "workbench.action.previousEditorInGroup",
|
|
1316
|
-
title: ( localize(
|
|
1336
|
+
title: ( localize(3493, "&&Previous Editor in Group"))
|
|
1317
1337
|
},
|
|
1318
1338
|
order: 2
|
|
1319
1339
|
});
|
|
@@ -1321,7 +1341,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1321
1341
|
group: "5_group_used",
|
|
1322
1342
|
command: {
|
|
1323
1343
|
id: "workbench.action.openNextRecentlyUsedEditorInGroup",
|
|
1324
|
-
title: ( localize(
|
|
1344
|
+
title: ( localize(3494, "&&Next Used Editor in Group"))
|
|
1325
1345
|
},
|
|
1326
1346
|
order: 1
|
|
1327
1347
|
});
|
|
@@ -1329,13 +1349,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1329
1349
|
group: "5_group_used",
|
|
1330
1350
|
command: {
|
|
1331
1351
|
id: "workbench.action.openPreviousRecentlyUsedEditorInGroup",
|
|
1332
|
-
title: ( localize(
|
|
1352
|
+
title: ( localize(3495, "&&Previous Used Editor in Group"))
|
|
1333
1353
|
},
|
|
1334
1354
|
order: 2
|
|
1335
1355
|
});
|
|
1336
1356
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1337
1357
|
group: "2_editor_nav",
|
|
1338
|
-
title: ( localize(
|
|
1358
|
+
title: ( localize(3496, "Switch &&Editor")),
|
|
1339
1359
|
submenu: MenuId.MenubarSwitchEditorMenu,
|
|
1340
1360
|
order: 1
|
|
1341
1361
|
});
|
|
@@ -1343,7 +1363,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1343
1363
|
group: "1_focus_index",
|
|
1344
1364
|
command: {
|
|
1345
1365
|
id: "workbench.action.focusFirstEditorGroup",
|
|
1346
|
-
title: ( localize(
|
|
1366
|
+
title: ( localize(3497, "Group &&1"))
|
|
1347
1367
|
},
|
|
1348
1368
|
order: 1
|
|
1349
1369
|
});
|
|
@@ -1351,7 +1371,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1351
1371
|
group: "1_focus_index",
|
|
1352
1372
|
command: {
|
|
1353
1373
|
id: "workbench.action.focusSecondEditorGroup",
|
|
1354
|
-
title: ( localize(
|
|
1374
|
+
title: ( localize(3498, "Group &&2"))
|
|
1355
1375
|
},
|
|
1356
1376
|
order: 2
|
|
1357
1377
|
});
|
|
@@ -1359,7 +1379,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1359
1379
|
group: "1_focus_index",
|
|
1360
1380
|
command: {
|
|
1361
1381
|
id: "workbench.action.focusThirdEditorGroup",
|
|
1362
|
-
title: ( localize(
|
|
1382
|
+
title: ( localize(3499, "Group &&3")),
|
|
1363
1383
|
precondition: MultipleEditorGroupsContext
|
|
1364
1384
|
},
|
|
1365
1385
|
order: 3
|
|
@@ -1368,7 +1388,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1368
1388
|
group: "1_focus_index",
|
|
1369
1389
|
command: {
|
|
1370
1390
|
id: "workbench.action.focusFourthEditorGroup",
|
|
1371
|
-
title: ( localize(
|
|
1391
|
+
title: ( localize(3500, "Group &&4")),
|
|
1372
1392
|
precondition: MultipleEditorGroupsContext
|
|
1373
1393
|
},
|
|
1374
1394
|
order: 4
|
|
@@ -1377,7 +1397,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1377
1397
|
group: "1_focus_index",
|
|
1378
1398
|
command: {
|
|
1379
1399
|
id: "workbench.action.focusFifthEditorGroup",
|
|
1380
|
-
title: ( localize(
|
|
1400
|
+
title: ( localize(3501, "Group &&5")),
|
|
1381
1401
|
precondition: MultipleEditorGroupsContext
|
|
1382
1402
|
},
|
|
1383
1403
|
order: 5
|
|
@@ -1386,7 +1406,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1386
1406
|
group: "2_next_prev",
|
|
1387
1407
|
command: {
|
|
1388
1408
|
id: "workbench.action.focusNextGroup",
|
|
1389
|
-
title: ( localize(
|
|
1409
|
+
title: ( localize(3502, "&&Next Group")),
|
|
1390
1410
|
precondition: MultipleEditorGroupsContext
|
|
1391
1411
|
},
|
|
1392
1412
|
order: 1
|
|
@@ -1395,7 +1415,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1395
1415
|
group: "2_next_prev",
|
|
1396
1416
|
command: {
|
|
1397
1417
|
id: "workbench.action.focusPreviousGroup",
|
|
1398
|
-
title: ( localize(
|
|
1418
|
+
title: ( localize(3503, "&&Previous Group")),
|
|
1399
1419
|
precondition: MultipleEditorGroupsContext
|
|
1400
1420
|
},
|
|
1401
1421
|
order: 2
|
|
@@ -1404,7 +1424,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1404
1424
|
group: "3_directional",
|
|
1405
1425
|
command: {
|
|
1406
1426
|
id: "workbench.action.focusLeftGroup",
|
|
1407
|
-
title: ( localize(
|
|
1427
|
+
title: ( localize(3504, "Group &&Left")),
|
|
1408
1428
|
precondition: MultipleEditorGroupsContext
|
|
1409
1429
|
},
|
|
1410
1430
|
order: 1
|
|
@@ -1413,7 +1433,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1413
1433
|
group: "3_directional",
|
|
1414
1434
|
command: {
|
|
1415
1435
|
id: "workbench.action.focusRightGroup",
|
|
1416
|
-
title: ( localize(
|
|
1436
|
+
title: ( localize(3505, "Group &&Right")),
|
|
1417
1437
|
precondition: MultipleEditorGroupsContext
|
|
1418
1438
|
},
|
|
1419
1439
|
order: 2
|
|
@@ -1422,7 +1442,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1422
1442
|
group: "3_directional",
|
|
1423
1443
|
command: {
|
|
1424
1444
|
id: "workbench.action.focusAboveGroup",
|
|
1425
|
-
title: ( localize(
|
|
1445
|
+
title: ( localize(3506, "Group &&Above")),
|
|
1426
1446
|
precondition: MultipleEditorGroupsContext
|
|
1427
1447
|
},
|
|
1428
1448
|
order: 3
|
|
@@ -1431,14 +1451,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1431
1451
|
group: "3_directional",
|
|
1432
1452
|
command: {
|
|
1433
1453
|
id: "workbench.action.focusBelowGroup",
|
|
1434
|
-
title: ( localize(
|
|
1454
|
+
title: ( localize(3507, "Group &&Below")),
|
|
1435
1455
|
precondition: MultipleEditorGroupsContext
|
|
1436
1456
|
},
|
|
1437
1457
|
order: 4
|
|
1438
1458
|
});
|
|
1439
1459
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1440
1460
|
group: "2_editor_nav",
|
|
1441
|
-
title: ( localize(
|
|
1461
|
+
title: ( localize(3508, "Switch &&Group")),
|
|
1442
1462
|
submenu: MenuId.MenubarSwitchGroupMenu,
|
|
1443
1463
|
order: 2
|
|
1444
1464
|
});
|