@codingame/monaco-vscode-api 11.1.0 → 11.1.2
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/extensions.js +1 -1
- package/package.json +8 -8
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +1 -1
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +9 -9
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/errorMessage.js +6 -15
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +51 -51
- package/vscode/src/vs/editor/common/config/editorOptions.js +364 -364
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +23 -23
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +15 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +16 -16
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -28
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- package/vscode/src/vs/platform/terminal/common/terminalStrings.js +17 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +34 -31
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +21 -21
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +13 -13
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +6 -6
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +16 -16
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +217 -217
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +131 -131
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatConstants.js +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +25 -25
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +10 -10
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +173 -173
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +14 -14
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +33 -33
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +52 -52
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +8 -8
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +7 -7
- package/vscode/src/vs/workbench/contrib/files/common/files.js +14 -14
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +10 -10
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +13 -13
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +5 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/terminal/browser/detachedTerminal.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +6 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +200 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +170 -0
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.js +4 -4
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +3 -3
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +3 -3
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +8 -8
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +0 -166
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +0 -474
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +0 -942
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +0 -476
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +0 -288
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +0 -521
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +0 -253
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +0 -64
|
@@ -29,27 +29,27 @@ import { mainWindow } from '../../../base/browser/window.js';
|
|
|
29
29
|
import { IKeybindingService } from '../../../platform/keybinding/common/keybinding.service.js';
|
|
30
30
|
import { IPreferencesService } from '../../services/preferences/common/preferences.service.js';
|
|
31
31
|
|
|
32
|
-
const menubarIcon = registerIcon('menuBar', Codicon.layoutMenubar, ( localize(
|
|
33
|
-
const activityBarLeftIcon = registerIcon('activity-bar-left', Codicon.layoutActivitybarLeft, ( localize(
|
|
34
|
-
const activityBarRightIcon = registerIcon('activity-bar-right', Codicon.layoutActivitybarRight, ( localize(
|
|
35
|
-
const panelLeftIcon = registerIcon('panel-left', Codicon.layoutSidebarLeft, ( localize(
|
|
36
|
-
const panelLeftOffIcon = registerIcon('panel-left-off', Codicon.layoutSidebarLeftOff, ( localize(
|
|
37
|
-
const panelRightIcon = registerIcon('panel-right', Codicon.layoutSidebarRight, ( localize(
|
|
38
|
-
const panelRightOffIcon = registerIcon('panel-right-off', Codicon.layoutSidebarRightOff, ( localize(
|
|
39
|
-
const panelIcon = registerIcon('panel-bottom', Codicon.layoutPanel, ( localize(
|
|
40
|
-
const statusBarIcon = registerIcon('statusBar', Codicon.layoutStatusbar, ( localize(
|
|
41
|
-
const panelAlignmentLeftIcon = registerIcon('panel-align-left', Codicon.layoutPanelLeft, ( localize(
|
|
42
|
-
const panelAlignmentRightIcon = registerIcon('panel-align-right', Codicon.layoutPanelRight, ( localize(
|
|
43
|
-
const panelAlignmentCenterIcon = registerIcon('panel-align-center', Codicon.layoutPanelCenter, ( localize(
|
|
44
|
-
const panelAlignmentJustifyIcon = registerIcon('panel-align-justify', Codicon.layoutPanelJustify, ( localize(
|
|
45
|
-
const fullscreenIcon = registerIcon('fullscreen', Codicon.screenFull, ( localize(
|
|
46
|
-
const centerLayoutIcon = registerIcon('centerLayoutIcon', Codicon.layoutCentered, ( localize(
|
|
47
|
-
const zenModeIcon = registerIcon('zenMode', Codicon.target, ( localize(
|
|
32
|
+
const menubarIcon = registerIcon('menuBar', Codicon.layoutMenubar, ( localize(6767, "Represents the menu bar")));
|
|
33
|
+
const activityBarLeftIcon = registerIcon('activity-bar-left', Codicon.layoutActivitybarLeft, ( localize(6768, "Represents the activity bar in the left position")));
|
|
34
|
+
const activityBarRightIcon = registerIcon('activity-bar-right', Codicon.layoutActivitybarRight, ( localize(6769, "Represents the activity bar in the right position")));
|
|
35
|
+
const panelLeftIcon = registerIcon('panel-left', Codicon.layoutSidebarLeft, ( localize(6770, "Represents a side bar in the left position")));
|
|
36
|
+
const panelLeftOffIcon = registerIcon('panel-left-off', Codicon.layoutSidebarLeftOff, ( localize(6771, "Represents a side bar in the left position toggled off")));
|
|
37
|
+
const panelRightIcon = registerIcon('panel-right', Codicon.layoutSidebarRight, ( localize(6772, "Represents side bar in the right position")));
|
|
38
|
+
const panelRightOffIcon = registerIcon('panel-right-off', Codicon.layoutSidebarRightOff, ( localize(6773, "Represents side bar in the right position toggled off")));
|
|
39
|
+
const panelIcon = registerIcon('panel-bottom', Codicon.layoutPanel, ( localize(6774, "Represents the bottom panel")));
|
|
40
|
+
const statusBarIcon = registerIcon('statusBar', Codicon.layoutStatusbar, ( localize(6775, "Represents the status bar")));
|
|
41
|
+
const panelAlignmentLeftIcon = registerIcon('panel-align-left', Codicon.layoutPanelLeft, ( localize(6776, "Represents the bottom panel alignment set to the left")));
|
|
42
|
+
const panelAlignmentRightIcon = registerIcon('panel-align-right', Codicon.layoutPanelRight, ( localize(6777, "Represents the bottom panel alignment set to the right")));
|
|
43
|
+
const panelAlignmentCenterIcon = registerIcon('panel-align-center', Codicon.layoutPanelCenter, ( localize(6778, "Represents the bottom panel alignment set to the center")));
|
|
44
|
+
const panelAlignmentJustifyIcon = registerIcon('panel-align-justify', Codicon.layoutPanelJustify, ( localize(6779, "Represents the bottom panel alignment set to justified")));
|
|
45
|
+
const fullscreenIcon = registerIcon('fullscreen', Codicon.screenFull, ( localize(6780, "Represents full screen")));
|
|
46
|
+
const centerLayoutIcon = registerIcon('centerLayoutIcon', Codicon.layoutCentered, ( localize(6781, "Represents centered layout mode")));
|
|
47
|
+
const zenModeIcon = registerIcon('zenMode', Codicon.target, ( localize(6782, "Represents zen mode")));
|
|
48
48
|
registerAction2(class extends Action2 {
|
|
49
49
|
constructor() {
|
|
50
50
|
super({
|
|
51
51
|
id: 'workbench.action.closeSidebar',
|
|
52
|
-
title: ( localize2(
|
|
52
|
+
title: ( localize2(6783, 'Close Primary Side Bar')),
|
|
53
53
|
category: Categories.View,
|
|
54
54
|
f1: true
|
|
55
55
|
});
|
|
@@ -64,8 +64,8 @@ registerAction2(class extends Action2 {
|
|
|
64
64
|
super({
|
|
65
65
|
id: 'workbench.action.toggleCenteredLayout',
|
|
66
66
|
title: {
|
|
67
|
-
...( localize2(
|
|
68
|
-
mnemonicTitle: ( localize(
|
|
67
|
+
...( localize2(6784, "Toggle Centered Layout")),
|
|
68
|
+
mnemonicTitle: ( localize(6785, "&&Centered Layout")),
|
|
69
69
|
},
|
|
70
70
|
precondition: ( (IsAuxiliaryWindowFocusedContext.toNegated())),
|
|
71
71
|
category: Categories.View,
|
|
@@ -105,27 +105,27 @@ class MoveSidebarPositionAction extends Action2 {
|
|
|
105
105
|
class MoveSidebarRightAction extends MoveSidebarPositionAction {
|
|
106
106
|
static { this.ID = 'workbench.action.moveSideBarRight'; }
|
|
107
107
|
constructor() {
|
|
108
|
-
super(MoveSidebarRightAction.ID, ( localize2(
|
|
108
|
+
super(MoveSidebarRightAction.ID, ( localize2(6786, "Move Primary Side Bar Right")), 1 );
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
class MoveSidebarLeftAction extends MoveSidebarPositionAction {
|
|
112
112
|
static { this.ID = 'workbench.action.moveSideBarLeft'; }
|
|
113
113
|
constructor() {
|
|
114
|
-
super(MoveSidebarLeftAction.ID, ( localize2(
|
|
114
|
+
super(MoveSidebarLeftAction.ID, ( localize2(6787, "Move Primary Side Bar Left")), 0 );
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
registerAction2(MoveSidebarRightAction);
|
|
118
118
|
registerAction2(MoveSidebarLeftAction);
|
|
119
119
|
class ToggleSidebarPositionAction extends Action2 {
|
|
120
120
|
static { this.ID = 'workbench.action.toggleSidebarPosition'; }
|
|
121
|
-
static { this.LABEL = ( localize(
|
|
121
|
+
static { this.LABEL = ( localize(6788, "Toggle Primary Side Bar Position")); }
|
|
122
122
|
static getLabel(layoutService) {
|
|
123
|
-
return layoutService.getSideBarPosition() === 0 ? ( localize(
|
|
123
|
+
return layoutService.getSideBarPosition() === 0 ? ( localize(6786, "Move Primary Side Bar Right")) : ( localize(6787, "Move Primary Side Bar Left"));
|
|
124
124
|
}
|
|
125
125
|
constructor() {
|
|
126
126
|
super({
|
|
127
127
|
id: ToggleSidebarPositionAction.ID,
|
|
128
|
-
title: ( localize2(
|
|
128
|
+
title: ( localize2(6788, "Toggle Primary Side Bar Position")),
|
|
129
129
|
category: Categories.View,
|
|
130
130
|
f1: true
|
|
131
131
|
});
|
|
@@ -139,10 +139,10 @@ class ToggleSidebarPositionAction extends Action2 {
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
registerAction2(ToggleSidebarPositionAction);
|
|
142
|
-
const configureLayoutIcon = registerIcon('configure-layout-icon', Codicon.layout, ( localize(
|
|
142
|
+
const configureLayoutIcon = registerIcon('configure-layout-icon', Codicon.layout, ( localize(6789, 'Icon represents workbench layout configuration.')));
|
|
143
143
|
MenuRegistry.appendMenuItem(MenuId.LayoutControlMenu, {
|
|
144
144
|
submenu: MenuId.LayoutControlMenuSubmenu,
|
|
145
|
-
title: ( localize(
|
|
145
|
+
title: ( localize(6790, "Configure Layout")),
|
|
146
146
|
icon: configureLayoutIcon,
|
|
147
147
|
group: '1_workbench_layout',
|
|
148
148
|
when: ( (ContextKeyExpr.equals('config.workbench.layoutControl.type', 'menu')))
|
|
@@ -153,7 +153,7 @@ MenuRegistry.appendMenuItems([{
|
|
|
153
153
|
group: '3_workbench_layout_move',
|
|
154
154
|
command: {
|
|
155
155
|
id: ToggleSidebarPositionAction.ID,
|
|
156
|
-
title: ( localize(
|
|
156
|
+
title: ( localize(6791, "Move Primary Side Bar Right"))
|
|
157
157
|
},
|
|
158
158
|
when: ( (ContextKeyExpr.and(
|
|
159
159
|
(ContextKeyExpr.notEquals('config.workbench.sideBar.location', 'right')),
|
|
@@ -170,7 +170,7 @@ MenuRegistry.appendMenuItems([{
|
|
|
170
170
|
group: '3_workbench_layout_move',
|
|
171
171
|
command: {
|
|
172
172
|
id: ToggleSidebarPositionAction.ID,
|
|
173
|
-
title: ( localize(
|
|
173
|
+
title: ( localize(6792, "Move Primary Side Bar Right"))
|
|
174
174
|
},
|
|
175
175
|
when: ( (ContextKeyExpr.and(
|
|
176
176
|
(ContextKeyExpr.notEquals('config.workbench.sideBar.location', 'right')),
|
|
@@ -187,7 +187,7 @@ MenuRegistry.appendMenuItems([{
|
|
|
187
187
|
group: '3_workbench_layout_move',
|
|
188
188
|
command: {
|
|
189
189
|
id: ToggleSidebarPositionAction.ID,
|
|
190
|
-
title: ( localize(
|
|
190
|
+
title: ( localize(6793, "Move Primary Side Bar Left"))
|
|
191
191
|
},
|
|
192
192
|
when: ( (ContextKeyExpr.and(
|
|
193
193
|
(ContextKeyExpr.equals('config.workbench.sideBar.location', 'right')),
|
|
@@ -204,7 +204,7 @@ MenuRegistry.appendMenuItems([{
|
|
|
204
204
|
group: '3_workbench_layout_move',
|
|
205
205
|
command: {
|
|
206
206
|
id: ToggleSidebarPositionAction.ID,
|
|
207
|
-
title: ( localize(
|
|
207
|
+
title: ( localize(6793, "Move Primary Side Bar Left"))
|
|
208
208
|
},
|
|
209
209
|
when: ( (ContextKeyExpr.and(
|
|
210
210
|
(ContextKeyExpr.equals('config.workbench.sideBar.location', 'right')),
|
|
@@ -221,7 +221,7 @@ MenuRegistry.appendMenuItems([{
|
|
|
221
221
|
group: '3_workbench_layout_move',
|
|
222
222
|
command: {
|
|
223
223
|
id: ToggleSidebarPositionAction.ID,
|
|
224
|
-
title: ( localize(
|
|
224
|
+
title: ( localize(6794, "Move Secondary Side Bar Left"))
|
|
225
225
|
},
|
|
226
226
|
when: ( (ContextKeyExpr.and(
|
|
227
227
|
(ContextKeyExpr.notEquals('config.workbench.sideBar.location', 'right')),
|
|
@@ -238,7 +238,7 @@ MenuRegistry.appendMenuItems([{
|
|
|
238
238
|
group: '3_workbench_layout_move',
|
|
239
239
|
command: {
|
|
240
240
|
id: ToggleSidebarPositionAction.ID,
|
|
241
|
-
title: ( localize(
|
|
241
|
+
title: ( localize(6795, "Move Secondary Side Bar Right"))
|
|
242
242
|
},
|
|
243
243
|
when: ( (ContextKeyExpr.and(
|
|
244
244
|
(ContextKeyExpr.equals('config.workbench.sideBar.location', 'right')),
|
|
@@ -254,7 +254,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarAppearanceMenu, {
|
|
|
254
254
|
group: '3_workbench_layout_move',
|
|
255
255
|
command: {
|
|
256
256
|
id: ToggleSidebarPositionAction.ID,
|
|
257
|
-
title: ( localize(
|
|
257
|
+
title: ( localize(6796, "&&Move Primary Side Bar Right"))
|
|
258
258
|
},
|
|
259
259
|
when: ( (ContextKeyExpr.notEquals('config.workbench.sideBar.location', 'right'))),
|
|
260
260
|
order: 2
|
|
@@ -263,7 +263,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarAppearanceMenu, {
|
|
|
263
263
|
group: '3_workbench_layout_move',
|
|
264
264
|
command: {
|
|
265
265
|
id: ToggleSidebarPositionAction.ID,
|
|
266
|
-
title: ( localize(
|
|
266
|
+
title: ( localize(6797, "&&Move Primary Side Bar Left"))
|
|
267
267
|
},
|
|
268
268
|
when: ( (ContextKeyExpr.equals('config.workbench.sideBar.location', 'right'))),
|
|
269
269
|
order: 2
|
|
@@ -273,8 +273,8 @@ registerAction2(class extends Action2 {
|
|
|
273
273
|
super({
|
|
274
274
|
id: 'workbench.action.toggleEditorVisibility',
|
|
275
275
|
title: {
|
|
276
|
-
...( localize2(
|
|
277
|
-
mnemonicTitle: ( localize(
|
|
276
|
+
...( localize2(6798, "Toggle Editor Area Visibility")),
|
|
277
|
+
mnemonicTitle: ( localize(6799, "Show &&Editor Area")),
|
|
278
278
|
},
|
|
279
279
|
category: Categories.View,
|
|
280
280
|
f1: true,
|
|
@@ -294,7 +294,7 @@ registerAction2(class extends Action2 {
|
|
|
294
294
|
});
|
|
295
295
|
MenuRegistry.appendMenuItem(MenuId.MenubarViewMenu, {
|
|
296
296
|
group: '2_appearance',
|
|
297
|
-
title: ( localize(
|
|
297
|
+
title: ( localize(6800, "&&Appearance")),
|
|
298
298
|
submenu: MenuId.MenubarAppearanceMenu,
|
|
299
299
|
order: 1
|
|
300
300
|
});
|
|
@@ -303,11 +303,11 @@ class ToggleSidebarVisibilityAction extends Action2 {
|
|
|
303
303
|
constructor() {
|
|
304
304
|
super({
|
|
305
305
|
id: ToggleSidebarVisibilityAction.ID,
|
|
306
|
-
title: ( localize2(
|
|
306
|
+
title: ( localize2(6801, 'Toggle Primary Side Bar Visibility')),
|
|
307
307
|
toggled: {
|
|
308
308
|
condition: SideBarVisibleContext,
|
|
309
|
-
title: ( localize(
|
|
310
|
-
mnemonicTitle: ( localize(
|
|
309
|
+
title: ( localize(6802, "Primary Side Bar")),
|
|
310
|
+
mnemonicTitle: ( localize(6803, "&&Primary Side Bar")),
|
|
311
311
|
},
|
|
312
312
|
category: Categories.View,
|
|
313
313
|
f1: true,
|
|
@@ -342,7 +342,7 @@ MenuRegistry.appendMenuItems([
|
|
|
342
342
|
group: '3_workbench_layout_move',
|
|
343
343
|
command: {
|
|
344
344
|
id: ToggleSidebarVisibilityAction.ID,
|
|
345
|
-
title: ( localize(
|
|
345
|
+
title: ( localize(6804, "Hide Primary Side Bar")),
|
|
346
346
|
},
|
|
347
347
|
when: ( (ContextKeyExpr.and(SideBarVisibleContext, (ContextKeyExpr.equals(
|
|
348
348
|
'viewContainerLocation',
|
|
@@ -356,7 +356,7 @@ MenuRegistry.appendMenuItems([
|
|
|
356
356
|
group: '3_workbench_layout_move',
|
|
357
357
|
command: {
|
|
358
358
|
id: ToggleSidebarVisibilityAction.ID,
|
|
359
|
-
title: ( localize(
|
|
359
|
+
title: ( localize(6804, "Hide Primary Side Bar")),
|
|
360
360
|
},
|
|
361
361
|
when: ( (ContextKeyExpr.and(SideBarVisibleContext, (ContextKeyExpr.equals(
|
|
362
362
|
'viewLocation',
|
|
@@ -370,7 +370,7 @@ MenuRegistry.appendMenuItems([
|
|
|
370
370
|
group: '0_workbench_toggles',
|
|
371
371
|
command: {
|
|
372
372
|
id: ToggleSidebarVisibilityAction.ID,
|
|
373
|
-
title: ( localize(
|
|
373
|
+
title: ( localize(6805, "Toggle Primary Side Bar")),
|
|
374
374
|
icon: panelLeftOffIcon,
|
|
375
375
|
toggled: { condition: SideBarVisibleContext, icon: panelLeftIcon }
|
|
376
376
|
},
|
|
@@ -386,7 +386,7 @@ MenuRegistry.appendMenuItems([
|
|
|
386
386
|
group: '0_workbench_toggles',
|
|
387
387
|
command: {
|
|
388
388
|
id: ToggleSidebarVisibilityAction.ID,
|
|
389
|
-
title: ( localize(
|
|
389
|
+
title: ( localize(6805, "Toggle Primary Side Bar")),
|
|
390
390
|
icon: panelRightOffIcon,
|
|
391
391
|
toggled: { condition: SideBarVisibleContext, icon: panelRightIcon }
|
|
392
392
|
},
|
|
@@ -405,8 +405,8 @@ class ToggleStatusbarVisibilityAction extends Action2 {
|
|
|
405
405
|
super({
|
|
406
406
|
id: ToggleStatusbarVisibilityAction.ID,
|
|
407
407
|
title: {
|
|
408
|
-
...( localize2(
|
|
409
|
-
mnemonicTitle: ( localize(
|
|
408
|
+
...( localize2(6806, "Toggle Status Bar Visibility")),
|
|
409
|
+
mnemonicTitle: ( localize(6807, "S&&tatus Bar")),
|
|
410
410
|
},
|
|
411
411
|
category: Categories.View,
|
|
412
412
|
f1: true,
|
|
@@ -452,8 +452,8 @@ class HideEditorTabsAction extends AbstractSetShowTabsAction {
|
|
|
452
452
|
`config.${"workbench.editor.showTabs" }`,
|
|
453
453
|
"none"
|
|
454
454
|
))).negate()), (InEditorZenModeContext.negate()))));
|
|
455
|
-
const title = ( localize2(
|
|
456
|
-
super("workbench.editor.showTabs" , "none" , title, HideEditorTabsAction.ID, precondition, ( localize2(
|
|
455
|
+
const title = ( localize2(6808, 'Hide Editor Tabs'));
|
|
456
|
+
super("workbench.editor.showTabs" , "none" , title, HideEditorTabsAction.ID, precondition, ( localize2(6809, "Hide Tab Bar")));
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
class ZenHideEditorTabsAction extends AbstractSetShowTabsAction {
|
|
@@ -463,8 +463,8 @@ class ZenHideEditorTabsAction extends AbstractSetShowTabsAction {
|
|
|
463
463
|
`config.${"zenMode.showTabs" }`,
|
|
464
464
|
"none"
|
|
465
465
|
))).negate()), InEditorZenModeContext)));
|
|
466
|
-
const title = ( localize2(
|
|
467
|
-
super("zenMode.showTabs" , "none" , title, ZenHideEditorTabsAction.ID, precondition, ( localize2(
|
|
466
|
+
const title = ( localize2(6810, 'Hide Editor Tabs in Zen Mode'));
|
|
467
|
+
super("zenMode.showTabs" , "none" , title, ZenHideEditorTabsAction.ID, precondition, ( localize2(6811, "Hide Tab Bar in Zen Mode")));
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
class ShowMultipleEditorTabsAction extends AbstractSetShowTabsAction {
|
|
@@ -474,8 +474,8 @@ class ShowMultipleEditorTabsAction extends AbstractSetShowTabsAction {
|
|
|
474
474
|
`config.${"workbench.editor.showTabs" }`,
|
|
475
475
|
"multiple"
|
|
476
476
|
))).negate()), (InEditorZenModeContext.negate()))));
|
|
477
|
-
const title = ( localize2(
|
|
478
|
-
super("workbench.editor.showTabs" , "multiple" , title, ShowMultipleEditorTabsAction.ID, precondition, ( localize2(
|
|
477
|
+
const title = ( localize2(6812, 'Show Multiple Editor Tabs'));
|
|
478
|
+
super("workbench.editor.showTabs" , "multiple" , title, ShowMultipleEditorTabsAction.ID, precondition, ( localize2(6813, "Show Tab Bar with multiple tabs")));
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
class ZenShowMultipleEditorTabsAction extends AbstractSetShowTabsAction {
|
|
@@ -485,8 +485,8 @@ class ZenShowMultipleEditorTabsAction extends AbstractSetShowTabsAction {
|
|
|
485
485
|
`config.${"zenMode.showTabs" }`,
|
|
486
486
|
"multiple"
|
|
487
487
|
))).negate()), InEditorZenModeContext)));
|
|
488
|
-
const title = ( localize2(
|
|
489
|
-
super("zenMode.showTabs" , "multiple" , title, ZenShowMultipleEditorTabsAction.ID, precondition, ( localize2(
|
|
488
|
+
const title = ( localize2(6814, 'Show Multiple Editor Tabs in Zen Mode'));
|
|
489
|
+
super("zenMode.showTabs" , "multiple" , title, ZenShowMultipleEditorTabsAction.ID, precondition, ( localize2(6815, "Show Tab Bar in Zen Mode")));
|
|
490
490
|
}
|
|
491
491
|
}
|
|
492
492
|
class ShowSingleEditorTabAction extends AbstractSetShowTabsAction {
|
|
@@ -496,8 +496,8 @@ class ShowSingleEditorTabAction extends AbstractSetShowTabsAction {
|
|
|
496
496
|
`config.${"workbench.editor.showTabs" }`,
|
|
497
497
|
"single"
|
|
498
498
|
))).negate()), (InEditorZenModeContext.negate()))));
|
|
499
|
-
const title = ( localize2(
|
|
500
|
-
super("workbench.editor.showTabs" , "single" , title, ShowSingleEditorTabAction.ID, precondition, ( localize2(
|
|
499
|
+
const title = ( localize2(6816, 'Show Single Editor Tab'));
|
|
500
|
+
super("workbench.editor.showTabs" , "single" , title, ShowSingleEditorTabAction.ID, precondition, ( localize2(6817, "Show Tab Bar with one Tab")));
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
503
|
class ZenShowSingleEditorTabAction extends AbstractSetShowTabsAction {
|
|
@@ -507,8 +507,8 @@ class ZenShowSingleEditorTabAction extends AbstractSetShowTabsAction {
|
|
|
507
507
|
`config.${"zenMode.showTabs" }`,
|
|
508
508
|
"single"
|
|
509
509
|
))).negate()), InEditorZenModeContext)));
|
|
510
|
-
const title = ( localize2(
|
|
511
|
-
super("zenMode.showTabs" , "single" , title, ZenShowSingleEditorTabAction.ID, precondition, ( localize2(
|
|
510
|
+
const title = ( localize2(6818, 'Show Single Editor Tab in Zen Mode'));
|
|
511
|
+
super("zenMode.showTabs" , "single" , title, ZenShowSingleEditorTabAction.ID, precondition, ( localize2(6819, "Show Tab Bar in Zen Mode with one Tab")));
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
registerAction2(HideEditorTabsAction);
|
|
@@ -519,14 +519,14 @@ registerAction2(ShowSingleEditorTabAction);
|
|
|
519
519
|
registerAction2(ZenShowSingleEditorTabAction);
|
|
520
520
|
MenuRegistry.appendMenuItem(MenuId.MenubarAppearanceMenu, {
|
|
521
521
|
submenu: MenuId.EditorTabsBarShowTabsSubmenu,
|
|
522
|
-
title: ( localize(
|
|
522
|
+
title: ( localize(6820, "Tab Bar")),
|
|
523
523
|
group: '3_workbench_layout_move',
|
|
524
524
|
order: 10,
|
|
525
525
|
when: ( (InEditorZenModeContext.negate()))
|
|
526
526
|
});
|
|
527
527
|
MenuRegistry.appendMenuItem(MenuId.MenubarAppearanceMenu, {
|
|
528
528
|
submenu: MenuId.EditorTabsBarShowTabsZenModeSubmenu,
|
|
529
|
-
title: ( localize(
|
|
529
|
+
title: ( localize(6820, "Tab Bar")),
|
|
530
530
|
group: '3_workbench_layout_move',
|
|
531
531
|
order: 10,
|
|
532
532
|
when: InEditorZenModeContext
|
|
@@ -536,13 +536,13 @@ class EditorActionsTitleBarAction extends Action2 {
|
|
|
536
536
|
constructor() {
|
|
537
537
|
super({
|
|
538
538
|
id: EditorActionsTitleBarAction.ID,
|
|
539
|
-
title: ( localize2(
|
|
539
|
+
title: ( localize2(6821, "Move Editor Actions to Title Bar")),
|
|
540
540
|
category: Categories.View,
|
|
541
541
|
precondition: ( (( (ContextKeyExpr.equals(
|
|
542
542
|
`config.${"workbench.editor.editorActionsLocation" }`,
|
|
543
543
|
"titleBar"
|
|
544
544
|
))).negate())),
|
|
545
|
-
metadata: { description: ( localize2(
|
|
545
|
+
metadata: { description: ( localize2(6822, "Move Editor Actions from the tab bar to the title bar")) },
|
|
546
546
|
f1: true
|
|
547
547
|
});
|
|
548
548
|
}
|
|
@@ -557,7 +557,7 @@ class EditorActionsDefaultAction extends Action2 {
|
|
|
557
557
|
constructor() {
|
|
558
558
|
super({
|
|
559
559
|
id: EditorActionsDefaultAction.ID,
|
|
560
|
-
title: ( localize2(
|
|
560
|
+
title: ( localize2(6823, "Move Editor Actions to Tab Bar")),
|
|
561
561
|
category: Categories.View,
|
|
562
562
|
precondition: ( (ContextKeyExpr.and( (( (ContextKeyExpr.equals(
|
|
563
563
|
`config.${"workbench.editor.editorActionsLocation" }`,
|
|
@@ -566,7 +566,7 @@ class EditorActionsDefaultAction extends Action2 {
|
|
|
566
566
|
`config.${"workbench.editor.showTabs" }`,
|
|
567
567
|
"none"
|
|
568
568
|
))).negate())))),
|
|
569
|
-
metadata: { description: ( localize2(
|
|
569
|
+
metadata: { description: ( localize2(6824, "Move Editor Actions from the title bar to the tab bar")) },
|
|
570
570
|
f1: true
|
|
571
571
|
});
|
|
572
572
|
}
|
|
@@ -581,13 +581,13 @@ class HideEditorActionsAction extends Action2 {
|
|
|
581
581
|
constructor() {
|
|
582
582
|
super({
|
|
583
583
|
id: HideEditorActionsAction.ID,
|
|
584
|
-
title: ( localize2(
|
|
584
|
+
title: ( localize2(6825, "Hide Editor Actions")),
|
|
585
585
|
category: Categories.View,
|
|
586
586
|
precondition: ( (( (ContextKeyExpr.equals(
|
|
587
587
|
`config.${"workbench.editor.editorActionsLocation" }`,
|
|
588
588
|
"hidden"
|
|
589
589
|
))).negate())),
|
|
590
|
-
metadata: { description: ( localize2(
|
|
590
|
+
metadata: { description: ( localize2(6826, "Hide Editor Actions in the tab and title bar")) },
|
|
591
591
|
f1: true
|
|
592
592
|
});
|
|
593
593
|
}
|
|
@@ -602,13 +602,13 @@ class ShowEditorActionsAction extends Action2 {
|
|
|
602
602
|
constructor() {
|
|
603
603
|
super({
|
|
604
604
|
id: ShowEditorActionsAction.ID,
|
|
605
|
-
title: ( localize2(
|
|
605
|
+
title: ( localize2(6827, "Show Editor Actions")),
|
|
606
606
|
category: Categories.View,
|
|
607
607
|
precondition: ( (ContextKeyExpr.equals(
|
|
608
608
|
`config.${"workbench.editor.editorActionsLocation" }`,
|
|
609
609
|
"hidden"
|
|
610
610
|
))),
|
|
611
|
-
metadata: { description: ( localize2(
|
|
611
|
+
metadata: { description: ( localize2(6828, "Make Editor Actions visible.")) },
|
|
612
612
|
f1: true
|
|
613
613
|
});
|
|
614
614
|
}
|
|
@@ -620,7 +620,7 @@ class ShowEditorActionsAction extends Action2 {
|
|
|
620
620
|
registerAction2(ShowEditorActionsAction);
|
|
621
621
|
MenuRegistry.appendMenuItem(MenuId.MenubarAppearanceMenu, {
|
|
622
622
|
submenu: MenuId.EditorActionsPositionSubmenu,
|
|
623
|
-
title: ( localize(
|
|
623
|
+
title: ( localize(6829, "Editor Actions Position")),
|
|
624
624
|
group: '3_workbench_layout_move',
|
|
625
625
|
order: 11
|
|
626
626
|
});
|
|
@@ -629,7 +629,7 @@ class ConfigureEditorTabsAction extends Action2 {
|
|
|
629
629
|
constructor() {
|
|
630
630
|
super({
|
|
631
631
|
id: ConfigureEditorTabsAction.ID,
|
|
632
|
-
title: ( localize2(
|
|
632
|
+
title: ( localize2(6830, "Configure Tabs")),
|
|
633
633
|
category: Categories.View,
|
|
634
634
|
});
|
|
635
635
|
}
|
|
@@ -644,7 +644,7 @@ class ConfigureEditorAction extends Action2 {
|
|
|
644
644
|
constructor() {
|
|
645
645
|
super({
|
|
646
646
|
id: ConfigureEditorAction.ID,
|
|
647
|
-
title: ( localize2(
|
|
647
|
+
title: ( localize2(6831, "Configure Editors")),
|
|
648
648
|
category: Categories.View,
|
|
649
649
|
});
|
|
650
650
|
}
|
|
@@ -658,14 +658,14 @@ registerAction2(class extends Action2 {
|
|
|
658
658
|
constructor() {
|
|
659
659
|
super({
|
|
660
660
|
id: 'workbench.action.toggleSeparatePinnedEditorTabs',
|
|
661
|
-
title: ( localize2(
|
|
661
|
+
title: ( localize2(6832, "Separate Pinned Editor Tabs")),
|
|
662
662
|
category: Categories.View,
|
|
663
663
|
precondition: ( (ContextKeyExpr.equals(
|
|
664
664
|
`config.${"workbench.editor.showTabs" }`,
|
|
665
665
|
"multiple"
|
|
666
666
|
))),
|
|
667
667
|
metadata: { description: ( localize2(
|
|
668
|
-
|
|
668
|
+
6833,
|
|
669
669
|
"Toggle whether pinned editor tabs are shown on a separate row above unpinned tabs."
|
|
670
670
|
)) },
|
|
671
671
|
f1: true
|
|
@@ -683,8 +683,8 @@ registerAction2(class extends Action2 {
|
|
|
683
683
|
super({
|
|
684
684
|
id: 'workbench.action.toggleZenMode',
|
|
685
685
|
title: {
|
|
686
|
-
...( localize2(
|
|
687
|
-
mnemonicTitle: ( localize(
|
|
686
|
+
...( localize2(6834, "Toggle Zen Mode")),
|
|
687
|
+
mnemonicTitle: ( localize(6835, "Zen Mode")),
|
|
688
688
|
},
|
|
689
689
|
precondition: ( (IsAuxiliaryWindowFocusedContext.toNegated())),
|
|
690
690
|
category: Categories.View,
|
|
@@ -724,8 +724,8 @@ if (isWindows || isLinux || isWeb) {
|
|
|
724
724
|
super({
|
|
725
725
|
id: 'workbench.action.toggleMenuBar',
|
|
726
726
|
title: {
|
|
727
|
-
...( localize2(
|
|
728
|
-
mnemonicTitle: ( localize(
|
|
727
|
+
...( localize2(6836, "Toggle Menu Bar")),
|
|
728
|
+
mnemonicTitle: ( localize(6837, "Menu &&Bar")),
|
|
729
729
|
},
|
|
730
730
|
category: Categories.View,
|
|
731
731
|
f1: true,
|
|
@@ -750,7 +750,7 @@ if (isWindows || isLinux || isWeb) {
|
|
|
750
750
|
MenuRegistry.appendMenuItem(menuId, {
|
|
751
751
|
command: {
|
|
752
752
|
id: 'workbench.action.toggleMenuBar',
|
|
753
|
-
title: ( localize(
|
|
753
|
+
title: ( localize(6838, "Menu Bar")),
|
|
754
754
|
toggled: ( (ContextKeyExpr.and(
|
|
755
755
|
(IsMacNativeContext.toNegated()),
|
|
756
756
|
(ContextKeyExpr.notEquals('config.window.menuBarVisibility', 'hidden')),
|
|
@@ -772,7 +772,7 @@ registerAction2(class extends Action2 {
|
|
|
772
772
|
constructor() {
|
|
773
773
|
super({
|
|
774
774
|
id: 'workbench.action.resetViewLocations',
|
|
775
|
-
title: ( localize2(
|
|
775
|
+
title: ( localize2(6839, "Reset View Locations")),
|
|
776
776
|
category: Categories.View,
|
|
777
777
|
f1: true
|
|
778
778
|
});
|
|
@@ -785,7 +785,7 @@ registerAction2(class extends Action2 {
|
|
|
785
785
|
constructor() {
|
|
786
786
|
super({
|
|
787
787
|
id: 'workbench.action.moveView',
|
|
788
|
-
title: ( localize2(
|
|
788
|
+
title: ( localize2(6840, "Move View")),
|
|
789
789
|
category: Categories.View,
|
|
790
790
|
f1: true
|
|
791
791
|
});
|
|
@@ -823,7 +823,7 @@ registerAction2(class extends Action2 {
|
|
|
823
823
|
if (!hasAddedView) {
|
|
824
824
|
results.push({
|
|
825
825
|
type: 'separator',
|
|
826
|
-
label: ( localize(
|
|
826
|
+
label: ( localize(6841, "Side Bar / {0}", containerModel.title))
|
|
827
827
|
});
|
|
828
828
|
hasAddedView = true;
|
|
829
829
|
}
|
|
@@ -844,7 +844,7 @@ registerAction2(class extends Action2 {
|
|
|
844
844
|
if (!hasAddedView) {
|
|
845
845
|
results.push({
|
|
846
846
|
type: 'separator',
|
|
847
|
-
label: ( localize(
|
|
847
|
+
label: ( localize(6842, "Panel / {0}", containerModel.title))
|
|
848
848
|
});
|
|
849
849
|
hasAddedView = true;
|
|
850
850
|
}
|
|
@@ -865,7 +865,7 @@ registerAction2(class extends Action2 {
|
|
|
865
865
|
if (!hasAddedView) {
|
|
866
866
|
results.push({
|
|
867
867
|
type: 'separator',
|
|
868
|
-
label: ( localize(
|
|
868
|
+
label: ( localize(6843, "Secondary Side Bar / {0}", containerModel.title))
|
|
869
869
|
});
|
|
870
870
|
hasAddedView = true;
|
|
871
871
|
}
|
|
@@ -881,7 +881,7 @@ registerAction2(class extends Action2 {
|
|
|
881
881
|
async getView(quickInputService, viewDescriptorService, paneCompositePartService, viewId) {
|
|
882
882
|
const disposables = ( (new DisposableStore()));
|
|
883
883
|
const quickPick = disposables.add(quickInputService.createQuickPick({ useSeparators: true }));
|
|
884
|
-
quickPick.placeholder = ( localize(
|
|
884
|
+
quickPick.placeholder = ( localize(6844, "Select a View to Move"));
|
|
885
885
|
quickPick.items = this.getViewItems(viewDescriptorService, paneCompositePartService);
|
|
886
886
|
quickPick.selectedItems = quickPick.items.filter(item => item.id === viewId);
|
|
887
887
|
return (
|
|
@@ -909,7 +909,7 @@ class MoveFocusedViewAction extends Action2 {
|
|
|
909
909
|
constructor() {
|
|
910
910
|
super({
|
|
911
911
|
id: 'workbench.action.moveFocusedView',
|
|
912
|
-
title: ( localize2(
|
|
912
|
+
title: ( localize2(6845, "Move Focused View")),
|
|
913
913
|
category: Categories.View,
|
|
914
914
|
precondition: ( (FocusedViewContext.notEqualsTo(''))),
|
|
915
915
|
f1: true
|
|
@@ -924,18 +924,18 @@ class MoveFocusedViewAction extends Action2 {
|
|
|
924
924
|
const paneCompositePartService = accessor.get(IPaneCompositePartService);
|
|
925
925
|
const focusedViewId = viewId || FocusedViewContext.getValue(contextKeyService);
|
|
926
926
|
if (focusedViewId === undefined || focusedViewId.trim() === '') {
|
|
927
|
-
dialogService.error(( localize(
|
|
927
|
+
dialogService.error(( localize(6846, "There is no view currently focused.")));
|
|
928
928
|
return;
|
|
929
929
|
}
|
|
930
930
|
const viewDescriptor = viewDescriptorService.getViewDescriptorById(focusedViewId);
|
|
931
931
|
if (!viewDescriptor || !viewDescriptor.canMoveView) {
|
|
932
|
-
dialogService.error(( localize(
|
|
932
|
+
dialogService.error(( localize(6847, "The currently focused view is not movable.")));
|
|
933
933
|
return;
|
|
934
934
|
}
|
|
935
935
|
const disposables = ( (new DisposableStore()));
|
|
936
936
|
const quickPick = disposables.add(quickInputService.createQuickPick({ useSeparators: true }));
|
|
937
|
-
quickPick.placeholder = ( localize(
|
|
938
|
-
quickPick.title = ( localize(
|
|
937
|
+
quickPick.placeholder = ( localize(6848, "Select a Destination for the View"));
|
|
938
|
+
quickPick.title = ( localize(6849, "View: Move {0}", viewDescriptor.name.value));
|
|
939
939
|
const items = [];
|
|
940
940
|
const currentContainer = viewDescriptorService.getViewContainerByViewId(focusedViewId);
|
|
941
941
|
const currentLocation = viewDescriptorService.getViewLocationById(focusedViewId);
|
|
@@ -943,24 +943,24 @@ class MoveFocusedViewAction extends Action2 {
|
|
|
943
943
|
if (!((isViewSolo && currentLocation === 1) )) {
|
|
944
944
|
items.push({
|
|
945
945
|
id: '_.panel.newcontainer',
|
|
946
|
-
label: ( localize(
|
|
946
|
+
label: ( localize(6850, "New Panel Entry")),
|
|
947
947
|
});
|
|
948
948
|
}
|
|
949
949
|
if (!((isViewSolo && currentLocation === 0) )) {
|
|
950
950
|
items.push({
|
|
951
951
|
id: '_.sidebar.newcontainer',
|
|
952
|
-
label: ( localize(
|
|
952
|
+
label: ( localize(6851, "New Side Bar Entry"))
|
|
953
953
|
});
|
|
954
954
|
}
|
|
955
955
|
if (!((isViewSolo && currentLocation === 2) )) {
|
|
956
956
|
items.push({
|
|
957
957
|
id: '_.auxiliarybar.newcontainer',
|
|
958
|
-
label: ( localize(
|
|
958
|
+
label: ( localize(6852, "New Secondary Side Bar Entry"))
|
|
959
959
|
});
|
|
960
960
|
}
|
|
961
961
|
items.push({
|
|
962
962
|
type: 'separator',
|
|
963
|
-
label: ( localize(
|
|
963
|
+
label: ( localize(6853, "Side Bar"))
|
|
964
964
|
});
|
|
965
965
|
const pinnedViewlets = paneCompositePartService.getVisiblePaneCompositeIds(0 );
|
|
966
966
|
items.push(...( (pinnedViewlets
|
|
@@ -978,7 +978,7 @@ class MoveFocusedViewAction extends Action2 {
|
|
|
978
978
|
}))));
|
|
979
979
|
items.push({
|
|
980
980
|
type: 'separator',
|
|
981
|
-
label: ( localize(
|
|
981
|
+
label: ( localize(6854, "Panel"))
|
|
982
982
|
});
|
|
983
983
|
const pinnedPanels = paneCompositePartService.getPinnedPaneCompositeIds(1 );
|
|
984
984
|
items.push(...( (pinnedPanels
|
|
@@ -996,7 +996,7 @@ class MoveFocusedViewAction extends Action2 {
|
|
|
996
996
|
}))));
|
|
997
997
|
items.push({
|
|
998
998
|
type: 'separator',
|
|
999
|
-
label: ( localize(
|
|
999
|
+
label: ( localize(6855, "Secondary Side Bar"))
|
|
1000
1000
|
});
|
|
1001
1001
|
const pinnedAuxPanels = paneCompositePartService.getPinnedPaneCompositeIds(2 );
|
|
1002
1002
|
items.push(...( (pinnedAuxPanels
|
|
@@ -1042,7 +1042,7 @@ registerAction2(class extends Action2 {
|
|
|
1042
1042
|
constructor() {
|
|
1043
1043
|
super({
|
|
1044
1044
|
id: 'workbench.action.resetFocusedViewLocation',
|
|
1045
|
-
title: ( localize2(
|
|
1045
|
+
title: ( localize2(6856, "Reset Focused View Location")),
|
|
1046
1046
|
category: Categories.View,
|
|
1047
1047
|
f1: true,
|
|
1048
1048
|
precondition: ( (FocusedViewContext.notEqualsTo('')))
|
|
@@ -1059,7 +1059,7 @@ registerAction2(class extends Action2 {
|
|
|
1059
1059
|
viewDescriptor = viewDescriptorService.getViewDescriptorById(focusedViewId);
|
|
1060
1060
|
}
|
|
1061
1061
|
if (!viewDescriptor) {
|
|
1062
|
-
dialogService.error(( localize(
|
|
1062
|
+
dialogService.error(( localize(6857, "There is no view currently focused.")));
|
|
1063
1063
|
return;
|
|
1064
1064
|
}
|
|
1065
1065
|
const defaultContainer = viewDescriptorService.getDefaultContainerById(viewDescriptor.id);
|
|
@@ -1104,7 +1104,7 @@ class IncreaseViewSizeAction extends BaseResizeViewAction {
|
|
|
1104
1104
|
constructor() {
|
|
1105
1105
|
super({
|
|
1106
1106
|
id: 'workbench.action.increaseViewSize',
|
|
1107
|
-
title: ( localize2(
|
|
1107
|
+
title: ( localize2(6858, 'Increase Current View Size')),
|
|
1108
1108
|
f1: true,
|
|
1109
1109
|
precondition: ( (IsAuxiliaryWindowFocusedContext.toNegated()))
|
|
1110
1110
|
});
|
|
@@ -1117,7 +1117,7 @@ class IncreaseViewWidthAction extends BaseResizeViewAction {
|
|
|
1117
1117
|
constructor() {
|
|
1118
1118
|
super({
|
|
1119
1119
|
id: 'workbench.action.increaseViewWidth',
|
|
1120
|
-
title: ( localize2(
|
|
1120
|
+
title: ( localize2(6859, 'Increase Editor Width')),
|
|
1121
1121
|
f1: true,
|
|
1122
1122
|
precondition: ( (IsAuxiliaryWindowFocusedContext.toNegated()))
|
|
1123
1123
|
});
|
|
@@ -1130,7 +1130,7 @@ class IncreaseViewHeightAction extends BaseResizeViewAction {
|
|
|
1130
1130
|
constructor() {
|
|
1131
1131
|
super({
|
|
1132
1132
|
id: 'workbench.action.increaseViewHeight',
|
|
1133
|
-
title: ( localize2(
|
|
1133
|
+
title: ( localize2(6860, 'Increase Editor Height')),
|
|
1134
1134
|
f1: true,
|
|
1135
1135
|
precondition: ( (IsAuxiliaryWindowFocusedContext.toNegated()))
|
|
1136
1136
|
});
|
|
@@ -1143,7 +1143,7 @@ class DecreaseViewSizeAction extends BaseResizeViewAction {
|
|
|
1143
1143
|
constructor() {
|
|
1144
1144
|
super({
|
|
1145
1145
|
id: 'workbench.action.decreaseViewSize',
|
|
1146
|
-
title: ( localize2(
|
|
1146
|
+
title: ( localize2(6861, 'Decrease Current View Size')),
|
|
1147
1147
|
f1: true,
|
|
1148
1148
|
precondition: ( (IsAuxiliaryWindowFocusedContext.toNegated()))
|
|
1149
1149
|
});
|
|
@@ -1156,7 +1156,7 @@ class DecreaseViewWidthAction extends BaseResizeViewAction {
|
|
|
1156
1156
|
constructor() {
|
|
1157
1157
|
super({
|
|
1158
1158
|
id: 'workbench.action.decreaseViewWidth',
|
|
1159
|
-
title: ( localize2(
|
|
1159
|
+
title: ( localize2(6862, 'Decrease Editor Width')),
|
|
1160
1160
|
f1: true,
|
|
1161
1161
|
precondition: ( (IsAuxiliaryWindowFocusedContext.toNegated()))
|
|
1162
1162
|
});
|
|
@@ -1169,7 +1169,7 @@ class DecreaseViewHeightAction extends BaseResizeViewAction {
|
|
|
1169
1169
|
constructor() {
|
|
1170
1170
|
super({
|
|
1171
1171
|
id: 'workbench.action.decreaseViewHeight',
|
|
1172
|
-
title: ( localize2(
|
|
1172
|
+
title: ( localize2(6863, 'Decrease Editor Height')),
|
|
1173
1173
|
f1: true,
|
|
1174
1174
|
precondition: ( (IsAuxiliaryWindowFocusedContext.toNegated()))
|
|
1175
1175
|
});
|
|
@@ -1195,8 +1195,8 @@ const CreateToggleLayoutItem = (id, active, label, visualIcon) => {
|
|
|
1195
1195
|
visualIcon,
|
|
1196
1196
|
activeIcon: Codicon.eye,
|
|
1197
1197
|
inactiveIcon: Codicon.eyeClosed,
|
|
1198
|
-
activeAriaLabel: ( localize(
|
|
1199
|
-
inactiveAriaLabel: ( localize(
|
|
1198
|
+
activeAriaLabel: ( localize(6864, "Select to Hide")),
|
|
1199
|
+
inactiveAriaLabel: ( localize(6865, "Select to Show")),
|
|
1200
1200
|
useButtons: true,
|
|
1201
1201
|
};
|
|
1202
1202
|
};
|
|
@@ -1207,7 +1207,7 @@ const CreateOptionLayoutItem = (id, active, label, visualIcon) => {
|
|
|
1207
1207
|
label,
|
|
1208
1208
|
visualIcon,
|
|
1209
1209
|
activeIcon: Codicon.check,
|
|
1210
|
-
activeAriaLabel: ( localize(
|
|
1210
|
+
activeAriaLabel: ( localize(6866, "Active")),
|
|
1211
1211
|
useButtons: false
|
|
1212
1212
|
};
|
|
1213
1213
|
};
|
|
@@ -1219,29 +1219,29 @@ const MenuBarToggledContext = ( (ContextKeyExpr.and(
|
|
|
1219
1219
|
)));
|
|
1220
1220
|
const ToggleVisibilityActions = [];
|
|
1221
1221
|
if (!isMacintosh || !isNative) {
|
|
1222
|
-
ToggleVisibilityActions.push(CreateToggleLayoutItem('workbench.action.toggleMenuBar', MenuBarToggledContext, ( localize(
|
|
1222
|
+
ToggleVisibilityActions.push(CreateToggleLayoutItem('workbench.action.toggleMenuBar', MenuBarToggledContext, ( localize(6867, "Menu Bar")), menubarIcon));
|
|
1223
1223
|
}
|
|
1224
1224
|
ToggleVisibilityActions.push(...[
|
|
1225
|
-
CreateToggleLayoutItem(ToggleActivityBarVisibilityActionId, ( (ContextKeyExpr.notEquals('config.workbench.activityBar.location', 'hidden'))), ( localize(
|
|
1226
|
-
CreateToggleLayoutItem(ToggleSidebarVisibilityAction.ID, SideBarVisibleContext, ( localize(
|
|
1227
|
-
CreateToggleLayoutItem(ToggleAuxiliaryBarAction.ID, AuxiliaryBarVisibleContext, ( localize(
|
|
1228
|
-
CreateToggleLayoutItem(TogglePanelAction.ID, PanelVisibleContext, ( localize(
|
|
1229
|
-
CreateToggleLayoutItem(ToggleStatusbarVisibilityAction.ID, ( (ContextKeyExpr.equals('config.workbench.statusBar.visible', true))), ( localize(
|
|
1225
|
+
CreateToggleLayoutItem(ToggleActivityBarVisibilityActionId, ( (ContextKeyExpr.notEquals('config.workbench.activityBar.location', 'hidden'))), ( localize(6868, "Activity Bar")), { whenA: ( (ContextKeyExpr.equals('config.workbench.sideBar.location', 'left'))), iconA: activityBarLeftIcon, iconB: activityBarRightIcon }),
|
|
1226
|
+
CreateToggleLayoutItem(ToggleSidebarVisibilityAction.ID, SideBarVisibleContext, ( localize(6869, "Primary Side Bar")), { whenA: ( (ContextKeyExpr.equals('config.workbench.sideBar.location', 'left'))), iconA: panelLeftIcon, iconB: panelRightIcon }),
|
|
1227
|
+
CreateToggleLayoutItem(ToggleAuxiliaryBarAction.ID, AuxiliaryBarVisibleContext, ( localize(6855, "Secondary Side Bar")), { whenA: ( (ContextKeyExpr.equals('config.workbench.sideBar.location', 'left'))), iconA: panelRightIcon, iconB: panelLeftIcon }),
|
|
1228
|
+
CreateToggleLayoutItem(TogglePanelAction.ID, PanelVisibleContext, ( localize(6854, "Panel")), panelIcon),
|
|
1229
|
+
CreateToggleLayoutItem(ToggleStatusbarVisibilityAction.ID, ( (ContextKeyExpr.equals('config.workbench.statusBar.visible', true))), ( localize(6870, "Status Bar")), statusBarIcon),
|
|
1230
1230
|
]);
|
|
1231
1231
|
const MoveSideBarActions = [
|
|
1232
|
-
CreateOptionLayoutItem(MoveSidebarLeftAction.ID, ( (ContextKeyExpr.equals('config.workbench.sideBar.location', 'left'))), ( localize(
|
|
1233
|
-
CreateOptionLayoutItem(MoveSidebarRightAction.ID, ( (ContextKeyExpr.equals('config.workbench.sideBar.location', 'right'))), ( localize(
|
|
1232
|
+
CreateOptionLayoutItem(MoveSidebarLeftAction.ID, ( (ContextKeyExpr.equals('config.workbench.sideBar.location', 'left'))), ( localize(6871, "Left")), panelLeftIcon),
|
|
1233
|
+
CreateOptionLayoutItem(MoveSidebarRightAction.ID, ( (ContextKeyExpr.equals('config.workbench.sideBar.location', 'right'))), ( localize(6872, "Right")), panelRightIcon),
|
|
1234
1234
|
];
|
|
1235
1235
|
const AlignPanelActions = [
|
|
1236
|
-
CreateOptionLayoutItem('workbench.action.alignPanelLeft', ( (PanelAlignmentContext.isEqualTo('left'))), ( localize(
|
|
1237
|
-
CreateOptionLayoutItem('workbench.action.alignPanelRight', ( (PanelAlignmentContext.isEqualTo('right'))), ( localize(
|
|
1238
|
-
CreateOptionLayoutItem('workbench.action.alignPanelCenter', ( (PanelAlignmentContext.isEqualTo('center'))), ( localize(
|
|
1239
|
-
CreateOptionLayoutItem('workbench.action.alignPanelJustify', ( (PanelAlignmentContext.isEqualTo('justify'))), ( localize(
|
|
1236
|
+
CreateOptionLayoutItem('workbench.action.alignPanelLeft', ( (PanelAlignmentContext.isEqualTo('left'))), ( localize(6873, "Left")), panelAlignmentLeftIcon),
|
|
1237
|
+
CreateOptionLayoutItem('workbench.action.alignPanelRight', ( (PanelAlignmentContext.isEqualTo('right'))), ( localize(6874, "Right")), panelAlignmentRightIcon),
|
|
1238
|
+
CreateOptionLayoutItem('workbench.action.alignPanelCenter', ( (PanelAlignmentContext.isEqualTo('center'))), ( localize(6875, "Center")), panelAlignmentCenterIcon),
|
|
1239
|
+
CreateOptionLayoutItem('workbench.action.alignPanelJustify', ( (PanelAlignmentContext.isEqualTo('justify'))), ( localize(6876, "Justify")), panelAlignmentJustifyIcon),
|
|
1240
1240
|
];
|
|
1241
1241
|
const MiscLayoutOptions = [
|
|
1242
|
-
CreateOptionLayoutItem('workbench.action.toggleFullScreen', IsMainWindowFullscreenContext, ( localize(
|
|
1243
|
-
CreateOptionLayoutItem('workbench.action.toggleZenMode', InEditorZenModeContext, ( localize(
|
|
1244
|
-
CreateOptionLayoutItem('workbench.action.toggleCenteredLayout', IsMainEditorCenteredLayoutContext, ( localize(
|
|
1242
|
+
CreateOptionLayoutItem('workbench.action.toggleFullScreen', IsMainWindowFullscreenContext, ( localize(6877, "Full Screen")), fullscreenIcon),
|
|
1243
|
+
CreateOptionLayoutItem('workbench.action.toggleZenMode', InEditorZenModeContext, ( localize(6878, "Zen Mode")), zenModeIcon),
|
|
1244
|
+
CreateOptionLayoutItem('workbench.action.toggleCenteredLayout', IsMainEditorCenteredLayoutContext, ( localize(6879, "Centered Layout")), centerLayoutIcon),
|
|
1245
1245
|
];
|
|
1246
1246
|
const LayoutContextKeySet = ( (new Set()));
|
|
1247
1247
|
for (const { active } of [...ToggleVisibilityActions, ...MoveSideBarActions, ...AlignPanelActions, ...MiscLayoutOptions]) {
|
|
@@ -1253,7 +1253,7 @@ registerAction2(class CustomizeLayoutAction extends Action2 {
|
|
|
1253
1253
|
constructor() {
|
|
1254
1254
|
super({
|
|
1255
1255
|
id: 'workbench.action.customizeLayout',
|
|
1256
|
-
title: ( localize2(
|
|
1256
|
+
title: ( localize2(6880, "Customize Layout...")),
|
|
1257
1257
|
f1: true,
|
|
1258
1258
|
icon: configureLayoutIcon,
|
|
1259
1259
|
menu: [
|
|
@@ -1303,22 +1303,22 @@ registerAction2(class CustomizeLayoutAction extends Action2 {
|
|
|
1303
1303
|
return [
|
|
1304
1304
|
{
|
|
1305
1305
|
type: 'separator',
|
|
1306
|
-
label: ( localize(
|
|
1306
|
+
label: ( localize(6881, "Visibility"))
|
|
1307
1307
|
},
|
|
1308
1308
|
...( (ToggleVisibilityActions.map(toQuickPickItem))),
|
|
1309
1309
|
{
|
|
1310
1310
|
type: 'separator',
|
|
1311
|
-
label: ( localize(
|
|
1311
|
+
label: ( localize(6882, "Primary Side Bar Position"))
|
|
1312
1312
|
},
|
|
1313
1313
|
...( (MoveSideBarActions.map(toQuickPickItem))),
|
|
1314
1314
|
{
|
|
1315
1315
|
type: 'separator',
|
|
1316
|
-
label: ( localize(
|
|
1316
|
+
label: ( localize(6883, "Panel Alignment"))
|
|
1317
1317
|
},
|
|
1318
1318
|
...( (AlignPanelActions.map(toQuickPickItem))),
|
|
1319
1319
|
{
|
|
1320
1320
|
type: 'separator',
|
|
1321
|
-
label: ( localize(
|
|
1321
|
+
label: ( localize(6884, "Modes")),
|
|
1322
1322
|
},
|
|
1323
1323
|
...( (MiscLayoutOptions.map(toQuickPickItem))),
|
|
1324
1324
|
];
|
|
@@ -1339,16 +1339,16 @@ registerAction2(class CustomizeLayoutAction extends Action2 {
|
|
|
1339
1339
|
quickPick.items = this.getItems(contextKeyService, keybindingService);
|
|
1340
1340
|
quickPick.ignoreFocusOut = true;
|
|
1341
1341
|
quickPick.hideInput = true;
|
|
1342
|
-
quickPick.title = ( localize(
|
|
1342
|
+
quickPick.title = ( localize(6885, "Customize Layout"));
|
|
1343
1343
|
const closeButton = {
|
|
1344
1344
|
alwaysVisible: true,
|
|
1345
1345
|
iconClass: ThemeIcon.asClassName(Codicon.close),
|
|
1346
|
-
tooltip: ( localize(
|
|
1346
|
+
tooltip: ( localize(6886, "Close"))
|
|
1347
1347
|
};
|
|
1348
1348
|
const resetButton = {
|
|
1349
1349
|
alwaysVisible: true,
|
|
1350
1350
|
iconClass: ThemeIcon.asClassName(Codicon.discard),
|
|
1351
|
-
tooltip: ( localize(
|
|
1351
|
+
tooltip: ( localize(6887, "Restore Defaults"))
|
|
1352
1352
|
};
|
|
1353
1353
|
quickPick.buttons = [
|
|
1354
1354
|
resetButton,
|