@codingame/monaco-vscode-api 21.6.0 → 22.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +68 -78
- package/package.json +8 -8
- package/services.d.ts +4 -4
- package/services.js +5 -4
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/dom.js +6 -3
- package/vscode/src/vs/base/browser/domSanitize.d.ts +8 -0
- package/vscode/src/vs/base/browser/domSanitize.js +49 -27
- package/vscode/src/vs/base/browser/domStylesheets.js +5 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +7 -5
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +2 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +1 -1
- package/vscode/src/vs/base/common/async.js +6 -0
- package/vscode/src/vs/base/common/cancellation.d.ts +21 -0
- package/vscode/src/vs/base/common/cancellation.js +42 -1
- package/vscode/src/vs/base/common/codicons.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
- package/vscode/src/vs/base/common/decorators/cancelPreviousCalls.d.ts +84 -0
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/htmlContent.d.ts +2 -0
- package/vscode/src/vs/base/common/htmlContent.js +9 -6
- package/vscode/src/vs/base/common/lifecycle.js +21 -7
- package/vscode/src/vs/base/common/numbers.d.ts +0 -45
- package/vscode/src/vs/base/common/oauth.d.ts +33 -0
- package/vscode/src/vs/base/common/oauth.js +79 -3
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/index.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +98 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +8 -1
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
- package/vscode/src/vs/base/common/product.d.ts +7 -1
- package/vscode/src/vs/base/common/strings.d.ts +0 -1
- package/vscode/src/vs/base/common/strings.js +9 -4
- package/vscode/src/vs/base/common/uriIpc.js +24 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +26 -16
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +3 -3
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +3 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +26 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +1 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +93 -85
- package/vscode/src/vs/editor/common/config/editorOptions.js +386 -351
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +3 -3
- 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.d.ts +5 -1
- package/vscode/src/vs/editor/common/languages.js +56 -56
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +86 -85
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +86 -85
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +1 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +9 -7
- package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +1 -0
- 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 +29 -29
- 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/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- 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 +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- 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/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js +8 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +44 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +81 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -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/format.js +3 -0
- 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/clickLinkGesture.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +20 -11
- 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/contentHoverController.js +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.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 +24 -24
- 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/inlayHints.js +2 -7
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +18 -13
- 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/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +14 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +7 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +154 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +7 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +18 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +45 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.js +7 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +16 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +24 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -4
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +36 -35
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +11 -11
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +3 -3
- 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 +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- 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.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +13 -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/stickyScroll/browser/stickyScrollController.js +12 -19
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +10 -1
- 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 +18 -18
- 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/suggest/browser/wordContextKey.js +1 -1
- 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/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -26
- 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/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +0 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +9 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +13 -14
- 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.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -5
- package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -0
- package/vscode/src/vs/platform/actions/common/actions.js +2 -0
- 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/assignment/common/assignment.d.ts +6 -1
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +2 -0
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +32 -3
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +0 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -11
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +32 -0
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +86 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
- 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/extensionManagement/common/implicitActivationEvents.d.ts +1 -3
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +2 -1
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +4 -3
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +4 -3
- 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/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.d.ts +10 -2
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +10 -2
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +3 -3
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +23 -15
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +47 -13
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -61
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +10 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +10 -5
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +4 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +10 -1
- package/vscode/src/vs/platform/request/common/request.js +34 -18
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -3
- package/vscode/src/vs/platform/terminal/common/terminal.js +6 -7
- 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 +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- 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 +15 -15
- 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 +6 -6
- 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/userDataSync.js +5 -5
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +11 -10
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +25 -24
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -4
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +10 -18
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +16 -4
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +1 -3
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +9 -5
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +0 -3
- 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/extHostLanguageModelTools.js +9 -4
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +7 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +97 -9
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +66 -62
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +22 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +0 -1
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +0 -3
- 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.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +8 -8
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +53 -3
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +60 -9
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +18 -14
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +7 -7
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- 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 +262 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/contextkeys.d.ts +5 -7
- package/vscode/src/vs/workbench/browser/contextkeys.js +15 -43
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +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/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +167 -167
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +175 -158
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -66
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +24 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +28 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +35 -6
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +16 -6
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +11 -8
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +9 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +8 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +50 -42
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +23 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +29 -29
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- 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/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +7 -6
- 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 +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- 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/mcp/common/mcpRegistryTypes.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +16 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +217 -60
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +2 -0
- 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/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +7 -7
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +16 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +18 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +42 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +12 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +4 -4
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +6 -6
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +286 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +861 -0
- package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.d.ts +8 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
- package/vscode/src/vs/workbench/services/language/common/languageService.js +30 -30
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- 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/textfile/common/encoding.js +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- package/vscode-dts/vscode.d.ts +92 -47
- package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +7 -80
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +14 -1
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +12 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +19 -0
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +19 -11
- package/vscode-dts/vscode.proposed.d.ts +1 -1
- package/vscode-dts/{vscode.proposed.secretStorageKeys.d.ts → vscode.proposed.devDeviceId.d.ts} +3 -4
- package/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts +5 -0
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +70 -16
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/frontMatterCodec/tokens/index.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/simpleCodec/tokens/tokens.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +0 -55
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +0 -91
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +0 -125
- /package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
2
2
|
import { URI } from "../../../../base/common/uri.js";
|
|
3
|
-
import { IMultiDiffSourceResolver, IResolvedMultiDiffSource } from "@codingame/monaco-vscode-
|
|
3
|
+
import { IMultiDiffSourceResolver, IResolvedMultiDiffSource } from "@codingame/monaco-vscode-7969284a-1a12-5148-9750-fcf9656a693f-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService";
|
|
4
4
|
export declare const IMultiDiffSourceResolverService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IMultiDiffSourceResolverService>;
|
|
5
5
|
export interface IMultiDiffSourceResolverService {
|
|
6
6
|
readonly _serviceBrand: undefined;
|
|
@@ -16,7 +16,9 @@ export interface ISCMHistoryProvider {
|
|
|
16
16
|
provideHistoryItemRefs(historyItemsRefs?: string[], token?: CancellationToken): Promise<ISCMHistoryItemRef[] | undefined>;
|
|
17
17
|
provideHistoryItems(options: ISCMHistoryOptions, token?: CancellationToken): Promise<ISCMHistoryItem[] | undefined>;
|
|
18
18
|
provideHistoryItemChanges(historyItemId: string, historyItemParentId: string | undefined, token?: CancellationToken): Promise<ISCMHistoryItemChange[] | undefined>;
|
|
19
|
+
resolveHistoryItem(historyItemId: string, token?: CancellationToken): Promise<ISCMHistoryItem | undefined>;
|
|
19
20
|
resolveHistoryItemChatContext(historyItemId: string, token?: CancellationToken): Promise<string | undefined>;
|
|
21
|
+
resolveHistoryItemChangeRangeChatContext(historyItemId: string, historyItemParentId: string, path: string, token?: CancellationToken): Promise<string | undefined>;
|
|
20
22
|
resolveHistoryItemRefsCommonAncestor(historyItemRefs: string[], token?: CancellationToken): Promise<string | undefined>;
|
|
21
23
|
}
|
|
22
24
|
export interface ISCMHistoryOptions {
|
|
@@ -27,7 +27,7 @@ class SnippetCompletion {
|
|
|
27
27
|
constructor(snippet, range) {
|
|
28
28
|
this.snippet = snippet;
|
|
29
29
|
this.label = { label: snippet.prefix, description: snippet.name };
|
|
30
|
-
this.detail = ( localize(
|
|
30
|
+
this.detail = ( localize(10536, "{0} ({1})", snippet.description || snippet.name, snippet.source));
|
|
31
31
|
this.insertText = snippet.codeSnippet;
|
|
32
32
|
this.extensionId = snippet.extensionId;
|
|
33
33
|
this.range = range;
|
|
@@ -121,14 +121,14 @@ let SnippetCompletionProvider = class SnippetCompletionProvider {
|
|
|
121
121
|
let to = i + 1;
|
|
122
122
|
for (; to < suggestions.length && item.label === suggestions[to].label; to++) {
|
|
123
123
|
suggestions[to].label.label = ( localize(
|
|
124
|
-
|
|
124
|
+
10537,
|
|
125
125
|
"{0}, {1}",
|
|
126
126
|
suggestions[to].label.label,
|
|
127
127
|
suggestions[to].snippet.name
|
|
128
128
|
));
|
|
129
129
|
}
|
|
130
130
|
if (to > i + 1) {
|
|
131
|
-
suggestions[i].label.label = ( localize(
|
|
131
|
+
suggestions[i].label.label = ( localize(10537, "{0}, {1}", suggestions[i].label.label, suggestions[i].snippet.name));
|
|
132
132
|
i = to;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
@@ -207,14 +207,14 @@ class SnippetFile {
|
|
|
207
207
|
source = this._extension.displayName || this._extension.name;
|
|
208
208
|
}
|
|
209
209
|
else if (this.source === SnippetSource.Workspace) {
|
|
210
|
-
source = ( localize(
|
|
210
|
+
source = ( localize(10553, "Workspace Snippet"));
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
213
|
if (this.isGlobalSnippets) {
|
|
214
|
-
source = ( localize(
|
|
214
|
+
source = ( localize(10554, "Global User Snippet"));
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
217
|
-
source = ( localize(
|
|
217
|
+
source = ( localize(10555, "User Snippet"));
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
for (const _prefix of Iterable.wrap(prefix)) {
|
|
@@ -34,7 +34,7 @@ var snippetExt;
|
|
|
34
34
|
function toValidSnippet(extension, snippet, languageService) {
|
|
35
35
|
if (isFalsyOrWhitespace(snippet.path)) {
|
|
36
36
|
extension.collector.error(( localize(
|
|
37
|
-
|
|
37
|
+
10556,
|
|
38
38
|
"Expected string in `contributes.{0}.path`. Provided value: {1}",
|
|
39
39
|
extension.description.name,
|
|
40
40
|
String(snippet.path)
|
|
@@ -43,7 +43,7 @@ var snippetExt;
|
|
|
43
43
|
}
|
|
44
44
|
if (isFalsyOrWhitespace(snippet.language) && !snippet.path.endsWith('.code-snippets')) {
|
|
45
45
|
extension.collector.error(( localize(
|
|
46
|
-
|
|
46
|
+
10557,
|
|
47
47
|
"When omitting the language, the value of `contributes.{0}.path` must be a `.code-snippets`-file. Provided value: {1}",
|
|
48
48
|
extension.description.name,
|
|
49
49
|
String(snippet.path)
|
|
@@ -52,7 +52,7 @@ var snippetExt;
|
|
|
52
52
|
}
|
|
53
53
|
if (!isFalsyOrWhitespace(snippet.language) && !languageService.isRegisteredLanguageId(snippet.language)) {
|
|
54
54
|
extension.collector.error(( localize(
|
|
55
|
-
|
|
55
|
+
10558,
|
|
56
56
|
"Unknown language in `contributes.{0}.language`. Provided value: {1}",
|
|
57
57
|
extension.description.name,
|
|
58
58
|
String(snippet.language)
|
|
@@ -63,7 +63,7 @@ var snippetExt;
|
|
|
63
63
|
const snippetLocation = joinPath(extensionLocation, snippet.path);
|
|
64
64
|
if (!isEqualOrParent(snippetLocation, extensionLocation)) {
|
|
65
65
|
extension.collector.error(( localize(
|
|
66
|
-
|
|
66
|
+
10559,
|
|
67
67
|
"Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
|
|
68
68
|
extension.description.name,
|
|
69
69
|
snippetLocation.path,
|
|
@@ -78,7 +78,7 @@ var snippetExt;
|
|
|
78
78
|
}
|
|
79
79
|
snippetExt.toValidSnippet = toValidSnippet;
|
|
80
80
|
snippetExt.snippetsContribution = {
|
|
81
|
-
description: ( localize(
|
|
81
|
+
description: ( localize(10560, 'Contributes snippets.')),
|
|
82
82
|
type: 'array',
|
|
83
83
|
defaultSnippets: [{ body: [{ language: '', path: '' }] }],
|
|
84
84
|
items: {
|
|
@@ -86,12 +86,12 @@ var snippetExt;
|
|
|
86
86
|
defaultSnippets: [{ body: { language: '${1:id}', path: './snippets/${2:id}.json.' } }],
|
|
87
87
|
properties: {
|
|
88
88
|
language: {
|
|
89
|
-
description: ( localize(
|
|
89
|
+
description: ( localize(10561, 'Language identifier for which this snippet is contributed to.')),
|
|
90
90
|
type: 'string'
|
|
91
91
|
},
|
|
92
92
|
path: {
|
|
93
93
|
description: ( localize(
|
|
94
|
-
|
|
94
|
+
10562,
|
|
95
95
|
'Path of the snippets file. The path is relative to the extension folder and typically starts with \'./snippets/\'.'
|
|
96
96
|
)),
|
|
97
97
|
type: 'string'
|
|
@@ -336,14 +336,14 @@ let SnippetsService = class SnippetsService {
|
|
|
336
336
|
file.load().then(file => {
|
|
337
337
|
if (( file.data.some(snippet => snippet.isBogous))) {
|
|
338
338
|
extension.collector.warn(( localize(
|
|
339
|
-
|
|
339
|
+
10563,
|
|
340
340
|
"One or more snippets from the extension '{0}' very likely confuse snippet-variables and snippet-placeholders (see https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax for more details)",
|
|
341
341
|
extension.description.name
|
|
342
342
|
)));
|
|
343
343
|
}
|
|
344
344
|
}, err => {
|
|
345
345
|
extension.collector.warn(( localize(
|
|
346
|
-
|
|
346
|
+
10564,
|
|
347
347
|
"The snippet file \"{0}\" could not be read.",
|
|
348
348
|
(file.location.toString())
|
|
349
349
|
)));
|
|
@@ -3,16 +3,16 @@ import { localize } from '../../../../nls.js';
|
|
|
3
3
|
import { RawContextKey } from '../../../../platform/contextkey/common/contextkey.js';
|
|
4
4
|
import { language } from '../../../../base/common/platform.js';
|
|
5
5
|
|
|
6
|
-
const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(
|
|
6
|
+
const HasSpeechProvider = ( new RawContextKey('hasSpeechProvider', false, { type: 'boolean', description: ( localize(10568, "A speech provider is registered to the speech service.")) }));
|
|
7
7
|
const SpeechToTextInProgress = ( new RawContextKey(
|
|
8
8
|
'speechToTextInProgress',
|
|
9
9
|
false,
|
|
10
|
-
{ type: 'boolean', description: ( localize(
|
|
10
|
+
{ type: 'boolean', description: ( localize(10569, "A speech-to-text session is in progress.")) }
|
|
11
11
|
));
|
|
12
12
|
const TextToSpeechInProgress = ( new RawContextKey(
|
|
13
13
|
'textToSpeechInProgress',
|
|
14
14
|
false,
|
|
15
|
-
{ type: 'boolean', description: ( localize(
|
|
15
|
+
{ type: 'boolean', description: ( localize(10570, "A text-to-speech session is in progress.")) }
|
|
16
16
|
));
|
|
17
17
|
var SpeechToTextStatus;
|
|
18
18
|
(function (SpeechToTextStatus) {
|
|
@@ -44,82 +44,82 @@ var AccessibilityVoiceSettingId;
|
|
|
44
44
|
const SPEECH_LANGUAGE_CONFIG = AccessibilityVoiceSettingId.SpeechLanguage;
|
|
45
45
|
const SPEECH_LANGUAGES = {
|
|
46
46
|
['da-DK']: {
|
|
47
|
-
name: ( localize(
|
|
47
|
+
name: ( localize(10571, "Danish (Denmark)"))
|
|
48
48
|
},
|
|
49
49
|
['de-DE']: {
|
|
50
|
-
name: ( localize(
|
|
50
|
+
name: ( localize(10572, "German (Germany)"))
|
|
51
51
|
},
|
|
52
52
|
['en-AU']: {
|
|
53
|
-
name: ( localize(
|
|
53
|
+
name: ( localize(10573, "English (Australia)"))
|
|
54
54
|
},
|
|
55
55
|
['en-CA']: {
|
|
56
|
-
name: ( localize(
|
|
56
|
+
name: ( localize(10574, "English (Canada)"))
|
|
57
57
|
},
|
|
58
58
|
['en-GB']: {
|
|
59
|
-
name: ( localize(
|
|
59
|
+
name: ( localize(10575, "English (United Kingdom)"))
|
|
60
60
|
},
|
|
61
61
|
['en-IE']: {
|
|
62
|
-
name: ( localize(
|
|
62
|
+
name: ( localize(10576, "English (Ireland)"))
|
|
63
63
|
},
|
|
64
64
|
['en-IN']: {
|
|
65
|
-
name: ( localize(
|
|
65
|
+
name: ( localize(10577, "English (India)"))
|
|
66
66
|
},
|
|
67
67
|
['en-NZ']: {
|
|
68
|
-
name: ( localize(
|
|
68
|
+
name: ( localize(10578, "English (New Zealand)"))
|
|
69
69
|
},
|
|
70
70
|
['en-US']: {
|
|
71
|
-
name: ( localize(
|
|
71
|
+
name: ( localize(10579, "English (United States)"))
|
|
72
72
|
},
|
|
73
73
|
['es-ES']: {
|
|
74
|
-
name: ( localize(
|
|
74
|
+
name: ( localize(10580, "Spanish (Spain)"))
|
|
75
75
|
},
|
|
76
76
|
['es-MX']: {
|
|
77
|
-
name: ( localize(
|
|
77
|
+
name: ( localize(10581, "Spanish (Mexico)"))
|
|
78
78
|
},
|
|
79
79
|
['fr-CA']: {
|
|
80
|
-
name: ( localize(
|
|
80
|
+
name: ( localize(10582, "French (Canada)"))
|
|
81
81
|
},
|
|
82
82
|
['fr-FR']: {
|
|
83
|
-
name: ( localize(
|
|
83
|
+
name: ( localize(10583, "French (France)"))
|
|
84
84
|
},
|
|
85
85
|
['hi-IN']: {
|
|
86
|
-
name: ( localize(
|
|
86
|
+
name: ( localize(10584, "Hindi (India)"))
|
|
87
87
|
},
|
|
88
88
|
['it-IT']: {
|
|
89
|
-
name: ( localize(
|
|
89
|
+
name: ( localize(10585, "Italian (Italy)"))
|
|
90
90
|
},
|
|
91
91
|
['ja-JP']: {
|
|
92
|
-
name: ( localize(
|
|
92
|
+
name: ( localize(10586, "Japanese (Japan)"))
|
|
93
93
|
},
|
|
94
94
|
['ko-KR']: {
|
|
95
|
-
name: ( localize(
|
|
95
|
+
name: ( localize(10587, "Korean (South Korea)"))
|
|
96
96
|
},
|
|
97
97
|
['nl-NL']: {
|
|
98
|
-
name: ( localize(
|
|
98
|
+
name: ( localize(10588, "Dutch (Netherlands)"))
|
|
99
99
|
},
|
|
100
100
|
['pt-PT']: {
|
|
101
|
-
name: ( localize(
|
|
101
|
+
name: ( localize(10589, "Portuguese (Portugal)"))
|
|
102
102
|
},
|
|
103
103
|
['pt-BR']: {
|
|
104
|
-
name: ( localize(
|
|
104
|
+
name: ( localize(10590, "Portuguese (Brazil)"))
|
|
105
105
|
},
|
|
106
106
|
['ru-RU']: {
|
|
107
|
-
name: ( localize(
|
|
107
|
+
name: ( localize(10591, "Russian (Russia)"))
|
|
108
108
|
},
|
|
109
109
|
['sv-SE']: {
|
|
110
|
-
name: ( localize(
|
|
110
|
+
name: ( localize(10592, "Swedish (Sweden)"))
|
|
111
111
|
},
|
|
112
112
|
['tr-TR']: {
|
|
113
|
-
name: ( localize(
|
|
113
|
+
name: ( localize(10593, "Turkish (Türkiye)"))
|
|
114
114
|
},
|
|
115
115
|
['zh-CN']: {
|
|
116
|
-
name: ( localize(
|
|
116
|
+
name: ( localize(10594, "Chinese (Simplified, China)"))
|
|
117
117
|
},
|
|
118
118
|
['zh-HK']: {
|
|
119
|
-
name: ( localize(
|
|
119
|
+
name: ( localize(10595, "Chinese (Traditional, Hong Kong)"))
|
|
120
120
|
},
|
|
121
121
|
['zh-TW']: {
|
|
122
|
-
name: ( localize(
|
|
122
|
+
name: ( localize(10596, "Chinese (Traditional, Taiwan)"))
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
function speechLanguageConfigToLanguage(config, lang = language) {
|
|
@@ -3,7 +3,7 @@ import { Codicon } from '../../../../base/common/codicons.js';
|
|
|
3
3
|
import { localize } from '../../../../nls.js';
|
|
4
4
|
import { registerIcon } from '../../../../platform/theme/common/iconRegistry.js';
|
|
5
5
|
|
|
6
|
-
const rerunTaskIcon = registerIcon('rerun-task', Codicon.refresh, ( localize(
|
|
6
|
+
const rerunTaskIcon = registerIcon('rerun-task', Codicon.refresh, ( localize(10805, 'View icon of the rerun task.')));
|
|
7
7
|
const RerunForActiveTerminalCommandId = 'workbench.action.tasks.rerunForActiveTerminal';
|
|
8
8
|
const RerunAllRunningTasksCommandId = 'workbench.action.tasks.rerunAllRunningTasks';
|
|
9
9
|
|
|
@@ -13,7 +13,7 @@ const taskDefinitionSchema = {
|
|
|
13
13
|
type: {
|
|
14
14
|
type: 'string',
|
|
15
15
|
description: ( localize(
|
|
16
|
-
|
|
16
|
+
11013,
|
|
17
17
|
'The actual task type. Please note that types starting with a \'$\' are reserved for internal usage.'
|
|
18
18
|
))
|
|
19
19
|
},
|
|
@@ -25,7 +25,7 @@ const taskDefinitionSchema = {
|
|
|
25
25
|
},
|
|
26
26
|
properties: {
|
|
27
27
|
type: 'object',
|
|
28
|
-
description: ( localize(
|
|
28
|
+
description: ( localize(11014, 'Additional properties of the task type')),
|
|
29
29
|
additionalProperties: {
|
|
30
30
|
$ref: 'http://json-schema.org/draft-07/schema#'
|
|
31
31
|
}
|
|
@@ -33,7 +33,7 @@ const taskDefinitionSchema = {
|
|
|
33
33
|
when: {
|
|
34
34
|
type: 'string',
|
|
35
35
|
markdownDescription: ( localize(
|
|
36
|
-
|
|
36
|
+
11015,
|
|
37
37
|
'Condition which must be true to enable this type of task. Consider using `shellExecutionSupported`, `processExecutionSupported`, and `customExecutionSupported` as appropriate for this task definition. See the [API documentation](https://code.visualstudio.com/api/extension-guides/task-provider#when-clause) for more information.'
|
|
38
38
|
)),
|
|
39
39
|
default: ''
|
|
@@ -49,7 +49,7 @@ var Configuration;
|
|
|
49
49
|
const taskType = isString(value.type) ? value.type : undefined;
|
|
50
50
|
if (!taskType || taskType.length === 0) {
|
|
51
51
|
messageCollector.error(( localize(
|
|
52
|
-
|
|
52
|
+
11016,
|
|
53
53
|
'The task type configuration is missing the required \'taskType\' property'
|
|
54
54
|
)));
|
|
55
55
|
return undefined;
|
|
@@ -73,15 +73,15 @@ var Configuration;
|
|
|
73
73
|
})(Configuration || (Configuration = {}));
|
|
74
74
|
const taskDefinitionsExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
75
75
|
extensionPoint: 'taskDefinitions',
|
|
76
|
-
activationEventsGenerator: (contributions
|
|
76
|
+
activationEventsGenerator: function* (contributions) {
|
|
77
77
|
for (const task of contributions) {
|
|
78
78
|
if (task.type) {
|
|
79
|
-
|
|
79
|
+
yield `onTaskType:${task.type}`;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
jsonSchema: {
|
|
84
|
-
description: ( localize(
|
|
84
|
+
description: ( localize(11017, 'Contributes task kinds')),
|
|
85
85
|
type: 'array',
|
|
86
86
|
items: taskDefinitionSchema
|
|
87
87
|
}
|
|
@@ -17,7 +17,7 @@ export interface ITaskService {
|
|
|
17
17
|
onDidReconnectToTasks: Event<void>;
|
|
18
18
|
supportsMultipleTaskExecutions: boolean;
|
|
19
19
|
configureAction(): Action;
|
|
20
|
-
run(task: Task | undefined, options?: IProblemMatcherRunOptions): Promise<ITaskSummary | undefined>;
|
|
20
|
+
run(task: Task | undefined, options?: IProblemMatcherRunOptions, runSource?: TaskRunSource): Promise<ITaskSummary | undefined>;
|
|
21
21
|
inTerminal(): boolean;
|
|
22
22
|
getActiveTasks(): Promise<Task[]>;
|
|
23
23
|
getBusyTasks(): Promise<Task[]>;
|
|
@@ -180,6 +180,10 @@ export interface IPresentationOptions {
|
|
|
180
180
|
* Controls whether the terminal that the task runs in is closed when the task completes.
|
|
181
181
|
*/
|
|
182
182
|
close?: boolean;
|
|
183
|
+
/**
|
|
184
|
+
* Controls whether to preserve the task name in the terminal after task completion.
|
|
185
|
+
*/
|
|
186
|
+
preserveTerminalName?: boolean;
|
|
183
187
|
}
|
|
184
188
|
export declare namespace PresentationOptions {
|
|
185
189
|
const defaults: IPresentationOptions;
|
|
@@ -615,6 +619,12 @@ export interface ITaskProcessEndedEvent extends ITaskCommon {
|
|
|
615
619
|
kind: TaskEventKind.ProcessEnded;
|
|
616
620
|
terminalId: number | undefined;
|
|
617
621
|
exitCode?: number;
|
|
622
|
+
durationMs?: number;
|
|
623
|
+
}
|
|
624
|
+
export interface ITaskInactiveEvent extends ITaskCommon {
|
|
625
|
+
kind: TaskEventKind.Inactive;
|
|
626
|
+
terminalId: number | undefined;
|
|
627
|
+
durationMs: number | undefined;
|
|
618
628
|
}
|
|
619
629
|
export interface ITaskTerminatedEvent extends ITaskCommon {
|
|
620
630
|
kind: TaskEventKind.Terminated;
|
|
@@ -640,12 +650,14 @@ export declare enum TaskRunSource {
|
|
|
640
650
|
User = 1,
|
|
641
651
|
FolderOpen = 2,
|
|
642
652
|
ConfigurationChange = 3,
|
|
643
|
-
Reconnect = 4
|
|
653
|
+
Reconnect = 4,
|
|
654
|
+
ChatAgent = 5
|
|
644
655
|
}
|
|
645
656
|
export declare namespace TaskEvent {
|
|
646
657
|
function start(task: Task, terminalId: number, resolvedVariables: Map<string, string>): ITaskStartedEvent;
|
|
647
658
|
function processStarted(task: Task, terminalId: number, processId: number): ITaskProcessStartedEvent;
|
|
648
|
-
function processEnded(task: Task, terminalId: number | undefined, exitCode: number | undefined): ITaskProcessEndedEvent;
|
|
659
|
+
function processEnded(task: Task, terminalId: number | undefined, exitCode: number | undefined, durationMs?: number): ITaskProcessEndedEvent;
|
|
660
|
+
function inactive(task: Task, terminalId?: number, durationMs?: number): ITaskInactiveEvent;
|
|
649
661
|
function terminated(task: Task, terminalId: number, exitReason: TerminalExitReason | undefined): ITaskTerminatedEvent;
|
|
650
662
|
function general(kind: TaskEventKind.AcquiredInput | TaskEventKind.DependsOnStarted | TaskEventKind.Active | TaskEventKind.Inactive | TaskEventKind.End | TaskEventKind.ProblemMatcherStarted | TaskEventKind.ProblemMatcherFoundErrors, task: Task, terminalId?: number): ITaskGeneralEvent;
|
|
651
663
|
function problemMatcherEnded(task: Task, hasErrors: boolean, terminalId?: number): ITaskProblemMatcherEndedEvent;
|
|
@@ -666,7 +678,8 @@ export declare enum TaskSettingId {
|
|
|
666
678
|
QuickOpenShowAll = "task.quickOpen.showAll",
|
|
667
679
|
AllowAutomaticTasks = "task.allowAutomaticTasks",
|
|
668
680
|
Reconnection = "task.reconnection",
|
|
669
|
-
VerboseLogging = "task.verboseLogging"
|
|
681
|
+
VerboseLogging = "task.verboseLogging",
|
|
682
|
+
NotifyWindowOnTaskCompletion = "task.notifyWindowOnTaskCompletion"
|
|
670
683
|
}
|
|
671
684
|
export declare enum TasksSchemaProperties {
|
|
672
685
|
Tasks = "tasks",
|
|
@@ -9,9 +9,9 @@ import { ConfigurationTarget } from '../../../../platform/configuration/common/c
|
|
|
9
9
|
export { RerunAllRunningTasksCommandId, RerunForActiveTerminalCommandId, rerunTaskIcon } from './constants.js';
|
|
10
10
|
|
|
11
11
|
const USER_TASKS_GROUP_KEY = 'settings';
|
|
12
|
-
const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(
|
|
13
|
-
const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(
|
|
14
|
-
const TASKS_CATEGORY = ( localize2(
|
|
12
|
+
const TASK_RUNNING_STATE = ( new RawContextKey('taskRunning', false, ( localize(11028, "Whether a task is currently running."))));
|
|
13
|
+
const TASK_TERMINAL_ACTIVE = ( new RawContextKey('taskTerminalActive', false, ( localize(11029, "Whether the active terminal is a task terminal."))));
|
|
14
|
+
const TASKS_CATEGORY = ( localize2(11030, "Tasks"));
|
|
15
15
|
var ShellQuoting;
|
|
16
16
|
(function (ShellQuoting) {
|
|
17
17
|
ShellQuoting[ShellQuoting["Escape"] = 1] = "Escape";
|
|
@@ -107,7 +107,7 @@ var PanelKind;
|
|
|
107
107
|
var PresentationOptions;
|
|
108
108
|
(function (PresentationOptions) {
|
|
109
109
|
PresentationOptions.defaults = {
|
|
110
|
-
echo: true, reveal: RevealKind.Always, revealProblems: RevealProblemKind.Never, focus: false, panel: PanelKind.Shared, showReuseMessage: true, clear: false
|
|
110
|
+
echo: true, reveal: RevealKind.Always, revealProblems: RevealProblemKind.Never, focus: false, panel: PanelKind.Shared, showReuseMessage: true, clear: false, preserveTerminalName: false
|
|
111
111
|
};
|
|
112
112
|
})(PresentationOptions || (PresentationOptions = {}));
|
|
113
113
|
var RuntimeType;
|
|
@@ -624,6 +624,7 @@ var TaskRunSource;
|
|
|
624
624
|
TaskRunSource[TaskRunSource["FolderOpen"] = 2] = "FolderOpen";
|
|
625
625
|
TaskRunSource[TaskRunSource["ConfigurationChange"] = 3] = "ConfigurationChange";
|
|
626
626
|
TaskRunSource[TaskRunSource["Reconnect"] = 4] = "Reconnect";
|
|
627
|
+
TaskRunSource[TaskRunSource["ChatAgent"] = 5] = "ChatAgent";
|
|
627
628
|
})(TaskRunSource || (TaskRunSource = {}));
|
|
628
629
|
var TaskEvent;
|
|
629
630
|
(function (TaskEvent) {
|
|
@@ -654,15 +655,25 @@ var TaskEvent;
|
|
|
654
655
|
};
|
|
655
656
|
}
|
|
656
657
|
TaskEvent.processStarted = processStarted;
|
|
657
|
-
function processEnded(task, terminalId, exitCode) {
|
|
658
|
+
function processEnded(task, terminalId, exitCode, durationMs) {
|
|
658
659
|
return {
|
|
659
660
|
...common(task),
|
|
660
661
|
kind: TaskEventKind.ProcessEnded,
|
|
661
662
|
terminalId,
|
|
662
663
|
exitCode,
|
|
664
|
+
durationMs,
|
|
663
665
|
};
|
|
664
666
|
}
|
|
665
667
|
TaskEvent.processEnded = processEnded;
|
|
668
|
+
function inactive(task, terminalId, durationMs) {
|
|
669
|
+
return {
|
|
670
|
+
...common(task),
|
|
671
|
+
kind: TaskEventKind.Inactive,
|
|
672
|
+
terminalId,
|
|
673
|
+
durationMs,
|
|
674
|
+
};
|
|
675
|
+
}
|
|
676
|
+
TaskEvent.inactive = inactive;
|
|
666
677
|
function terminated(task, terminalId, exitReason) {
|
|
667
678
|
return {
|
|
668
679
|
...common(task),
|
|
@@ -732,6 +743,7 @@ var TaskSettingId;
|
|
|
732
743
|
TaskSettingId["AllowAutomaticTasks"] = "task.allowAutomaticTasks";
|
|
733
744
|
TaskSettingId["Reconnection"] = "task.reconnection";
|
|
734
745
|
TaskSettingId["VerboseLogging"] = "task.verboseLogging";
|
|
746
|
+
TaskSettingId["NotifyWindowOnTaskCompletion"] = "task.notifyWindowOnTaskCompletion";
|
|
735
747
|
})(TaskSettingId || (TaskSettingId = {}));
|
|
736
748
|
var TasksSchemaProperties;
|
|
737
749
|
(function (TasksSchemaProperties) {
|
|
@@ -782,7 +794,7 @@ var TaskDefinition;
|
|
|
782
794
|
break;
|
|
783
795
|
default:
|
|
784
796
|
reporter.error(( localize(
|
|
785
|
-
|
|
797
|
+
11031,
|
|
786
798
|
'Error: the task identifier \'{0}\' is missing the required property \'{1}\'. The task identifier will be ignored.',
|
|
787
799
|
JSON.stringify(external, undefined, 0),
|
|
788
800
|
property
|
|
@@ -2,7 +2,7 @@ import { Orientation } from "../../../../base/browser/ui/sash/sash.js";
|
|
|
2
2
|
import { Event, DynamicListEventMultiplexer, IDynamicListEventMultiplexer } from "../../../../base/common/event.js";
|
|
3
3
|
import { URI } from "../../../../base/common/uri.js";
|
|
4
4
|
import { TerminalCapability, ITerminalCapabilityImplMap } from "@codingame/monaco-vscode-a9da9abe-278d-5ce6-9418-99c7c07c5c37-common/vscode/vs/platform/terminal/common/capabilities/capabilities";
|
|
5
|
-
import {
|
|
5
|
+
import { ITerminalBackend, ITerminalLaunchError, TerminalLocation, type IShellLaunchConfig, type ITerminalProfile } from "../../../../platform/terminal/common/terminal.js";
|
|
6
6
|
import { GroupIdentifier } from "../../../common/editor.js";
|
|
7
7
|
import { EditorInput } from "../../../common/editor/editorInput.js";
|
|
8
8
|
import { IEditableData } from "../../../common/views.js";
|
|
@@ -18,7 +18,6 @@ export interface ITerminalService extends ITerminalInstanceHost {
|
|
|
18
18
|
readonly instances: readonly ITerminalInstance[];
|
|
19
19
|
/** Gets detached terminal instances created via {@link createDetachedXterm}. */
|
|
20
20
|
readonly detachedInstances: Iterable<IDetachedTerminalInstance>;
|
|
21
|
-
readonly defaultLocation: TerminalLocation;
|
|
22
21
|
readonly isProcessSupportRegistered: boolean;
|
|
23
22
|
readonly connectionState: TerminalConnectionState;
|
|
24
23
|
readonly whenConnected: Promise<void>;
|
|
@@ -68,7 +67,6 @@ export interface ITerminalService extends ITerminalInstanceHost {
|
|
|
68
67
|
* Creates a raw terminal instance, this should not be used outside of the terminal part.
|
|
69
68
|
*/
|
|
70
69
|
getInstanceFromId(terminalId: number): ITerminalInstance | undefined;
|
|
71
|
-
getInstanceFromIndex(terminalIndex: number): ITerminalInstance;
|
|
72
70
|
/**
|
|
73
71
|
* An owner of terminals might be created after reconnection has occurred,
|
|
74
72
|
* so store them to be requested/adopted later
|
|
@@ -93,16 +91,11 @@ export interface ITerminalService extends ITerminalInstanceHost {
|
|
|
93
91
|
setContainers(panelContainer: HTMLElement, terminalContainer: HTMLElement): void;
|
|
94
92
|
requestStartExtensionTerminal(proxy: ITerminalProcessExtHostProxy, cols: number, rows: number): Promise<ITerminalLaunchError | undefined>;
|
|
95
93
|
isAttachedToTerminal(remoteTerm: IRemoteTerminalAttachTarget): boolean;
|
|
96
|
-
getEditableData(instance: ITerminalInstance): IEditableData | undefined;
|
|
97
|
-
setEditable(instance: ITerminalInstance, data: IEditableData | null): void;
|
|
98
|
-
isEditable(instance: ITerminalInstance | undefined): boolean;
|
|
99
94
|
safeDisposeTerminal(instance: ITerminalInstance): Promise<void>;
|
|
100
95
|
getDefaultInstanceHost(): ITerminalInstanceHost;
|
|
101
96
|
getInstanceHost(target: ITerminalLocationOptions | undefined): Promise<ITerminalInstanceHost>;
|
|
102
97
|
resolveLocation(location?: ITerminalLocationOptions): Promise<TerminalLocation | undefined>;
|
|
103
98
|
setNativeDelegate(nativeCalls: ITerminalServiceNativeDelegate): void;
|
|
104
|
-
getEditingTerminal(): ITerminalInstance | undefined;
|
|
105
|
-
setEditingTerminal(instance: ITerminalInstance | undefined): void;
|
|
106
99
|
/**
|
|
107
100
|
* Creates an instance event listener that listens to all instances, dynamically adding new
|
|
108
101
|
* instances and removing old instances as needed.
|
|
@@ -131,6 +124,10 @@ export interface ITerminalConfigurationService {
|
|
|
131
124
|
*/
|
|
132
125
|
readonly config: Readonly<ITerminalConfiguration>;
|
|
133
126
|
/**
|
|
127
|
+
* The default location for terminals.
|
|
128
|
+
*/
|
|
129
|
+
readonly defaultLocation: TerminalLocation;
|
|
130
|
+
/**
|
|
134
131
|
* Fires when something within the terminal configuration changes.
|
|
135
132
|
*/
|
|
136
133
|
readonly onConfigChanged: Event<void>;
|
|
@@ -155,6 +152,43 @@ export interface ITerminalEditorService extends ITerminalInstanceHost {
|
|
|
155
152
|
reviveInput(deserializedInput: IDeserializedTerminalEditorInput): EditorInput;
|
|
156
153
|
getInputFromResource(resource: URI): TerminalEditorInput;
|
|
157
154
|
}
|
|
155
|
+
export declare const ITerminalEditingService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalEditingService>;
|
|
156
|
+
/**
|
|
157
|
+
* A service responsible for managing terminal editing state and functionality. This includes
|
|
158
|
+
* tracking which terminal is currently being edited and managing editable data associated with
|
|
159
|
+
* terminal instances.
|
|
160
|
+
*/
|
|
161
|
+
export interface ITerminalEditingService {
|
|
162
|
+
readonly _serviceBrand: undefined;
|
|
163
|
+
/**
|
|
164
|
+
* Get the editable data for a terminal instance.
|
|
165
|
+
* @param instance The terminal instance.
|
|
166
|
+
* @returns The editable data if the instance is editable, undefined otherwise.
|
|
167
|
+
*/
|
|
168
|
+
getEditableData(instance: ITerminalInstance): IEditableData | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* Set the editable data for a terminal instance.
|
|
171
|
+
* @param instance The terminal instance.
|
|
172
|
+
* @param data The editable data to set, or null to clear.
|
|
173
|
+
*/
|
|
174
|
+
setEditable(instance: ITerminalInstance, data: IEditableData | null): void;
|
|
175
|
+
/**
|
|
176
|
+
* Check if a terminal instance is currently editable.
|
|
177
|
+
* @param instance The terminal instance to check.
|
|
178
|
+
* @returns True if the instance is editable, false otherwise.
|
|
179
|
+
*/
|
|
180
|
+
isEditable(instance: ITerminalInstance | undefined): boolean;
|
|
181
|
+
/**
|
|
182
|
+
* Get the terminal instance that is currently being edited.
|
|
183
|
+
* @returns The terminal instance being edited, or undefined if none.
|
|
184
|
+
*/
|
|
185
|
+
getEditingTerminal(): ITerminalInstance | undefined;
|
|
186
|
+
/**
|
|
187
|
+
* Set the terminal instance that is currently being edited.
|
|
188
|
+
* @param instance The terminal instance to set as editing, or undefined to clear.
|
|
189
|
+
*/
|
|
190
|
+
setEditingTerminal(instance: ITerminalInstance | undefined): void;
|
|
191
|
+
}
|
|
158
192
|
export declare const ITerminalGroupService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<ITerminalGroupService>;
|
|
159
193
|
/**
|
|
160
194
|
* This service is responsible for managing terminal groups, that is the terminals that are hosted
|
|
@@ -4,7 +4,8 @@ import { createDecorator } from '../../../../platform/instantiation/common/insta
|
|
|
4
4
|
const ITerminalService = ( createDecorator('terminalService'));
|
|
5
5
|
const ITerminalConfigurationService = ( createDecorator('terminalConfigurationService'));
|
|
6
6
|
const ITerminalEditorService = ( createDecorator('terminalEditorService'));
|
|
7
|
+
const ITerminalEditingService = ( createDecorator('terminalEditingService'));
|
|
7
8
|
const ITerminalGroupService = ( createDecorator('terminalGroupService'));
|
|
8
9
|
const ITerminalInstanceService = ( createDecorator('terminalInstanceService'));
|
|
9
10
|
|
|
10
|
-
export { ITerminalConfigurationService, ITerminalEditorService, ITerminalGroupService, ITerminalInstanceService, ITerminalService };
|
|
11
|
+
export { ITerminalConfigurationService, ITerminalEditingService, ITerminalEditorService, ITerminalGroupService, ITerminalInstanceService, ITerminalService };
|
|
@@ -86,6 +86,7 @@ export declare enum TestCommandId {
|
|
|
86
86
|
TestingViewAsListAction = "testing.viewAsList",
|
|
87
87
|
TestingViewAsTreeAction = "testing.viewAsTree",
|
|
88
88
|
ToggleContinousRunForTest = "testing.toggleContinuousRunForTest",
|
|
89
|
+
ToggleResultsViewLayoutAction = "testing.toggleResultsViewLayout",
|
|
89
90
|
ToggleInlineTestOutput = "testing.toggleInlineTestOutput",
|
|
90
91
|
UnhideAllTestsAction = "testing.unhideAllTests",
|
|
91
92
|
UnhideTestAction = "testing.unhideTest"
|
|
@@ -27,19 +27,19 @@ var TestExplorerViewSorting;
|
|
|
27
27
|
TestExplorerViewSorting["ByDuration"] = "duration";
|
|
28
28
|
})(TestExplorerViewSorting || (TestExplorerViewSorting = {}));
|
|
29
29
|
const testStateNames = {
|
|
30
|
-
[TestResultState.Errored]: ( localize(
|
|
31
|
-
[TestResultState.Failed]: ( localize(
|
|
32
|
-
[TestResultState.Passed]: ( localize(
|
|
33
|
-
[TestResultState.Queued]: ( localize(
|
|
34
|
-
[TestResultState.Running]: ( localize(
|
|
35
|
-
[TestResultState.Skipped]: ( localize(
|
|
36
|
-
[TestResultState.Unset]: ( localize(
|
|
30
|
+
[TestResultState.Errored]: ( localize(12182, 'Errored')),
|
|
31
|
+
[TestResultState.Failed]: ( localize(12183, 'Failed')),
|
|
32
|
+
[TestResultState.Passed]: ( localize(12184, 'Passed')),
|
|
33
|
+
[TestResultState.Queued]: ( localize(12185, 'Queued')),
|
|
34
|
+
[TestResultState.Running]: ( localize(12186, 'Running')),
|
|
35
|
+
[TestResultState.Skipped]: ( localize(12187, 'Skipped')),
|
|
36
|
+
[TestResultState.Unset]: ( localize(12188, 'Not yet run')),
|
|
37
37
|
};
|
|
38
|
-
const labelForTestInState = (label, state) => ( localize(
|
|
38
|
+
const labelForTestInState = (label, state) => ( localize(12189, '{0} ({1})', stripIcons(label), testStateNames[state]));
|
|
39
39
|
const testConfigurationGroupNames = {
|
|
40
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
41
|
-
[TestRunProfileBitset.Run]: ( localize(
|
|
42
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
40
|
+
[TestRunProfileBitset.Debug]: ( localize(12190, 'Debug')),
|
|
41
|
+
[TestRunProfileBitset.Run]: ( localize(12191, 'Run')),
|
|
42
|
+
[TestRunProfileBitset.Coverage]: ( localize(12192, 'Coverage')),
|
|
43
43
|
};
|
|
44
44
|
var TestCommandId;
|
|
45
45
|
(function (TestCommandId) {
|
|
@@ -107,6 +107,7 @@ var TestCommandId;
|
|
|
107
107
|
TestCommandId["TestingViewAsListAction"] = "testing.viewAsList";
|
|
108
108
|
TestCommandId["TestingViewAsTreeAction"] = "testing.viewAsTree";
|
|
109
109
|
TestCommandId["ToggleContinousRunForTest"] = "testing.toggleContinuousRunForTest";
|
|
110
|
+
TestCommandId["ToggleResultsViewLayoutAction"] = "testing.toggleResultsViewLayout";
|
|
110
111
|
TestCommandId["ToggleInlineTestOutput"] = "testing.toggleInlineTestOutput";
|
|
111
112
|
TestCommandId["UnhideAllTestsAction"] = "testing.unhideAllTests";
|
|
112
113
|
TestCommandId["UnhideTestAction"] = "testing.unhideTest";
|
|
@@ -46,9 +46,9 @@ var TestRunProfileBitset;
|
|
|
46
46
|
TestRunProfileBitset[TestRunProfileBitset["SupportsContinuousRun"] = 64] = "SupportsContinuousRun";
|
|
47
47
|
})(TestRunProfileBitset || (TestRunProfileBitset = {}));
|
|
48
48
|
const testProfileBitset = {
|
|
49
|
-
[TestRunProfileBitset.Run]: ( localize(
|
|
50
|
-
[TestRunProfileBitset.Debug]: ( localize(
|
|
51
|
-
[TestRunProfileBitset.Coverage]: ( localize(
|
|
49
|
+
[TestRunProfileBitset.Run]: ( localize(12197, 'Run')),
|
|
50
|
+
[TestRunProfileBitset.Debug]: ( localize(12198, 'Debug')),
|
|
51
|
+
[TestRunProfileBitset.Coverage]: ( localize(12199, 'Coverage')),
|
|
52
52
|
};
|
|
53
53
|
const testRunProfileBitsetList = [
|
|
54
54
|
TestRunProfileBitset.Run,
|