@codingame/monaco-vscode-view-common-service-override 27.0.0 → 28.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/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 +166 -166
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +8 -8
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +3 -3
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +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.js +8 -8
- 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
|
@@ -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(3169, "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(3170, "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(3171, "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(3172, "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(3173, "Type the name of an editor to open it.")),
|
|
83
83
|
helpEntries: [{
|
|
84
|
-
description: ( localize(
|
|
84
|
+
description: ( localize(3174, "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(3173, "Type the name of an editor to open it.")),
|
|
93
93
|
helpEntries: [{
|
|
94
|
-
description: ( localize(
|
|
94
|
+
description: ( localize(3175, "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(3173, "Type the name of an editor to open it.")),
|
|
103
103
|
helpEntries: [{
|
|
104
|
-
description: ( localize(
|
|
104
|
+
description: ( localize(3176, "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(3177, "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(3178, "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(3179, "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(3180, "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(3181, "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(3182, "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(3183, "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(3184, "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(3185, "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(3186, "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(3180, "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(3181, "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(3182, "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(3183, "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(3187, "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(3188, "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(3189, "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(3190, "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(3191, "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(3192, "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(3189, "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(3190, "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(3191, "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(3192, "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(3193, "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(3189, "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(3194, "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(3195, "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(3196, "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(3186, "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(3197, "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(3198, "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(3199, "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(3200, "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(3201, "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(3202, "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(3203, "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(3204, "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(3183, "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(3181, "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(3205, "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(3206, "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(3207, "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(3208, "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(3180, "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(3181, "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(3182, "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(3183, "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(3209, "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(3210, "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(3211, "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(3212, "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(3213, "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(3214, "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(3215, "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(3216, "Show Opened Editors"))
|
|
742
742
|
},
|
|
743
743
|
group: "3_open",
|
|
744
744
|
order: 10
|
|
@@ -746,7 +746,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
746
746
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
747
747
|
command: {
|
|
748
748
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
749
|
-
title: ( localize(
|
|
749
|
+
title: ( localize(3200, "Close All"))
|
|
750
750
|
},
|
|
751
751
|
group: "5_close",
|
|
752
752
|
order: 10
|
|
@@ -754,7 +754,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
754
754
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
755
755
|
command: {
|
|
756
756
|
id: CLOSE_SAVED_EDITORS_COMMAND_ID,
|
|
757
|
-
title: ( localize(
|
|
757
|
+
title: ( localize(3199, "Close Saved"))
|
|
758
758
|
},
|
|
759
759
|
group: "5_close",
|
|
760
760
|
order: 20
|
|
@@ -762,7 +762,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
762
762
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
763
763
|
command: {
|
|
764
764
|
id: TOGGLE_KEEP_EDITORS_COMMAND_ID,
|
|
765
|
-
title: ( localize(
|
|
765
|
+
title: ( localize(3217, "Enable Preview Editors")),
|
|
766
766
|
toggled: ( ContextKeyExpr.has("config.workbench.editor.enablePreview"))
|
|
767
767
|
},
|
|
768
768
|
group: "7_settings",
|
|
@@ -771,7 +771,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
771
771
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
772
772
|
command: {
|
|
773
773
|
id: TOGGLE_MAXIMIZE_EDITOR_GROUP,
|
|
774
|
-
title: ( localize(
|
|
774
|
+
title: ( localize(3218, "Maximize Group"))
|
|
775
775
|
},
|
|
776
776
|
group: "8_group_operations",
|
|
777
777
|
order: 5,
|
|
@@ -780,7 +780,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
780
780
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
781
781
|
command: {
|
|
782
782
|
id: TOGGLE_MAXIMIZE_EDITOR_GROUP,
|
|
783
|
-
title: ( localize(
|
|
783
|
+
title: ( localize(3219, "Unmaximize Group"))
|
|
784
784
|
},
|
|
785
785
|
group: "8_group_operations",
|
|
786
786
|
order: 5,
|
|
@@ -789,7 +789,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
789
789
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
790
790
|
command: {
|
|
791
791
|
id: TOGGLE_LOCK_GROUP_COMMAND_ID,
|
|
792
|
-
title: ( localize(
|
|
792
|
+
title: ( localize(3220, "Lock Group")),
|
|
793
793
|
toggled: ActiveEditorGroupLockedContext
|
|
794
794
|
},
|
|
795
795
|
group: "8_group_operations",
|
|
@@ -799,7 +799,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
799
799
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
800
800
|
command: {
|
|
801
801
|
id: ConfigureEditorAction.ID,
|
|
802
|
-
title: ( localize(
|
|
802
|
+
title: ( localize(3221, "Configure Editors"))
|
|
803
803
|
},
|
|
804
804
|
group: "9_configure",
|
|
805
805
|
order: 10
|
|
@@ -833,96 +833,96 @@ const SPLIT_ORDER = 100000;
|
|
|
833
833
|
const CLOSE_ORDER = 1000000;
|
|
834
834
|
appendEditorToolItem({
|
|
835
835
|
id: SPLIT_EDITOR,
|
|
836
|
-
title: ( localize(
|
|
836
|
+
title: ( localize(3222, "Split Editor Right")),
|
|
837
837
|
icon: Codicon.splitHorizontal
|
|
838
838
|
}, ( SplitEditorsVertically.negate()), SPLIT_ORDER, {
|
|
839
839
|
id: SPLIT_EDITOR_DOWN,
|
|
840
|
-
title: ( localize(
|
|
840
|
+
title: ( localize(3223, "Split Editor Down")),
|
|
841
841
|
icon: Codicon.splitVertical
|
|
842
842
|
});
|
|
843
843
|
appendEditorToolItem({
|
|
844
844
|
id: SPLIT_EDITOR,
|
|
845
|
-
title: ( localize(
|
|
845
|
+
title: ( localize(3223, "Split Editor Down")),
|
|
846
846
|
icon: Codicon.splitVertical
|
|
847
847
|
}, SplitEditorsVertically, SPLIT_ORDER, {
|
|
848
848
|
id: SPLIT_EDITOR_RIGHT,
|
|
849
|
-
title: ( localize(
|
|
849
|
+
title: ( localize(3222, "Split Editor Right")),
|
|
850
850
|
icon: Codicon.splitHorizontal
|
|
851
851
|
});
|
|
852
852
|
appendEditorToolItem({
|
|
853
853
|
id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
|
|
854
|
-
title: ( localize(
|
|
854
|
+
title: ( localize(3224, "Toggle Layout")),
|
|
855
855
|
icon: Codicon.editorLayout
|
|
856
856
|
}, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
|
|
857
857
|
appendEditorToolItem({
|
|
858
858
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
859
|
-
title: ( localize(
|
|
859
|
+
title: ( localize(3186, "Close")),
|
|
860
860
|
icon: Codicon.close
|
|
861
861
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
862
862
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
863
|
-
title: ( localize(
|
|
863
|
+
title: ( localize(3200, "Close All")),
|
|
864
864
|
icon: Codicon.closeAll
|
|
865
865
|
});
|
|
866
866
|
appendEditorToolItem({
|
|
867
867
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
868
|
-
title: ( localize(
|
|
868
|
+
title: ( localize(3186, "Close")),
|
|
869
869
|
icon: Codicon.closeDirty
|
|
870
870
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
|
|
871
871
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
872
|
-
title: ( localize(
|
|
872
|
+
title: ( localize(3200, "Close All")),
|
|
873
873
|
icon: Codicon.closeAll
|
|
874
874
|
});
|
|
875
875
|
appendEditorToolItem({
|
|
876
876
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
877
|
-
title: ( localize(
|
|
877
|
+
title: ( localize(3204, "Unpin")),
|
|
878
878
|
icon: Codicon.pinned
|
|
879
879
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
880
880
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
881
|
-
title: ( localize(
|
|
881
|
+
title: ( localize(3186, "Close")),
|
|
882
882
|
icon: Codicon.close
|
|
883
883
|
});
|
|
884
884
|
appendEditorToolItem({
|
|
885
885
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
886
|
-
title: ( localize(
|
|
886
|
+
title: ( localize(3204, "Unpin")),
|
|
887
887
|
icon: Codicon.pinnedDirty
|
|
888
888
|
}, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ActiveEditorStickyContext)), CLOSE_ORDER, {
|
|
889
889
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
890
|
-
title: ( localize(
|
|
890
|
+
title: ( localize(3186, "Close")),
|
|
891
891
|
icon: Codicon.close
|
|
892
892
|
});
|
|
893
893
|
appendEditorToolItem({
|
|
894
894
|
id: LOCK_GROUP_COMMAND_ID,
|
|
895
|
-
title: ( localize(
|
|
895
|
+
title: ( localize(3225, "Lock Group")),
|
|
896
896
|
icon: Codicon.unlock
|
|
897
897
|
}, ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))), CLOSE_ORDER - 1);
|
|
898
898
|
appendEditorToolItem({
|
|
899
899
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
900
|
-
title: ( localize(
|
|
900
|
+
title: ( localize(3226, "Unlock Group")),
|
|
901
901
|
icon: Codicon.lock,
|
|
902
902
|
toggled: ContextKeyExpr.true()
|
|
903
903
|
}, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
|
|
904
|
-
const previousChangeIcon = registerIcon("diff-editor-previous-change", Codicon.arrowUp, ( localize(
|
|
904
|
+
const previousChangeIcon = registerIcon("diff-editor-previous-change", Codicon.arrowUp, ( localize(3227, "Icon for the previous change action in the diff editor.")));
|
|
905
905
|
appendEditorToolItem({
|
|
906
906
|
id: GOTO_PREVIOUS_CHANGE,
|
|
907
|
-
title: ( localize(
|
|
907
|
+
title: ( localize(3228, "Previous Change")),
|
|
908
908
|
icon: previousChangeIcon
|
|
909
909
|
}, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges, true);
|
|
910
|
-
const nextChangeIcon = registerIcon("diff-editor-next-change", Codicon.arrowDown, ( localize(
|
|
910
|
+
const nextChangeIcon = registerIcon("diff-editor-next-change", Codicon.arrowDown, ( localize(3229, "Icon for the next change action in the diff editor.")));
|
|
911
911
|
appendEditorToolItem({
|
|
912
912
|
id: GOTO_NEXT_CHANGE,
|
|
913
|
-
title: ( localize(
|
|
913
|
+
title: ( localize(3230, "Next Change")),
|
|
914
914
|
icon: nextChangeIcon
|
|
915
915
|
}, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges, true);
|
|
916
916
|
appendEditorToolItem({
|
|
917
917
|
id: DIFF_SWAP_SIDES,
|
|
918
|
-
title: ( localize(
|
|
918
|
+
title: ( localize(3231, "Swap Left and Right Side")),
|
|
919
919
|
icon: Codicon.arrowSwap
|
|
920
920
|
}, ( ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext)), 15, undefined, undefined);
|
|
921
|
-
const toggleWhitespace = registerIcon("diff-editor-toggle-whitespace", Codicon.whitespace, ( localize(
|
|
921
|
+
const toggleWhitespace = registerIcon("diff-editor-toggle-whitespace", Codicon.whitespace, ( localize(3232, "Icon for the toggle whitespace action in the diff editor.")));
|
|
922
922
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
923
923
|
command: {
|
|
924
924
|
id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
|
|
925
|
-
title: ( localize(
|
|
925
|
+
title: ( localize(3233, "Show Leading/Trailing Whitespace Differences")),
|
|
926
926
|
icon: toggleWhitespace,
|
|
927
927
|
precondition: TextCompareEditorActiveContext,
|
|
928
928
|
toggled: ( ContextKeyExpr.equals("config.diffEditor.ignoreTrimWhitespace", false))
|
|
@@ -934,7 +934,7 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
934
934
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
935
935
|
command: {
|
|
936
936
|
id: KEEP_EDITOR_COMMAND_ID,
|
|
937
|
-
title: ( localize2(
|
|
937
|
+
title: ( localize2(3234, "Keep Editor")),
|
|
938
938
|
category: Categories.View
|
|
939
939
|
},
|
|
940
940
|
when: ( ContextKeyExpr.has("config.workbench.editor.enablePreview"))
|
|
@@ -942,56 +942,56 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
942
942
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
943
943
|
command: {
|
|
944
944
|
id: PIN_EDITOR_COMMAND_ID,
|
|
945
|
-
title: ( localize2(
|
|
945
|
+
title: ( localize2(3235, "Pin Editor")),
|
|
946
946
|
category: Categories.View
|
|
947
947
|
}
|
|
948
948
|
});
|
|
949
949
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
950
950
|
command: {
|
|
951
951
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
952
|
-
title: ( localize2(
|
|
952
|
+
title: ( localize2(3236, "Unpin Editor")),
|
|
953
953
|
category: Categories.View
|
|
954
954
|
}
|
|
955
955
|
});
|
|
956
956
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
957
957
|
command: {
|
|
958
958
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
959
|
-
title: ( localize2(
|
|
959
|
+
title: ( localize2(3237, "Close Editor")),
|
|
960
960
|
category: Categories.View
|
|
961
961
|
}
|
|
962
962
|
});
|
|
963
963
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
964
964
|
command: {
|
|
965
965
|
id: CLOSE_PINNED_EDITOR_COMMAND_ID,
|
|
966
|
-
title: ( localize2(
|
|
966
|
+
title: ( localize2(3238, "Close Pinned Editor")),
|
|
967
967
|
category: Categories.View
|
|
968
968
|
}
|
|
969
969
|
});
|
|
970
970
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
971
971
|
command: {
|
|
972
972
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
973
|
-
title: ( localize2(
|
|
973
|
+
title: ( localize2(3239, "Close All Editors in Group")),
|
|
974
974
|
category: Categories.View
|
|
975
975
|
}
|
|
976
976
|
});
|
|
977
977
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
978
978
|
command: {
|
|
979
979
|
id: CLOSE_SAVED_EDITORS_COMMAND_ID,
|
|
980
|
-
title: ( localize2(
|
|
980
|
+
title: ( localize2(3240, "Close Saved Editors in Group")),
|
|
981
981
|
category: Categories.View
|
|
982
982
|
}
|
|
983
983
|
});
|
|
984
984
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
985
985
|
command: {
|
|
986
986
|
id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID,
|
|
987
|
-
title: ( localize2(
|
|
987
|
+
title: ( localize2(3241, "Close Other Editors in Group")),
|
|
988
988
|
category: Categories.View
|
|
989
989
|
}
|
|
990
990
|
});
|
|
991
991
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
992
992
|
command: {
|
|
993
993
|
id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID,
|
|
994
|
-
title: ( localize2(
|
|
994
|
+
title: ( localize2(3242, "Close Editors to the Right in Group")),
|
|
995
995
|
category: Categories.View
|
|
996
996
|
},
|
|
997
997
|
when: ( ActiveEditorLastInGroupContext.toNegated())
|
|
@@ -999,7 +999,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
999
999
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1000
1000
|
command: {
|
|
1001
1001
|
id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID,
|
|
1002
|
-
title: ( localize2(
|
|
1002
|
+
title: ( localize2(3243, "Close Editor Group")),
|
|
1003
1003
|
category: Categories.View
|
|
1004
1004
|
},
|
|
1005
1005
|
when: MultipleEditorGroupsContext
|
|
@@ -1007,7 +1007,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
|
1007
1007
|
MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
|
|
1008
1008
|
command: {
|
|
1009
1009
|
id: REOPEN_WITH_COMMAND_ID,
|
|
1010
|
-
title: ( localize2(
|
|
1010
|
+
title: ( localize2(3201, "Reopen Editor With...")),
|
|
1011
1011
|
category: Categories.View
|
|
1012
1012
|
},
|
|
1013
1013
|
when: ActiveEditorAvailableEditorIdsContext
|
|
@@ -1016,7 +1016,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
1016
1016
|
group: "1_editor",
|
|
1017
1017
|
command: {
|
|
1018
1018
|
id: ReopenClosedEditorAction.ID,
|
|
1019
|
-
title: ( localize(
|
|
1019
|
+
title: ( localize(3244, "&&Reopen Closed Editor")),
|
|
1020
1020
|
precondition: ( ContextKeyExpr.has("canReopenClosedEditor"))
|
|
1021
1021
|
},
|
|
1022
1022
|
order: 1
|
|
@@ -1025,19 +1025,19 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
1025
1025
|
group: "z_clear",
|
|
1026
1026
|
command: {
|
|
1027
1027
|
id: ClearRecentFilesAction.ID,
|
|
1028
|
-
title: ( localize(
|
|
1028
|
+
title: ( localize(3245, "&&Clear Recently Opened..."))
|
|
1029
1029
|
},
|
|
1030
1030
|
order: 1
|
|
1031
1031
|
});
|
|
1032
1032
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
1033
|
-
title: ( localize(
|
|
1033
|
+
title: ( localize(3246, "Share")),
|
|
1034
1034
|
submenu: MenuId.MenubarShare,
|
|
1035
1035
|
group: "45_share",
|
|
1036
1036
|
order: 1
|
|
1037
1037
|
});
|
|
1038
1038
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
1039
1039
|
group: "2_appearance",
|
|
1040
|
-
title: ( localize(
|
|
1040
|
+
title: ( localize(3247, "Editor &&Layout")),
|
|
1041
1041
|
submenu: MenuId.MenubarLayoutMenu,
|
|
1042
1042
|
order: 2
|
|
1043
1043
|
});
|
|
@@ -1046,8 +1046,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1046
1046
|
command: {
|
|
1047
1047
|
id: SPLIT_EDITOR_UP,
|
|
1048
1048
|
title: {
|
|
1049
|
-
...( localize2(
|
|
1050
|
-
mnemonicTitle: ( localize(
|
|
1049
|
+
...( localize2(3248, "Split Up")),
|
|
1050
|
+
mnemonicTitle: ( localize(3249, "Split &&Up"))
|
|
1051
1051
|
}
|
|
1052
1052
|
},
|
|
1053
1053
|
order: 1
|
|
@@ -1057,8 +1057,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1057
1057
|
command: {
|
|
1058
1058
|
id: SPLIT_EDITOR_DOWN,
|
|
1059
1059
|
title: {
|
|
1060
|
-
...( localize2(
|
|
1061
|
-
mnemonicTitle: ( localize(
|
|
1060
|
+
...( localize2(3250, "Split Down")),
|
|
1061
|
+
mnemonicTitle: ( localize(3251, "Split &&Down"))
|
|
1062
1062
|
}
|
|
1063
1063
|
},
|
|
1064
1064
|
order: 2
|
|
@@ -1068,8 +1068,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1068
1068
|
command: {
|
|
1069
1069
|
id: SPLIT_EDITOR_LEFT,
|
|
1070
1070
|
title: {
|
|
1071
|
-
...( localize2(
|
|
1072
|
-
mnemonicTitle: ( localize(
|
|
1071
|
+
...( localize2(3252, "Split Left")),
|
|
1072
|
+
mnemonicTitle: ( localize(3253, "Split &&Left"))
|
|
1073
1073
|
}
|
|
1074
1074
|
},
|
|
1075
1075
|
order: 3
|
|
@@ -1079,8 +1079,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1079
1079
|
command: {
|
|
1080
1080
|
id: SPLIT_EDITOR_RIGHT,
|
|
1081
1081
|
title: {
|
|
1082
|
-
...( localize2(
|
|
1083
|
-
mnemonicTitle: ( localize(
|
|
1082
|
+
...( localize2(3254, "Split Right")),
|
|
1083
|
+
mnemonicTitle: ( localize(3255, "Split &&Right"))
|
|
1084
1084
|
}
|
|
1085
1085
|
},
|
|
1086
1086
|
order: 4
|
|
@@ -1090,8 +1090,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1090
1090
|
command: {
|
|
1091
1091
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
1092
1092
|
title: {
|
|
1093
|
-
...( localize2(
|
|
1094
|
-
mnemonicTitle: ( localize(
|
|
1093
|
+
...( localize2(3256, "Split in Group")),
|
|
1094
|
+
mnemonicTitle: ( localize(3257, "Split in &&Group"))
|
|
1095
1095
|
}
|
|
1096
1096
|
},
|
|
1097
1097
|
when: ActiveEditorCanSplitInGroupContext,
|
|
@@ -1102,8 +1102,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1102
1102
|
command: {
|
|
1103
1103
|
id: JOIN_EDITOR_IN_GROUP,
|
|
1104
1104
|
title: {
|
|
1105
|
-
...( localize2(
|
|
1106
|
-
mnemonicTitle: ( localize(
|
|
1105
|
+
...( localize2(3258, "Join in Group")),
|
|
1106
|
+
mnemonicTitle: ( localize(3259, "Join in &&Group"))
|
|
1107
1107
|
}
|
|
1108
1108
|
},
|
|
1109
1109
|
when: SideBySideEditorActiveContext,
|
|
@@ -1114,8 +1114,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1114
1114
|
command: {
|
|
1115
1115
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
1116
1116
|
title: {
|
|
1117
|
-
...( localize2(
|
|
1118
|
-
mnemonicTitle: ( localize(
|
|
1117
|
+
...( localize2(3260, "Move Editor into New Window")),
|
|
1118
|
+
mnemonicTitle: ( localize(3261, "&&Move Editor into New Window"))
|
|
1119
1119
|
}
|
|
1120
1120
|
},
|
|
1121
1121
|
order: 1
|
|
@@ -1125,8 +1125,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1125
1125
|
command: {
|
|
1126
1126
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
1127
1127
|
title: {
|
|
1128
|
-
...( localize2(
|
|
1129
|
-
mnemonicTitle: ( localize(
|
|
1128
|
+
...( localize2(3262, "Copy Editor into New Window")),
|
|
1129
|
+
mnemonicTitle: ( localize(3263, "&&Copy Editor into New Window"))
|
|
1130
1130
|
}
|
|
1131
1131
|
},
|
|
1132
1132
|
order: 2
|
|
@@ -1136,8 +1136,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1136
1136
|
command: {
|
|
1137
1137
|
id: EditorLayoutSingleAction.ID,
|
|
1138
1138
|
title: {
|
|
1139
|
-
...( localize2(
|
|
1140
|
-
mnemonicTitle: ( localize(
|
|
1139
|
+
...( localize2(3264, "Single")),
|
|
1140
|
+
mnemonicTitle: ( localize(3265, "&&Single"))
|
|
1141
1141
|
}
|
|
1142
1142
|
},
|
|
1143
1143
|
order: 1
|
|
@@ -1147,8 +1147,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1147
1147
|
command: {
|
|
1148
1148
|
id: EditorLayoutTwoColumnsAction.ID,
|
|
1149
1149
|
title: {
|
|
1150
|
-
...( localize2(
|
|
1151
|
-
mnemonicTitle: ( localize(
|
|
1150
|
+
...( localize2(3266, "Two Columns")),
|
|
1151
|
+
mnemonicTitle: ( localize(3267, "&&Two Columns"))
|
|
1152
1152
|
}
|
|
1153
1153
|
},
|
|
1154
1154
|
order: 3
|
|
@@ -1158,8 +1158,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1158
1158
|
command: {
|
|
1159
1159
|
id: EditorLayoutThreeColumnsAction.ID,
|
|
1160
1160
|
title: {
|
|
1161
|
-
...( localize2(
|
|
1162
|
-
mnemonicTitle: ( localize(
|
|
1161
|
+
...( localize2(3268, "Three Columns")),
|
|
1162
|
+
mnemonicTitle: ( localize(3269, "T&&hree Columns"))
|
|
1163
1163
|
}
|
|
1164
1164
|
},
|
|
1165
1165
|
order: 4
|
|
@@ -1169,8 +1169,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1169
1169
|
command: {
|
|
1170
1170
|
id: EditorLayoutTwoRowsAction.ID,
|
|
1171
1171
|
title: {
|
|
1172
|
-
...( localize2(
|
|
1173
|
-
mnemonicTitle: ( localize(
|
|
1172
|
+
...( localize2(3270, "Two Rows")),
|
|
1173
|
+
mnemonicTitle: ( localize(3271, "T&&wo Rows"))
|
|
1174
1174
|
}
|
|
1175
1175
|
},
|
|
1176
1176
|
order: 5
|
|
@@ -1180,8 +1180,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1180
1180
|
command: {
|
|
1181
1181
|
id: EditorLayoutThreeRowsAction.ID,
|
|
1182
1182
|
title: {
|
|
1183
|
-
...( localize2(
|
|
1184
|
-
mnemonicTitle: ( localize(
|
|
1183
|
+
...( localize2(3272, "Three Rows")),
|
|
1184
|
+
mnemonicTitle: ( localize(3273, "Three &&Rows"))
|
|
1185
1185
|
}
|
|
1186
1186
|
},
|
|
1187
1187
|
order: 6
|
|
@@ -1191,8 +1191,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1191
1191
|
command: {
|
|
1192
1192
|
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
1193
1193
|
title: {
|
|
1194
|
-
...( localize2(
|
|
1195
|
-
mnemonicTitle: ( localize(
|
|
1194
|
+
...( localize2(3274, "Grid (2x2)")),
|
|
1195
|
+
mnemonicTitle: ( localize(3275, "&&Grid (2x2)"))
|
|
1196
1196
|
}
|
|
1197
1197
|
},
|
|
1198
1198
|
order: 7
|
|
@@ -1202,8 +1202,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1202
1202
|
command: {
|
|
1203
1203
|
id: EditorLayoutTwoRowsRightAction.ID,
|
|
1204
1204
|
title: {
|
|
1205
|
-
...( localize2(
|
|
1206
|
-
mnemonicTitle: ( localize(
|
|
1205
|
+
...( localize2(3276, "Two Rows Right")),
|
|
1206
|
+
mnemonicTitle: ( localize(3277, "Two R&&ows Right"))
|
|
1207
1207
|
}
|
|
1208
1208
|
},
|
|
1209
1209
|
order: 8
|
|
@@ -1213,8 +1213,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
1213
1213
|
command: {
|
|
1214
1214
|
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
1215
1215
|
title: {
|
|
1216
|
-
...( localize2(
|
|
1217
|
-
mnemonicTitle: ( localize(
|
|
1216
|
+
...( localize2(3278, "Two Columns Bottom")),
|
|
1217
|
+
mnemonicTitle: ( localize(3279, "Two &&Columns Bottom"))
|
|
1218
1218
|
}
|
|
1219
1219
|
},
|
|
1220
1220
|
order: 9
|
|
@@ -1223,7 +1223,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
1223
1223
|
group: "1_history_nav",
|
|
1224
1224
|
command: {
|
|
1225
1225
|
id: "workbench.action.navigateToLastEditLocation",
|
|
1226
|
-
title: ( localize(
|
|
1226
|
+
title: ( localize(3280, "&&Last Edit Location")),
|
|
1227
1227
|
precondition: ( ContextKeyExpr.has("canNavigateToLastEditLocation"))
|
|
1228
1228
|
},
|
|
1229
1229
|
order: 3
|
|
@@ -1232,7 +1232,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1232
1232
|
group: "1_sideBySide",
|
|
1233
1233
|
command: {
|
|
1234
1234
|
id: FOCUS_FIRST_SIDE_EDITOR,
|
|
1235
|
-
title: ( localize(
|
|
1235
|
+
title: ( localize(3281, "&&First Side in Editor"))
|
|
1236
1236
|
},
|
|
1237
1237
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
1238
1238
|
order: 1
|
|
@@ -1241,7 +1241,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1241
1241
|
group: "1_sideBySide",
|
|
1242
1242
|
command: {
|
|
1243
1243
|
id: FOCUS_SECOND_SIDE_EDITOR,
|
|
1244
|
-
title: ( localize(
|
|
1244
|
+
title: ( localize(3282, "&&Second Side in Editor"))
|
|
1245
1245
|
},
|
|
1246
1246
|
when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
|
|
1247
1247
|
order: 2
|
|
@@ -1250,7 +1250,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1250
1250
|
group: "2_any",
|
|
1251
1251
|
command: {
|
|
1252
1252
|
id: "workbench.action.nextEditor",
|
|
1253
|
-
title: ( localize(
|
|
1253
|
+
title: ( localize(3283, "&&Next Editor"))
|
|
1254
1254
|
},
|
|
1255
1255
|
order: 1
|
|
1256
1256
|
});
|
|
@@ -1258,7 +1258,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1258
1258
|
group: "2_any",
|
|
1259
1259
|
command: {
|
|
1260
1260
|
id: "workbench.action.previousEditor",
|
|
1261
|
-
title: ( localize(
|
|
1261
|
+
title: ( localize(3284, "&&Previous Editor"))
|
|
1262
1262
|
},
|
|
1263
1263
|
order: 2
|
|
1264
1264
|
});
|
|
@@ -1266,7 +1266,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1266
1266
|
group: "3_any_used",
|
|
1267
1267
|
command: {
|
|
1268
1268
|
id: "workbench.action.openNextRecentlyUsedEditor",
|
|
1269
|
-
title: ( localize(
|
|
1269
|
+
title: ( localize(3285, "&&Next Used Editor"))
|
|
1270
1270
|
},
|
|
1271
1271
|
order: 1
|
|
1272
1272
|
});
|
|
@@ -1274,7 +1274,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1274
1274
|
group: "3_any_used",
|
|
1275
1275
|
command: {
|
|
1276
1276
|
id: "workbench.action.openPreviousRecentlyUsedEditor",
|
|
1277
|
-
title: ( localize(
|
|
1277
|
+
title: ( localize(3286, "&&Previous Used Editor"))
|
|
1278
1278
|
},
|
|
1279
1279
|
order: 2
|
|
1280
1280
|
});
|
|
@@ -1282,7 +1282,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1282
1282
|
group: "4_group",
|
|
1283
1283
|
command: {
|
|
1284
1284
|
id: "workbench.action.nextEditorInGroup",
|
|
1285
|
-
title: ( localize(
|
|
1285
|
+
title: ( localize(3287, "&&Next Editor in Group"))
|
|
1286
1286
|
},
|
|
1287
1287
|
order: 1
|
|
1288
1288
|
});
|
|
@@ -1290,7 +1290,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1290
1290
|
group: "4_group",
|
|
1291
1291
|
command: {
|
|
1292
1292
|
id: "workbench.action.previousEditorInGroup",
|
|
1293
|
-
title: ( localize(
|
|
1293
|
+
title: ( localize(3288, "&&Previous Editor in Group"))
|
|
1294
1294
|
},
|
|
1295
1295
|
order: 2
|
|
1296
1296
|
});
|
|
@@ -1298,7 +1298,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1298
1298
|
group: "5_group_used",
|
|
1299
1299
|
command: {
|
|
1300
1300
|
id: "workbench.action.openNextRecentlyUsedEditorInGroup",
|
|
1301
|
-
title: ( localize(
|
|
1301
|
+
title: ( localize(3289, "&&Next Used Editor in Group"))
|
|
1302
1302
|
},
|
|
1303
1303
|
order: 1
|
|
1304
1304
|
});
|
|
@@ -1306,13 +1306,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
1306
1306
|
group: "5_group_used",
|
|
1307
1307
|
command: {
|
|
1308
1308
|
id: "workbench.action.openPreviousRecentlyUsedEditorInGroup",
|
|
1309
|
-
title: ( localize(
|
|
1309
|
+
title: ( localize(3290, "&&Previous Used Editor in Group"))
|
|
1310
1310
|
},
|
|
1311
1311
|
order: 2
|
|
1312
1312
|
});
|
|
1313
1313
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1314
1314
|
group: "2_editor_nav",
|
|
1315
|
-
title: ( localize(
|
|
1315
|
+
title: ( localize(3291, "Switch &&Editor")),
|
|
1316
1316
|
submenu: MenuId.MenubarSwitchEditorMenu,
|
|
1317
1317
|
order: 1
|
|
1318
1318
|
});
|
|
@@ -1320,7 +1320,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1320
1320
|
group: "1_focus_index",
|
|
1321
1321
|
command: {
|
|
1322
1322
|
id: "workbench.action.focusFirstEditorGroup",
|
|
1323
|
-
title: ( localize(
|
|
1323
|
+
title: ( localize(3292, "Group &&1"))
|
|
1324
1324
|
},
|
|
1325
1325
|
order: 1
|
|
1326
1326
|
});
|
|
@@ -1328,7 +1328,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1328
1328
|
group: "1_focus_index",
|
|
1329
1329
|
command: {
|
|
1330
1330
|
id: "workbench.action.focusSecondEditorGroup",
|
|
1331
|
-
title: ( localize(
|
|
1331
|
+
title: ( localize(3293, "Group &&2"))
|
|
1332
1332
|
},
|
|
1333
1333
|
order: 2
|
|
1334
1334
|
});
|
|
@@ -1336,7 +1336,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1336
1336
|
group: "1_focus_index",
|
|
1337
1337
|
command: {
|
|
1338
1338
|
id: "workbench.action.focusThirdEditorGroup",
|
|
1339
|
-
title: ( localize(
|
|
1339
|
+
title: ( localize(3294, "Group &&3")),
|
|
1340
1340
|
precondition: MultipleEditorGroupsContext
|
|
1341
1341
|
},
|
|
1342
1342
|
order: 3
|
|
@@ -1345,7 +1345,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1345
1345
|
group: "1_focus_index",
|
|
1346
1346
|
command: {
|
|
1347
1347
|
id: "workbench.action.focusFourthEditorGroup",
|
|
1348
|
-
title: ( localize(
|
|
1348
|
+
title: ( localize(3295, "Group &&4")),
|
|
1349
1349
|
precondition: MultipleEditorGroupsContext
|
|
1350
1350
|
},
|
|
1351
1351
|
order: 4
|
|
@@ -1354,7 +1354,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1354
1354
|
group: "1_focus_index",
|
|
1355
1355
|
command: {
|
|
1356
1356
|
id: "workbench.action.focusFifthEditorGroup",
|
|
1357
|
-
title: ( localize(
|
|
1357
|
+
title: ( localize(3296, "Group &&5")),
|
|
1358
1358
|
precondition: MultipleEditorGroupsContext
|
|
1359
1359
|
},
|
|
1360
1360
|
order: 5
|
|
@@ -1363,7 +1363,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1363
1363
|
group: "2_next_prev",
|
|
1364
1364
|
command: {
|
|
1365
1365
|
id: "workbench.action.focusNextGroup",
|
|
1366
|
-
title: ( localize(
|
|
1366
|
+
title: ( localize(3297, "&&Next Group")),
|
|
1367
1367
|
precondition: MultipleEditorGroupsContext
|
|
1368
1368
|
},
|
|
1369
1369
|
order: 1
|
|
@@ -1372,7 +1372,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1372
1372
|
group: "2_next_prev",
|
|
1373
1373
|
command: {
|
|
1374
1374
|
id: "workbench.action.focusPreviousGroup",
|
|
1375
|
-
title: ( localize(
|
|
1375
|
+
title: ( localize(3298, "&&Previous Group")),
|
|
1376
1376
|
precondition: MultipleEditorGroupsContext
|
|
1377
1377
|
},
|
|
1378
1378
|
order: 2
|
|
@@ -1381,7 +1381,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1381
1381
|
group: "3_directional",
|
|
1382
1382
|
command: {
|
|
1383
1383
|
id: "workbench.action.focusLeftGroup",
|
|
1384
|
-
title: ( localize(
|
|
1384
|
+
title: ( localize(3299, "Group &&Left")),
|
|
1385
1385
|
precondition: MultipleEditorGroupsContext
|
|
1386
1386
|
},
|
|
1387
1387
|
order: 1
|
|
@@ -1390,7 +1390,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1390
1390
|
group: "3_directional",
|
|
1391
1391
|
command: {
|
|
1392
1392
|
id: "workbench.action.focusRightGroup",
|
|
1393
|
-
title: ( localize(
|
|
1393
|
+
title: ( localize(3300, "Group &&Right")),
|
|
1394
1394
|
precondition: MultipleEditorGroupsContext
|
|
1395
1395
|
},
|
|
1396
1396
|
order: 2
|
|
@@ -1399,7 +1399,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1399
1399
|
group: "3_directional",
|
|
1400
1400
|
command: {
|
|
1401
1401
|
id: "workbench.action.focusAboveGroup",
|
|
1402
|
-
title: ( localize(
|
|
1402
|
+
title: ( localize(3301, "Group &&Above")),
|
|
1403
1403
|
precondition: MultipleEditorGroupsContext
|
|
1404
1404
|
},
|
|
1405
1405
|
order: 3
|
|
@@ -1408,14 +1408,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
1408
1408
|
group: "3_directional",
|
|
1409
1409
|
command: {
|
|
1410
1410
|
id: "workbench.action.focusBelowGroup",
|
|
1411
|
-
title: ( localize(
|
|
1411
|
+
title: ( localize(3302, "Group &&Below")),
|
|
1412
1412
|
precondition: MultipleEditorGroupsContext
|
|
1413
1413
|
},
|
|
1414
1414
|
order: 4
|
|
1415
1415
|
});
|
|
1416
1416
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
1417
1417
|
group: "2_editor_nav",
|
|
1418
|
-
title: ( localize(
|
|
1418
|
+
title: ( localize(3303, "Switch &&Group")),
|
|
1419
1419
|
submenu: MenuId.MenubarSwitchGroupMenu,
|
|
1420
1420
|
order: 2
|
|
1421
1421
|
});
|