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