@codingame/monaco-vscode-view-common-service-override 10.1.3 → 11.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.
- package/package.json +5 -3
- package/viewCommon.js +8 -4
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.js +8 -7
- package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +58 -58
- package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
- package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +160 -160
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +8 -8
- package/vscode/src/vs/workbench/browser/parts/paneCompositePartService.js +6 -3
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +12 -12
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +14 -10
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +27 -27
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +11 -11
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
- package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +5 -5
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +9 -9
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
- package/vscode/src/vs/workbench/services/progress/browser/progressService.js +10 -8
- package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +20 -4
- package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +1 -1
- package/vscode/src/vs/base/browser/ui/centered/centeredViewLayout.js +0 -178
- package/vscode/src/vs/base/browser/ui/grid/grid.js +0 -494
- package/vscode/src/vs/base/browser/ui/grid/gridview.css.js +0 -6
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +0 -1113
- package/vscode/src/vs/workbench/browser/media/style.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +0 -582
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activityaction.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/activitybar/media/activitybarpart.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +0 -208
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +0 -622
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +0 -332
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +0 -249
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +0 -522
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +0 -1068
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +0 -570
- package/vscode/src/vs/workbench/browser/parts/editor/media/editordroptarget.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +0 -654
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +0 -492
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +0 -170
- package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +0 -6
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +0 -34
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +0 -237
- package/vscode/src/vs/workbench/browser/style.js +0 -54
- package/vscode/src/vs/workbench/services/activity/browser/activityService.js +0 -145
|
@@ -15,7 +15,7 @@ import { EditorStatusContribution, ChangeLanguageAction, ChangeEOLAction, Change
|
|
|
15
15
|
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
16
16
|
import { registerAction2, MenuRegistry, MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
17
17
|
import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
|
|
18
|
-
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 'vscode/vscode/vs/workbench/browser/parts/editor/editorActions';
|
|
18
|
+
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-explorer-outline-timeline-view-common-views-workbench-common/vscode/vs/workbench/browser/parts/editor/editorActions';
|
|
19
19
|
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_IN_GROUP, JOIN_EDITOR_IN_GROUP, MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, SHOW_EDITORS_IN_GROUP, TOGGLE_KEEP_EDITORS_COMMAND_ID, TOGGLE_MAXIMIZE_EDITOR_GROUP, SPLIT_EDITOR, 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 'vscode/vscode/vs/workbench/browser/parts/editor/editorCommands';
|
|
20
20
|
import { TOGGLE_DIFF_SIDE_BY_SIDE, GOTO_PREVIOUS_CHANGE, GOTO_NEXT_CHANGE, DIFF_SWAP_SIDES, TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE } from 'vscode/vscode/vs/workbench/browser/parts/editor/diffEditorCommands';
|
|
21
21
|
import { inQuickPickContext, getQuickNavigateHandler } from 'vscode/vscode/vs/workbench/browser/quickaccess';
|
|
@@ -36,17 +36,17 @@ import { ShowMultipleEditorTabsAction, ShowSingleEditorTabAction, HideEditorTabs
|
|
|
36
36
|
import { EditorContextKeys } from 'vscode/vscode/vs/editor/common/editorContextKeys';
|
|
37
37
|
import 'vscode/vscode/vs/workbench/browser/parts/editor/editor.contribution._autosave';
|
|
38
38
|
|
|
39
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(
|
|
39
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextResourceEditor, TextResourceEditor.ID, ( localize(4054, "Text Editor"))), [
|
|
40
40
|
( (new SyncDescriptor(UntitledTextEditorInput))),
|
|
41
41
|
( (new SyncDescriptor(TextResourceEditorInput)))
|
|
42
42
|
]);
|
|
43
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(
|
|
43
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(TextDiffEditor, TextDiffEditor.ID, ( localize(4055, "Text Diff Editor"))), [
|
|
44
44
|
( (new SyncDescriptor(DiffEditorInput)))
|
|
45
45
|
]);
|
|
46
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(
|
|
46
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(BinaryResourceDiffEditor, BinaryResourceDiffEditor.ID, ( localize(4056, "Binary Diff Editor"))), [
|
|
47
47
|
( (new SyncDescriptor(DiffEditorInput)))
|
|
48
48
|
]);
|
|
49
|
-
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(
|
|
49
|
+
( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(SideBySideEditor, SideBySideEditor.ID, ( localize(4057, "Side by Side Editor"))), [
|
|
50
50
|
( (new SyncDescriptor(SideBySideEditorInput)))
|
|
51
51
|
]);
|
|
52
52
|
( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(UntitledTextEditorInput.ID, UntitledTextEditorInputSerializer);
|
|
@@ -66,22 +66,22 @@ quickAccessRegistry.registerQuickAccessProvider({
|
|
|
66
66
|
ctor: ActiveGroupEditorsByMostRecentlyUsedQuickAccess,
|
|
67
67
|
prefix: ActiveGroupEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
68
68
|
contextKey: editorPickerContextKey,
|
|
69
|
-
placeholder: ( localize(
|
|
70
|
-
helpEntries: [{ description: ( localize(
|
|
69
|
+
placeholder: ( localize(4058, "Type the name of an editor to open it.")),
|
|
70
|
+
helpEntries: [{ description: ( localize(4059, "Show Editors in Active Group by Most Recently Used")), commandId: ShowEditorsInActiveGroupByMostRecentlyUsedAction.ID }]
|
|
71
71
|
});
|
|
72
72
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
73
73
|
ctor: AllEditorsByAppearanceQuickAccess,
|
|
74
74
|
prefix: AllEditorsByAppearanceQuickAccess.PREFIX,
|
|
75
75
|
contextKey: editorPickerContextKey,
|
|
76
|
-
placeholder: ( localize(
|
|
77
|
-
helpEntries: [{ description: ( localize(
|
|
76
|
+
placeholder: ( localize(4058, "Type the name of an editor to open it.")),
|
|
77
|
+
helpEntries: [{ description: ( localize(4060, "Show All Opened Editors By Appearance")), commandId: ShowAllEditorsByAppearanceAction.ID }]
|
|
78
78
|
});
|
|
79
79
|
quickAccessRegistry.registerQuickAccessProvider({
|
|
80
80
|
ctor: AllEditorsByMostRecentlyUsedQuickAccess,
|
|
81
81
|
prefix: AllEditorsByMostRecentlyUsedQuickAccess.PREFIX,
|
|
82
82
|
contextKey: editorPickerContextKey,
|
|
83
|
-
placeholder: ( localize(
|
|
84
|
-
helpEntries: [{ description: ( localize(
|
|
83
|
+
placeholder: ( localize(4058, "Type the name of an editor to open it.")),
|
|
84
|
+
helpEntries: [{ description: ( localize(4061, "Show All Opened Editors By Most Recently Used")), commandId: ShowAllEditorsByMostRecentlyUsedAction.ID }]
|
|
85
85
|
});
|
|
86
86
|
registerAction2(ChangeLanguageAction);
|
|
87
87
|
registerAction2(ChangeEOLAction);
|
|
@@ -225,77 +225,77 @@ if (isMacintosh) {
|
|
|
225
225
|
order: 1
|
|
226
226
|
});
|
|
227
227
|
}
|
|
228
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
228
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: LOCK_GROUP_COMMAND_ID, title: ( localize(4062, "Lock Group")), icon: Codicon.unlock }, group: 'navigation', order: 10, when: ( (ContextKeyExpr.and(
|
|
229
229
|
IsAuxiliaryEditorPartContext,
|
|
230
230
|
(ActiveEditorGroupLockedContext.toNegated())
|
|
231
231
|
))) });
|
|
232
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
233
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(
|
|
234
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
235
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
236
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
237
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
238
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(
|
|
239
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
240
|
-
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(
|
|
241
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
242
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
243
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
244
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
245
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
246
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
247
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(
|
|
248
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(
|
|
249
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(
|
|
250
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(
|
|
251
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(
|
|
252
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(
|
|
253
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(
|
|
254
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(
|
|
255
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(
|
|
256
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(
|
|
257
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(
|
|
232
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: UNLOCK_GROUP_COMMAND_ID, title: ( localize(4063, "Unlock Group")), icon: Codicon.lock, toggled: ContextKeyExpr.true() }, group: 'navigation', order: 10, when: ActiveEditorGroupLockedContext });
|
|
233
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroup, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(4064, "Close Group")), icon: Codicon.close }, group: 'navigation', order: 20, when: ( (ContextKeyExpr.or(IsAuxiliaryEditorPartContext, EditorPartMultipleEditorGroupsContext))) });
|
|
234
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(4065, "Split Up")) }, group: '2_split', order: 10 });
|
|
235
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(4066, "Split Down")) }, group: '2_split', order: 20 });
|
|
236
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(4067, "Split Left")) }, group: '2_split', order: 30 });
|
|
237
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(4068, "Split Right")) }, group: '2_split', order: 40 });
|
|
238
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: NEW_EMPTY_EDITOR_WINDOW_COMMAND_ID, title: ( localize(4069, "New Window")) }, group: '3_window', order: 10 });
|
|
239
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(4070, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '4_lock', order: 10, when: ( (IsAuxiliaryEditorPartContext.toNegated())) });
|
|
240
|
+
MenuRegistry.appendMenuItem(MenuId.EmptyEditorGroupContext, { command: { id: CLOSE_EDITOR_GROUP_COMMAND_ID, title: ( localize(4071, "Close")) }, group: '5_close', order: 10, when: MultipleEditorGroupsContext });
|
|
241
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(4065, "Split Up")) }, group: '2_split', order: 10 });
|
|
242
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(4066, "Split Down")) }, group: '2_split', order: 20 });
|
|
243
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(4067, "Split Left")) }, group: '2_split', order: 30 });
|
|
244
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(4068, "Split Right")) }, group: '2_split', order: 40 });
|
|
245
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: MOVE_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(4072, "Move into New Window")) }, group: '3_window', order: 10 });
|
|
246
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: COPY_EDITOR_GROUP_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(4073, "Copy into New Window")) }, group: '3_window', order: 20 });
|
|
247
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsSubmenu, title: ( localize(4074, "Tab Bar")), group: '4_config', order: 10, when: ( (InEditorZenModeContext.negate())) });
|
|
248
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowMultipleEditorTabsAction.ID, title: ( localize(4075, "Multiple Tabs")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'multiple'))) }, group: '1_config', order: 10 });
|
|
249
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: ShowSingleEditorTabAction.ID, title: ( localize(4076, "Single Tab")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'single'))) }, group: '1_config', order: 20 });
|
|
250
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsSubmenu, { command: { id: HideEditorTabsAction.ID, title: ( localize(4077, "Hidden")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none'))) }, group: '1_config', order: 30 });
|
|
251
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu, title: ( localize(4074, "Tab Bar")), group: '4_config', order: 10, when: InEditorZenModeContext });
|
|
252
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowMultipleEditorTabsAction.ID, title: ( localize(4075, "Multiple Tabs")), toggled: ( (ContextKeyExpr.equals('config.zenMode.showTabs', 'multiple'))) }, group: '1_config', order: 10 });
|
|
253
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenShowSingleEditorTabAction.ID, title: ( localize(4076, "Single Tab")), toggled: ( (ContextKeyExpr.equals('config.zenMode.showTabs', 'single'))) }, group: '1_config', order: 20 });
|
|
254
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarShowTabsZenModeSubmenu, { command: { id: ZenHideEditorTabsAction.ID, title: ( localize(4077, "Hidden")), toggled: ( (ContextKeyExpr.equals('config.zenMode.showTabs', 'none'))) }, group: '1_config', order: 30 });
|
|
255
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { submenu: MenuId.EditorActionsPositionSubmenu, title: ( localize(4078, "Editor Actions Position")), group: '4_config', order: 20 });
|
|
256
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsDefaultAction.ID, title: ( localize(4074, "Tab Bar")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default'))) }, group: '1_config', order: 10, when: ( (( (ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none'))).negate())) });
|
|
257
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: EditorActionsTitleBarAction.ID, title: ( localize(4079, "Title Bar")), toggled: ( (ContextKeyExpr.or(
|
|
258
258
|
(ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'titleBar')),
|
|
259
259
|
(ContextKeyExpr.and(
|
|
260
260
|
(ContextKeyExpr.equals('config.workbench.editor.showTabs', 'none')),
|
|
261
261
|
(ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'default'))
|
|
262
262
|
))
|
|
263
263
|
))) }, group: '1_config', order: 20 });
|
|
264
|
-
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(
|
|
265
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(
|
|
266
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(
|
|
267
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
268
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(
|
|
264
|
+
MenuRegistry.appendMenuItem(MenuId.EditorActionsPositionSubmenu, { command: { id: HideEditorActionsAction.ID, title: ( localize(4080, "Hidden")), toggled: ( (ContextKeyExpr.equals('config.workbench.editor.editorActionsLocation', 'hidden'))) }, group: '1_config', order: 30 });
|
|
265
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTabsBarContext, { command: { id: ConfigureEditorTabsAction.ID, title: ( localize(4081, "Configure Tabs")) }, group: '9_configure', order: 10 });
|
|
266
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize(4071, "Close")) }, group: '1_close', order: 10 });
|
|
267
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(4082, "Close Others")), precondition: ( (EditorGroupEditorsCountContext.notEqualsTo('1'))) }, group: '1_close', order: 20 });
|
|
268
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize(4083, "Close to the Right")), precondition: ( (ContextKeyExpr.and(
|
|
269
269
|
(ActiveEditorLastInGroupContext.toNegated()),
|
|
270
270
|
(MultipleEditorsSelectedInGroupContext.negate())
|
|
271
271
|
))) }, group: '1_close', order: 30, when: EditorTabsVisibleContext });
|
|
272
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(
|
|
273
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
274
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(
|
|
275
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(
|
|
276
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(
|
|
277
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(
|
|
278
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(
|
|
279
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(
|
|
280
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(
|
|
281
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(
|
|
282
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(
|
|
283
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(
|
|
284
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
285
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(
|
|
286
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(
|
|
287
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(
|
|
288
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(
|
|
289
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(
|
|
290
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(
|
|
291
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(
|
|
292
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(
|
|
272
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(4084, "Close Saved")) }, group: '1_close', order: 40 });
|
|
273
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(4085, "Close All")) }, group: '1_close', order: 50 });
|
|
274
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize(4086, "Reopen Editor With...")) }, group: '1_open', order: 10, when: ActiveEditorAvailableEditorIdsContext });
|
|
275
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize(4087, "Keep Open")), precondition: ( (ActiveEditorPinnedContext.toNegated())) }, group: '3_preview', order: 10, when: ( (ContextKeyExpr.has('config.workbench.editor.enablePreview'))) });
|
|
276
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize(4088, "Pin")) }, group: '3_preview', order: 20, when: ( (ActiveEditorStickyContext.toNegated())) });
|
|
277
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize(4089, "Unpin")) }, group: '3_preview', order: 20, when: ActiveEditorStickyContext });
|
|
278
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_UP, title: ( localize(4065, "Split Up")) }, group: '5_split', order: 10 });
|
|
279
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_DOWN, title: ( localize(4066, "Split Down")) }, group: '5_split', order: 20 });
|
|
280
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_LEFT, title: ( localize(4067, "Split Left")) }, group: '5_split', order: 30 });
|
|
281
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_RIGHT, title: ( localize(4068, "Split Right")) }, group: '5_split', order: 40 });
|
|
282
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: SPLIT_EDITOR_IN_GROUP, title: ( localize(4090, "Split in Group")), precondition: ( (MultipleEditorsSelectedInGroupContext.negate())) }, group: '6_split_in_group', order: 10, when: ActiveEditorCanSplitInGroupContext });
|
|
283
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: JOIN_EDITOR_IN_GROUP, title: ( localize(4091, "Join in Group")), precondition: ( (MultipleEditorsSelectedInGroupContext.negate())) }, group: '6_split_in_group', order: 10, when: SideBySideEditorActiveContext });
|
|
284
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(4092, "Move into New Window")) }, group: '7_new_window', order: 10 });
|
|
285
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { command: { id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID, title: ( localize(4093, "Copy into New Window")) }, group: '7_new_window', order: 20 });
|
|
286
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitleContext, { submenu: MenuId.EditorTitleContextShare, title: ( localize(4094, "Share")), group: '11_share', order: -1, when: ( (MultipleEditorsSelectedInGroupContext.negate())) });
|
|
287
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_DIFF_SIDE_BY_SIDE, title: ( localize(4095, "Inline View")), toggled: ( (ContextKeyExpr.equals('config.diffEditor.renderSideBySide', false))) }, group: '1_diff', order: 10, when: ( (ContextKeyExpr.has('isInDiffEditor'))) });
|
|
288
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: SHOW_EDITORS_IN_GROUP, title: ( localize(4096, "Show Opened Editors")) }, group: '3_open', order: 10 });
|
|
289
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize(4085, "Close All")) }, group: '5_close', order: 10 });
|
|
290
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize(4084, "Close Saved")) }, group: '5_close', order: 20 });
|
|
291
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_KEEP_EDITORS_COMMAND_ID, title: ( localize(4097, "Enable Preview Editors")), toggled: ( (ContextKeyExpr.has('config.workbench.editor.enablePreview'))) }, group: '7_settings', order: 10 });
|
|
292
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(4098, "Maximize Group")) }, group: '8_group_operations', order: 5, when: ( (ContextKeyExpr.and(
|
|
293
293
|
(EditorPartMaximizedEditorGroupContext.negate()),
|
|
294
294
|
EditorPartMultipleEditorGroupsContext
|
|
295
295
|
))) });
|
|
296
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(
|
|
297
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(
|
|
298
|
-
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(
|
|
296
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_MAXIMIZE_EDITOR_GROUP, title: ( localize(4099, "Unmaximize Group")) }, group: '8_group_operations', order: 5, when: EditorPartMaximizedEditorGroupContext });
|
|
297
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: TOGGLE_LOCK_GROUP_COMMAND_ID, title: ( localize(4100, "Lock Group")), toggled: ActiveEditorGroupLockedContext }, group: '8_group_operations', order: 10, when: ( (IsAuxiliaryEditorPartContext.toNegated())) });
|
|
298
|
+
MenuRegistry.appendMenuItem(MenuId.EditorTitle, { command: { id: ConfigureEditorAction.ID, title: ( localize(4101, "Configure Editors")) }, group: '9_configure', order: 10 });
|
|
299
299
|
function appendEditorToolItem(primary, when, order, alternative, precondition) {
|
|
300
300
|
const item = {
|
|
301
301
|
command: {
|
|
@@ -322,30 +322,30 @@ const SPLIT_ORDER = 100000;
|
|
|
322
322
|
const CLOSE_ORDER = 1000000;
|
|
323
323
|
appendEditorToolItem({
|
|
324
324
|
id: SPLIT_EDITOR,
|
|
325
|
-
title: ( localize(
|
|
325
|
+
title: ( localize(4102, "Split Editor Right")),
|
|
326
326
|
icon: Codicon.splitHorizontal
|
|
327
327
|
}, ContextKeyExpr.not('splitEditorsVertically'), SPLIT_ORDER, {
|
|
328
328
|
id: SPLIT_EDITOR_DOWN,
|
|
329
|
-
title: ( localize(
|
|
329
|
+
title: ( localize(4103, "Split Editor Down")),
|
|
330
330
|
icon: Codicon.splitVertical
|
|
331
331
|
});
|
|
332
332
|
appendEditorToolItem({
|
|
333
333
|
id: SPLIT_EDITOR,
|
|
334
|
-
title: ( localize(
|
|
334
|
+
title: ( localize(4103, "Split Editor Down")),
|
|
335
335
|
icon: Codicon.splitVertical
|
|
336
336
|
}, ( (ContextKeyExpr.has('splitEditorsVertically'))), SPLIT_ORDER, {
|
|
337
337
|
id: SPLIT_EDITOR_RIGHT,
|
|
338
|
-
title: ( localize(
|
|
338
|
+
title: ( localize(4102, "Split Editor Right")),
|
|
339
339
|
icon: Codicon.splitHorizontal
|
|
340
340
|
});
|
|
341
341
|
appendEditorToolItem({
|
|
342
342
|
id: TOGGLE_SPLIT_EDITOR_IN_GROUP_LAYOUT,
|
|
343
|
-
title: ( localize(
|
|
343
|
+
title: ( localize(4104, "Toggle Layout")),
|
|
344
344
|
icon: Codicon.editorLayout
|
|
345
345
|
}, SideBySideEditorActiveContext, SPLIT_ORDER - 1);
|
|
346
346
|
appendEditorToolItem({
|
|
347
347
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
348
|
-
title: ( localize(
|
|
348
|
+
title: ( localize(4071, "Close")),
|
|
349
349
|
icon: Codicon.close
|
|
350
350
|
}, ( (ContextKeyExpr.and(
|
|
351
351
|
(EditorTabsVisibleContext.toNegated()),
|
|
@@ -353,12 +353,12 @@ appendEditorToolItem({
|
|
|
353
353
|
(ActiveEditorStickyContext.toNegated())
|
|
354
354
|
))), CLOSE_ORDER, {
|
|
355
355
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
356
|
-
title: ( localize(
|
|
356
|
+
title: ( localize(4085, "Close All")),
|
|
357
357
|
icon: Codicon.closeAll
|
|
358
358
|
});
|
|
359
359
|
appendEditorToolItem({
|
|
360
360
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
361
|
-
title: ( localize(
|
|
361
|
+
title: ( localize(4071, "Close")),
|
|
362
362
|
icon: Codicon.closeDirty
|
|
363
363
|
}, ( (ContextKeyExpr.and(
|
|
364
364
|
(EditorTabsVisibleContext.toNegated()),
|
|
@@ -366,12 +366,12 @@ appendEditorToolItem({
|
|
|
366
366
|
(ActiveEditorStickyContext.toNegated())
|
|
367
367
|
))), CLOSE_ORDER, {
|
|
368
368
|
id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID,
|
|
369
|
-
title: ( localize(
|
|
369
|
+
title: ( localize(4085, "Close All")),
|
|
370
370
|
icon: Codicon.closeAll
|
|
371
371
|
});
|
|
372
372
|
appendEditorToolItem({
|
|
373
373
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
374
|
-
title: ( localize(
|
|
374
|
+
title: ( localize(4089, "Unpin")),
|
|
375
375
|
icon: Codicon.pinned
|
|
376
376
|
}, ( (ContextKeyExpr.and(
|
|
377
377
|
(EditorTabsVisibleContext.toNegated()),
|
|
@@ -379,12 +379,12 @@ appendEditorToolItem({
|
|
|
379
379
|
ActiveEditorStickyContext
|
|
380
380
|
))), CLOSE_ORDER, {
|
|
381
381
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
382
|
-
title: ( localize(
|
|
382
|
+
title: ( localize(4071, "Close")),
|
|
383
383
|
icon: Codicon.close
|
|
384
384
|
});
|
|
385
385
|
appendEditorToolItem({
|
|
386
386
|
id: UNPIN_EDITOR_COMMAND_ID,
|
|
387
|
-
title: ( localize(
|
|
387
|
+
title: ( localize(4089, "Unpin")),
|
|
388
388
|
icon: Codicon.pinnedDirty
|
|
389
389
|
}, ( (ContextKeyExpr.and(
|
|
390
390
|
(EditorTabsVisibleContext.toNegated()),
|
|
@@ -392,12 +392,12 @@ appendEditorToolItem({
|
|
|
392
392
|
ActiveEditorStickyContext
|
|
393
393
|
))), CLOSE_ORDER, {
|
|
394
394
|
id: CLOSE_EDITOR_COMMAND_ID,
|
|
395
|
-
title: ( localize(
|
|
395
|
+
title: ( localize(4071, "Close")),
|
|
396
396
|
icon: Codicon.close
|
|
397
397
|
});
|
|
398
398
|
appendEditorToolItem({
|
|
399
399
|
id: LOCK_GROUP_COMMAND_ID,
|
|
400
|
-
title: ( localize(
|
|
400
|
+
title: ( localize(4105, "Lock Group")),
|
|
401
401
|
icon: Codicon.unlock
|
|
402
402
|
}, ( (ContextKeyExpr.and(
|
|
403
403
|
IsAuxiliaryEditorPartContext,
|
|
@@ -405,32 +405,32 @@ appendEditorToolItem({
|
|
|
405
405
|
))), CLOSE_ORDER - 1);
|
|
406
406
|
appendEditorToolItem({
|
|
407
407
|
id: UNLOCK_GROUP_COMMAND_ID,
|
|
408
|
-
title: ( localize(
|
|
408
|
+
title: ( localize(4106, "Unlock Group")),
|
|
409
409
|
icon: Codicon.lock,
|
|
410
410
|
toggled: ContextKeyExpr.true()
|
|
411
411
|
}, ActiveEditorGroupLockedContext, CLOSE_ORDER - 1);
|
|
412
|
-
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(
|
|
412
|
+
const previousChangeIcon = registerIcon('diff-editor-previous-change', Codicon.arrowUp, ( localize(4107, 'Icon for the previous change action in the diff editor.')));
|
|
413
413
|
appendEditorToolItem({
|
|
414
414
|
id: GOTO_PREVIOUS_CHANGE,
|
|
415
|
-
title: ( localize(
|
|
415
|
+
title: ( localize(4108, "Previous Change")),
|
|
416
416
|
icon: previousChangeIcon
|
|
417
417
|
}, TextCompareEditorActiveContext, 10, undefined, EditorContextKeys.hasChanges);
|
|
418
|
-
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(
|
|
418
|
+
const nextChangeIcon = registerIcon('diff-editor-next-change', Codicon.arrowDown, ( localize(4109, 'Icon for the next change action in the diff editor.')));
|
|
419
419
|
appendEditorToolItem({
|
|
420
420
|
id: GOTO_NEXT_CHANGE,
|
|
421
|
-
title: ( localize(
|
|
421
|
+
title: ( localize(4110, "Next Change")),
|
|
422
422
|
icon: nextChangeIcon
|
|
423
423
|
}, TextCompareEditorActiveContext, 11, undefined, EditorContextKeys.hasChanges);
|
|
424
424
|
appendEditorToolItem({
|
|
425
425
|
id: DIFF_SWAP_SIDES,
|
|
426
|
-
title: ( localize(
|
|
426
|
+
title: ( localize(4111, "Swap Left and Right Side")),
|
|
427
427
|
icon: Codicon.arrowSwap
|
|
428
428
|
}, ( (ContextKeyExpr.and(TextCompareEditorActiveContext, ActiveCompareEditorCanSwapContext))), 15, undefined, undefined);
|
|
429
|
-
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(
|
|
429
|
+
const toggleWhitespace = registerIcon('diff-editor-toggle-whitespace', Codicon.whitespace, ( localize(4112, 'Icon for the toggle whitespace action in the diff editor.')));
|
|
430
430
|
MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
431
431
|
command: {
|
|
432
432
|
id: TOGGLE_DIFF_IGNORE_TRIM_WHITESPACE,
|
|
433
|
-
title: ( localize(
|
|
433
|
+
title: ( localize(4113, "Show Leading/Trailing Whitespace Differences")),
|
|
434
434
|
icon: toggleWhitespace,
|
|
435
435
|
precondition: TextCompareEditorActiveContext,
|
|
436
436
|
toggled: ( (ContextKeyExpr.equals('config.diffEditor.ignoreTrimWhitespace', false))),
|
|
@@ -439,22 +439,22 @@ MenuRegistry.appendMenuItem(MenuId.EditorTitle, {
|
|
|
439
439
|
when: TextCompareEditorActiveContext,
|
|
440
440
|
order: 20,
|
|
441
441
|
});
|
|
442
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(
|
|
443
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(
|
|
444
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(
|
|
445
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(
|
|
446
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(
|
|
447
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(
|
|
448
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(
|
|
449
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(
|
|
450
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(
|
|
451
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(
|
|
452
|
-
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(
|
|
442
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: KEEP_EDITOR_COMMAND_ID, title: ( localize2(4114, 'Keep Editor')), category: Categories.View }, when: ( (ContextKeyExpr.has('config.workbench.editor.enablePreview'))) });
|
|
443
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: PIN_EDITOR_COMMAND_ID, title: ( localize2(4115, 'Pin Editor')), category: Categories.View } });
|
|
444
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: UNPIN_EDITOR_COMMAND_ID, title: ( localize2(4116, 'Unpin Editor')), category: Categories.View } });
|
|
445
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITOR_COMMAND_ID, title: ( localize2(4117, 'Close Editor')), category: Categories.View } });
|
|
446
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_PINNED_EDITOR_COMMAND_ID, title: ( localize2(4118, 'Close Pinned Editor')), category: Categories.View } });
|
|
447
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(4119, 'Close All Editors in Group')), category: Categories.View } });
|
|
448
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_SAVED_EDITORS_COMMAND_ID, title: ( localize2(4120, 'Close Saved Editors in Group')), category: Categories.View } });
|
|
449
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_OTHER_EDITORS_IN_GROUP_COMMAND_ID, title: ( localize2(4121, 'Close Other Editors in Group')), category: Categories.View } });
|
|
450
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_TO_THE_RIGHT_COMMAND_ID, title: ( localize2(4122, 'Close Editors to the Right in Group')), category: Categories.View }, when: ( (ActiveEditorLastInGroupContext.toNegated())) });
|
|
451
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: CLOSE_EDITORS_AND_GROUP_COMMAND_ID, title: ( localize2(4123, 'Close Editor Group')), category: Categories.View }, when: MultipleEditorGroupsContext });
|
|
452
|
+
MenuRegistry.appendMenuItem(MenuId.CommandPalette, { command: { id: REOPEN_WITH_COMMAND_ID, title: ( localize2(4086, "Reopen Editor With...")), category: Categories.View }, when: ActiveEditorAvailableEditorIdsContext });
|
|
453
453
|
MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
454
454
|
group: '1_editor',
|
|
455
455
|
command: {
|
|
456
456
|
id: ReopenClosedEditorAction.ID,
|
|
457
|
-
title: ( localize(
|
|
457
|
+
title: ( localize(4124, "&&Reopen Closed Editor")),
|
|
458
458
|
precondition: ( (ContextKeyExpr.has('canReopenClosedEditor')))
|
|
459
459
|
},
|
|
460
460
|
order: 1
|
|
@@ -463,19 +463,19 @@ MenuRegistry.appendMenuItem(MenuId.MenubarRecentMenu, {
|
|
|
463
463
|
group: 'z_clear',
|
|
464
464
|
command: {
|
|
465
465
|
id: ClearRecentFilesAction.ID,
|
|
466
|
-
title: ( localize(
|
|
466
|
+
title: ( localize(4125, "&&Clear Recently Opened..."))
|
|
467
467
|
},
|
|
468
468
|
order: 1
|
|
469
469
|
});
|
|
470
470
|
MenuRegistry.appendMenuItem(MenuId.MenubarFileMenu, {
|
|
471
|
-
title: ( localize(
|
|
471
|
+
title: ( localize(4126, "Share")),
|
|
472
472
|
submenu: MenuId.MenubarShare,
|
|
473
473
|
group: '45_share',
|
|
474
474
|
order: 1,
|
|
475
475
|
});
|
|
476
476
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
477
477
|
group: '2_appearance',
|
|
478
|
-
title: ( localize(
|
|
478
|
+
title: ( localize(4127, "Editor &&Layout")),
|
|
479
479
|
submenu: MenuId.MenubarLayoutMenu,
|
|
480
480
|
order: 2
|
|
481
481
|
});
|
|
@@ -484,8 +484,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
484
484
|
command: {
|
|
485
485
|
id: SPLIT_EDITOR_UP,
|
|
486
486
|
title: {
|
|
487
|
-
...( localize2(
|
|
488
|
-
mnemonicTitle: ( localize(
|
|
487
|
+
...( localize2(4128, "Split Up")),
|
|
488
|
+
mnemonicTitle: ( localize(4129, "Split &&Up")),
|
|
489
489
|
}
|
|
490
490
|
},
|
|
491
491
|
order: 1
|
|
@@ -495,8 +495,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
495
495
|
command: {
|
|
496
496
|
id: SPLIT_EDITOR_DOWN,
|
|
497
497
|
title: {
|
|
498
|
-
...( localize2(
|
|
499
|
-
mnemonicTitle: ( localize(
|
|
498
|
+
...( localize2(4130, "Split Down")),
|
|
499
|
+
mnemonicTitle: ( localize(4131, "Split &&Down")),
|
|
500
500
|
}
|
|
501
501
|
},
|
|
502
502
|
order: 2
|
|
@@ -506,8 +506,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
506
506
|
command: {
|
|
507
507
|
id: SPLIT_EDITOR_LEFT,
|
|
508
508
|
title: {
|
|
509
|
-
...( localize2(
|
|
510
|
-
mnemonicTitle: ( localize(
|
|
509
|
+
...( localize2(4132, "Split Left")),
|
|
510
|
+
mnemonicTitle: ( localize(4133, "Split &&Left")),
|
|
511
511
|
}
|
|
512
512
|
},
|
|
513
513
|
order: 3
|
|
@@ -517,8 +517,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
517
517
|
command: {
|
|
518
518
|
id: SPLIT_EDITOR_RIGHT,
|
|
519
519
|
title: {
|
|
520
|
-
...( localize2(
|
|
521
|
-
mnemonicTitle: ( localize(
|
|
520
|
+
...( localize2(4134, "Split Right")),
|
|
521
|
+
mnemonicTitle: ( localize(4135, "Split &&Right")),
|
|
522
522
|
}
|
|
523
523
|
},
|
|
524
524
|
order: 4
|
|
@@ -528,8 +528,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
528
528
|
command: {
|
|
529
529
|
id: SPLIT_EDITOR_IN_GROUP,
|
|
530
530
|
title: {
|
|
531
|
-
...( localize2(
|
|
532
|
-
mnemonicTitle: ( localize(
|
|
531
|
+
...( localize2(4136, "Split in Group")),
|
|
532
|
+
mnemonicTitle: ( localize(4137, "Split in &&Group")),
|
|
533
533
|
}
|
|
534
534
|
},
|
|
535
535
|
when: ActiveEditorCanSplitInGroupContext,
|
|
@@ -540,8 +540,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
540
540
|
command: {
|
|
541
541
|
id: JOIN_EDITOR_IN_GROUP,
|
|
542
542
|
title: {
|
|
543
|
-
...( localize2(
|
|
544
|
-
mnemonicTitle: ( localize(
|
|
543
|
+
...( localize2(4138, "Join in Group")),
|
|
544
|
+
mnemonicTitle: ( localize(4139, "Join in &&Group")),
|
|
545
545
|
}
|
|
546
546
|
},
|
|
547
547
|
when: SideBySideEditorActiveContext,
|
|
@@ -552,8 +552,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
552
552
|
command: {
|
|
553
553
|
id: MOVE_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
554
554
|
title: {
|
|
555
|
-
...( localize2(
|
|
556
|
-
mnemonicTitle: ( localize(
|
|
555
|
+
...( localize2(4140, "Move Editor into New Window")),
|
|
556
|
+
mnemonicTitle: ( localize(4141, "&&Move Editor into New Window")),
|
|
557
557
|
}
|
|
558
558
|
},
|
|
559
559
|
order: 1
|
|
@@ -563,8 +563,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
563
563
|
command: {
|
|
564
564
|
id: COPY_EDITOR_INTO_NEW_WINDOW_COMMAND_ID,
|
|
565
565
|
title: {
|
|
566
|
-
...( localize2(
|
|
567
|
-
mnemonicTitle: ( localize(
|
|
566
|
+
...( localize2(4142, "Copy Editor into New Window")),
|
|
567
|
+
mnemonicTitle: ( localize(4143, "&&Copy Editor into New Window")),
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
order: 2
|
|
@@ -574,8 +574,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
574
574
|
command: {
|
|
575
575
|
id: EditorLayoutSingleAction.ID,
|
|
576
576
|
title: {
|
|
577
|
-
...( localize2(
|
|
578
|
-
mnemonicTitle: ( localize(
|
|
577
|
+
...( localize2(4144, "Single")),
|
|
578
|
+
mnemonicTitle: ( localize(4145, "&&Single")),
|
|
579
579
|
}
|
|
580
580
|
},
|
|
581
581
|
order: 1
|
|
@@ -585,8 +585,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
585
585
|
command: {
|
|
586
586
|
id: EditorLayoutTwoColumnsAction.ID,
|
|
587
587
|
title: {
|
|
588
|
-
...( localize2(
|
|
589
|
-
mnemonicTitle: ( localize(
|
|
588
|
+
...( localize2(4146, "Two Columns")),
|
|
589
|
+
mnemonicTitle: ( localize(4147, "&&Two Columns")),
|
|
590
590
|
}
|
|
591
591
|
},
|
|
592
592
|
order: 3
|
|
@@ -596,8 +596,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
596
596
|
command: {
|
|
597
597
|
id: EditorLayoutThreeColumnsAction.ID,
|
|
598
598
|
title: {
|
|
599
|
-
...( localize2(
|
|
600
|
-
mnemonicTitle: ( localize(
|
|
599
|
+
...( localize2(4148, "Three Columns")),
|
|
600
|
+
mnemonicTitle: ( localize(4149, "T&&hree Columns")),
|
|
601
601
|
}
|
|
602
602
|
},
|
|
603
603
|
order: 4
|
|
@@ -607,8 +607,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
607
607
|
command: {
|
|
608
608
|
id: EditorLayoutTwoRowsAction.ID,
|
|
609
609
|
title: {
|
|
610
|
-
...( localize2(
|
|
611
|
-
mnemonicTitle: ( localize(
|
|
610
|
+
...( localize2(4150, "Two Rows")),
|
|
611
|
+
mnemonicTitle: ( localize(4151, "T&&wo Rows")),
|
|
612
612
|
}
|
|
613
613
|
},
|
|
614
614
|
order: 5
|
|
@@ -618,8 +618,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
618
618
|
command: {
|
|
619
619
|
id: EditorLayoutThreeRowsAction.ID,
|
|
620
620
|
title: {
|
|
621
|
-
...( localize2(
|
|
622
|
-
mnemonicTitle: ( localize(
|
|
621
|
+
...( localize2(4152, "Three Rows")),
|
|
622
|
+
mnemonicTitle: ( localize(4153, "Three &&Rows")),
|
|
623
623
|
}
|
|
624
624
|
},
|
|
625
625
|
order: 6
|
|
@@ -629,8 +629,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
629
629
|
command: {
|
|
630
630
|
id: EditorLayoutTwoByTwoGridAction.ID,
|
|
631
631
|
title: {
|
|
632
|
-
...( localize2(
|
|
633
|
-
mnemonicTitle: ( localize(
|
|
632
|
+
...( localize2(4154, "Grid (2x2)")),
|
|
633
|
+
mnemonicTitle: ( localize(4155, "&&Grid (2x2)")),
|
|
634
634
|
}
|
|
635
635
|
},
|
|
636
636
|
order: 7
|
|
@@ -640,8 +640,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
640
640
|
command: {
|
|
641
641
|
id: EditorLayoutTwoRowsRightAction.ID,
|
|
642
642
|
title: {
|
|
643
|
-
...( localize2(
|
|
644
|
-
mnemonicTitle: ( localize(
|
|
643
|
+
...( localize2(4156, "Two Rows Right")),
|
|
644
|
+
mnemonicTitle: ( localize(4157, "Two R&&ows Right")),
|
|
645
645
|
}
|
|
646
646
|
},
|
|
647
647
|
order: 8
|
|
@@ -651,8 +651,8 @@ MenuRegistry.appendMenuItem(MenuId.MenubarLayoutMenu, {
|
|
|
651
651
|
command: {
|
|
652
652
|
id: EditorLayoutTwoColumnsBottomAction.ID,
|
|
653
653
|
title: {
|
|
654
|
-
...( localize2(
|
|
655
|
-
mnemonicTitle: ( localize(
|
|
654
|
+
...( localize2(4158, "Two Columns Bottom")),
|
|
655
|
+
mnemonicTitle: ( localize(4159, "Two &&Columns Bottom")),
|
|
656
656
|
}
|
|
657
657
|
},
|
|
658
658
|
order: 9
|
|
@@ -661,7 +661,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
661
661
|
group: '1_history_nav',
|
|
662
662
|
command: {
|
|
663
663
|
id: 'workbench.action.navigateToLastEditLocation',
|
|
664
|
-
title: ( localize(
|
|
664
|
+
title: ( localize(4160, "&&Last Edit Location")),
|
|
665
665
|
precondition: ( (ContextKeyExpr.has('canNavigateToLastEditLocation')))
|
|
666
666
|
},
|
|
667
667
|
order: 3
|
|
@@ -670,7 +670,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
670
670
|
group: '1_sideBySide',
|
|
671
671
|
command: {
|
|
672
672
|
id: FOCUS_FIRST_SIDE_EDITOR,
|
|
673
|
-
title: ( localize(
|
|
673
|
+
title: ( localize(4161, "&&First Side in Editor"))
|
|
674
674
|
},
|
|
675
675
|
when: ( (ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext))),
|
|
676
676
|
order: 1
|
|
@@ -679,7 +679,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
679
679
|
group: '1_sideBySide',
|
|
680
680
|
command: {
|
|
681
681
|
id: FOCUS_SECOND_SIDE_EDITOR,
|
|
682
|
-
title: ( localize(
|
|
682
|
+
title: ( localize(4162, "&&Second Side in Editor"))
|
|
683
683
|
},
|
|
684
684
|
when: ( (ContextKeyExpr.or(SideBySideEditorActiveContext, TextCompareEditorActiveContext))),
|
|
685
685
|
order: 2
|
|
@@ -688,7 +688,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
688
688
|
group: '2_any',
|
|
689
689
|
command: {
|
|
690
690
|
id: 'workbench.action.nextEditor',
|
|
691
|
-
title: ( localize(
|
|
691
|
+
title: ( localize(4163, "&&Next Editor"))
|
|
692
692
|
},
|
|
693
693
|
order: 1
|
|
694
694
|
});
|
|
@@ -696,7 +696,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
696
696
|
group: '2_any',
|
|
697
697
|
command: {
|
|
698
698
|
id: 'workbench.action.previousEditor',
|
|
699
|
-
title: ( localize(
|
|
699
|
+
title: ( localize(4164, "&&Previous Editor"))
|
|
700
700
|
},
|
|
701
701
|
order: 2
|
|
702
702
|
});
|
|
@@ -704,7 +704,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
704
704
|
group: '3_any_used',
|
|
705
705
|
command: {
|
|
706
706
|
id: 'workbench.action.openNextRecentlyUsedEditor',
|
|
707
|
-
title: ( localize(
|
|
707
|
+
title: ( localize(4165, "&&Next Used Editor"))
|
|
708
708
|
},
|
|
709
709
|
order: 1
|
|
710
710
|
});
|
|
@@ -712,7 +712,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
712
712
|
group: '3_any_used',
|
|
713
713
|
command: {
|
|
714
714
|
id: 'workbench.action.openPreviousRecentlyUsedEditor',
|
|
715
|
-
title: ( localize(
|
|
715
|
+
title: ( localize(4166, "&&Previous Used Editor"))
|
|
716
716
|
},
|
|
717
717
|
order: 2
|
|
718
718
|
});
|
|
@@ -720,7 +720,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
720
720
|
group: '4_group',
|
|
721
721
|
command: {
|
|
722
722
|
id: 'workbench.action.nextEditorInGroup',
|
|
723
|
-
title: ( localize(
|
|
723
|
+
title: ( localize(4167, "&&Next Editor in Group"))
|
|
724
724
|
},
|
|
725
725
|
order: 1
|
|
726
726
|
});
|
|
@@ -728,7 +728,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
728
728
|
group: '4_group',
|
|
729
729
|
command: {
|
|
730
730
|
id: 'workbench.action.previousEditorInGroup',
|
|
731
|
-
title: ( localize(
|
|
731
|
+
title: ( localize(4168, "&&Previous Editor in Group"))
|
|
732
732
|
},
|
|
733
733
|
order: 2
|
|
734
734
|
});
|
|
@@ -736,7 +736,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
736
736
|
group: '5_group_used',
|
|
737
737
|
command: {
|
|
738
738
|
id: 'workbench.action.openNextRecentlyUsedEditorInGroup',
|
|
739
|
-
title: ( localize(
|
|
739
|
+
title: ( localize(4169, "&&Next Used Editor in Group"))
|
|
740
740
|
},
|
|
741
741
|
order: 1
|
|
742
742
|
});
|
|
@@ -744,13 +744,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchEditorMenu, {
|
|
|
744
744
|
group: '5_group_used',
|
|
745
745
|
command: {
|
|
746
746
|
id: 'workbench.action.openPreviousRecentlyUsedEditorInGroup',
|
|
747
|
-
title: ( localize(
|
|
747
|
+
title: ( localize(4170, "&&Previous Used Editor in Group"))
|
|
748
748
|
},
|
|
749
749
|
order: 2
|
|
750
750
|
});
|
|
751
751
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
752
752
|
group: '2_editor_nav',
|
|
753
|
-
title: ( localize(
|
|
753
|
+
title: ( localize(4171, "Switch &&Editor")),
|
|
754
754
|
submenu: MenuId.MenubarSwitchEditorMenu,
|
|
755
755
|
order: 1
|
|
756
756
|
});
|
|
@@ -758,7 +758,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
758
758
|
group: '1_focus_index',
|
|
759
759
|
command: {
|
|
760
760
|
id: 'workbench.action.focusFirstEditorGroup',
|
|
761
|
-
title: ( localize(
|
|
761
|
+
title: ( localize(4172, "Group &&1"))
|
|
762
762
|
},
|
|
763
763
|
order: 1
|
|
764
764
|
});
|
|
@@ -766,7 +766,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
766
766
|
group: '1_focus_index',
|
|
767
767
|
command: {
|
|
768
768
|
id: 'workbench.action.focusSecondEditorGroup',
|
|
769
|
-
title: ( localize(
|
|
769
|
+
title: ( localize(4173, "Group &&2"))
|
|
770
770
|
},
|
|
771
771
|
order: 2
|
|
772
772
|
});
|
|
@@ -774,7 +774,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
774
774
|
group: '1_focus_index',
|
|
775
775
|
command: {
|
|
776
776
|
id: 'workbench.action.focusThirdEditorGroup',
|
|
777
|
-
title: ( localize(
|
|
777
|
+
title: ( localize(4174, "Group &&3")),
|
|
778
778
|
precondition: MultipleEditorGroupsContext
|
|
779
779
|
},
|
|
780
780
|
order: 3
|
|
@@ -783,7 +783,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
783
783
|
group: '1_focus_index',
|
|
784
784
|
command: {
|
|
785
785
|
id: 'workbench.action.focusFourthEditorGroup',
|
|
786
|
-
title: ( localize(
|
|
786
|
+
title: ( localize(4175, "Group &&4")),
|
|
787
787
|
precondition: MultipleEditorGroupsContext
|
|
788
788
|
},
|
|
789
789
|
order: 4
|
|
@@ -792,7 +792,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
792
792
|
group: '1_focus_index',
|
|
793
793
|
command: {
|
|
794
794
|
id: 'workbench.action.focusFifthEditorGroup',
|
|
795
|
-
title: ( localize(
|
|
795
|
+
title: ( localize(4176, "Group &&5")),
|
|
796
796
|
precondition: MultipleEditorGroupsContext
|
|
797
797
|
},
|
|
798
798
|
order: 5
|
|
@@ -801,7 +801,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
801
801
|
group: '2_next_prev',
|
|
802
802
|
command: {
|
|
803
803
|
id: 'workbench.action.focusNextGroup',
|
|
804
|
-
title: ( localize(
|
|
804
|
+
title: ( localize(4177, "&&Next Group")),
|
|
805
805
|
precondition: MultipleEditorGroupsContext
|
|
806
806
|
},
|
|
807
807
|
order: 1
|
|
@@ -810,7 +810,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
810
810
|
group: '2_next_prev',
|
|
811
811
|
command: {
|
|
812
812
|
id: 'workbench.action.focusPreviousGroup',
|
|
813
|
-
title: ( localize(
|
|
813
|
+
title: ( localize(4178, "&&Previous Group")),
|
|
814
814
|
precondition: MultipleEditorGroupsContext
|
|
815
815
|
},
|
|
816
816
|
order: 2
|
|
@@ -819,7 +819,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
819
819
|
group: '3_directional',
|
|
820
820
|
command: {
|
|
821
821
|
id: 'workbench.action.focusLeftGroup',
|
|
822
|
-
title: ( localize(
|
|
822
|
+
title: ( localize(4179, "Group &&Left")),
|
|
823
823
|
precondition: MultipleEditorGroupsContext
|
|
824
824
|
},
|
|
825
825
|
order: 1
|
|
@@ -828,7 +828,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
828
828
|
group: '3_directional',
|
|
829
829
|
command: {
|
|
830
830
|
id: 'workbench.action.focusRightGroup',
|
|
831
|
-
title: ( localize(
|
|
831
|
+
title: ( localize(4180, "Group &&Right")),
|
|
832
832
|
precondition: MultipleEditorGroupsContext
|
|
833
833
|
},
|
|
834
834
|
order: 2
|
|
@@ -837,7 +837,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
837
837
|
group: '3_directional',
|
|
838
838
|
command: {
|
|
839
839
|
id: 'workbench.action.focusAboveGroup',
|
|
840
|
-
title: ( localize(
|
|
840
|
+
title: ( localize(4181, "Group &&Above")),
|
|
841
841
|
precondition: MultipleEditorGroupsContext
|
|
842
842
|
},
|
|
843
843
|
order: 3
|
|
@@ -846,14 +846,14 @@ MenuRegistry.appendMenuItem(MenuId.MenubarSwitchGroupMenu, {
|
|
|
846
846
|
group: '3_directional',
|
|
847
847
|
command: {
|
|
848
848
|
id: 'workbench.action.focusBelowGroup',
|
|
849
|
-
title: ( localize(
|
|
849
|
+
title: ( localize(4182, "Group &&Below")),
|
|
850
850
|
precondition: MultipleEditorGroupsContext
|
|
851
851
|
},
|
|
852
852
|
order: 4
|
|
853
853
|
});
|
|
854
854
|
MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
855
855
|
group: '2_editor_nav',
|
|
856
|
-
title: ( localize(
|
|
856
|
+
title: ( localize(4183, "Switch &&Group")),
|
|
857
857
|
submenu: MenuId.MenubarSwitchGroupMenu,
|
|
858
858
|
order: 2
|
|
859
859
|
});
|