@codingame/monaco-vscode-view-common-service-override 20.5.0 → 21.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.
Files changed (49) hide show
  1. package/index.js +0 -1
  2. package/package.json +41 -41
  3. package/service-override/vs/workbench/contrib/webview/browser/pre/index.html +62 -6
  4. package/service-override/vs/workbench/contrib/webview/browser/pre/service-worker.js +17 -2
  5. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +70 -60
  6. package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
  7. package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
  8. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +169 -168
  9. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +8 -8
  10. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
  11. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +5 -5
  12. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
  13. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +1 -1
  14. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +2 -2
  15. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
  16. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +12 -12
  17. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +7 -7
  18. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
  19. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +29 -29
  20. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
  21. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +4 -4
  22. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorAccessibilityHelp.js +5 -5
  23. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
  24. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
  25. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +11 -11
  27. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +5 -5
  28. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.d.ts +1 -1
  29. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +2 -2
  30. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
  31. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
  32. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
  33. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
  34. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +5 -5
  35. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
  36. package/vscode/src/vs/workbench/contrib/webview/browser/resourceLoading.js +5 -4
  37. package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +2 -2
  38. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.d.ts +3 -2
  39. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +14 -4
  40. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
  41. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +2 -2
  42. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.d.ts +1 -1
  43. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +3 -3
  44. package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +1 -1
  45. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +9 -9
  46. package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
  47. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +9 -9
  48. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +6 -6
  49. package/service-override/vs/workbench/contrib/webview/browser/pre/index-no-csp.html +0 -1251
@@ -1,7 +1,7 @@
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-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/editor';
4
+ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-5e2c24a1-3217-55e8-bc90-521eaf7df5a6-common/vscode/vs/workbench/browser/editor';
5
5
  import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
6
6
  import { IsAuxiliaryWindowContext, ActiveEditorGroupLockedContext, EditorPartMultipleEditorGroupsContext, MultipleEditorGroupsContext, InEditorZenModeContext, EditorGroupEditorsCountContext, EditorTabsVisibleContext, ActiveEditorLastInGroupContext, MultipleEditorsSelectedInGroupContext, ActiveEditorAvailableEditorIdsContext, ActiveEditorPinnedContext, ActiveEditorStickyContext, SplitEditorsVertically, ActiveEditorCanSplitInGroupContext, SideBySideEditorActiveContext, EditorPartMaximizedEditorGroupContext, ActiveEditorDirtyContext, TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
7
7
  import { SideBySideEditorInput, SideBySideEditorInputSerializer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor/sideBySideEditorInput';
@@ -17,7 +17,7 @@ import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/acti
17
17
  import { registerAction2, MenuRegistry, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
18
18
  import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/descriptors';
19
19
  import { KeyMod, KeyCode } from '@codingame/monaco-vscode-api/vscode/vs/base/common/keyCodes';
20
- import { ShowEditorsInActiveGroupByMostRecentlyUsedAction, ShowAllEditorsByAppearanceAction, ShowAllEditorsByMostRecentlyUsedAction, NavigateForwardAction, NavigateBackwardsAction, OpenNextEditor, OpenPreviousEditor, OpenNextEditorInGroup, OpenPreviousEditorInGroup, OpenFirstEditorInGroup, OpenLastEditorInGroup, OpenNextRecentlyUsedEditorAction, OpenPreviousRecentlyUsedEditorAction, OpenNextRecentlyUsedEditorInGroupAction, OpenPreviousRecentlyUsedEditorInGroupAction, ReopenClosedEditorAction, ClearRecentFilesAction, CloseAllEditorsAction, CloseAllEditorGroupsAction, CloseLeftEditorsInGroupAction, CloseEditorsInOtherGroupsAction, CloseEditorInAllGroupsAction, RevertAndCloseEditorAction, SplitEditorAction, SplitEditorOrthogonalAction, SplitEditorLeftAction, SplitEditorRightAction, SplitEditorUpAction, SplitEditorDownAction, JoinTwoGroupsAction, JoinAllGroupsAction, NavigateBetweenGroupsAction, ResetGroupSizesAction, ToggleGroupSizesAction, MaximizeGroupHideSidebarAction, ToggleMaximizeEditorGroupAction, MinimizeOtherGroupsAction, MinimizeOtherGroupsHideSidebarAction, MoveEditorLeftInGroupAction, MoveEditorRightInGroupAction, MoveGroupLeftAction, MoveGroupRightAction, MoveGroupUpAction, MoveGroupDownAction, DuplicateGroupLeftAction, DuplicateGroupRightAction, DuplicateGroupUpAction, DuplicateGroupDownAction, MoveEditorToPreviousGroupAction, MoveEditorToNextGroupAction, MoveEditorToFirstGroupAction, MoveEditorToLastGroupAction, MoveEditorToLeftGroupAction, MoveEditorToRightGroupAction, MoveEditorToAboveGroupAction, MoveEditorToBelowGroupAction, SplitEditorToPreviousGroupAction, SplitEditorToNextGroupAction, SplitEditorToFirstGroupAction, SplitEditorToLastGroupAction, SplitEditorToLeftGroupAction, SplitEditorToRightGroupAction, SplitEditorToAboveGroupAction, SplitEditorToBelowGroupAction, FocusActiveGroupAction, FocusFirstGroupAction, FocusLastGroupAction, FocusPreviousGroup, FocusNextGroup, FocusLeftGroup, FocusRightGroup, FocusAboveGroup, FocusBelowGroup, NewEditorGroupLeftAction, NewEditorGroupRightAction, NewEditorGroupAboveAction, NewEditorGroupBelowAction, NavigatePreviousAction, NavigateForwardInEditsAction, NavigateBackwardsInEditsAction, NavigatePreviousInEditsAction, NavigateToLastEditLocationAction, NavigateForwardInNavigationsAction, NavigateBackwardsInNavigationsAction, NavigatePreviousInNavigationsAction, NavigateToLastNavigationLocationAction, ClearEditorHistoryAction, EditorLayoutSingleAction, EditorLayoutTwoColumnsAction, EditorLayoutThreeColumnsAction, EditorLayoutTwoRowsAction, EditorLayoutThreeRowsAction, EditorLayoutTwoByTwoGridAction, EditorLayoutTwoRowsRightAction, EditorLayoutTwoColumnsBottomAction, ToggleEditorTypeAction, ReOpenInTextEditorAction, QuickAccessPreviousRecentlyUsedEditorAction, QuickAccessLeastRecentlyUsedEditorAction, QuickAccessPreviousRecentlyUsedEditorInGroupAction, QuickAccessLeastRecentlyUsedEditorInGroupAction, QuickAccessPreviousEditorFromHistoryAction, MoveEditorToNewWindowAction, CopyEditorToNewindowAction, MoveEditorGroupToNewWindowAction, CopyEditorGroupToNewWindowAction, RestoreEditorsToMainWindowAction, NewEmptyEditorWindowAction } from '@codingame/monaco-vscode-615ce609-8555-545a-a549-47bd9f80e9f8-common/vscode/vs/workbench/browser/parts/editor/editorActions';
20
+ import { ShowEditorsInActiveGroupByMostRecentlyUsedAction, ShowAllEditorsByAppearanceAction, ShowAllEditorsByMostRecentlyUsedAction, NavigateForwardAction, NavigateBackwardsAction, OpenNextEditor, OpenPreviousEditor, OpenNextEditorInGroup, OpenPreviousEditorInGroup, OpenFirstEditorInGroup, OpenLastEditorInGroup, OpenNextRecentlyUsedEditorAction, OpenPreviousRecentlyUsedEditorAction, OpenNextRecentlyUsedEditorInGroupAction, OpenPreviousRecentlyUsedEditorInGroupAction, ReopenClosedEditorAction, ClearRecentFilesAction, CloseAllEditorsAction, CloseAllEditorGroupsAction, CloseLeftEditorsInGroupAction, CloseEditorsInOtherGroupsAction, CloseEditorInAllGroupsAction, RevertAndCloseEditorAction, SplitEditorAction, SplitEditorOrthogonalAction, SplitEditorLeftAction, SplitEditorRightAction, SplitEditorUpAction, SplitEditorDownAction, JoinTwoGroupsAction, JoinAllGroupsAction, NavigateBetweenGroupsAction, ResetGroupSizesAction, ToggleGroupSizesAction, MaximizeGroupHideSidebarAction, ToggleMaximizeEditorGroupAction, MinimizeOtherGroupsAction, MinimizeOtherGroupsHideSidebarAction, MoveEditorLeftInGroupAction, MoveEditorRightInGroupAction, MoveGroupLeftAction, MoveGroupRightAction, MoveGroupUpAction, MoveGroupDownAction, DuplicateGroupLeftAction, DuplicateGroupRightAction, DuplicateGroupUpAction, DuplicateGroupDownAction, MoveEditorToPreviousGroupAction, MoveEditorToNextGroupAction, MoveEditorToFirstGroupAction, MoveEditorToLastGroupAction, MoveEditorToLeftGroupAction, MoveEditorToRightGroupAction, MoveEditorToAboveGroupAction, MoveEditorToBelowGroupAction, SplitEditorToPreviousGroupAction, SplitEditorToNextGroupAction, SplitEditorToFirstGroupAction, SplitEditorToLastGroupAction, SplitEditorToLeftGroupAction, SplitEditorToRightGroupAction, SplitEditorToAboveGroupAction, SplitEditorToBelowGroupAction, FocusActiveGroupAction, FocusFirstGroupAction, FocusLastGroupAction, FocusPreviousGroup, FocusNextGroup, FocusLeftGroup, FocusRightGroup, FocusAboveGroup, FocusBelowGroup, NewEditorGroupLeftAction, NewEditorGroupRightAction, NewEditorGroupAboveAction, NewEditorGroupBelowAction, NavigatePreviousAction, NavigateForwardInEditsAction, NavigateBackwardsInEditsAction, NavigatePreviousInEditsAction, NavigateToLastEditLocationAction, NavigateForwardInNavigationsAction, NavigateBackwardsInNavigationsAction, NavigatePreviousInNavigationsAction, NavigateToLastNavigationLocationAction, ClearEditorHistoryAction, ClearEditorHistoryWithoutConfirmAction, EditorLayoutSingleAction, EditorLayoutTwoColumnsAction, EditorLayoutThreeColumnsAction, EditorLayoutTwoRowsAction, EditorLayoutThreeRowsAction, EditorLayoutTwoByTwoGridAction, EditorLayoutTwoRowsRightAction, EditorLayoutTwoColumnsBottomAction, ToggleEditorTypeAction, ReOpenInTextEditorAction, QuickAccessPreviousRecentlyUsedEditorAction, QuickAccessLeastRecentlyUsedEditorAction, QuickAccessPreviousRecentlyUsedEditorInGroupAction, QuickAccessLeastRecentlyUsedEditorInGroupAction, QuickAccessPreviousEditorFromHistoryAction, MoveEditorToNewWindowAction, CopyEditorToNewindowAction, MoveEditorGroupToNewWindowAction, CopyEditorGroupToNewWindowAction, RestoreEditorsToMainWindowAction, NewEmptyEditorWindowAction } from '@codingame/monaco-vscode-615ce609-8555-545a-a549-47bd9f80e9f8-common/vscode/vs/workbench/browser/parts/editor/editorActions';
21
21
  import { setup, LOCK_GROUP_COMMAND_ID, UNLOCK_GROUP_COMMAND_ID, CLOSE_EDITOR_GROUP_COMMAND_ID, SPLIT_EDITOR_UP, SPLIT_EDITOR_DOWN, SPLIT_EDITOR_LEFT, SPLIT_EDITOR_RIGHT, NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, TOGGLE_LOCK_GROUP_COMMAND_ID, MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, CLOSE_EDITOR_COMMAND_ID, CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, CLOSE_SAVED_EDITORS_COMMAND_ID, CLOSE_EDITORS_IN_GROUP_COMMAND_ID, REOPEN_WITH_COMMAND_ID, KEEP_EDITOR_COMMAND_ID, PIN_EDITOR_COMMAND_ID, UNPIN_EDITOR_COMMAND_ID, SPLIT_EDITOR, MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, MOVE_EDITOR_INTO_ABOVE_GROUP, MOVE_EDITOR_INTO_BELOW_GROUP, MOVE_EDITOR_INTO_LEFT_GROUP, MOVE_EDITOR_INTO_RIGHT_GROUP, SPLIT_EDITOR_IN_GROUP, JOIN_EDITOR_IN_GROUP, SHOW_EDITORS_IN_GROUP, TOGGLE_KEEP_EDITORS_COMMAND_ID, TOGGLE_MAXIMIZE_EDITOR_GROUP, TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT, CLOSE_PINNED_EDITOR_COMMAND_ID, CLOSE_EDITORS_AND_GROUP_COMMAND_ID, FOCUS_FIRST_SIDE_EDITOR, FOCUS_SECOND_SIDE_EDITOR } from '@codingame/monaco-vscode-dbfe5f85-b426-55ed-a79b-5f811b395762-common/vscode/vs/workbench/browser/parts/editor/editorCommands';
22
22
  import { TOGGLE_DIFF_SIDE_BY_SIDE, GOTO_PREVIOUS_CHANGE, GOTO_NEXT_CHANGE, DIFF_SWAP_SIDES, TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE } from '@codingame/monaco-vscode-dbfe5f85-b426-55ed-a79b-5f811b395762-common/vscode/vs/workbench/browser/parts/editor/diffEditorCommands';
23
23
  import { inQuickPickContext, getQuickNavigateHandler } from '@codingame/monaco-vscode-158b9837-fc78-5d9c-86f5-9134e4358643-common/vscode/vs/workbench/browser/quickaccess';
@@ -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-ac93482b-2178-52df-a200-ba0d1a4963fb-common/vscode/vs/workbench/browser/parts/editor/editor.contribution._autosave';
42
42
 
43
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(3023, "Text Editor"))), [
43
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(3028, "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(3024, "Text Diff Editor"))), [
47
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(3029, "Text Diff Editor"))), [
48
48
  ( new SyncDescriptor(DiffEditorInput))
49
49
  ]);
50
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(3025, "Binary Diff Editor"))), [
50
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(3030, "Binary Diff Editor"))), [
51
51
  ( new SyncDescriptor(DiffEditorInput))
52
52
  ]);
53
- ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(3026, "Side by Side Editor"))), [
53
+ ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(3031, "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(3027, "Type the name of an editor to open it.")),
71
- helpEntries: [{ description: ( localize(3028, "Show Editors in Active Group by Most Recently Used")), commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID }]
70
+ placeholder: ( localize(3032, "Type the name of an editor to open it.")),
71
+ helpEntries: [{ description: ( localize(3033, "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(3027, "Type the name of an editor to open it.")),
78
- helpEntries: [{ description: ( localize(3029, "Show All Opened Editors By Appearance")), commandId: ShowAllEditorsByAppearanceAction.ID }]
77
+ placeholder: ( localize(3032, "Type the name of an editor to open it.")),
78
+ helpEntries: [{ description: ( localize(3034, "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(3027, "Type the name of an editor to open it.")),
85
- helpEntries: [{ description: ( localize(3030, "Show All Opened Editors By Most Recently Used")), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
84
+ placeholder: ( localize(3032, "Type the name of an editor to open it.")),
85
+ helpEntries: [{ description: ( localize(3035, "Show All Opened Editors By Most Recently Used")), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
86
86
  });
87
87
  registerAction2(ChangeLanguageAction);
88
88
  registerAction2(ChangeEOLAction);
@@ -174,6 +174,7 @@ registerAction2(NavigateBackwardsInNavigationsAction);
174
174
  registerAction2(NavigatePreviousInNavigationsAction);
175
175
  registerAction2(NavigateToLastNavigationLocationAction);
176
176
  registerAction2(ClearEditorHistoryAction);
177
+ registerAction2(ClearEditorHistoryWithoutConfirmAction);
177
178
  registerAction2(EditorLayoutSingleAction);
178
179
  registerAction2(EditorLayoutTwoColumnsAction);
179
180
  registerAction2(EditorLayoutThreeColumnsAction);
@@ -226,69 +227,69 @@ if (isMacintosh) {
226
227
  order: 1
227
228
  });
228
229
  }
229
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(3031, "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(3032, "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(3033, "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(3034, "Split Up")) }, group: '2_split', order: 10 });
233
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(3035, "Split Down")) }, group: '2_split', order: 20 });
234
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(3036, "Split Left")) }, group: '2_split', order: 30 });
235
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(3037, "Split Right")) }, group: '2_split', order: 40 });
236
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(3038, "New Window")) }, group: '3_window', order: 10 });
237
- MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(3039, "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(3040, "Close")) }, group: '5_close', order: 10, when: MultipleEditorGroupsContext });
239
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(3034, "Split Up")) }, group: '2_split', order: 10 });
240
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(3035, "Split Down")) }, group: '2_split', order: 20 });
241
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(3036, "Split Left")) }, group: '2_split', order: 30 });
242
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(3037, "Split Right")) }, group: '2_split', order: 40 });
243
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3041, "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(3042, "Copy into New Window")) }, group: '3_window', order: 20 });
245
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(3043, "Tab Bar")), group: '4_config', order: 10, when: ( InEditorZenModeContext.negate()) });
246
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(3044, "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(3045, "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(3046, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')) }, group: '1_config', order: 30 });
249
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(3043, "Tab Bar")), group: '4_config', order: 10, when: InEditorZenModeContext });
250
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(3044, "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(3045, "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(3046, "Hidden")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'none')) }, group: '1_config', order: 30 });
253
- MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(3047, "Editor Actions Position")), group: '4_config', order: 20 });
254
- MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(3043, "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(3048, "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(3049, "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(3050, "Configure Tabs")) }, group: '9_configure', order: 10 });
258
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(3040, "Close")) }, group: '1_close', order: 10 });
259
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3051, "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(3052, "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(3053, "Close Saved")) }, group: '1_close', order: 40 });
262
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3054, "Close All")) }, group: '1_close', order: 50 });
263
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(3055, "Reopen Editor With...")) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
264
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(3056, "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(3057, "Pin")) }, group: '3_preview', order: 20, when: ( ActiveEditorStickyContext.toNegated()) });
266
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(3058, "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
267
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR, title: ( localize(3037, "Split Right")) }, group: '5_split', order: 10, when: ( SplitEditorsVertically.negate()) });
268
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR, title: ( localize(3035, "Split Down")) }, group: '5_split', order: 10, when: SplitEditorsVertically });
269
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorSplitMoveSubmenu, title: ( localize(3059, "Split & Move")), group: '5_split', order: 15 });
270
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3060, "Move into New Window")) }, group: '7_new_window', order: 10 });
271
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3061, "Copy into New Window")) }, group: '7_new_window', order: 20 });
272
- MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(3062, "Share")), group: '11_share', order: -1, when: ( MultipleEditorsSelectedInGroupContext.negate()) });
273
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_UP, title: ( localize(3034, "Split Up")) }, group: '1_split', order: 10 });
274
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(3035, "Split Down")) }, group: '1_split', order: 20 });
275
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(3036, "Split Left")) }, group: '1_split', order: 30 });
276
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(3037, "Split Right")) }, group: '1_split', order: 40 });
277
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_ABOVE_GROUP, title: ( localize(3063, "Move Above")) }, group: '2_move', order: 10 });
278
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_BELOW_GROUP, title: ( localize(3064, "Move Below")) }, group: '2_move', order: 20 });
279
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_LEFT_GROUP, title: ( localize(3065, "Move Left")) }, group: '2_move', order: 30 });
280
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_RIGHT_GROUP, title: ( localize(3066, "Move Right")) }, group: '2_move', order: 40 });
281
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(3067, "Split in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '3_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
282
- MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(3068, "Join in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '3_split_in_group', order: 10, when: SideBySideEditorActiveContext });
283
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(3069, "Inline View")), toggled: ( ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false)) }, group: '1_diff', order: 10, when: ( ContextKeyExpr.has('isInDiffEditor')) });
284
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(3070, "Show Opened Editors")) }, group: '3_open', order: 10 });
285
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3054, "Close All")) }, group: '5_close', order: 10 });
286
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(3053, "Close Saved")) }, group: '5_close', order: 20 });
287
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(3071, "Enable Preview Editors")), toggled: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) }, group: '7_settings', order: 10 });
288
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(3072, "Maximize Group")) }, group: '8_group_operations', order: 5, when: ( ContextKeyExpr.and(( EditorPartMaximizedEditorGroupContext.negate()), EditorPartMultipleEditorGroupsContext)) });
289
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(3073, "Unmaximize Group")) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
290
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(3074, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( IsAuxiliaryWindowContext.toNegated()) });
291
- MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(3075, "Configure Editors")) }, group: '9_configure', order: 10 });
230
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(3036, "Lock Group")), icon: Codicon.unlock }, group: 'navigation', order: 10, when: ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))) });
231
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(3037, "Unlock Group")), icon: Codicon.lock, toggled: ContextKeyExpr.true() }, group: 'navigation', order: 10, when: ActiveEditorGroupLockedContext });
232
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(3038, "Close Group")), icon: Codicon.close }, group: 'navigation', order: 20, when: ( ContextKeyExpr.or(IsAuxiliaryWindowContext, EditorPartMultipleEditorGroupsContext)) });
233
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(3039, "Split Up")) }, group: '2_split', order: 10 });
234
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(3040, "Split Down")) }, group: '2_split', order: 20 });
235
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(3041, "Split Left")) }, group: '2_split', order: 30 });
236
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(3042, "Split Right")) }, group: '2_split', order: 40 });
237
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(3043, "New Window")) }, group: '3_window', order: 10 });
238
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(3044, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '4_lock', order: 10, when: ( IsAuxiliaryWindowContext.toNegated()) });
239
+ MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(3045, "Close")) }, group: '5_close', order: 10, when: MultipleEditorGroupsContext });
240
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(3039, "Split Up")) }, group: '2_split', order: 10 });
241
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(3040, "Split Down")) }, group: '2_split', order: 20 });
242
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(3041, "Split Left")) }, group: '2_split', order: 30 });
243
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(3042, "Split Right")) }, group: '2_split', order: 40 });
244
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3046, "Move into New Window")) }, group: '3_window', order: 10 });
245
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3047, "Copy into New Window")) }, group: '3_window', order: 20 });
246
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(3048, "Tab Bar")), group: '4_config', order: 10, when: ( InEditorZenModeContext.negate()) });
247
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(3049, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple')) }, group: '1_config', order: 10 });
248
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(3050, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single')) }, group: '1_config', order: 20 });
249
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(3051, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')) }, group: '1_config', order: 30 });
250
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(3048, "Tab Bar")), group: '4_config', order: 10, when: InEditorZenModeContext });
251
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(3049, "Multiple Tabs")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'multiple')) }, group: '1_config', order: 10 });
252
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(3050, "Single Tab")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'single')) }, group: '1_config', order: 20 });
253
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(3051, "Hidden")), toggled: ( ContextKeyExpr.equals('config.zenMode.showTabs', 'none')) }, group: '1_config', order: 30 });
254
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(3052, "Editor Actions Position")), group: '4_config', order: 20 });
255
+ MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(3048, "Tab Bar")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default')) }, group: '1_config', order: 10, when: ( ( ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')).negate()) });
256
+ MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(3053, "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 });
257
+ MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(3054, "Hidden")), toggled: ( ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden')) }, group: '1_config', order: 30 });
258
+ MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(3055, "Configure Tabs")) }, group: '9_configure', order: 10 });
259
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(3045, "Close")) }, group: '1_close', order: 10 });
260
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3056, "Close Others")), precondition: ( EditorGroupEditorsCountContext.notEqualsTo('1')) }, group: '1_close', order: 20 });
261
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(3057, "Close to the Right")), precondition: ( ContextKeyExpr.and(( ActiveEditorLastInGroupContext.toNegated()), ( MultipleEditorsSelectedInGroupContext.negate()))) }, group: '1_close', order: 30, when: EditorTabsVisibleContext });
262
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(3058, "Close Saved")) }, group: '1_close', order: 40 });
263
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3059, "Close All")) }, group: '1_close', order: 50 });
264
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(3060, "Reopen Editor With...")) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
265
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(3061, "Keep Open")), precondition: ( ActiveEditorPinnedContext.toNegated()) }, group: '3_preview', order: 10, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
266
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(3062, "Pin")) }, group: '3_preview', order: 20, when: ( ActiveEditorStickyContext.toNegated()) });
267
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(3063, "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
268
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR, title: ( localize(3042, "Split Right")) }, group: '5_split', order: 10, when: ( SplitEditorsVertically.negate()) });
269
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR, title: ( localize(3040, "Split Down")) }, group: '5_split', order: 10, when: SplitEditorsVertically });
270
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorSplitMoveSubmenu, title: ( localize(3064, "Split & Move")), group: '5_split', order: 15 });
271
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3065, "Move into New Window")) }, group: '7_new_window', order: 10 });
272
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(3066, "Copy into New Window")) }, group: '7_new_window', order: 20 });
273
+ MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(3067, "Share")), group: '11_share', order: -1, when: ( MultipleEditorsSelectedInGroupContext.negate()) });
274
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_UP, title: ( localize(3039, "Split Up")) }, group: '1_split', order: 10 });
275
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(3040, "Split Down")) }, group: '1_split', order: 20 });
276
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(3041, "Split Left")) }, group: '1_split', order: 30 });
277
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(3042, "Split Right")) }, group: '1_split', order: 40 });
278
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_ABOVE_GROUP, title: ( localize(3068, "Move Above")) }, group: '2_move', order: 10 });
279
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_BELOW_GROUP, title: ( localize(3069, "Move Below")) }, group: '2_move', order: 20 });
280
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_LEFT_GROUP, title: ( localize(3070, "Move Left")) }, group: '2_move', order: 30 });
281
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: MOVE_EDITOR_INTO_RIGHT_GROUP, title: ( localize(3071, "Move Right")) }, group: '2_move', order: 40 });
282
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(3072, "Split in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '3_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
283
+ MenuRegistry.appendMenuItem(MenuId.EditorSplitMoveSubmenu, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(3073, "Join in Group")), precondition: ( MultipleEditorsSelectedInGroupContext.negate()) }, group: '3_split_in_group', order: 10, when: SideBySideEditorActiveContext });
284
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(3074, "Inline View")), toggled: ( ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false)) }, group: '1_diff', order: 10, when: ( ContextKeyExpr.has('isInDiffEditor')) });
285
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(3075, "Show Opened Editors")) }, group: '3_open', order: 10 });
286
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(3059, "Close All")) }, group: '5_close', order: 10 });
287
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(3058, "Close Saved")) }, group: '5_close', order: 20 });
288
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(3076, "Enable Preview Editors")), toggled: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) }, group: '7_settings', order: 10 });
289
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(3077, "Maximize Group")) }, group: '8_group_operations', order: 5, when: ( ContextKeyExpr.and(( EditorPartMaximizedEditorGroupContext.negate()), EditorPartMultipleEditorGroupsContext)) });
290
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(3078, "Unmaximize Group")) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
291
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(3079, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( IsAuxiliaryWindowContext.toNegated()) });
292
+ MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(3080, "Configure Editors")) }, group: '9_configure', order: 10 });
292
293
  function appendEditorToolItem(primary, when, order, alternative, precondition, enableInCompactMode) {
293
294
  const item = {
294
295
  command: {
@@ -318,96 +319,96 @@ const SPLIT_ORDER = 100000;
318
319
  const CLOSE_ORDER = 1000000;
319
320
  appendEditorToolItem({
320
321
  id: SPLIT_EDITOR,
321
- title: ( localize(3076, "Split Editor Right")),
322
+ title: ( localize(3081, "Split Editor Right")),
322
323
  icon: Codicon.splitHorizontal
323
324
  }, ( SplitEditorsVertically.negate()), SPLIT_ORDER, {
324
325
  id: SPLIT_EDITOR_DOWN,
325
- title: ( localize(3077, "Split Editor Down")),
326
+ title: ( localize(3082, "Split Editor Down")),
326
327
  icon: Codicon.splitVertical
327
328
  });
328
329
  appendEditorToolItem({
329
330
  id: SPLIT_EDITOR,
330
- title: ( localize(3077, "Split Editor Down")),
331
+ title: ( localize(3082, "Split Editor Down")),
331
332
  icon: Codicon.splitVertical
332
333
  }, SplitEditorsVertically, SPLIT_ORDER, {
333
334
  id: SPLIT_EDITOR_RIGHT,
334
- title: ( localize(3076, "Split Editor Right")),
335
+ title: ( localize(3081, "Split Editor Right")),
335
336
  icon: Codicon.splitHorizontal
336
337
  });
337
338
  appendEditorToolItem({
338
339
  id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
339
- title: ( localize(3078, "Toggle Layout")),
340
+ title: ( localize(3083, "Toggle Layout")),
340
341
  icon: Codicon.editorLayout
341
342
  }, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
342
343
  appendEditorToolItem({
343
344
  id: CLOSE_EDITOR_COMMAND_ID,
344
- title: ( localize(3040, "Close")),
345
+ title: ( localize(3045, "Close")),
345
346
  icon: Codicon.close
346
347
  }, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
347
348
  id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
348
- title: ( localize(3054, "Close All")),
349
+ title: ( localize(3059, "Close All")),
349
350
  icon: Codicon.closeAll
350
351
  });
351
352
  appendEditorToolItem({
352
353
  id: CLOSE_EDITOR_COMMAND_ID,
353
- title: ( localize(3040, "Close")),
354
+ title: ( localize(3045, "Close")),
354
355
  icon: Codicon.closeDirty
355
356
  }, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ( ActiveEditorStickyContext.toNegated()))), CLOSE_ORDER, {
356
357
  id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
357
- title: ( localize(3054, "Close All")),
358
+ title: ( localize(3059, "Close All")),
358
359
  icon: Codicon.closeAll
359
360
  });
360
361
  appendEditorToolItem({
361
362
  id: UNPIN_EDITOR_COMMAND_ID,
362
- title: ( localize(3058, "Unpin")),
363
+ title: ( localize(3063, "Unpin")),
363
364
  icon: Codicon.pinned
364
365
  }, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ( ActiveEditorDirtyContext.toNegated()), ActiveEditorStickyContext)), CLOSE_ORDER, {
365
366
  id: CLOSE_EDITOR_COMMAND_ID,
366
- title: ( localize(3040, "Close")),
367
+ title: ( localize(3045, "Close")),
367
368
  icon: Codicon.close
368
369
  });
369
370
  appendEditorToolItem({
370
371
  id: UNPIN_EDITOR_COMMAND_ID,
371
- title: ( localize(3058, "Unpin")),
372
+ title: ( localize(3063, "Unpin")),
372
373
  icon: Codicon.pinnedDirty
373
374
  }, ( ContextKeyExpr.and(( EditorTabsVisibleContext.toNegated()), ActiveEditorDirtyContext, ActiveEditorStickyContext)), CLOSE_ORDER, {
374
375
  id: CLOSE_EDITOR_COMMAND_ID,
375
- title: ( localize(3040, "Close")),
376
+ title: ( localize(3045, "Close")),
376
377
  icon: Codicon.close
377
378
  });
378
379
  appendEditorToolItem({
379
380
  id: LOCK_GROUP_COMMAND_ID,
380
- title: ( localize(3079, "Lock Group")),
381
+ title: ( localize(3084, "Lock Group")),
381
382
  icon: Codicon.unlock
382
383
  }, ( ContextKeyExpr.and(IsAuxiliaryWindowContext, ( ActiveEditorGroupLockedContext.toNegated()))), CLOSE_ORDER - 1);
383
384
  appendEditorToolItem({
384
385
  id: UNLOCK_GROUP_COMMAND_ID,
385
- title: ( localize(3080, "Unlock Group")),
386
+ title: ( localize(3085, "Unlock Group")),
386
387
  icon: Codicon.lock,
387
388
  toggled: ContextKeyExpr.true()
388
389
  }, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
389
- const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(3081, 'Icon for the previous change action in the diff editor.')));
390
+ const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(3086, 'Icon for the previous change action in the diff editor.')));
390
391
  appendEditorToolItem({
391
392
  id: GOTO_PREVIOUS_CHANGE,
392
- title: ( localize(3082, "Previous Change")),
393
+ title: ( localize(3087, "Previous Change")),
393
394
  icon: previousChangeIcon
394
395
  }, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges, true);
395
- const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(3083, 'Icon for the next change action in the diff editor.')));
396
+ const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(3088, 'Icon for the next change action in the diff editor.')));
396
397
  appendEditorToolItem({
397
398
  id: GOTO_NEXT_CHANGE,
398
- title: ( localize(3084, "Next Change")),
399
+ title: ( localize(3089, "Next Change")),
399
400
  icon: nextChangeIcon
400
401
  }, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges, true);
401
402
  appendEditorToolItem({
402
403
  id: DIFF_SWAP_SIDES,
403
- title: ( localize(3085, "Swap Left and Right Side")),
404
+ title: ( localize(3090, "Swap Left and Right Side")),
404
405
  icon: Codicon.arrowSwap
405
406
  }, ( ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext)), 15, undefined, undefined);
406
- const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(3086, 'Icon for the toggle whitespace action in the diff editor.')));
407
+ const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(3091, 'Icon for the toggle whitespace action in the diff editor.')));
407
408
  MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
408
409
  command: {
409
410
  id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
410
- title: ( localize(3087, "Show Leading/Trailing Whitespace Differences")),
411
+ title: ( localize(3092, "Show Leading/Trailing Whitespace Differences")),
411
412
  icon: toggleWhitespace,
412
413
  precondition: TextCompareEditorActiveContext,
413
414
  toggled: ( ContextKeyExpr.equals('config.diffEditor.ignoreTrimWhitespace', false)),
@@ -416,22 +417,22 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
416
417
  when: TextCompareEditorActiveContext,
417
418
  order: 20,
418
419
  });
419
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(3088, 'Keep Editor')), category: Categories.View }, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
420
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(3089, 'Pin Editor')), category: Categories.View } });
421
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(3090, 'Unpin Editor')), category: Categories.View } });
422
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(3091, 'Close Editor')), category: Categories.View } });
423
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(3092, 'Close Pinned Editor')), category: Categories.View } });
424
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3093, 'Close All Editors in Group')), category: Categories.View } });
425
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(3094, 'Close Saved Editors in Group')), category: Categories.View } });
426
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3095, 'Close Other Editors in Group')), category: Categories.View } });
427
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(3096, 'Close Editors to the Right in Group')), category: Categories.View }, when: ( ActiveEditorLastInGroupContext.toNegated()) });
428
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(3097, 'Close Editor Group')), category: Categories.View }, when: MultipleEditorGroupsContext });
429
- MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(3055, "Reopen Editor With...")), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
420
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(3093, 'Keep Editor')), category: Categories.View }, when: ( ContextKeyExpr.has('config.workbench.editor.enablePreview')) });
421
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(3094, 'Pin Editor')), category: Categories.View } });
422
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(3095, 'Unpin Editor')), category: Categories.View } });
423
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(3096, 'Close Editor')), category: Categories.View } });
424
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(3097, 'Close Pinned Editor')), category: Categories.View } });
425
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3098, 'Close All Editors in Group')), category: Categories.View } });
426
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(3099, 'Close Saved Editors in Group')), category: Categories.View } });
427
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(3100, 'Close Other Editors in Group')), category: Categories.View } });
428
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(3101, 'Close Editors to the Right in Group')), category: Categories.View }, when: ( ActiveEditorLastInGroupContext.toNegated()) });
429
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(3102, 'Close Editor Group')), category: Categories.View }, when: MultipleEditorGroupsContext });
430
+ MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(3060, "Reopen Editor With...")), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
430
431
  MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
431
432
  group: '1_editor',
432
433
  command: {
433
434
  id: ReopenClosedEditorAction.ID,
434
- title: ( localize(3098, "&&Reopen Closed Editor")),
435
+ title: ( localize(3103, "&&Reopen Closed Editor")),
435
436
  precondition: ( ContextKeyExpr.has('canReopenClosedEditor'))
436
437
  },
437
438
  order: 1
@@ -440,19 +441,19 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
440
441
  group: 'z_clear',
441
442
  command: {
442
443
  id: ClearRecentFilesAction.ID,
443
- title: ( localize(3099, "&&Clear Recently Opened..."))
444
+ title: ( localize(3104, "&&Clear Recently Opened..."))
444
445
  },
445
446
  order: 1
446
447
  });
447
448
  MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
448
- title: ( localize(3100, "Share")),
449
+ title: ( localize(3105, "Share")),
449
450
  submenu: MenuId.MenubarShare,
450
451
  group: '45_share',
451
452
  order: 1,
452
453
  });
453
454
  MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
454
455
  group: '2_appearance',
455
- title: ( localize(3101, "Editor &&Layout")),
456
+ title: ( localize(3106, "Editor &&Layout")),
456
457
  submenu: MenuId.MenubarLayoutMenu,
457
458
  order: 2
458
459
  });
@@ -461,8 +462,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
461
462
  command: {
462
463
  id: SPLIT_EDITOR_UP,
463
464
  title: {
464
- ...( localize2(3102, "Split Up")),
465
- mnemonicTitle: ( localize(3103, "Split &&Up")),
465
+ ...( localize2(3107, "Split Up")),
466
+ mnemonicTitle: ( localize(3108, "Split &&Up")),
466
467
  }
467
468
  },
468
469
  order: 1
@@ -472,8 +473,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
472
473
  command: {
473
474
  id: SPLIT_EDITOR_DOWN,
474
475
  title: {
475
- ...( localize2(3104, "Split Down")),
476
- mnemonicTitle: ( localize(3105, "Split &&Down")),
476
+ ...( localize2(3109, "Split Down")),
477
+ mnemonicTitle: ( localize(3110, "Split &&Down")),
477
478
  }
478
479
  },
479
480
  order: 2
@@ -483,8 +484,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
483
484
  command: {
484
485
  id: SPLIT_EDITOR_LEFT,
485
486
  title: {
486
- ...( localize2(3106, "Split Left")),
487
- mnemonicTitle: ( localize(3107, "Split &&Left")),
487
+ ...( localize2(3111, "Split Left")),
488
+ mnemonicTitle: ( localize(3112, "Split &&Left")),
488
489
  }
489
490
  },
490
491
  order: 3
@@ -494,8 +495,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
494
495
  command: {
495
496
  id: SPLIT_EDITOR_RIGHT,
496
497
  title: {
497
- ...( localize2(3108, "Split Right")),
498
- mnemonicTitle: ( localize(3109, "Split &&Right")),
498
+ ...( localize2(3113, "Split Right")),
499
+ mnemonicTitle: ( localize(3114, "Split &&Right")),
499
500
  }
500
501
  },
501
502
  order: 4
@@ -505,8 +506,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
505
506
  command: {
506
507
  id: SPLIT_EDITOR_IN_GROUP,
507
508
  title: {
508
- ...( localize2(3110, "Split in Group")),
509
- mnemonicTitle: ( localize(3111, "Split in &&Group")),
509
+ ...( localize2(3115, "Split in Group")),
510
+ mnemonicTitle: ( localize(3116, "Split in &&Group")),
510
511
  }
511
512
  },
512
513
  when: ActiveEditorCanSplitInGroupContext,
@@ -517,8 +518,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
517
518
  command: {
518
519
  id: JOIN_EDITOR_IN_GROUP,
519
520
  title: {
520
- ...( localize2(3112, "Join in Group")),
521
- mnemonicTitle: ( localize(3113, "Join in &&Group")),
521
+ ...( localize2(3117, "Join in Group")),
522
+ mnemonicTitle: ( localize(3118, "Join in &&Group")),
522
523
  }
523
524
  },
524
525
  when: SideBySideEditorActiveContext,
@@ -529,8 +530,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
529
530
  command: {
530
531
  id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
531
532
  title: {
532
- ...( localize2(3114, "Move Editor into New Window")),
533
- mnemonicTitle: ( localize(3115, "&&Move Editor into New Window")),
533
+ ...( localize2(3119, "Move Editor into New Window")),
534
+ mnemonicTitle: ( localize(3120, "&&Move Editor into New Window")),
534
535
  }
535
536
  },
536
537
  order: 1
@@ -540,8 +541,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
540
541
  command: {
541
542
  id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
542
543
  title: {
543
- ...( localize2(3116, "Copy Editor into New Window")),
544
- mnemonicTitle: ( localize(3117, "&&Copy Editor into New Window")),
544
+ ...( localize2(3121, "Copy Editor into New Window")),
545
+ mnemonicTitle: ( localize(3122, "&&Copy Editor into New Window")),
545
546
  }
546
547
  },
547
548
  order: 2
@@ -551,8 +552,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
551
552
  command: {
552
553
  id: EditorLayoutSingleAction.ID,
553
554
  title: {
554
- ...( localize2(3118, "Single")),
555
- mnemonicTitle: ( localize(3119, "&&Single")),
555
+ ...( localize2(3123, "Single")),
556
+ mnemonicTitle: ( localize(3124, "&&Single")),
556
557
  }
557
558
  },
558
559
  order: 1
@@ -562,8 +563,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
562
563
  command: {
563
564
  id: EditorLayoutTwoColumnsAction.ID,
564
565
  title: {
565
- ...( localize2(3120, "Two Columns")),
566
- mnemonicTitle: ( localize(3121, "&&Two Columns")),
566
+ ...( localize2(3125, "Two Columns")),
567
+ mnemonicTitle: ( localize(3126, "&&Two Columns")),
567
568
  }
568
569
  },
569
570
  order: 3
@@ -573,8 +574,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
573
574
  command: {
574
575
  id: EditorLayoutThreeColumnsAction.ID,
575
576
  title: {
576
- ...( localize2(3122, "Three Columns")),
577
- mnemonicTitle: ( localize(3123, "T&&hree Columns")),
577
+ ...( localize2(3127, "Three Columns")),
578
+ mnemonicTitle: ( localize(3128, "T&&hree Columns")),
578
579
  }
579
580
  },
580
581
  order: 4
@@ -584,8 +585,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
584
585
  command: {
585
586
  id: EditorLayoutTwoRowsAction.ID,
586
587
  title: {
587
- ...( localize2(3124, "Two Rows")),
588
- mnemonicTitle: ( localize(3125, "T&&wo Rows")),
588
+ ...( localize2(3129, "Two Rows")),
589
+ mnemonicTitle: ( localize(3130, "T&&wo Rows")),
589
590
  }
590
591
  },
591
592
  order: 5
@@ -595,8 +596,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
595
596
  command: {
596
597
  id: EditorLayoutThreeRowsAction.ID,
597
598
  title: {
598
- ...( localize2(3126, "Three Rows")),
599
- mnemonicTitle: ( localize(3127, "Three &&Rows")),
599
+ ...( localize2(3131, "Three Rows")),
600
+ mnemonicTitle: ( localize(3132, "Three &&Rows")),
600
601
  }
601
602
  },
602
603
  order: 6
@@ -606,8 +607,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
606
607
  command: {
607
608
  id: EditorLayoutTwoByTwoGridAction.ID,
608
609
  title: {
609
- ...( localize2(3128, "Grid (2x2)")),
610
- mnemonicTitle: ( localize(3129, "&&Grid (2x2)")),
610
+ ...( localize2(3133, "Grid (2x2)")),
611
+ mnemonicTitle: ( localize(3134, "&&Grid (2x2)")),
611
612
  }
612
613
  },
613
614
  order: 7
@@ -617,8 +618,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
617
618
  command: {
618
619
  id: EditorLayoutTwoRowsRightAction.ID,
619
620
  title: {
620
- ...( localize2(3130, "Two Rows Right")),
621
- mnemonicTitle: ( localize(3131, "Two R&&ows Right")),
621
+ ...( localize2(3135, "Two Rows Right")),
622
+ mnemonicTitle: ( localize(3136, "Two R&&ows Right")),
622
623
  }
623
624
  },
624
625
  order: 8
@@ -628,8 +629,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
628
629
  command: {
629
630
  id: EditorLayoutTwoColumnsBottomAction.ID,
630
631
  title: {
631
- ...( localize2(3132, "Two Columns Bottom")),
632
- mnemonicTitle: ( localize(3133, "Two &&Columns Bottom")),
632
+ ...( localize2(3137, "Two Columns Bottom")),
633
+ mnemonicTitle: ( localize(3138, "Two &&Columns Bottom")),
633
634
  }
634
635
  },
635
636
  order: 9
@@ -638,7 +639,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
638
639
  group: '1_history_nav',
639
640
  command: {
640
641
  id: 'workbench.action.navigateToLastEditLocation',
641
- title: ( localize(3134, "&&Last Edit Location")),
642
+ title: ( localize(3139, "&&Last Edit Location")),
642
643
  precondition: ( ContextKeyExpr.has('canNavigateToLastEditLocation'))
643
644
  },
644
645
  order: 3
@@ -647,7 +648,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
647
648
  group: '1_sideBySide',
648
649
  command: {
649
650
  id: FOCUS_FIRST_SIDE_EDITOR,
650
- title: ( localize(3135, "&&First Side in Editor"))
651
+ title: ( localize(3140, "&&First Side in Editor"))
651
652
  },
652
653
  when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
653
654
  order: 1
@@ -656,7 +657,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
656
657
  group: '1_sideBySide',
657
658
  command: {
658
659
  id: FOCUS_SECOND_SIDE_EDITOR,
659
- title: ( localize(3136, "&&Second Side in Editor"))
660
+ title: ( localize(3141, "&&Second Side in Editor"))
660
661
  },
661
662
  when: ( ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext)),
662
663
  order: 2
@@ -665,7 +666,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
665
666
  group: '2_any',
666
667
  command: {
667
668
  id: 'workbench.action.nextEditor',
668
- title: ( localize(3137, "&&Next Editor"))
669
+ title: ( localize(3142, "&&Next Editor"))
669
670
  },
670
671
  order: 1
671
672
  });
@@ -673,7 +674,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
673
674
  group: '2_any',
674
675
  command: {
675
676
  id: 'workbench.action.previousEditor',
676
- title: ( localize(3138, "&&Previous Editor"))
677
+ title: ( localize(3143, "&&Previous Editor"))
677
678
  },
678
679
  order: 2
679
680
  });
@@ -681,7 +682,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
681
682
  group: '3_any_used',
682
683
  command: {
683
684
  id: 'workbench.action.openNextRecentlyUsedEditor',
684
- title: ( localize(3139, "&&Next Used Editor"))
685
+ title: ( localize(3144, "&&Next Used Editor"))
685
686
  },
686
687
  order: 1
687
688
  });
@@ -689,7 +690,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
689
690
  group: '3_any_used',
690
691
  command: {
691
692
  id: 'workbench.action.openPreviousRecentlyUsedEditor',
692
- title: ( localize(3140, "&&Previous Used Editor"))
693
+ title: ( localize(3145, "&&Previous Used Editor"))
693
694
  },
694
695
  order: 2
695
696
  });
@@ -697,7 +698,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
697
698
  group: '4_group',
698
699
  command: {
699
700
  id: 'workbench.action.nextEditorInGroup',
700
- title: ( localize(3141, "&&Next Editor in Group"))
701
+ title: ( localize(3146, "&&Next Editor in Group"))
701
702
  },
702
703
  order: 1
703
704
  });
@@ -705,7 +706,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
705
706
  group: '4_group',
706
707
  command: {
707
708
  id: 'workbench.action.previousEditorInGroup',
708
- title: ( localize(3142, "&&Previous Editor in Group"))
709
+ title: ( localize(3147, "&&Previous Editor in Group"))
709
710
  },
710
711
  order: 2
711
712
  });
@@ -713,7 +714,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
713
714
  group: '5_group_used',
714
715
  command: {
715
716
  id: 'workbench.action.openNextRecentlyUsedEditorInGroup',
716
- title: ( localize(3143, "&&Next Used Editor in Group"))
717
+ title: ( localize(3148, "&&Next Used Editor in Group"))
717
718
  },
718
719
  order: 1
719
720
  });
@@ -721,13 +722,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
721
722
  group: '5_group_used',
722
723
  command: {
723
724
  id: 'workbench.action.openPreviousRecentlyUsedEditorInGroup',
724
- title: ( localize(3144, "&&Previous Used Editor in Group"))
725
+ title: ( localize(3149, "&&Previous Used Editor in Group"))
725
726
  },
726
727
  order: 2
727
728
  });
728
729
  MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
729
730
  group: '2_editor_nav',
730
- title: ( localize(3145, "Switch &&Editor")),
731
+ title: ( localize(3150, "Switch &&Editor")),
731
732
  submenu: MenuId.MenubarSwitchEditorMenu,
732
733
  order: 1
733
734
  });
@@ -735,7 +736,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
735
736
  group: '1_focus_index',
736
737
  command: {
737
738
  id: 'workbench.action.focusFirstEditorGroup',
738
- title: ( localize(3146, "Group &&1"))
739
+ title: ( localize(3151, "Group &&1"))
739
740
  },
740
741
  order: 1
741
742
  });
@@ -743,7 +744,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
743
744
  group: '1_focus_index',
744
745
  command: {
745
746
  id: 'workbench.action.focusSecondEditorGroup',
746
- title: ( localize(3147, "Group &&2"))
747
+ title: ( localize(3152, "Group &&2"))
747
748
  },
748
749
  order: 2
749
750
  });
@@ -751,7 +752,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
751
752
  group: '1_focus_index',
752
753
  command: {
753
754
  id: 'workbench.action.focusThirdEditorGroup',
754
- title: ( localize(3148, "Group &&3")),
755
+ title: ( localize(3153, "Group &&3")),
755
756
  precondition: MultipleEditorGroupsContext
756
757
  },
757
758
  order: 3
@@ -760,7 +761,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
760
761
  group: '1_focus_index',
761
762
  command: {
762
763
  id: 'workbench.action.focusFourthEditorGroup',
763
- title: ( localize(3149, "Group &&4")),
764
+ title: ( localize(3154, "Group &&4")),
764
765
  precondition: MultipleEditorGroupsContext
765
766
  },
766
767
  order: 4
@@ -769,7 +770,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
769
770
  group: '1_focus_index',
770
771
  command: {
771
772
  id: 'workbench.action.focusFifthEditorGroup',
772
- title: ( localize(3150, "Group &&5")),
773
+ title: ( localize(3155, "Group &&5")),
773
774
  precondition: MultipleEditorGroupsContext
774
775
  },
775
776
  order: 5
@@ -778,7 +779,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
778
779
  group: '2_next_prev',
779
780
  command: {
780
781
  id: 'workbench.action.focusNextGroup',
781
- title: ( localize(3151, "&&Next Group")),
782
+ title: ( localize(3156, "&&Next Group")),
782
783
  precondition: MultipleEditorGroupsContext
783
784
  },
784
785
  order: 1
@@ -787,7 +788,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
787
788
  group: '2_next_prev',
788
789
  command: {
789
790
  id: 'workbench.action.focusPreviousGroup',
790
- title: ( localize(3152, "&&Previous Group")),
791
+ title: ( localize(3157, "&&Previous Group")),
791
792
  precondition: MultipleEditorGroupsContext
792
793
  },
793
794
  order: 2
@@ -796,7 +797,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
796
797
  group: '3_directional',
797
798
  command: {
798
799
  id: 'workbench.action.focusLeftGroup',
799
- title: ( localize(3153, "Group &&Left")),
800
+ title: ( localize(3158, "Group &&Left")),
800
801
  precondition: MultipleEditorGroupsContext
801
802
  },
802
803
  order: 1
@@ -805,7 +806,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
805
806
  group: '3_directional',
806
807
  command: {
807
808
  id: 'workbench.action.focusRightGroup',
808
- title: ( localize(3154, "Group &&Right")),
809
+ title: ( localize(3159, "Group &&Right")),
809
810
  precondition: MultipleEditorGroupsContext
810
811
  },
811
812
  order: 2
@@ -814,7 +815,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
814
815
  group: '3_directional',
815
816
  command: {
816
817
  id: 'workbench.action.focusAboveGroup',
817
- title: ( localize(3155, "Group &&Above")),
818
+ title: ( localize(3160, "Group &&Above")),
818
819
  precondition: MultipleEditorGroupsContext
819
820
  },
820
821
  order: 3
@@ -823,14 +824,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
823
824
  group: '3_directional',
824
825
  command: {
825
826
  id: 'workbench.action.focusBelowGroup',
826
- title: ( localize(3156, "Group &&Below")),
827
+ title: ( localize(3161, "Group &&Below")),
827
828
  precondition: MultipleEditorGroupsContext
828
829
  },
829
830
  order: 4
830
831
  });
831
832
  MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
832
833
  group: '2_editor_nav',
833
- title: ( localize(3157, "Switch &&Group")),
834
+ title: ( localize(3162, "Switch &&Group")),
834
835
  submenu: MenuId.MenubarSwitchGroupMenu,
835
836
  order: 2
836
837
  });