@codingame/monaco-vscode-api 11.1.0 → 11.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/dialog/dialog.js +6 -6
- 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/browser/ui/tree/treeDefaults.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/base/common/keybindingLabels.js +20 -20
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- 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/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/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/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- 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.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/common/viewLayout/viewLineRenderer.js +2 -2
- 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/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/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- 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/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +27 -27
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- 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/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/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/message/browser/messageController.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/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- 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/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/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/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/contextkey/browser/contextKeyService.js +1 -1
- 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/extensionManagement/common/extensionsScannerService.js +7 -7
- 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/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- 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/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +1 -1
- 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 +31 -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/windowActions.js +25 -25
- 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/auxiliarybar/auxiliaryBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +11 -11
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +5 -5
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +61 -61
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +34 -34
- 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/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +7 -7
- 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/diffEditorInput.js +1 -1
- 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/theme.js +156 -156
- 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/customEditor/browser/customEditorInput.js +3 -3
- 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/abstractDebugAdapter.js +1 -1
- 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/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +3 -3
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +8 -8
- 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/fileCommands._save.js +4 -4
- 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/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +1 -1
- 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/mergeEditor/browser/mergeEditorInputModel.js +29 -29
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- 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/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.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/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +60 -60
- 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 +15 -11
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +10 -10
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsTopBar.js +8 -8
- package/vscode/src/vs/workbench/contrib/search/browser/searchIcons.js +20 -20
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +2 -2
- 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/snippets/browser/snippetsService.js +9 -9
- 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/tasks/common/tasks.js +3 -3
- 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/testing/common/testResult.js +2 -2
- 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/webviewPanel/browser/webviewEditor.js +1 -1
- 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/extensions/common/extensionsRegistry.js +82 -82
- 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/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- 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/userDataSync/common/userDataSync.js +11 -11
- 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
|
@@ -2,19 +2,19 @@ import { localize } from '../../../../nls.js';
|
|
|
2
2
|
import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
3
|
|
|
4
4
|
const CustomExecutionSupportedContext = ( (new RawContextKey('customExecutionSupported', false, ( localize(
|
|
5
|
-
|
|
5
|
+
6499,
|
|
6
6
|
"Whether CustomExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
|
|
7
7
|
)))));
|
|
8
8
|
const ShellExecutionSupportedContext = ( (new RawContextKey('shellExecutionSupported', false, ( localize(
|
|
9
|
-
|
|
9
|
+
6500,
|
|
10
10
|
"Whether ShellExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
|
|
11
11
|
)))));
|
|
12
|
-
const TaskCommandsRegistered = ( (new RawContextKey('taskCommandsRegistered', false, ( localize(
|
|
12
|
+
const TaskCommandsRegistered = ( (new RawContextKey('taskCommandsRegistered', false, ( localize(6501, "Whether the task commands have been registered yet")))));
|
|
13
13
|
const ProcessExecutionSupportedContext = ( (new RawContextKey('processExecutionSupported', false, ( localize(
|
|
14
|
-
|
|
14
|
+
6502,
|
|
15
15
|
"Whether ProcessExecution tasks are supported. Consider using in the when clause of a \'taskDefinition\' contribution."
|
|
16
16
|
)))));
|
|
17
|
-
const ServerlessWebContext = ( (new RawContextKey('serverlessWebContext', false, ( localize(
|
|
17
|
+
const ServerlessWebContext = ( (new RawContextKey('serverlessWebContext', false, ( localize(6503, "True when in the web with no remote authority.")))));
|
|
18
18
|
const TaskExecutionSupportedContext = ( (ContextKeyExpr.or(
|
|
19
19
|
(ContextKeyExpr.and(ShellExecutionSupportedContext, ProcessExecutionSupportedContext)),
|
|
20
20
|
CustomExecutionSupportedContext
|
|
@@ -6,8 +6,8 @@ import { RawContextKey } from '../../../../platform/contextkey/common/contextkey
|
|
|
6
6
|
import { TaskDefinitionRegistry } from './taskDefinitionRegistry.js';
|
|
7
7
|
|
|
8
8
|
const USER_TASKS_GROUP_KEY = 'settings';
|
|
9
|
-
const TASK_RUNNING_STATE = ( (new RawContextKey('taskRunning', false, ( localize(
|
|
10
|
-
const TASKS_CATEGORY = ( localize2(
|
|
9
|
+
const TASK_RUNNING_STATE = ( (new RawContextKey('taskRunning', false, ( localize(4649, "Whether a task is currently running.")))));
|
|
10
|
+
const TASKS_CATEGORY = ( localize2(4650, "Tasks"));
|
|
11
11
|
var ShellQuoting;
|
|
12
12
|
( ((function(ShellQuoting) {
|
|
13
13
|
ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
|
|
@@ -705,7 +705,7 @@ var TaskDefinition;
|
|
|
705
705
|
break;
|
|
706
706
|
default:
|
|
707
707
|
reporter.error(( localize(
|
|
708
|
-
|
|
708
|
+
4651,
|
|
709
709
|
'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
|
|
710
710
|
JSON.stringify(external, undefined, 0),
|
|
711
711
|
property
|
|
@@ -5,9 +5,9 @@ import { onUnexpectedError } from '../../../../base/common/errors.js';
|
|
|
5
5
|
import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
6
6
|
import { MicrotaskDelay } from '../../../../base/common/symbols.js';
|
|
7
7
|
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
8
|
-
import { TerminalCapabilityStore } from '@codingame/monaco-vscode-chat-
|
|
9
|
-
import { TerminalExtensionsRegistry } from '@codingame/monaco-vscode-chat-
|
|
10
|
-
import { TerminalWidgetManager } from '@codingame/monaco-vscode-chat-
|
|
8
|
+
import { TerminalCapabilityStore } from '@codingame/monaco-vscode-chat-notebook-terminal-testing-common/vscode/vs/platform/terminal/common/capabilities/terminalCapabilityStore';
|
|
9
|
+
import { TerminalExtensionsRegistry } from '@codingame/monaco-vscode-chat-notebook-terminal-testing-common/vscode/vs/workbench/contrib/terminal/browser/terminalExtensions';
|
|
10
|
+
import { TerminalWidgetManager } from '@codingame/monaco-vscode-chat-notebook-terminal-testing-common/vscode/vs/workbench/contrib/terminal/browser/widgets/widgetManager';
|
|
11
11
|
|
|
12
12
|
let DetachedTerminal = class DetachedTerminal extends Disposable {
|
|
13
13
|
get xterm() {
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
+
import { localize } from '../../../../nls.js';
|
|
3
|
+
import Severity$1 from '../../../../base/common/severity.js';
|
|
4
|
+
import { toDisposable, dispose } from '../../../../base/common/lifecycle.js';
|
|
5
|
+
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
6
|
+
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
7
|
+
import { EditorInput } from '../../../common/editor/editorInput.js';
|
|
8
|
+
import { terminalEditorId } from './terminal.js';
|
|
9
|
+
import { ITerminalInstanceService } from './terminal.service.js';
|
|
10
|
+
import { getColorClass, getUriClasses } from './terminalIcon.js';
|
|
11
|
+
import { IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js';
|
|
12
|
+
import { TerminalLocation, TerminalExitReason } from '../../../../platform/terminal/common/terminal.js';
|
|
13
|
+
import { ILifecycleService } from '../../../services/lifecycle/common/lifecycle.service.js';
|
|
14
|
+
import { IContextKeyService } from '../../../../platform/contextkey/common/contextkey.service.js';
|
|
15
|
+
import { IConfigurationService } from '../../../../platform/configuration/common/configuration.service.js';
|
|
16
|
+
import { TerminalContextKeys } from '../common/terminalContextKey.js';
|
|
17
|
+
import { IDialogService } from '../../../../platform/dialogs/common/dialogs.service.js';
|
|
18
|
+
import { Emitter } from '../../../../base/common/event.js';
|
|
19
|
+
|
|
20
|
+
var TerminalEditorInput_1;
|
|
21
|
+
let TerminalEditorInput = class TerminalEditorInput extends EditorInput {
|
|
22
|
+
static { TerminalEditorInput_1 = this; }
|
|
23
|
+
static { this.ID = 'workbench.editors.terminal'; }
|
|
24
|
+
setGroup(group) {
|
|
25
|
+
this._group = group;
|
|
26
|
+
if (group?.scopedContextKeyService) {
|
|
27
|
+
this._terminalInstance?.setParentContextKeyService(group.scopedContextKeyService);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
get group() {
|
|
31
|
+
return this._group;
|
|
32
|
+
}
|
|
33
|
+
get typeId() {
|
|
34
|
+
return TerminalEditorInput_1.ID;
|
|
35
|
+
}
|
|
36
|
+
get editorId() {
|
|
37
|
+
return terminalEditorId;
|
|
38
|
+
}
|
|
39
|
+
get capabilities() {
|
|
40
|
+
return 2 | 8 | 128 | 64 ;
|
|
41
|
+
}
|
|
42
|
+
setTerminalInstance(instance) {
|
|
43
|
+
if (this._terminalInstance) {
|
|
44
|
+
throw ( (new Error('cannot set instance that has already been set')));
|
|
45
|
+
}
|
|
46
|
+
this._terminalInstance = instance;
|
|
47
|
+
this._setupInstanceListeners();
|
|
48
|
+
}
|
|
49
|
+
copy() {
|
|
50
|
+
const instance = this._terminalInstanceService.createInstance(this._copyLaunchConfig || {}, TerminalLocation.Editor);
|
|
51
|
+
instance.focusWhenReady();
|
|
52
|
+
this._copyLaunchConfig = undefined;
|
|
53
|
+
return this._instantiationService.createInstance(TerminalEditorInput_1, instance.resource, instance);
|
|
54
|
+
}
|
|
55
|
+
setCopyLaunchConfig(launchConfig) {
|
|
56
|
+
this._copyLaunchConfig = launchConfig;
|
|
57
|
+
}
|
|
58
|
+
get terminalInstance() {
|
|
59
|
+
return this._isDetached ? undefined : this._terminalInstance;
|
|
60
|
+
}
|
|
61
|
+
showConfirm() {
|
|
62
|
+
if (this._isReverted) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
const confirmOnKill = this._configurationService.getValue("terminal.integrated.confirmOnKill" );
|
|
66
|
+
if (confirmOnKill === 'editor' || confirmOnKill === 'always') {
|
|
67
|
+
return this._terminalInstance?.hasChildProcesses || false;
|
|
68
|
+
}
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
async confirm(terminals) {
|
|
72
|
+
const { confirmed } = await this._dialogService.confirm({
|
|
73
|
+
type: Severity$1.Warning,
|
|
74
|
+
message: ( localize(8996, "Do you want to terminate running processes?")),
|
|
75
|
+
primaryButton: ( localize(8997, "&&Terminate")),
|
|
76
|
+
detail: terminals.length > 1 ?
|
|
77
|
+
( (terminals.map(terminal => terminal.editor.getName()))).join('\n') + '\n\n' + ( localize(8998, "Closing will terminate the running processes in the terminals.")) :
|
|
78
|
+
( localize(8999, "Closing will terminate the running processes in this terminal."))
|
|
79
|
+
});
|
|
80
|
+
return confirmed ? 1 : 2 ;
|
|
81
|
+
}
|
|
82
|
+
async revert() {
|
|
83
|
+
this._isReverted = true;
|
|
84
|
+
}
|
|
85
|
+
constructor(resource, _terminalInstance, _themeService, _terminalInstanceService, _instantiationService, _configurationService, _lifecycleService, _contextKeyService, _dialogService) {
|
|
86
|
+
super();
|
|
87
|
+
this.resource = resource;
|
|
88
|
+
this._terminalInstance = _terminalInstance;
|
|
89
|
+
this._themeService = _themeService;
|
|
90
|
+
this._terminalInstanceService = _terminalInstanceService;
|
|
91
|
+
this._instantiationService = _instantiationService;
|
|
92
|
+
this._configurationService = _configurationService;
|
|
93
|
+
this._lifecycleService = _lifecycleService;
|
|
94
|
+
this._contextKeyService = _contextKeyService;
|
|
95
|
+
this._dialogService = _dialogService;
|
|
96
|
+
this.closeHandler = this;
|
|
97
|
+
this._isDetached = false;
|
|
98
|
+
this._isShuttingDown = false;
|
|
99
|
+
this._isReverted = false;
|
|
100
|
+
this._onDidRequestAttach = this._register(( (new Emitter())));
|
|
101
|
+
this.onDidRequestAttach = this._onDidRequestAttach.event;
|
|
102
|
+
this._terminalEditorFocusContextKey = TerminalContextKeys.editorFocus.bindTo(_contextKeyService);
|
|
103
|
+
if (_terminalInstance) {
|
|
104
|
+
this._setupInstanceListeners();
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
_setupInstanceListeners() {
|
|
108
|
+
const instance = this._terminalInstance;
|
|
109
|
+
if (!instance) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
112
|
+
const instanceOnDidFocusListener = instance.onDidFocus(() => this._terminalEditorFocusContextKey.set(true));
|
|
113
|
+
const instanceOnDidBlurListener = instance.onDidBlur(() => this._terminalEditorFocusContextKey.reset());
|
|
114
|
+
this._register(toDisposable(() => {
|
|
115
|
+
if (!this._isDetached && !this._isShuttingDown) {
|
|
116
|
+
instance.dispose(TerminalExitReason.User);
|
|
117
|
+
}
|
|
118
|
+
dispose([instanceOnDidFocusListener, instanceOnDidBlurListener]);
|
|
119
|
+
}));
|
|
120
|
+
const disposeListeners = [
|
|
121
|
+
instance.onExit((e) => {
|
|
122
|
+
if (!instance.waitOnExit) {
|
|
123
|
+
this.dispose();
|
|
124
|
+
}
|
|
125
|
+
}),
|
|
126
|
+
instance.onDisposed(() => this.dispose()),
|
|
127
|
+
instance.onTitleChanged(() => this._onDidChangeLabel.fire()),
|
|
128
|
+
instance.onIconChanged(() => this._onDidChangeLabel.fire()),
|
|
129
|
+
instanceOnDidFocusListener,
|
|
130
|
+
instanceOnDidBlurListener,
|
|
131
|
+
instance.statusList.onDidChangePrimaryStatus(() => this._onDidChangeLabel.fire())
|
|
132
|
+
];
|
|
133
|
+
this._lifecycleService.onWillShutdown((e) => {
|
|
134
|
+
this._isShuttingDown = true;
|
|
135
|
+
dispose(disposeListeners);
|
|
136
|
+
const shouldPersistTerminals = this._configurationService.getValue("terminal.integrated.enablePersistentSessions" ) && e.reason === 3 ;
|
|
137
|
+
if (shouldPersistTerminals) {
|
|
138
|
+
instance.detachProcessAndDispose(TerminalExitReason.Shutdown);
|
|
139
|
+
}
|
|
140
|
+
else {
|
|
141
|
+
instance.dispose(TerminalExitReason.Shutdown);
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
getName() {
|
|
146
|
+
return this._terminalInstance?.title || this.resource.fragment;
|
|
147
|
+
}
|
|
148
|
+
getIcon() {
|
|
149
|
+
if (!this._terminalInstance || !ThemeIcon.isThemeIcon(this._terminalInstance.icon)) {
|
|
150
|
+
return undefined;
|
|
151
|
+
}
|
|
152
|
+
return this._terminalInstance.icon;
|
|
153
|
+
}
|
|
154
|
+
getLabelExtraClasses() {
|
|
155
|
+
if (!this._terminalInstance) {
|
|
156
|
+
return [];
|
|
157
|
+
}
|
|
158
|
+
const extraClasses = ['terminal-tab', 'predefined-file-icon'];
|
|
159
|
+
const colorClass = getColorClass(this._terminalInstance);
|
|
160
|
+
if (colorClass) {
|
|
161
|
+
extraClasses.push(colorClass);
|
|
162
|
+
}
|
|
163
|
+
const uriClasses = getUriClasses(this._terminalInstance, this._themeService.getColorTheme().type);
|
|
164
|
+
if (uriClasses) {
|
|
165
|
+
extraClasses.push(...uriClasses);
|
|
166
|
+
}
|
|
167
|
+
return extraClasses;
|
|
168
|
+
}
|
|
169
|
+
detachInstance() {
|
|
170
|
+
if (!this._isShuttingDown) {
|
|
171
|
+
this._terminalInstance?.detachFromElement();
|
|
172
|
+
this._terminalInstance?.setParentContextKeyService(this._contextKeyService);
|
|
173
|
+
this._isDetached = true;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
getDescription() {
|
|
177
|
+
return this._terminalInstance?.description;
|
|
178
|
+
}
|
|
179
|
+
toUntyped() {
|
|
180
|
+
return {
|
|
181
|
+
resource: this.resource,
|
|
182
|
+
options: {
|
|
183
|
+
override: terminalEditorId,
|
|
184
|
+
pinned: true,
|
|
185
|
+
forceReload: true
|
|
186
|
+
}
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
TerminalEditorInput = TerminalEditorInput_1 = ( (__decorate([
|
|
191
|
+
( (__param(2, IThemeService))),
|
|
192
|
+
( (__param(3, ITerminalInstanceService))),
|
|
193
|
+
( (__param(4, IInstantiationService))),
|
|
194
|
+
( (__param(5, IConfigurationService))),
|
|
195
|
+
( (__param(6, ILifecycleService))),
|
|
196
|
+
( (__param(7, IContextKeyService))),
|
|
197
|
+
( (__param(8, IDialogService)))
|
|
198
|
+
], TerminalEditorInput)));
|
|
199
|
+
|
|
200
|
+
export { TerminalEditorInput };
|
|
@@ -15,7 +15,7 @@ import { PANEL_BORDER, EDITOR_DRAG_AND_DROP_BACKGROUND, TAB_ACTIVE_BORDER } from
|
|
|
15
15
|
|
|
16
16
|
const ansiColorIdentifiers = [];
|
|
17
17
|
const TERMINAL_BACKGROUND_COLOR = registerColor('terminal.background', null, ( localize(
|
|
18
|
-
|
|
18
|
+
9193,
|
|
19
19
|
'The background color of the terminal, this allows coloring the terminal differently to the panel.'
|
|
20
20
|
)));
|
|
21
21
|
const TERMINAL_FOREGROUND_COLOR = registerColor('terminal.foreground', {
|
|
@@ -23,20 +23,20 @@ const TERMINAL_FOREGROUND_COLOR = registerColor('terminal.foreground', {
|
|
|
23
23
|
dark: '#CCCCCC',
|
|
24
24
|
hcDark: '#FFFFFF',
|
|
25
25
|
hcLight: '#292929'
|
|
26
|
-
}, ( localize(
|
|
27
|
-
const TERMINAL_CURSOR_FOREGROUND_COLOR = registerColor('terminalCursor.foreground', null, ( localize(
|
|
26
|
+
}, ( localize(9194, 'The foreground color of the terminal.')));
|
|
27
|
+
const TERMINAL_CURSOR_FOREGROUND_COLOR = registerColor('terminalCursor.foreground', null, ( localize(9195, 'The foreground color of the terminal cursor.')));
|
|
28
28
|
const TERMINAL_CURSOR_BACKGROUND_COLOR = registerColor('terminalCursor.background', null, ( localize(
|
|
29
|
-
|
|
29
|
+
9196,
|
|
30
30
|
'The background color of the terminal cursor. Allows customizing the color of a character overlapped by a block cursor.'
|
|
31
31
|
)));
|
|
32
|
-
const TERMINAL_SELECTION_BACKGROUND_COLOR = registerColor('terminal.selectionBackground', editorSelectionBackground, ( localize(
|
|
32
|
+
const TERMINAL_SELECTION_BACKGROUND_COLOR = registerColor('terminal.selectionBackground', editorSelectionBackground, ( localize(9197, 'The selection background color of the terminal.')));
|
|
33
33
|
const TERMINAL_INACTIVE_SELECTION_BACKGROUND_COLOR = registerColor('terminal.inactiveSelectionBackground', {
|
|
34
34
|
light: ( (transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5))),
|
|
35
35
|
dark: ( (transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5))),
|
|
36
36
|
hcDark: ( (transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.7))),
|
|
37
37
|
hcLight: ( (transparent(TERMINAL_SELECTION_BACKGROUND_COLOR, 0.5)))
|
|
38
38
|
}, ( localize(
|
|
39
|
-
|
|
39
|
+
9198,
|
|
40
40
|
'The selection background color of the terminal when it does not have focus.'
|
|
41
41
|
)));
|
|
42
42
|
const TERMINAL_SELECTION_FOREGROUND_COLOR = registerColor('terminal.selectionForeground', {
|
|
@@ -45,7 +45,7 @@ const TERMINAL_SELECTION_FOREGROUND_COLOR = registerColor('terminal.selectionFor
|
|
|
45
45
|
hcDark: '#000000',
|
|
46
46
|
hcLight: '#ffffff'
|
|
47
47
|
}, ( localize(
|
|
48
|
-
|
|
48
|
+
9199,
|
|
49
49
|
'The selection foreground color of the terminal. When this is null the selection foreground will be retained and have the minimum contrast ratio feature applied.'
|
|
50
50
|
)));
|
|
51
51
|
const TERMINAL_COMMAND_DECORATION_DEFAULT_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.defaultBackground', {
|
|
@@ -53,14 +53,14 @@ const TERMINAL_COMMAND_DECORATION_DEFAULT_BACKGROUND_COLOR = registerColor('term
|
|
|
53
53
|
dark: '#ffffff40',
|
|
54
54
|
hcDark: '#ffffff80',
|
|
55
55
|
hcLight: '#00000040',
|
|
56
|
-
}, ( localize(
|
|
56
|
+
}, ( localize(9200, 'The default terminal command decoration background color.')));
|
|
57
57
|
const TERMINAL_COMMAND_DECORATION_SUCCESS_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.successBackground', {
|
|
58
58
|
dark: '#1B81A8',
|
|
59
59
|
light: '#2090D3',
|
|
60
60
|
hcDark: '#1B81A8',
|
|
61
61
|
hcLight: '#007100'
|
|
62
62
|
}, ( localize(
|
|
63
|
-
|
|
63
|
+
9201,
|
|
64
64
|
'The terminal command decoration background color for successful commands.'
|
|
65
65
|
)));
|
|
66
66
|
const TERMINAL_COMMAND_DECORATION_ERROR_BACKGROUND_COLOR = registerColor('terminalCommandDecoration.errorBackground', {
|
|
@@ -69,38 +69,38 @@ const TERMINAL_COMMAND_DECORATION_ERROR_BACKGROUND_COLOR = registerColor('termin
|
|
|
69
69
|
hcDark: '#F14C4C',
|
|
70
70
|
hcLight: '#B5200D'
|
|
71
71
|
}, ( localize(
|
|
72
|
-
|
|
72
|
+
9202,
|
|
73
73
|
'The terminal command decoration background color for error commands.'
|
|
74
74
|
)));
|
|
75
|
-
const TERMINAL_OVERVIEW_RULER_CURSOR_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.cursorForeground', '#A0A0A0CC', ( localize(
|
|
75
|
+
const TERMINAL_OVERVIEW_RULER_CURSOR_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.cursorForeground', '#A0A0A0CC', ( localize(9203, 'The overview ruler cursor color.')));
|
|
76
76
|
registerColor('terminal.border', PANEL_BORDER, ( localize(
|
|
77
|
-
|
|
77
|
+
9204,
|
|
78
78
|
'The color of the border that separates split panes within the terminal. This defaults to panel.border.'
|
|
79
79
|
)));
|
|
80
|
-
const TERMINAL_OVERVIEW_RULER_BORDER_COLOR = registerColor('terminalOverviewRuler.border', editorOverviewRulerBorder, ( localize(
|
|
80
|
+
const TERMINAL_OVERVIEW_RULER_BORDER_COLOR = registerColor('terminalOverviewRuler.border', editorOverviewRulerBorder, ( localize(9205, 'The overview ruler left-side border color.')));
|
|
81
81
|
const TERMINAL_FIND_MATCH_BACKGROUND_COLOR = registerColor('terminal.findMatchBackground', {
|
|
82
82
|
dark: editorFindMatch,
|
|
83
83
|
light: editorFindMatch,
|
|
84
84
|
hcDark: null,
|
|
85
85
|
hcLight: '#0F4A85'
|
|
86
86
|
}, ( localize(
|
|
87
|
-
|
|
87
|
+
9206,
|
|
88
88
|
'Color of the current search match in the terminal. The color must not be opaque so as not to hide underlying terminal content.'
|
|
89
89
|
)), true);
|
|
90
|
-
registerColor('terminal.hoverHighlightBackground', ( (transparent(editorHoverHighlight, 0.5))), ( localize(
|
|
90
|
+
registerColor('terminal.hoverHighlightBackground', ( (transparent(editorHoverHighlight, 0.5))), ( localize(9207, 'Border color of the other search matches in the terminal.')));
|
|
91
91
|
const TERMINAL_FIND_MATCH_BORDER_COLOR = registerColor('terminal.findMatchBorder', {
|
|
92
92
|
dark: null,
|
|
93
93
|
light: null,
|
|
94
94
|
hcDark: '#f38518',
|
|
95
95
|
hcLight: '#0F4A85'
|
|
96
|
-
}, ( localize(
|
|
96
|
+
}, ( localize(9208, 'Border color of the current search match in the terminal.')));
|
|
97
97
|
const TERMINAL_FIND_MATCH_HIGHLIGHT_BACKGROUND_COLOR = registerColor('terminal.findMatchHighlightBackground', {
|
|
98
98
|
dark: editorFindMatchHighlight,
|
|
99
99
|
light: editorFindMatchHighlight,
|
|
100
100
|
hcDark: null,
|
|
101
101
|
hcLight: null
|
|
102
102
|
}, ( localize(
|
|
103
|
-
|
|
103
|
+
9209,
|
|
104
104
|
'Color of the other search matches in the terminal. The color must not be opaque so as not to hide underlying terminal content.'
|
|
105
105
|
)), true);
|
|
106
106
|
const TERMINAL_FIND_MATCH_HIGHLIGHT_BORDER_COLOR = registerColor('terminal.findMatchHighlightBorder', {
|
|
@@ -108,19 +108,19 @@ const TERMINAL_FIND_MATCH_HIGHLIGHT_BORDER_COLOR = registerColor('terminal.findM
|
|
|
108
108
|
light: null,
|
|
109
109
|
hcDark: '#f38518',
|
|
110
110
|
hcLight: '#0F4A85'
|
|
111
|
-
}, ( localize(
|
|
111
|
+
}, ( localize(9207, 'Border color of the other search matches in the terminal.')));
|
|
112
112
|
const TERMINAL_OVERVIEW_RULER_FIND_MATCH_FOREGROUND_COLOR = registerColor('terminalOverviewRuler.findMatchForeground', {
|
|
113
113
|
dark: overviewRulerFindMatchForeground,
|
|
114
114
|
light: overviewRulerFindMatchForeground,
|
|
115
115
|
hcDark: '#f38518',
|
|
116
116
|
hcLight: '#0F4A85'
|
|
117
|
-
}, ( localize(
|
|
117
|
+
}, ( localize(9210, 'Overview ruler marker color for find matches in the terminal.')));
|
|
118
118
|
registerColor('terminal.dropBackground', EDITOR_DRAG_AND_DROP_BACKGROUND, ( localize(
|
|
119
|
-
|
|
119
|
+
9211,
|
|
120
120
|
"Background color when dragging on top of terminals. The color should have transparency so that the terminal contents can still shine through."
|
|
121
121
|
)), true);
|
|
122
122
|
registerColor('terminal.tab.activeBorder', TAB_ACTIVE_BORDER, ( localize(
|
|
123
|
-
|
|
123
|
+
9212,
|
|
124
124
|
'Border on the side of the terminal tab in the panel. This defaults to tab.activeBorder.'
|
|
125
125
|
)));
|
|
126
126
|
registerColor('terminal.initialHintForeground', {
|
|
@@ -128,7 +128,7 @@ registerColor('terminal.initialHintForeground', {
|
|
|
128
128
|
light: '#0007',
|
|
129
129
|
hcDark: null,
|
|
130
130
|
hcLight: null
|
|
131
|
-
}, ( localize(
|
|
131
|
+
}, ( localize(9213, 'Foreground color of the terminal initial hint.')));
|
|
132
132
|
const ansiColorMap = {
|
|
133
133
|
'terminal.ansiBlack': {
|
|
134
134
|
index: 0,
|
|
@@ -279,7 +279,7 @@ function registerColors() {
|
|
|
279
279
|
for (const id in ansiColorMap) {
|
|
280
280
|
const entry = ansiColorMap[id];
|
|
281
281
|
const colorName = id.substring(13);
|
|
282
|
-
ansiColorIdentifiers[entry.index] = registerColor(id, entry.defaults, ( localize(
|
|
282
|
+
ansiColorIdentifiers[entry.index] = registerColor(id, entry.defaults, ( localize(9214, '\'{0}\' ANSI color in the terminal.', colorName)));
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
285
|
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { localize } from '../../../../nls.js';
|
|
2
|
+
import { RawContextKey, ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
3
|
+
import { TERMINAL_VIEW_ID } from '@codingame/monaco-vscode-chat-extensions-notebook-task-terminal-testing-common/vscode/vs/workbench/contrib/terminal/common/terminal';
|
|
4
|
+
|
|
5
|
+
var TerminalContextKeys;
|
|
6
|
+
( ((function(TerminalContextKeys) {
|
|
7
|
+
TerminalContextKeys.isOpen = ( (new RawContextKey("terminalIsOpen" , false, true)));
|
|
8
|
+
TerminalContextKeys.focus = ( (new RawContextKey(
|
|
9
|
+
"terminalFocus" ,
|
|
10
|
+
false,
|
|
11
|
+
( localize(9000, "Whether the terminal is focused."))
|
|
12
|
+
)));
|
|
13
|
+
TerminalContextKeys.focusInAny = ( (new RawContextKey(
|
|
14
|
+
"terminalFocusInAny" ,
|
|
15
|
+
false,
|
|
16
|
+
( localize(
|
|
17
|
+
9001,
|
|
18
|
+
"Whether any terminal is focused, including detached terminals used in other UI."
|
|
19
|
+
))
|
|
20
|
+
)));
|
|
21
|
+
TerminalContextKeys.editorFocus = ( (new RawContextKey(
|
|
22
|
+
"terminalEditorFocus" ,
|
|
23
|
+
false,
|
|
24
|
+
( localize(9002, "Whether a terminal in the editor area is focused."))
|
|
25
|
+
)));
|
|
26
|
+
TerminalContextKeys.count = ( (new RawContextKey("terminalCount" , 0, ( localize(9003, "The current number of terminals.")))));
|
|
27
|
+
TerminalContextKeys.groupCount = ( (new RawContextKey("terminalGroupCount" , 0, true)));
|
|
28
|
+
TerminalContextKeys.tabsNarrow = ( (new RawContextKey(
|
|
29
|
+
"isTerminalTabsNarrow" ,
|
|
30
|
+
false,
|
|
31
|
+
true
|
|
32
|
+
)));
|
|
33
|
+
TerminalContextKeys.terminalHasFixedWidth = ( (new RawContextKey(
|
|
34
|
+
"terminalHasFixedWidth" ,
|
|
35
|
+
false,
|
|
36
|
+
true
|
|
37
|
+
)));
|
|
38
|
+
TerminalContextKeys.tabsFocus = ( (new RawContextKey(
|
|
39
|
+
"terminalTabsFocus" ,
|
|
40
|
+
false,
|
|
41
|
+
( localize(9004, "Whether the terminal tabs widget is focused."))
|
|
42
|
+
)));
|
|
43
|
+
TerminalContextKeys.webExtensionContributedProfile = ( (new RawContextKey(
|
|
44
|
+
"terminalWebExtensionContributedProfile" ,
|
|
45
|
+
false,
|
|
46
|
+
true
|
|
47
|
+
)));
|
|
48
|
+
TerminalContextKeys.terminalHasBeenCreated = ( (new RawContextKey(
|
|
49
|
+
"terminalHasBeenCreated" ,
|
|
50
|
+
false,
|
|
51
|
+
true
|
|
52
|
+
)));
|
|
53
|
+
TerminalContextKeys.terminalEditorActive = ( (new RawContextKey(
|
|
54
|
+
"terminalEditorActive" ,
|
|
55
|
+
false,
|
|
56
|
+
true
|
|
57
|
+
)));
|
|
58
|
+
TerminalContextKeys.tabsMouse = ( (new RawContextKey("terminalTabsMouse" , false, true)));
|
|
59
|
+
TerminalContextKeys.shellType = ( (new RawContextKey(
|
|
60
|
+
"terminalShellType" ,
|
|
61
|
+
undefined,
|
|
62
|
+
{ type: 'string', description: ( localize(
|
|
63
|
+
9005,
|
|
64
|
+
"The shell type of the active terminal, this is set if the type can be detected."
|
|
65
|
+
)) }
|
|
66
|
+
)));
|
|
67
|
+
TerminalContextKeys.altBufferActive = ( (new RawContextKey(
|
|
68
|
+
"terminalAltBufferActive" ,
|
|
69
|
+
false,
|
|
70
|
+
( localize(9006, "Whether the terminal's alt buffer is active."))
|
|
71
|
+
)));
|
|
72
|
+
TerminalContextKeys.suggestWidgetVisible = ( (new RawContextKey(
|
|
73
|
+
"terminalSuggestWidgetVisible" ,
|
|
74
|
+
false,
|
|
75
|
+
( localize(9007, "Whether the terminal's suggest widget is visible."))
|
|
76
|
+
)));
|
|
77
|
+
TerminalContextKeys.notFocus = ( (TerminalContextKeys.focus.toNegated()));
|
|
78
|
+
TerminalContextKeys.viewShowing = ( (new RawContextKey(
|
|
79
|
+
"terminalViewShowing" ,
|
|
80
|
+
false,
|
|
81
|
+
( localize(9008, "Whether the terminal view is showing"))
|
|
82
|
+
)));
|
|
83
|
+
TerminalContextKeys.textSelected = ( (new RawContextKey(
|
|
84
|
+
"terminalTextSelected" ,
|
|
85
|
+
false,
|
|
86
|
+
( localize(9009, "Whether text is selected in the active terminal."))
|
|
87
|
+
)));
|
|
88
|
+
TerminalContextKeys.textSelectedInFocused = ( (new RawContextKey(
|
|
89
|
+
"terminalTextSelectedInFocused" ,
|
|
90
|
+
false,
|
|
91
|
+
( localize(9010, "Whether text is selected in a focused terminal."))
|
|
92
|
+
)));
|
|
93
|
+
TerminalContextKeys.notTextSelected = ( (TerminalContextKeys.textSelected.toNegated()));
|
|
94
|
+
TerminalContextKeys.findVisible = ( (new RawContextKey(
|
|
95
|
+
"terminalFindVisible" ,
|
|
96
|
+
false,
|
|
97
|
+
true
|
|
98
|
+
)));
|
|
99
|
+
TerminalContextKeys.notFindVisible = ( (TerminalContextKeys.findVisible.toNegated()));
|
|
100
|
+
TerminalContextKeys.findInputFocus = ( (new RawContextKey(
|
|
101
|
+
"terminalFindInputFocused" ,
|
|
102
|
+
false,
|
|
103
|
+
true
|
|
104
|
+
)));
|
|
105
|
+
TerminalContextKeys.findFocus = ( (new RawContextKey(
|
|
106
|
+
"terminalFindFocused" ,
|
|
107
|
+
false,
|
|
108
|
+
true
|
|
109
|
+
)));
|
|
110
|
+
TerminalContextKeys.notFindFocus = ( (TerminalContextKeys.findInputFocus.toNegated()));
|
|
111
|
+
TerminalContextKeys.processSupported = ( (new RawContextKey(
|
|
112
|
+
"terminalProcessSupported" ,
|
|
113
|
+
false,
|
|
114
|
+
( localize(
|
|
115
|
+
9011,
|
|
116
|
+
"Whether terminal processes can be launched in the current workspace."
|
|
117
|
+
))
|
|
118
|
+
)));
|
|
119
|
+
TerminalContextKeys.tabsSingularSelection = ( (new RawContextKey(
|
|
120
|
+
"terminalTabsSingularSelection" ,
|
|
121
|
+
false,
|
|
122
|
+
( localize(9012, "Whether one terminal is selected in the terminal tabs list."))
|
|
123
|
+
)));
|
|
124
|
+
TerminalContextKeys.splitTerminal = ( (new RawContextKey(
|
|
125
|
+
"terminalSplitTerminal" ,
|
|
126
|
+
false,
|
|
127
|
+
( localize(9013, "Whether the focused tab's terminal is a split terminal."))
|
|
128
|
+
)));
|
|
129
|
+
TerminalContextKeys.inTerminalRunCommandPicker = ( (new RawContextKey(
|
|
130
|
+
"inTerminalRunCommandPicker" ,
|
|
131
|
+
false,
|
|
132
|
+
( localize(9014, "Whether the terminal run command picker is currently open."))
|
|
133
|
+
)));
|
|
134
|
+
TerminalContextKeys.terminalShellIntegrationEnabled = ( (new RawContextKey(
|
|
135
|
+
"terminalShellIntegrationEnabled" ,
|
|
136
|
+
false,
|
|
137
|
+
( localize(9015, "Whether shell integration is enabled in the active terminal"))
|
|
138
|
+
)));
|
|
139
|
+
TerminalContextKeys.shouldShowViewInlineActions = ( (ContextKeyExpr.and(
|
|
140
|
+
(ContextKeyExpr.equals('view', TERMINAL_VIEW_ID)),
|
|
141
|
+
(ContextKeyExpr.notEquals(
|
|
142
|
+
`config.${"terminal.integrated.tabs.hideCondition" }`,
|
|
143
|
+
'never'
|
|
144
|
+
)),
|
|
145
|
+
(ContextKeyExpr.or(
|
|
146
|
+
ContextKeyExpr.not(`config.${"terminal.integrated.tabs.enabled" }`),
|
|
147
|
+
(ContextKeyExpr.and( (ContextKeyExpr.equals(
|
|
148
|
+
`config.${"terminal.integrated.tabs.showActions" }`,
|
|
149
|
+
'singleTerminal'
|
|
150
|
+
)), (ContextKeyExpr.equals("terminalGroupCount", 1)))),
|
|
151
|
+
(ContextKeyExpr.and( (ContextKeyExpr.equals(
|
|
152
|
+
`config.${"terminal.integrated.tabs.showActions" }`,
|
|
153
|
+
'singleTerminalOrNarrow'
|
|
154
|
+
)), (ContextKeyExpr.or(
|
|
155
|
+
(ContextKeyExpr.equals("terminalGroupCount", 1)),
|
|
156
|
+
(ContextKeyExpr.has("isTerminalTabsNarrow" ))
|
|
157
|
+
)))),
|
|
158
|
+
(ContextKeyExpr.and( (ContextKeyExpr.equals(
|
|
159
|
+
`config.${"terminal.integrated.tabs.showActions" }`,
|
|
160
|
+
'singleGroup'
|
|
161
|
+
)), (ContextKeyExpr.equals("terminalGroupCount", 1)))),
|
|
162
|
+
(ContextKeyExpr.equals(
|
|
163
|
+
`config.${"terminal.integrated.tabs.showActions" }`,
|
|
164
|
+
'always'
|
|
165
|
+
))
|
|
166
|
+
))
|
|
167
|
+
)));
|
|
168
|
+
})(TerminalContextKeys || (TerminalContextKeys = {}))));
|
|
169
|
+
|
|
170
|
+
export { TerminalContextKeys };
|
|
@@ -154,7 +154,7 @@ let LiveTestResult = class LiveTestResult extends Disposable {
|
|
|
154
154
|
this.onEndTask = this.endTaskEmitter.event;
|
|
155
155
|
this.tasks = [];
|
|
156
156
|
this.name = ( localize(
|
|
157
|
-
|
|
157
|
+
8231,
|
|
158
158
|
'Test run at {0}',
|
|
159
159
|
( (new Date())).toLocaleString(language)
|
|
160
160
|
));
|
|
@@ -383,7 +383,7 @@ class HydratedTestResult {
|
|
|
383
383
|
this.completedAt = serialized.completedAt;
|
|
384
384
|
this.tasks = ( (serialized.tasks.map((task, i) => ({
|
|
385
385
|
id: task.id,
|
|
386
|
-
name: task.name || ( localize(
|
|
386
|
+
name: task.name || ( localize(8232, 'Unnamed Task')),
|
|
387
387
|
ctrlId: task.ctrlId,
|
|
388
388
|
running: false,
|
|
389
389
|
coverage: observableValue(this, undefined),
|
|
@@ -11,7 +11,7 @@ const TRUSTED_DOMAINS_CONTENT_STORAGE_KEY = 'http.linkProtectionTrustedDomainsCo
|
|
|
11
11
|
const manageTrustedDomainSettingsCommand = {
|
|
12
12
|
id: 'workbench.action.manageTrustedDomain',
|
|
13
13
|
description: {
|
|
14
|
-
description: ( localize2(
|
|
14
|
+
description: ( localize2(4687, 'Manage Trusted Domains')),
|
|
15
15
|
args: []
|
|
16
16
|
},
|
|
17
17
|
handler: async (accessor) => {
|
|
@@ -28,7 +28,7 @@ async function configureOpenerTrustedDomainsHandler(trustedDomains, domainToConf
|
|
|
28
28
|
const options = [];
|
|
29
29
|
options.push({
|
|
30
30
|
type: 'item',
|
|
31
|
-
label: ( localize(
|
|
31
|
+
label: ( localize(4688, 'Trust {0}', domainToConfigure)),
|
|
32
32
|
id: 'trust',
|
|
33
33
|
toTrust: domainToConfigure,
|
|
34
34
|
picked: true
|
|
@@ -40,7 +40,7 @@ async function configureOpenerTrustedDomainsHandler(trustedDomains, domainToConf
|
|
|
40
40
|
const base = parsedDomainToConfigure.authority.split(':')[0];
|
|
41
41
|
options.push({
|
|
42
42
|
type: 'item',
|
|
43
|
-
label: ( localize(
|
|
43
|
+
label: ( localize(4689, 'Trust {0} on all ports', base)),
|
|
44
44
|
toTrust: base + ':*',
|
|
45
45
|
id: 'trust'
|
|
46
46
|
});
|
|
@@ -49,20 +49,20 @@ async function configureOpenerTrustedDomainsHandler(trustedDomains, domainToConf
|
|
|
49
49
|
else {
|
|
50
50
|
options.push({
|
|
51
51
|
type: 'item',
|
|
52
|
-
label: ( localize(
|
|
52
|
+
label: ( localize(4690, 'Trust {0} and all its subdomains', domainEnd)),
|
|
53
53
|
toTrust: topLevelDomain,
|
|
54
54
|
id: 'trust'
|
|
55
55
|
});
|
|
56
56
|
}
|
|
57
57
|
options.push({
|
|
58
58
|
type: 'item',
|
|
59
|
-
label: ( localize(
|
|
59
|
+
label: ( localize(4691, 'Trust all domains (disables link protection)')),
|
|
60
60
|
toTrust: '*',
|
|
61
61
|
id: 'trust'
|
|
62
62
|
});
|
|
63
63
|
options.push({
|
|
64
64
|
type: 'item',
|
|
65
|
-
label: ( localize(
|
|
65
|
+
label: ( localize(4692, 'Manage Trusted Domains')),
|
|
66
66
|
id: 'manage'
|
|
67
67
|
});
|
|
68
68
|
const pickedResult = await quickInputService.pick(options, { activeItem: options[0] });
|