@codingame/monaco-vscode-view-common-service-override 17.2.1 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/index.js +2 -2
  2. package/package.json +43 -42
  3. package/service-override/vs/workbench/contrib/webview/browser/pre/service-worker.js +328 -444
  4. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +59 -59
  5. package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
  6. package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
  7. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +170 -167
  8. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +10 -9
  9. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
  10. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +5 -5
  11. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
  12. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.d.ts +1 -1
  14. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +2 -2
  15. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +2 -2
  16. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
  17. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +12 -12
  18. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +7 -7
  19. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
  20. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +30 -30
  21. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
  22. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +4 -4
  23. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorAccessibilityHelp.js +5 -5
  24. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
  25. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.d.ts +3 -3
  26. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +8 -9
  27. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +5 -5
  28. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +3 -3
  29. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.d.ts +2 -2
  30. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +15 -14
  31. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +10 -10
  32. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +3 -3
  33. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.d.ts +1 -1
  34. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +5 -4
  35. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +3 -3
  36. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.d.ts +5 -5
  37. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +7 -9
  38. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewZones.js +3 -3
  39. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +13 -13
  40. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
  41. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
  42. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +5 -5
  43. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
  44. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.d.ts +1 -1
  45. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +1 -1
  46. package/vscode/src/vs/workbench/contrib/webview/browser/themeing.d.ts +2 -2
  47. package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +1 -1
  48. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.d.ts +1 -1
  49. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +2 -2
  50. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +1 -1
  51. package/vscode/src/vs/workbench/contrib/webview/browser/webviewService.d.ts +1 -1
  52. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +7 -7
  53. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.d.ts +2 -2
  54. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInputSerializer.js +1 -1
  55. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +3 -3
  56. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.d.ts +1 -1
  57. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +5 -5
  58. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.d.ts +1 -1
  59. package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +1 -1
  60. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +15 -11
  61. package/vscode/src/vs/workbench/services/history/browser/historyService.js +10 -10
  62. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +11 -11
  63. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.d.ts +2 -2
  64. package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorHandler.js +2 -2
  65. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +9 -9
  66. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +4 -4
@@ -1,15 +1,15 @@
1
1
 
2
2
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
3
3
  import { localize, localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
4
- import { EditorPaneDescriptor } from '@codingame/monaco-vscode-d0fb86d3-2a47-594e-955b-9a24631a7124-common/vscode/vs/workbench/browser/editor';
4
+ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-dcfc2191-2da1-54c7-8fb7-e92c5d11ecef-common/vscode/vs/workbench/browser/editor';
5
5
  import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
6
- import { IsAuxiliaryEditorPartContext, ActiveEditorGroupLockedContext, EditorPartMultipleEditorGroupsContext, MultipleEditorGroupsContext, InEditorZenModeContext, EditorGroupEditorsCountContext, EditorTabsVisibleContext, ActiveEditorLastInGroupContext, MultipleEditorsSelectedInGroupContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorPinnedContext, ActiveEditorStickyContext, ActiveEditorCanSplitInGroupContext, SideBySideEditorActiveContext, EditorPartMaximizedEditorGroupContext, ActiveEditorDirtyContext, TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
6
+ import { IsAuxiliaryWindowContext, ActiveEditorGroupLockedContext, EditorPartMultipleEditorGroupsContext, MultipleEditorGroupsContext, InEditorZenModeContext, EditorGroupEditorsCountContext, EditorTabsVisibleContext, ActiveEditorLastInGroupContext, MultipleEditorsSelectedInGroupContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorPinnedContext, ActiveEditorStickyContext, ActiveEditorCanSplitInGroupContext, SideBySideEditorActiveContext, EditorPartMaximizedEditorGroupContext, ActiveEditorDirtyContext, TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
7
7
  import { SideBySideEditorInput, SideBySideEditorInputSerializer } from '@codingame/monaco-vscode-9c72783f-914c-50be-b9ef-da16356d81a8-common/vscode/vs/workbench/common/editor/sideBySideEditorInput';
8
8
  import { TextResourceEditor } from '@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common/vscode/vs/workbench/browser/parts/editor/textResourceEditor';
9
9
  import { SideBySideEditor } from '@codingame/monaco-vscode-95ea5c7c-15cf-50aa-8e24-38039b06b4a6-common/vscode/vs/workbench/browser/parts/editor/sideBySideEditor';
10
10
  import { DiffEditorInput, DiffEditorInputSerializer } from '@codingame/monaco-vscode-9c72783f-914c-50be-b9ef-da16356d81a8-common/vscode/vs/workbench/common/editor/diffEditorInput';
11
- import { UntitledTextEditorInput } from '@codingame/monaco-vscode-5945a5e2-a66c-5a82-bd2c-1965724b29eb-common/vscode/vs/workbench/services/untitled/common/untitledTextEditorInput';
12
- import { TextResourceEditorInput } from '@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/common/editor/textResourceEditorInput';
11
+ import { UntitledTextEditorInput } from '@codingame/monaco-vscode-f5d4b045-44e8-55a8-b683-308656a412fa-common/vscode/vs/workbench/services/untitled/common/untitledTextEditorInput';
12
+ import { TextResourceEditorInput } from '@codingame/monaco-vscode-4ee27008-17b4-593f-9c09-19e8e3077f51-common/vscode/vs/workbench/common/editor/textResourceEditorInput';
13
13
  import { TextDiffEditor } from '@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common/vscode/vs/workbench/browser/parts/editor/textDiffEditor';
14
14
  import { BinaryResourceDiffEditor } from '@codingame/monaco-vscode-3109a756-1f83-5d09-945b-9f0fcad928f0-common/vscode/vs/workbench/browser/parts/editor/binaryDiffEditor';
15
15
  import { EditorStatusContribution, ChangeLanguageAction, ChangeEOLAction, ChangeEncodingAction } from '@codingame/monaco-vscode-3109a756-1f83-5d09-945b-9f0fcad928f0-common/vscode/vs/workbench/browser/parts/editor/editorStatus';
@@ -40,17 +40,17 @@ import { getFontSnippets } from '@codingame/monaco-vscode-api/vscode/vs/base/bro
40
40
  import { registerEditorFontConfigurations } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/config/editorConfigurationSchema';
41
41
  import '@codingame/monaco-vscode-b1e8558d-1726-5299-bc75-e43ee6d1a124-common/vscode/vs/workbench/browser/parts/editor/editor.contribution._autosave';
42
42
 
43
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(2946, "Text Editor"))), [
43
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(2970, "Text Editor"))), [
44
44
  ( new SyncDescriptor(UntitledTextEditorInput)),
45
45
  ( new SyncDescriptor(TextResourceEditorInput))
46
46
  ]);
47
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(2947, "Text Diff Editor"))), [
47
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(2971, "Text Diff Editor"))), [
48
48
  ( new SyncDescriptor(DiffEditorInput))
49
49
  ]);
50
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(2948, "Binary Diff Editor"))), [
50
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(2972, "Binary Diff Editor"))), [
51
51
  ( new SyncDescriptor(DiffEditorInput))
52
52
  ]);
53
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(2949, "Side by Side Editor"))), [
53
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(2973, "Side by Side Editor"))), [
54
54
  ( new SyncDescriptor(SideBySideEditorInput))
55
55
  ]);
56
56
  ( Registry.as(EditorExtensions.EditorFactory)).registerEditorSerializer(UntitledTextEditorInput.ID, UntitledTextEditorInputSerializer);
@@ -67,22 +67,22 @@ quickAccessRegistry.registerQuickAccessProvider({
67
67
  ctor: ActiveGroupEditorsByMostRecentlyUsedQuickAccess,
68
68
  prefix: ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX,
69
69
  contextKey: editorPickerContextKey,
70
- placeholder: ( localize(2950, "Type the name of an editor to open it.")),
71
- helpEntries: [{ description: ( localize(2951, "Show Editors in Active Group by Most Recently Used")), commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID }]
70
+ placeholder: ( localize(2974, "Type the name of an editor to open it.")),
71
+ helpEntries: [{ description: ( localize(2975, "Show Editors in Active Group by Most Recently Used")), commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID }]
72
72
  });
73
73
  quickAccessRegistry.registerQuickAccessProvider({
74
74
  ctor: AllEditorsByAppearanceQuickAccess,
75
75
  prefix: AllEditorsByAppearanceQuickAccess.PREFIX,
76
76
  contextKey: editorPickerContextKey,
77
- placeholder: ( localize(2950, "Type the name of an editor to open it.")),
78
- helpEntries: [{ description: ( localize(2952, "Show All Opened Editors By Appearance")), commandId: ShowAllEditorsByAppearanceAction.ID }]
77
+ placeholder: ( localize(2974, "Type the name of an editor to open it.")),
78
+ helpEntries: [{ description: ( localize(2976, "Show All Opened Editors By Appearance")), commandId: ShowAllEditorsByAppearanceAction.ID }]
79
79
  });
80
80
  quickAccessRegistry.registerQuickAccessProvider({
81
81
  ctor: AllEditorsByMostRecentlyUsedQuickAccess,
82
82
  prefix: AllEditorsByMostRecentlyUsedQuickAccess.PREFIX,
83
83
  contextKey: editorPickerContextKey,
84
- placeholder: ( localize(2950, "Type the name of an editor to open it.")),
85
- helpEntries: [{ description: ( localize(2953, "Show All Opened Editors By Most Recently Used")), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
84
+ placeholder: ( localize(2974, "Type the name of an editor to open it.")),
85
+ helpEntries: [{ description: ( localize(2977, "Show All Opened Editors By Most Recently Used")), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
86
86
  });
87
87
  registerAction2(ChangeLanguageAction);
88
88
  registerAction2(ChangeEOLAction);
@@ -226,63 +226,63 @@ if (isMacintosh) {
226
226
  order: 1
227
227
  });
228
228
  }
229
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(2954, "Lock Group")), icon: Codicon.unlock }, group: 'navigation', order: 10, when: ( ContextKeyExpr.and(IsAuxiliaryEditorPartContext, ( ActiveEditorGroupLockedContext.toNegated()))) });
230
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(2955, "Unlock Group")), icon: Codicon.lock, toggled: ContextKeyExpr.true() }, group: 'navigation', order: 10, when: ActiveEditorGroupLockedContext });
231
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(2956, "Close Group")), icon: Codicon.close }, group: 'navigation', order: 20, when: ( ContextKeyExpr.or(IsAuxiliaryEditorPartContext, EditorPartMultipleEditorGroupsContext)) });
232
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(2957, "Split Up")) }, group: '2_split', order: 10 });
233
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(2958, "Split Down")) }, group: '2_split', order: 20 });
234
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(2959, "Split Left")) }, group: '2_split', order: 30 });
235
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(2960, "Split Right")) }, group: '2_split', order: 40 });
236
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(2961, "New Window")) }, group: '3_window', order: 10 });
237
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(2962, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '4_lock', order: 10, when: ( IsAuxiliaryEditorPartContext.toNegated()) });
238
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(2963, "Close")) }, group: '5_close', order: 10, when: MultipleEditorGroupsContext });
239
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(2957, "Split Up")) }, group: '2_split', order: 10 });
240
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(2958, "Split Down")) }, group: '2_split', order: 20 });
241
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(2959, "Split Left")) }, group: '2_split', order: 30 });
242
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(2960, "Split Right")) }, group: '2_split', order: 40 });
243
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2964, "Move into New Window")) }, group: '3_window', order: 10 });
244
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2965, "Copy into New Window")) }, group: '3_window', order: 20 });
245
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(2966, "Tab Bar")), group: '4_config', order: 10, when: ( InEditorZenModeContext.negate()) });
246
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(2967, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple')) }, group: '1_config', order: 10 });
247
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(2968, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single')) }, group: '1_config', order: 20 });
248
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(2969, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')) }, group: '1_config', order: 30 });
249
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(2966, "Tab Bar")), group: '4_config', order: 10, when: InEditorZenModeContext });
250
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(2967, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'multiple')) }, group: '1_config', order: 10 });
251
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(2968, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'single')) }, group: '1_config', order: 20 });
252
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(2969, "Hidden")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'none')) }, group: '1_config', order: 30 });
253
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(2970, "Editor Actions Position")), group: '4_config', order: 20 });
254
- MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(2966, "Tab Bar")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')) }, group: '1_config', order: 10, when: ( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')).negate()) });
255
- MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(2971, "Title Bar")), toggled: ( ContextKeyExpr.or(( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'titleBar')), ( ContextKeyExpr.and(( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')), ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')))))) }, group: '1_config', order: 20 });
256
- MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(2972, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden')) }, group: '1_config', order: 30 });
257
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(2973, "Configure Tabs")) }, group: '9_configure', order: 10 });
258
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(2963, "Close")) }, group: '1_close', order: 10 });
259
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(2974, "Close Others")), precondition: ( EditorGroupEditorsCountContext.notEqualsTo('1')) }, group: '1_close', order: 20 });
260
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(2975, "Close to the Right")), precondition: ( ContextKeyExpr.and(( ActiveEditorLastInGroupContext.toNegated()), ( MultipleEditorsSelectedInGroupContext.negate()))) }, group: '1_close', order: 30, when: EditorTabsVisibleContext });
261
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(2976, "Close Saved")) }, group: '1_close', order: 40 });
262
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(2977, "Close All")) }, group: '1_close', order: 50 });
263
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(2978, "Reopen Editor With...")) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
264
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(2979, "Keep Open")), precondition: ( ActiveEditorPinnedContext.toNegated()) }, group: '3_preview', order: 10, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
265
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(2980, "Pin")) }, group: '3_preview', order: 20, when: ( ActiveEditorStickyContext.toNegated()) });
266
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(2981, "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
267
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(2957, "Split Up")) }, group: '5_split', order: 10 });
268
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(2958, "Split Down")) }, group: '5_split', order: 20 });
269
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(2959, "Split Left")) }, group: '5_split', order: 30 });
270
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(2960, "Split Right")) }, group: '5_split', order: 40 });
271
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(2982, "Split in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '6_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
272
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(2983, "Join in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '6_split_in_group', order: 10, when: SideBySideEditorActiveContext });
273
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2984, "Move into New Window")) }, group: '7_new_window', order: 10 });
274
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2985, "Copy into New Window")) }, group: '7_new_window', order: 20 });
275
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(2986, "Share")), group: '11_share', order: -1, when: ( MultipleEditorsSelectedInGroupContext.negate()) });
276
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(2987, "Inline View")), toggled: ( ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false)) }, group: '1_diff', order: 10, when: ( ContextKeyExpr.has('isInDiffEditor')) });
277
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(2988, "Show Opened Editors")) }, group: '3_open', order: 10 });
278
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(2977, "Close All")) }, group: '5_close', order: 10 });
279
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(2976, "Close Saved")) }, group: '5_close', order: 20 });
280
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(2989, "Enable Preview Editors")), toggled: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) }, group: '7_settings', order: 10 });
281
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(2990, "Maximize Group")) }, group: '8_group_operations', order: 5, when: ( ContextKeyExpr.and(( EditorPartMaximizedEditorGroupContext.negate()), EditorPartMultipleEditorGroupsContext)) });
282
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(2991, "Unmaximize Group")) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
283
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(2992, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( IsAuxiliaryEditorPartContext.toNegated()) });
284
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(2993, "Configure Editors")) }, group: '9_configure', order: 10 });
285
- function appendEditorToolItem(primary, when, order, alternative, precondition) {
229
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(2978, "Lock Group")), icon: Codicon.unlock }, group: 'navigation', order: 10, when: ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))) });
230
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(2979, "Unlock Group")), icon: Codicon.lock, toggled: ContextKeyExpr.true() }, group: 'navigation', order: 10, when: ActiveEditorGroupLockedContext });
231
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(2980, "Close Group")), icon: Codicon.close }, group: 'navigation', order: 20, when: ( ContextKeyExpr.or(IsAuxiliaryWindowContext, EditorPartMultipleEditorGroupsContext)) });
232
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(2981, "Split Up")) }, group: '2_split', order: 10 });
233
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(2982, "Split Down")) }, group: '2_split', order: 20 });
234
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(2983, "Split Left")) }, group: '2_split', order: 30 });
235
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(2984, "Split Right")) }, group: '2_split', order: 40 });
236
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(2985, "New Window")) }, group: '3_window', order: 10 });
237
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(2986, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '4_lock', order: 10, when: ( IsAuxiliaryWindowContext.toNegated()) });
238
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(2987, "Close")) }, group: '5_close', order: 10, when: MultipleEditorGroupsContext });
239
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(2981, "Split Up")) }, group: '2_split', order: 10 });
240
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(2982, "Split Down")) }, group: '2_split', order: 20 });
241
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(2983, "Split Left")) }, group: '2_split', order: 30 });
242
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(2984, "Split Right")) }, group: '2_split', order: 40 });
243
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2988, "Move into New Window")) }, group: '3_window', order: 10 });
244
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(2989, "Copy into New Window")) }, group: '3_window', order: 20 });
245
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(2990, "Tab Bar")), group: '4_config', order: 10, when: ( InEditorZenModeContext.negate()) });
246
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(2991, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple')) }, group: '1_config', order: 10 });
247
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(2992, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single')) }, group: '1_config', order: 20 });
248
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(2993, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')) }, group: '1_config', order: 30 });
249
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(2990, "Tab Bar")), group: '4_config', order: 10, when: InEditorZenModeContext });
250
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(2991, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'multiple')) }, group: '1_config', order: 10 });
251
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(2992, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'single')) }, group: '1_config', order: 20 });
252
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(2993, "Hidden")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'none')) }, group: '1_config', order: 30 });
253
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(2994, "Editor Actions Position")), group: '4_config', order: 20 });
254
+ MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(2990, "Tab Bar")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')) }, group: '1_config', order: 10, when: ( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')).negate()) });
255
+ MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(2995, "Title Bar")), toggled: ( ContextKeyExpr.or(( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'titleBar')), ( ContextKeyExpr.and(( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')), ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')))))) }, group: '1_config', order: 20 });
256
+ MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(2996, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden')) }, group: '1_config', order: 30 });
257
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(2997, "Configure Tabs")) }, group: '9_configure', order: 10 });
258
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(2987, "Close")) }, group: '1_close', order: 10 });
259
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(2998, "Close Others")), precondition: ( EditorGroupEditorsCountContext.notEqualsTo('1')) }, group: '1_close', order: 20 });
260
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(2999, "Close to the Right")), precondition: ( ContextKeyExpr.and(( ActiveEditorLastInGroupContext.toNegated()), ( MultipleEditorsSelectedInGroupContext.negate()))) }, group: '1_close', order: 30, when: EditorTabsVisibleContext });
261
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(3000, "Close Saved")) }, group: '1_close', order: 40 });
262
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3001, "Close All")) }, group: '1_close', order: 50 });
263
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(3002, "Reopen Editor With...")) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
264
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(3003, "Keep Open")), precondition: ( ActiveEditorPinnedContext.toNegated()) }, group: '3_preview', order: 10, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
265
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(3004, "Pin")) }, group: '3_preview', order: 20, when: ( ActiveEditorStickyContext.toNegated()) });
266
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(3005, "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
267
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(2981, "Split Up")) }, group: '5_split', order: 10 });
268
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(2982, "Split Down")) }, group: '5_split', order: 20 });
269
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(2983, "Split Left")) }, group: '5_split', order: 30 });
270
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(2984, "Split Right")) }, group: '5_split', order: 40 });
271
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(3006, "Split in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '6_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
272
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(3007, "Join in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '6_split_in_group', order: 10, when: SideBySideEditorActiveContext });
273
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3008, "Move into New Window")) }, group: '7_new_window', order: 10 });
274
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3009, "Copy into New Window")) }, group: '7_new_window', order: 20 });
275
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(3010, "Share")), group: '11_share', order: -1, when: ( MultipleEditorsSelectedInGroupContext.negate()) });
276
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(3011, "Inline View")), toggled: ( ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false)) }, group: '1_diff', order: 10, when: ( ContextKeyExpr.has('isInDiffEditor')) });
277
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(3012, "Show Opened Editors")) }, group: '3_open', order: 10 });
278
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3001, "Close All")) }, group: '5_close', order: 10 });
279
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(3000, "Close Saved")) }, group: '5_close', order: 20 });
280
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(3013, "Enable Preview Editors")), toggled: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) }, group: '7_settings', order: 10 });
281
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(3014, "Maximize Group")) }, group: '8_group_operations', order: 5, when: ( ContextKeyExpr.and(( EditorPartMaximizedEditorGroupContext.negate()), EditorPartMultipleEditorGroupsContext)) });
282
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(3015, "Unmaximize Group")) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
283
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(3016, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( IsAuxiliaryWindowContext.toNegated()) });
284
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(3017, "Configure Editors")) }, group: '9_configure', order: 10 });
285
+ function appendEditorToolItem(primary, when, order, alternative, precondition, enableInCompactMode) {
286
286
  const item = {
287
287
  command: {
288
288
  id: primary.id,
@@ -303,101 +303,104 @@ function appendEditorToolItem(primary, when, order, alternative, precondition) {
303
303
  };
304
304
  }
305
305
  MenuRegistry.appendMenuItem(MenuId.EditorTitle, item);
306
+ if (enableInCompactMode) {
307
+ MenuRegistry.appendMenuItem(MenuId.CompactWindowEditorTitle, item);
308
+ }
306
309
  }
307
310
  const SPLIT_ORDER = 100000;
308
311
  const CLOSE_ORDER = 1000000;
309
312
  appendEditorToolItem({
310
313
  id: SPLIT_EDITOR,
311
- title: ( localize(2994, "Split Editor Right")),
314
+ title: ( localize(3018, "Split Editor Right")),
312
315
  icon: Codicon.splitHorizontal
313
316
  }, ContextKeyExpr.not('splitEditorsVertically'), SPLIT_ORDER, {
314
317
  id: SPLIT_EDITOR_DOWN,
315
- title: ( localize(2995, "Split Editor Down")),
318
+ title: ( localize(3019, "Split Editor Down")),
316
319
  icon: Codicon.splitVertical
317
320
  });
318
321
  appendEditorToolItem({
319
322
  id: SPLIT_EDITOR,
320
- title: ( localize(2995, "Split Editor Down")),
323
+ title: ( localize(3019, "Split Editor Down")),
321
324
  icon: Codicon.splitVertical
322
325
  }, ( ContextKeyExpr.has('splitEditorsVertically')), SPLIT_ORDER, {
323
326
  id: SPLIT_EDITOR_RIGHT,
324
- title: ( localize(2994, "Split Editor Right")),
327
+ title: ( localize(3018, "Split Editor Right")),
325
328
  icon: Codicon.splitHorizontal
326
329
  });
327
330
  appendEditorToolItem({
328
331
  id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
329
- title: ( localize(2996, "Toggle Layout")),
332
+ title: ( localize(3020, "Toggle Layout")),
330
333
  icon: Codicon.editorLayout
331
334
  }, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
332
335
  appendEditorToolItem({
333
336
  id: CLOSE_EDITOR_COMMAND_ID,
334
- title: ( localize(2963, "Close")),
337
+ title: ( localize(2987, "Close")),
335
338
  icon: Codicon.close
336
339
  }, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
337
340
  id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
338
- title: ( localize(2977, "Close All")),
341
+ title: ( localize(3001, "Close All")),
339
342
  icon: Codicon.closeAll
340
343
  });
341
344
  appendEditorToolItem({
342
345
  id: CLOSE_EDITOR_COMMAND_ID,
343
- title: ( localize(2963, "Close")),
346
+ title: ( localize(2987, "Close")),
344
347
  icon: Codicon.closeDirty
345
348
  }, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
346
349
  id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
347
- title: ( localize(2977, "Close All")),
350
+ title: ( localize(3001, "Close All")),
348
351
  icon: Codicon.closeAll
349
352
  });
350
353
  appendEditorToolItem({
351
354
  id: UNPIN_EDITOR_COMMAND_ID,
352
- title: ( localize(2981, "Unpin")),
355
+ title: ( localize(3005, "Unpin")),
353
356
  icon: Codicon.pinned
354
357
  }, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ActiveEditorStickyContext)), CLOSE_ORDER, {
355
358
  id: CLOSE_EDITOR_COMMAND_ID,
356
- title: ( localize(2963, "Close")),
359
+ title: ( localize(2987, "Close")),
357
360
  icon: Codicon.close
358
361
  });
359
362
  appendEditorToolItem({
360
363
  id: UNPIN_EDITOR_COMMAND_ID,
361
- title: ( localize(2981, "Unpin")),
364
+ title: ( localize(3005, "Unpin")),
362
365
  icon: Codicon.pinnedDirty
363
366
  }, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ActiveEditorStickyContext)), CLOSE_ORDER, {
364
367
  id: CLOSE_EDITOR_COMMAND_ID,
365
- title: ( localize(2963, "Close")),
368
+ title: ( localize(2987, "Close")),
366
369
  icon: Codicon.close
367
370
  });
368
371
  appendEditorToolItem({
369
372
  id: LOCK_GROUP_COMMAND_ID,
370
- title: ( localize(2997, "Lock Group")),
373
+ title: ( localize(3021, "Lock Group")),
371
374
  icon: Codicon.unlock
372
- }, ( ContextKeyExpr.and(IsAuxiliaryEditorPartContext, ( ActiveEditorGroupLockedContext.toNegated()))), CLOSE_ORDER - 1);
375
+ }, ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))), CLOSE_ORDER - 1);
373
376
  appendEditorToolItem({
374
377
  id: UNLOCK_GROUP_COMMAND_ID,
375
- title: ( localize(2998, "Unlock Group")),
378
+ title: ( localize(3022, "Unlock Group")),
376
379
  icon: Codicon.lock,
377
380
  toggled: ContextKeyExpr.true()
378
381
  }, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
379
- const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(2999, 'Icon for the previous change action in the diff editor.')));
382
+ const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(3023, 'Icon for the previous change action in the diff editor.')));
380
383
  appendEditorToolItem({
381
384
  id: GOTO_PREVIOUS_CHANGE,
382
- title: ( localize(3000, "Previous Change")),
385
+ title: ( localize(3024, "Previous Change")),
383
386
  icon: previousChangeIcon
384
- }, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges);
385
- const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(3001, 'Icon for the next change action in the diff editor.')));
387
+ }, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges, true);
388
+ const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(3025, 'Icon for the next change action in the diff editor.')));
386
389
  appendEditorToolItem({
387
390
  id: GOTO_NEXT_CHANGE,
388
- title: ( localize(3002, "Next Change")),
391
+ title: ( localize(3026, "Next Change")),
389
392
  icon: nextChangeIcon
390
- }, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges);
393
+ }, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges, true);
391
394
  appendEditorToolItem({
392
395
  id: DIFF_SWAP_SIDES,
393
- title: ( localize(3003, "Swap Left and Right Side")),
396
+ title: ( localize(3027, "Swap Left and Right Side")),
394
397
  icon: Codicon.arrowSwap
395
398
  }, ( ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext)), 15, undefined, undefined);
396
- const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(3004, 'Icon for the toggle whitespace action in the diff editor.')));
399
+ const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(3028, 'Icon for the toggle whitespace action in the diff editor.')));
397
400
  MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
398
401
  command: {
399
402
  id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
400
- title: ( localize(3005, "Show Leading/Trailing Whitespace Differences")),
403
+ title: ( localize(3029, "Show Leading/Trailing Whitespace Differences")),
401
404
  icon: toggleWhitespace,
402
405
  precondition: TextCompareEditorActiveContext,
403
406
  toggled: ( ContextKeyExpr.equals('config.diffEditor.ignoreTrimWhitespace', false)),
@@ -406,22 +409,22 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
406
409
  when: TextCompareEditorActiveContext,
407
410
  order: 20,
408
411
  });
409
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(3006, 'Keep Editor')), category: Categories.View }, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
410
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(3007, 'Pin Editor')), category: Categories.View } });
411
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(3008, 'Unpin Editor')), category: Categories.View } });
412
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(3009, 'Close Editor')), category: Categories.View } });
413
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(3010, 'Close Pinned Editor')), category: Categories.View } });
414
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3011, 'Close All Editors in Group')), category: Categories.View } });
415
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(3012, 'Close Saved Editors in Group')), category: Categories.View } });
416
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3013, 'Close Other Editors in Group')), category: Categories.View } });
417
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(3014, 'Close Editors to the Right in Group')), category: Categories.View }, when: ( ActiveEditorLastInGroupContext.toNegated()) });
418
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(3015, 'Close Editor Group')), category: Categories.View }, when: MultipleEditorGroupsContext });
419
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(2978, "Reopen Editor With...")), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
412
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(3030, 'Keep Editor')), category: Categories.View }, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
413
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(3031, 'Pin Editor')), category: Categories.View } });
414
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(3032, 'Unpin Editor')), category: Categories.View } });
415
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(3033, 'Close Editor')), category: Categories.View } });
416
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(3034, 'Close Pinned Editor')), category: Categories.View } });
417
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3035, 'Close All Editors in Group')), category: Categories.View } });
418
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(3036, 'Close Saved Editors in Group')), category: Categories.View } });
419
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3037, 'Close Other Editors in Group')), category: Categories.View } });
420
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(3038, 'Close Editors to the Right in Group')), category: Categories.View }, when: ( ActiveEditorLastInGroupContext.toNegated()) });
421
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(3039, 'Close Editor Group')), category: Categories.View }, when: MultipleEditorGroupsContext });
422
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(3002, "Reopen Editor With...")), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
420
423
  MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
421
424
  group: '1_editor',
422
425
  command: {
423
426
  id: ReopenClosedEditorAction.ID,
424
- title: ( localize(3016, "&&Reopen Closed Editor")),
427
+ title: ( localize(3040, "&&Reopen Closed Editor")),
425
428
  precondition: ( ContextKeyExpr.has('canReopenClosedEditor'))
426
429
  },
427
430
  order: 1
@@ -430,19 +433,19 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
430
433
  group: 'z_clear',
431
434
  command: {
432
435
  id: ClearRecentFilesAction.ID,
433
- title: ( localize(3017, "&&Clear Recently Opened..."))
436
+ title: ( localize(3041, "&&Clear Recently Opened..."))
434
437
  },
435
438
  order: 1
436
439
  });
437
440
  MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
438
- title: ( localize(3018, "Share")),
441
+ title: ( localize(3042, "Share")),
439
442
  submenu: MenuId.MenubarShare,
440
443
  group: '45_share',
441
444
  order: 1,
442
445
  });
443
446
  MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
444
447
  group: '2_appearance',
445
- title: ( localize(3019, "Editor &&Layout")),
448
+ title: ( localize(3043, "Editor &&Layout")),
446
449
  submenu: MenuId.MenubarLayoutMenu,
447
450
  order: 2
448
451
  });
@@ -451,8 +454,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
451
454
  command: {
452
455
  id: SPLIT_EDITOR_UP,
453
456
  title: {
454
- ...( localize2(3020, "Split Up")),
455
- mnemonicTitle: ( localize(3021, "Split &&Up")),
457
+ ...( localize2(3044, "Split Up")),
458
+ mnemonicTitle: ( localize(3045, "Split &&Up")),
456
459
  }
457
460
  },
458
461
  order: 1
@@ -462,8 +465,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
462
465
  command: {
463
466
  id: SPLIT_EDITOR_DOWN,
464
467
  title: {
465
- ...( localize2(3022, "Split Down")),
466
- mnemonicTitle: ( localize(3023, "Split &&Down")),
468
+ ...( localize2(3046, "Split Down")),
469
+ mnemonicTitle: ( localize(3047, "Split &&Down")),
467
470
  }
468
471
  },
469
472
  order: 2
@@ -473,8 +476,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
473
476
  command: {
474
477
  id: SPLIT_EDITOR_LEFT,
475
478
  title: {
476
- ...( localize2(3024, "Split Left")),
477
- mnemonicTitle: ( localize(3025, "Split &&Left")),
479
+ ...( localize2(3048, "Split Left")),
480
+ mnemonicTitle: ( localize(3049, "Split &&Left")),
478
481
  }
479
482
  },
480
483
  order: 3
@@ -484,8 +487,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
484
487
  command: {
485
488
  id: SPLIT_EDITOR_RIGHT,
486
489
  title: {
487
- ...( localize2(3026, "Split Right")),
488
- mnemonicTitle: ( localize(3027, "Split &&Right")),
490
+ ...( localize2(3050, "Split Right")),
491
+ mnemonicTitle: ( localize(3051, "Split &&Right")),
489
492
  }
490
493
  },
491
494
  order: 4
@@ -495,8 +498,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
495
498
  command: {
496
499
  id: SPLIT_EDITOR_IN_GROUP,
497
500
  title: {
498
- ...( localize2(3028, "Split in Group")),
499
- mnemonicTitle: ( localize(3029, "Split in &&Group")),
501
+ ...( localize2(3052, "Split in Group")),
502
+ mnemonicTitle: ( localize(3053, "Split in &&Group")),
500
503
  }
501
504
  },
502
505
  when: ActiveEditorCanSplitInGroupContext,
@@ -507,8 +510,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
507
510
  command: {
508
511
  id: JOIN_EDITOR_IN_GROUP,
509
512
  title: {
510
- ...( localize2(3030, "Join in Group")),
511
- mnemonicTitle: ( localize(3031, "Join in &&Group")),
513
+ ...( localize2(3054, "Join in Group")),
514
+ mnemonicTitle: ( localize(3055, "Join in &&Group")),
512
515
  }
513
516
  },
514
517
  when: SideBySideEditorActiveContext,
@@ -519,8 +522,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
519
522
  command: {
520
523
  id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
521
524
  title: {
522
- ...( localize2(3032, "Move Editor into New Window")),
523
- mnemonicTitle: ( localize(3033, "&&Move Editor into New Window")),
525
+ ...( localize2(3056, "Move Editor into New Window")),
526
+ mnemonicTitle: ( localize(3057, "&&Move Editor into New Window")),
524
527
  }
525
528
  },
526
529
  order: 1
@@ -530,8 +533,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
530
533
  command: {
531
534
  id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
532
535
  title: {
533
- ...( localize2(3034, "Copy Editor into New Window")),
534
- mnemonicTitle: ( localize(3035, "&&Copy Editor into New Window")),
536
+ ...( localize2(3058, "Copy Editor into New Window")),
537
+ mnemonicTitle: ( localize(3059, "&&Copy Editor into New Window")),
535
538
  }
536
539
  },
537
540
  order: 2
@@ -541,8 +544,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
541
544
  command: {
542
545
  id: EditorLayoutSingleAction.ID,
543
546
  title: {
544
- ...( localize2(3036, "Single")),
545
- mnemonicTitle: ( localize(3037, "&&Single")),
547
+ ...( localize2(3060, "Single")),
548
+ mnemonicTitle: ( localize(3061, "&&Single")),
546
549
  }
547
550
  },
548
551
  order: 1
@@ -552,8 +555,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
552
555
  command: {
553
556
  id: EditorLayoutTwoColumnsAction.ID,
554
557
  title: {
555
- ...( localize2(3038, "Two Columns")),
556
- mnemonicTitle: ( localize(3039, "&&Two Columns")),
558
+ ...( localize2(3062, "Two Columns")),
559
+ mnemonicTitle: ( localize(3063, "&&Two Columns")),
557
560
  }
558
561
  },
559
562
  order: 3
@@ -563,8 +566,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
563
566
  command: {
564
567
  id: EditorLayoutThreeColumnsAction.ID,
565
568
  title: {
566
- ...( localize2(3040, "Three Columns")),
567
- mnemonicTitle: ( localize(3041, "T&&hree Columns")),
569
+ ...( localize2(3064, "Three Columns")),
570
+ mnemonicTitle: ( localize(3065, "T&&hree Columns")),
568
571
  }
569
572
  },
570
573
  order: 4
@@ -574,8 +577,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
574
577
  command: {
575
578
  id: EditorLayoutTwoRowsAction.ID,
576
579
  title: {
577
- ...( localize2(3042, "Two Rows")),
578
- mnemonicTitle: ( localize(3043, "T&&wo Rows")),
580
+ ...( localize2(3066, "Two Rows")),
581
+ mnemonicTitle: ( localize(3067, "T&&wo Rows")),
579
582
  }
580
583
  },
581
584
  order: 5
@@ -585,8 +588,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
585
588
  command: {
586
589
  id: EditorLayoutThreeRowsAction.ID,
587
590
  title: {
588
- ...( localize2(3044, "Three Rows")),
589
- mnemonicTitle: ( localize(3045, "Three &&Rows")),
591
+ ...( localize2(3068, "Three Rows")),
592
+ mnemonicTitle: ( localize(3069, "Three &&Rows")),
590
593
  }
591
594
  },
592
595
  order: 6
@@ -596,8 +599,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
596
599
  command: {
597
600
  id: EditorLayoutTwoByTwoGridAction.ID,
598
601
  title: {
599
- ...( localize2(3046, "Grid (2x2)")),
600
- mnemonicTitle: ( localize(3047, "&&Grid (2x2)")),
602
+ ...( localize2(3070, "Grid (2x2)")),
603
+ mnemonicTitle: ( localize(3071, "&&Grid (2x2)")),
601
604
  }
602
605
  },
603
606
  order: 7
@@ -607,8 +610,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
607
610
  command: {
608
611
  id: EditorLayoutTwoRowsRightAction.ID,
609
612
  title: {
610
- ...( localize2(3048, "Two Rows Right")),
611
- mnemonicTitle: ( localize(3049, "Two R&&ows Right")),
613
+ ...( localize2(3072, "Two Rows Right")),
614
+ mnemonicTitle: ( localize(3073, "Two R&&ows Right")),
612
615
  }
613
616
  },
614
617
  order: 8
@@ -618,8 +621,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
618
621
  command: {
619
622
  id: EditorLayoutTwoColumnsBottomAction.ID,
620
623
  title: {
621
- ...( localize2(3050, "Two Columns Bottom")),
622
- mnemonicTitle: ( localize(3051, "Two &&Columns Bottom")),
624
+ ...( localize2(3074, "Two Columns Bottom")),
625
+ mnemonicTitle: ( localize(3075, "Two &&Columns Bottom")),
623
626
  }
624
627
  },
625
628
  order: 9
@@ -628,7 +631,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
628
631
  group: '1_history_nav',
629
632
  command: {
630
633
  id: 'workbench.action.navigateToLastEditLocation',
631
- title: ( localize(3052, "&&Last Edit Location")),
634
+ title: ( localize(3076, "&&Last Edit Location")),
632
635
  precondition: ( ContextKeyExpr.has('canNavigateToLastEditLocation'))
633
636
  },
634
637
  order: 3
@@ -637,7 +640,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
637
640
  group: '1_sideBySide',
638
641
  command: {
639
642
  id: FOCUS_FIRST_SIDE_EDITOR,
640
- title: ( localize(3053, "&&First Side in Editor"))
643
+ title: ( localize(3077, "&&First Side in Editor"))
641
644
  },
642
645
  when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
643
646
  order: 1
@@ -646,7 +649,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
646
649
  group: '1_sideBySide',
647
650
  command: {
648
651
  id: FOCUS_SECOND_SIDE_EDITOR,
649
- title: ( localize(3054, "&&Second Side in Editor"))
652
+ title: ( localize(3078, "&&Second Side in Editor"))
650
653
  },
651
654
  when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
652
655
  order: 2
@@ -655,7 +658,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
655
658
  group: '2_any',
656
659
  command: {
657
660
  id: 'workbench.action.nextEditor',
658
- title: ( localize(3055, "&&Next Editor"))
661
+ title: ( localize(3079, "&&Next Editor"))
659
662
  },
660
663
  order: 1
661
664
  });
@@ -663,7 +666,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
663
666
  group: '2_any',
664
667
  command: {
665
668
  id: 'workbench.action.previousEditor',
666
- title: ( localize(3056, "&&Previous Editor"))
669
+ title: ( localize(3080, "&&Previous Editor"))
667
670
  },
668
671
  order: 2
669
672
  });
@@ -671,7 +674,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
671
674
  group: '3_any_used',
672
675
  command: {
673
676
  id: 'workbench.action.openNextRecentlyUsedEditor',
674
- title: ( localize(3057, "&&Next Used Editor"))
677
+ title: ( localize(3081, "&&Next Used Editor"))
675
678
  },
676
679
  order: 1
677
680
  });
@@ -679,7 +682,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
679
682
  group: '3_any_used',
680
683
  command: {
681
684
  id: 'workbench.action.openPreviousRecentlyUsedEditor',
682
- title: ( localize(3058, "&&Previous Used Editor"))
685
+ title: ( localize(3082, "&&Previous Used Editor"))
683
686
  },
684
687
  order: 2
685
688
  });
@@ -687,7 +690,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
687
690
  group: '4_group',
688
691
  command: {
689
692
  id: 'workbench.action.nextEditorInGroup',
690
- title: ( localize(3059, "&&Next Editor in Group"))
693
+ title: ( localize(3083, "&&Next Editor in Group"))
691
694
  },
692
695
  order: 1
693
696
  });
@@ -695,7 +698,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
695
698
  group: '4_group',
696
699
  command: {
697
700
  id: 'workbench.action.previousEditorInGroup',
698
- title: ( localize(3060, "&&Previous Editor in Group"))
701
+ title: ( localize(3084, "&&Previous Editor in Group"))
699
702
  },
700
703
  order: 2
701
704
  });
@@ -703,7 +706,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
703
706
  group: '5_group_used',
704
707
  command: {
705
708
  id: 'workbench.action.openNextRecentlyUsedEditorInGroup',
706
- title: ( localize(3061, "&&Next Used Editor in Group"))
709
+ title: ( localize(3085, "&&Next Used Editor in Group"))
707
710
  },
708
711
  order: 1
709
712
  });
@@ -711,13 +714,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
711
714
  group: '5_group_used',
712
715
  command: {
713
716
  id: 'workbench.action.openPreviousRecentlyUsedEditorInGroup',
714
- title: ( localize(3062, "&&Previous Used Editor in Group"))
717
+ title: ( localize(3086, "&&Previous Used Editor in Group"))
715
718
  },
716
719
  order: 2
717
720
  });
718
721
  MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
719
722
  group: '2_editor_nav',
720
- title: ( localize(3063, "Switch &&Editor")),
723
+ title: ( localize(3087, "Switch &&Editor")),
721
724
  submenu: MenuId.MenubarSwitchEditorMenu,
722
725
  order: 1
723
726
  });
@@ -725,7 +728,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
725
728
  group: '1_focus_index',
726
729
  command: {
727
730
  id: 'workbench.action.focusFirstEditorGroup',
728
- title: ( localize(3064, "Group &&1"))
731
+ title: ( localize(3088, "Group &&1"))
729
732
  },
730
733
  order: 1
731
734
  });
@@ -733,7 +736,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
733
736
  group: '1_focus_index',
734
737
  command: {
735
738
  id: 'workbench.action.focusSecondEditorGroup',
736
- title: ( localize(3065, "Group &&2"))
739
+ title: ( localize(3089, "Group &&2"))
737
740
  },
738
741
  order: 2
739
742
  });
@@ -741,7 +744,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
741
744
  group: '1_focus_index',
742
745
  command: {
743
746
  id: 'workbench.action.focusThirdEditorGroup',
744
- title: ( localize(3066, "Group &&3")),
747
+ title: ( localize(3090, "Group &&3")),
745
748
  precondition: MultipleEditorGroupsContext
746
749
  },
747
750
  order: 3
@@ -750,7 +753,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
750
753
  group: '1_focus_index',
751
754
  command: {
752
755
  id: 'workbench.action.focusFourthEditorGroup',
753
- title: ( localize(3067, "Group &&4")),
756
+ title: ( localize(3091, "Group &&4")),
754
757
  precondition: MultipleEditorGroupsContext
755
758
  },
756
759
  order: 4
@@ -759,7 +762,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
759
762
  group: '1_focus_index',
760
763
  command: {
761
764
  id: 'workbench.action.focusFifthEditorGroup',
762
- title: ( localize(3068, "Group &&5")),
765
+ title: ( localize(3092, "Group &&5")),
763
766
  precondition: MultipleEditorGroupsContext
764
767
  },
765
768
  order: 5
@@ -768,7 +771,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
768
771
  group: '2_next_prev',
769
772
  command: {
770
773
  id: 'workbench.action.focusNextGroup',
771
- title: ( localize(3069, "&&Next Group")),
774
+ title: ( localize(3093, "&&Next Group")),
772
775
  precondition: MultipleEditorGroupsContext
773
776
  },
774
777
  order: 1
@@ -777,7 +780,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
777
780
  group: '2_next_prev',
778
781
  command: {
779
782
  id: 'workbench.action.focusPreviousGroup',
780
- title: ( localize(3070, "&&Previous Group")),
783
+ title: ( localize(3094, "&&Previous Group")),
781
784
  precondition: MultipleEditorGroupsContext
782
785
  },
783
786
  order: 2
@@ -786,7 +789,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
786
789
  group: '3_directional',
787
790
  command: {
788
791
  id: 'workbench.action.focusLeftGroup',
789
- title: ( localize(3071, "Group &&Left")),
792
+ title: ( localize(3095, "Group &&Left")),
790
793
  precondition: MultipleEditorGroupsContext
791
794
  },
792
795
  order: 1
@@ -795,7 +798,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
795
798
  group: '3_directional',
796
799
  command: {
797
800
  id: 'workbench.action.focusRightGroup',
798
- title: ( localize(3072, "Group &&Right")),
801
+ title: ( localize(3096, "Group &&Right")),
799
802
  precondition: MultipleEditorGroupsContext
800
803
  },
801
804
  order: 2
@@ -804,7 +807,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
804
807
  group: '3_directional',
805
808
  command: {
806
809
  id: 'workbench.action.focusAboveGroup',
807
- title: ( localize(3073, "Group &&Above")),
810
+ title: ( localize(3097, "Group &&Above")),
808
811
  precondition: MultipleEditorGroupsContext
809
812
  },
810
813
  order: 3
@@ -813,14 +816,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
813
816
  group: '3_directional',
814
817
  command: {
815
818
  id: 'workbench.action.focusBelowGroup',
816
- title: ( localize(3074, "Group &&Below")),
819
+ title: ( localize(3098, "Group &&Below")),
817
820
  precondition: MultipleEditorGroupsContext
818
821
  },
819
822
  order: 4
820
823
  });
821
824
  MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
822
825
  group: '2_editor_nav',
823
- title: ( localize(3075, "Switch &&Group")),
826
+ title: ( localize(3099, "Switch &&Group")),
824
827
  submenu: MenuId.MenubarSwitchGroupMenu,
825
828
  order: 2
826
829
  });