@codingame/monaco-vscode-api 16.1.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +107 -2
- package/monaco.d.ts +2 -2
- package/package.json +10 -9
- package/services.d.ts +4 -4
- package/services.js +7 -18
- package/vscode/src/vs/base/browser/dom.d.ts +1 -0
- package/vscode/src/vs/base/browser/dom.js +6 -1
- package/vscode/src/vs/base/browser/mouseEvent.d.ts +2 -0
- package/vscode/src/vs/base/browser/mouseEvent.js +1 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.d.ts +2 -3
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +6 -1
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +1 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +5 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +17 -4
- package/vscode/src/vs/base/common/arrays.d.ts +1 -0
- package/vscode/src/vs/base/common/arrays.js +5 -2
- package/vscode/src/vs/base/common/async.js +9 -2
- package/vscode/src/vs/base/common/codicons.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +5 -0
- package/vscode/src/vs/base/common/color.d.ts +1 -0
- package/vscode/src/vs/base/common/color.js +10 -0
- package/vscode/src/vs/base/common/comparers.d.ts +2 -2
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/glob.d.ts +3 -0
- package/vscode/src/vs/base/common/glob.js +10 -1
- package/vscode/src/vs/base/common/marshallingIds.d.ts +2 -1
- package/vscode/src/vs/base/common/marshallingIds.js +1 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +6 -8
- package/vscode/src/vs/base/common/observableInternal/autorun.js +15 -11
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +0 -10
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +23 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.js +30 -0
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +18 -13
- package/vscode/src/vs/base/common/observableInternal/derived.js +47 -18
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +6 -5
- package/vscode/src/vs/base/common/observableInternal/index.js +2 -2
- package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/promise.d.ts +28 -0
- package/vscode/src/vs/base/common/observableInternal/promise.js +65 -0
- package/vscode/src/vs/base/common/observableInternal/reducer.d.ts +16 -0
- package/vscode/src/vs/base/common/observableInternal/reducer.js +36 -0
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +2 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +19 -11
- package/vscode/src/vs/base/common/product.d.ts +5 -0
- package/vscode/src/vs/base/common/sseParser.d.ts +26 -0
- package/vscode/src/vs/base/common/sseParser.js +134 -0
- package/vscode/src/vs/base/common/stopwatch.js +2 -2
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +8 -19
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +1 -0
- package/vscode/src/vs/base/common/ternarySearchTree.js +55 -13
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +1 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +3 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +6 -3
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +86 -54
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +12 -8
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -6
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +3 -3
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +2 -2
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +8 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +6 -1
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +1 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.js +3 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +3 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +13 -6
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +4 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +4 -5
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +4 -2
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +0 -1
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +6 -6
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +5 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +15 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +7 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +10 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +19 -15
- package/vscode/src/vs/editor/common/codecs/frontMatterCodec/tokens/index.d.ts +5 -0
- package/vscode/src/vs/editor/common/codecs/simpleCodec/tokens/index.d.ts +20 -0
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +24 -23
- package/vscode/src/vs/editor/common/config/editorOptions.js +3 -4
- package/vscode/src/vs/editor/common/core/columnRange.d.ts +11 -0
- package/vscode/src/vs/editor/common/core/columnRange.js +32 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.js +10 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -0
- package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +15 -3
- package/vscode/src/vs/editor/common/core/positionToOffset.js +45 -11
- package/vscode/src/vs/editor/common/core/rangeSingleLine.d.ts +9 -0
- package/vscode/src/vs/editor/common/core/rangeSingleLine.js +27 -0
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/textEdit.js +41 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +1 -0
- package/vscode/src/vs/editor/common/languages/modesRegistry.d.ts +2 -2
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +4 -2
- package/vscode/src/vs/editor/common/languages.d.ts +22 -1
- package/vscode/src/vs/editor/common/languages.js +7 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +5 -1
- package/vscode/src/vs/editor/common/model/textModel.js +80 -18
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/model.d.ts +2 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +5 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +7 -1
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +11 -0
- package/vscode/src/vs/editor/common/textModelEvents.js +14 -1
- package/vscode/src/vs/editor/common/tokens/common.d.ts +7 -0
- package/vscode/src/vs/editor/common/tokens/common.js +18 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensEditing.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +3 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +2 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +20 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +2 -1
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +9 -4
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +1 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +4 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +25 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.js +73 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +35 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +339 -0
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +8 -6
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +42 -49
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.d.ts +6 -3
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +16 -5
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +44 -7
- package/vscode/src/vs/editor/common/viewModel.d.ts +5 -0
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.d.ts +11 -3
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +14 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +20 -14
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +3 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +3 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +4 -3
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +5 -11
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +1 -7
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +2 -15
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +24 -23
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +5 -5
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- 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 +14 -12
- 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 +21 -21
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +0 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +29 -41
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +11 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +31 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +16 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +156 -202
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +21 -49
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +135 -431
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +98 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +487 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +34 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +141 -132
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +2 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +21 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +19 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +17 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +5 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +139 -188
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +8 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +9 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.d.ts +23 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.js +157 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +37 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.d.ts +6 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +28 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +215 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +22 -21
- 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.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +23 -49
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +8 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +24 -14
- 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 +19 -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 +5 -10
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +2 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +3 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +23 -14
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +2 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +17 -3
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +6 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +2 -1
- 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/actions.d.ts +3 -1
- 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/clipboard/browser/clipboardService.d.ts +1 -0
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +3 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +15 -13
- package/vscode/src/vs/platform/configuration/common/configurations.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +5 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.js +6 -2
- package/vscode/src/vs/platform/editor/common/editor.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +8 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +94 -4
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +10 -7
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +10 -11
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +7 -6
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +9 -8
- 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/jsonschemas/common/jsonContributionRegistry.js +5 -4
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -1
- 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.d.ts +2 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +5 -5
- package/vscode/src/vs/platform/markers/common/markers.d.ts +7 -0
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.service.d.ts +2 -7
- package/vscode/src/vs/platform/native/common/native.d.ts +168 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +6 -2
- package/vscode/src/vs/platform/notification/common/notification.js +3 -2
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +2 -3
- package/vscode/src/vs/platform/product/common/product.js +93 -48
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +4 -19
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +6 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +33 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +2 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +6 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +25 -18
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.d.ts +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +58 -43
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -1
- package/vscode/src/vs/platform/registry/common/platform.js +9 -1
- package/vscode/src/vs/platform/request/common/request.d.ts +1 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/request/common/request.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +14 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +14 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -2
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +4 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +7 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +12 -4
- 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.d.ts +2 -0
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +49 -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 +10 -8
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +0 -8
- package/vscode/src/vs/platform/theme/common/themeService.js +4 -3
- 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.d.ts +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -2
- package/vscode/src/vs/platform/window/common/window.d.ts +4 -0
- package/vscode/src/vs/platform/window/common/window.js +2 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +27 -20
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +54 -19
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostAiSettingsSearch.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostAiSettingsSearch.js +38 -0
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +30 -17
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +0 -1
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +15 -4
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +4 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +31 -6
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +60 -14
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +15 -9
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +4 -3
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +279 -82
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +21 -0
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +1 -1
- 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/extHostTypeConverters.d.ts +27 -9
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +201 -29
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +67 -27
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +79 -28
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +7 -4
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +34 -9
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.d.ts +1 -0
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -0
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +33 -33
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +10 -16
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +3 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -71
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +13 -9
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +164 -147
- 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 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +245 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +435 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +6 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +51 -49
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +19 -26
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +16 -23
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +585 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +1179 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +116 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +211 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +19 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatTransferService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +12 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +33 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +14 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +18 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/index.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +14 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.d.ts +28 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.d.ts +10 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +8 -25
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +11 -97
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +0 -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.d.ts +1 -1
- 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/commentService.service.d.ts +1 -1
- 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.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +171 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +85 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +127 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +3 -3
- 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/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +3 -1
- 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.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +19 -8
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -10
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +8 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +16 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +77 -16
- 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/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.d.ts +17 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.js +10 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.d.ts +13 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.js +6 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +2 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.js +61 -12
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +3 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +25 -29
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +4 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +3 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +84 -84
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +4 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +2 -4
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +2 -0
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/output/common/output.js +6 -4
- 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/search/common/search.d.ts +2 -1
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +5 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +6 -1
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +2 -2
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +31 -23
- package/vscode/src/vs/workbench/services/textfile/common/encoding.d.ts +64 -0
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +560 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +165 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +74 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +12 -2
- 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 +12 -12
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +204 -9
- package/vscode-dts/vscode.proposed.aiSettingsSearch.d.ts +30 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +18 -16
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +84 -5
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +18 -16
- package/vscode-dts/vscode.proposed.chatStatusItem.d.ts +1 -1
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +1 -1
- package/vscode-dts/vscode.proposed.contribDebugCreateConfiguration.d.ts +1 -1
- package/vscode-dts/vscode.proposed.d.ts +2 -2
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +2 -2
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +46 -8
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +106 -16
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.mcpConfigurationProvider.d.ts +115 -21
- package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +7 -3
- package/vscode-dts/vscode.proposed.textSearchProvider2.d.ts +23 -1
- package/vscode-dts/vscode.proposed.toolProgress.d.ts +25 -0
- package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +1 -1
- package/workbench.d.ts +1 -1
- package/vscode-dts/vscode.proposed.languageModelToolsForAgent.d.ts +0 -8
- package/vscode-dts/vscode.proposed.textDocumentEncoding.d.ts +0 -170
|
@@ -7,6 +7,7 @@ import { ConfigurationTarget } from "../../../../platform/configuration/common/c
|
|
|
7
7
|
import { ExtensionIdentifier } from "../../../../platform/extensions/common/extensions.js";
|
|
8
8
|
import { StorageScope } from "../../../../platform/storage/common/storage.js";
|
|
9
9
|
import { IWorkspaceFolderData } from "../../../../platform/workspace/common/workspace.js";
|
|
10
|
+
import { ToolProgress } from "../../chat/common/languageModelToolsService.js";
|
|
10
11
|
import { McpServerRequestHandler } from "@codingame/monaco-vscode-mcp-service-override/vscode/vs/workbench/contrib/mcp/common/mcpServerRequestHandler";
|
|
11
12
|
import { MCP } from "@codingame/monaco-vscode-mcp-service-override/vscode/vs/workbench/contrib/mcp/common/modelContextProtocol";
|
|
12
13
|
export declare const extensionMcpCollectionPrefix = "ext.";
|
|
@@ -18,6 +19,7 @@ export interface McpCollectionDefinition {
|
|
|
18
19
|
readonly serverDefinitions: IObservable<readonly McpServerDefinition[]>;
|
|
19
20
|
readonly isTrustedByDefault: boolean;
|
|
20
21
|
readonly scope: StorageScope;
|
|
22
|
+
resolveServerLanch?(definition: McpServerDefinition): Promise<McpServerLaunch | undefined>;
|
|
21
23
|
readonly lazy?: {
|
|
22
24
|
isCached: boolean;
|
|
23
25
|
load(): Promise<void>;
|
|
@@ -42,6 +44,8 @@ export declare namespace McpCollectionDefinition {
|
|
|
42
44
|
readonly label: string;
|
|
43
45
|
readonly isTrustedByDefault: boolean;
|
|
44
46
|
readonly scope: StorageScope;
|
|
47
|
+
readonly canResolveLaunch: boolean;
|
|
48
|
+
readonly extensionId: string;
|
|
45
49
|
}
|
|
46
50
|
function equals(a: McpCollectionDefinition, b: McpCollectionDefinition): boolean;
|
|
47
51
|
}
|
|
@@ -51,6 +55,7 @@ export interface McpServerDefinition {
|
|
|
51
55
|
readonly launch: McpServerLaunch;
|
|
52
56
|
readonly roots?: URI[] | undefined;
|
|
53
57
|
readonly variableReplacement?: McpServerDefinitionVariableReplacement;
|
|
58
|
+
readonly cacheNonce?: string;
|
|
54
59
|
readonly presentation?: {
|
|
55
60
|
readonly order?: number;
|
|
56
61
|
readonly origin?: Location;
|
|
@@ -60,6 +65,7 @@ export declare namespace McpServerDefinition {
|
|
|
60
65
|
interface Serialized {
|
|
61
66
|
readonly id: string;
|
|
62
67
|
readonly label: string;
|
|
68
|
+
readonly cacheNonce?: string;
|
|
63
69
|
readonly launch: McpServerLaunch.Serialized;
|
|
64
70
|
readonly variableReplacement?: McpServerDefinitionVariableReplacement.Serialized;
|
|
65
71
|
}
|
|
@@ -114,18 +120,20 @@ export interface IMcpServer extends IDisposable {
|
|
|
114
120
|
export declare enum McpServerToolsState {
|
|
115
121
|
Unknown = 0,
|
|
116
122
|
Cached = 1,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
123
|
+
Outdated = 2,
|
|
124
|
+
RefreshingFromUnknown = 3,
|
|
125
|
+
RefreshingFromCached = 4,
|
|
126
|
+
Live = 5
|
|
120
127
|
}
|
|
121
128
|
export interface IMcpTool {
|
|
122
129
|
readonly id: string;
|
|
123
130
|
readonly definition: MCP.Tool;
|
|
124
131
|
call(params: Record<string, unknown>, token?: CancellationToken): Promise<MCP.CallToolResult>;
|
|
132
|
+
callWithProgress(params: Record<string, unknown>, progress: ToolProgress, token?: CancellationToken): Promise<MCP.CallToolResult>;
|
|
125
133
|
}
|
|
126
134
|
export declare enum McpServerTransportType {
|
|
127
135
|
Stdio = 1,
|
|
128
|
-
|
|
136
|
+
HTTP = 2
|
|
129
137
|
}
|
|
130
138
|
export interface McpServerTransportStdio {
|
|
131
139
|
readonly type: McpServerTransportType.Stdio;
|
|
@@ -135,18 +143,18 @@ export interface McpServerTransportStdio {
|
|
|
135
143
|
readonly env: Record<string, string | number | null>;
|
|
136
144
|
readonly envFile: string | undefined;
|
|
137
145
|
}
|
|
138
|
-
export interface
|
|
139
|
-
readonly type: McpServerTransportType.
|
|
146
|
+
export interface McpServerTransportHTTP {
|
|
147
|
+
readonly type: McpServerTransportType.HTTP;
|
|
140
148
|
readonly uri: URI;
|
|
141
149
|
readonly headers: [
|
|
142
150
|
string,
|
|
143
151
|
string
|
|
144
152
|
][];
|
|
145
153
|
}
|
|
146
|
-
export type McpServerLaunch = McpServerTransportStdio |
|
|
154
|
+
export type McpServerLaunch = McpServerTransportStdio | McpServerTransportHTTP;
|
|
147
155
|
export declare namespace McpServerLaunch {
|
|
148
156
|
type Serialized = {
|
|
149
|
-
type: McpServerTransportType.
|
|
157
|
+
type: McpServerTransportType.HTTP;
|
|
150
158
|
uri: UriComponents;
|
|
151
159
|
headers: [
|
|
152
160
|
string,
|
|
@@ -167,6 +175,7 @@ export interface IMcpServerConnection extends IDisposable {
|
|
|
167
175
|
readonly definition: McpServerDefinition;
|
|
168
176
|
readonly state: IObservable<McpConnectionState>;
|
|
169
177
|
readonly handler: IObservable<McpServerRequestHandler | undefined>;
|
|
178
|
+
readonly launchDefinition: McpServerLaunch;
|
|
170
179
|
start(): Promise<McpConnectionState>;
|
|
171
180
|
stop(): Promise<void>;
|
|
172
181
|
}
|
|
@@ -192,6 +201,8 @@ export declare namespace McpConnectionState {
|
|
|
192
201
|
}
|
|
193
202
|
interface Error {
|
|
194
203
|
readonly state: Kind.Error;
|
|
204
|
+
readonly code?: string;
|
|
205
|
+
readonly shouldRetry?: boolean;
|
|
195
206
|
readonly message: string;
|
|
196
207
|
}
|
|
197
208
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
+
import { equals } from '../../../../base/common/arrays.js';
|
|
2
3
|
import { assertNever } from '../../../../base/common/assert.js';
|
|
3
4
|
import { equals as equals$1 } from '../../../../base/common/objects.js';
|
|
4
|
-
import { equals } from '../../../../base/common/arrays.js';
|
|
5
5
|
import { URI } from '../../../../base/common/uri.js';
|
|
6
6
|
import { localize } from '../../../../nls.js';
|
|
7
7
|
import { ExtensionIdentifier } from '../../../../platform/extensions/common/extensions.js';
|
|
@@ -39,6 +39,7 @@ var McpServerDefinition;
|
|
|
39
39
|
return {
|
|
40
40
|
id: def.id,
|
|
41
41
|
label: def.label,
|
|
42
|
+
cacheNonce: def.cacheNonce,
|
|
42
43
|
launch: McpServerLaunch.fromSerialized(def.launch),
|
|
43
44
|
variableReplacement: def.variableReplacement ? McpServerDefinitionVariableReplacement.fromSerialized(def.variableReplacement) : undefined,
|
|
44
45
|
};
|
|
@@ -79,14 +80,15 @@ var McpServerToolsState;
|
|
|
79
80
|
(function (McpServerToolsState) {
|
|
80
81
|
McpServerToolsState[McpServerToolsState["Unknown"] = 0] = "Unknown";
|
|
81
82
|
McpServerToolsState[McpServerToolsState["Cached"] = 1] = "Cached";
|
|
82
|
-
McpServerToolsState[McpServerToolsState["
|
|
83
|
-
McpServerToolsState[McpServerToolsState["
|
|
84
|
-
McpServerToolsState[McpServerToolsState["
|
|
83
|
+
McpServerToolsState[McpServerToolsState["Outdated"] = 2] = "Outdated";
|
|
84
|
+
McpServerToolsState[McpServerToolsState["RefreshingFromUnknown"] = 3] = "RefreshingFromUnknown";
|
|
85
|
+
McpServerToolsState[McpServerToolsState["RefreshingFromCached"] = 4] = "RefreshingFromCached";
|
|
86
|
+
McpServerToolsState[McpServerToolsState["Live"] = 5] = "Live";
|
|
85
87
|
})(McpServerToolsState || (McpServerToolsState = {}));
|
|
86
88
|
var McpServerTransportType;
|
|
87
89
|
(function (McpServerTransportType) {
|
|
88
90
|
McpServerTransportType[McpServerTransportType["Stdio"] = 1] = "Stdio";
|
|
89
|
-
McpServerTransportType[McpServerTransportType["
|
|
91
|
+
McpServerTransportType[McpServerTransportType["HTTP"] = 2] = "HTTP";
|
|
90
92
|
})(McpServerTransportType || (McpServerTransportType = {}));
|
|
91
93
|
var McpServerLaunch;
|
|
92
94
|
(function (McpServerLaunch) {
|
|
@@ -96,7 +98,7 @@ var McpServerLaunch;
|
|
|
96
98
|
McpServerLaunch.toSerialized = toSerialized;
|
|
97
99
|
function fromSerialized(launch) {
|
|
98
100
|
switch (launch.type) {
|
|
99
|
-
case McpServerTransportType.
|
|
101
|
+
case McpServerTransportType.HTTP:
|
|
100
102
|
return { type: launch.type, uri: URI.revive(launch.uri), headers: launch.headers };
|
|
101
103
|
case McpServerTransportType.Stdio:
|
|
102
104
|
return {
|
|
@@ -123,13 +125,13 @@ var McpConnectionState;
|
|
|
123
125
|
McpConnectionState.toString = (s) => {
|
|
124
126
|
switch (s.state) {
|
|
125
127
|
case Kind.Stopped:
|
|
126
|
-
return localize(
|
|
128
|
+
return localize(7759, 'Stopped');
|
|
127
129
|
case Kind.Starting:
|
|
128
|
-
return localize(
|
|
130
|
+
return localize(7760, 'Starting');
|
|
129
131
|
case Kind.Running:
|
|
130
|
-
return localize(
|
|
132
|
+
return localize(7761, 'Running');
|
|
131
133
|
case Kind.Error:
|
|
132
|
-
return localize(
|
|
134
|
+
return localize(7762, 'Error {0}', s.message);
|
|
133
135
|
default:
|
|
134
136
|
assertNever();
|
|
135
137
|
}
|
|
@@ -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-1cc4ea0a-c5b6-54ed-bb60-078a99119b55-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;
|
package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { CodeWindow } from "../../../../../base/browser/window.js";
|
|
|
3
3
|
import { Event } from "../../../../../base/common/event.js";
|
|
4
4
|
import { URI } from "../../../../../base/common/uri.js";
|
|
5
5
|
import { type ServicesAccessor } from "../../../../../platform/instantiation/common/instantiation.js";
|
|
6
|
-
import { INotebookEditorCreationOptions, INotebookEditor } from "@codingame/monaco-vscode-
|
|
7
|
-
import { NotebookEditorWidget } from "@codingame/monaco-vscode-
|
|
6
|
+
import { INotebookEditorCreationOptions, INotebookEditor } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
7
|
+
import { NotebookEditorWidget } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
8
8
|
import { IBorrowValue } from "./notebookEditorService.js";
|
|
9
9
|
export declare const INotebookEditorService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookEditorService>;
|
|
10
10
|
export interface INotebookEditorService {
|
|
@@ -19,9 +19,9 @@ import { IFileReadLimits } from "../../../../platform/files/common/files.js";
|
|
|
19
19
|
import { UndoRedoGroup } from "../../../../platform/undoRedo/common/undoRedo.js";
|
|
20
20
|
import { IRevertOptions, ISaveOptions, IUntypedEditorInput } from "../../../common/editor.js";
|
|
21
21
|
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
22
|
-
import { ICellExecutionError } from "@codingame/monaco-vscode-
|
|
22
|
+
import { ICellExecutionError } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
23
23
|
import { INotebookTextModelLike } from "./notebookKernelService.js";
|
|
24
|
-
import { ICellRange } from "@codingame/monaco-vscode-
|
|
24
|
+
import { ICellRange } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookRange";
|
|
25
25
|
import { RegisteredEditorPriority } from "../../../services/editor/common/editorResolverService.js";
|
|
26
26
|
import { IWorkingCopyBackupMeta, IWorkingCopySaveEvent } from "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
|
|
27
27
|
import { SnapshotContext } from "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
|
|
@@ -30,6 +30,7 @@ export declare const NOTEBOOK_DIFF_EDITOR_ID = "workbench.editor.notebookTextDif
|
|
|
30
30
|
export declare const NOTEBOOK_MULTI_DIFF_EDITOR_ID = "workbench.editor.notebookMultiTextDiffEditor";
|
|
31
31
|
export declare const INTERACTIVE_WINDOW_EDITOR_ID = "workbench.editor.interactive";
|
|
32
32
|
export declare const REPL_EDITOR_ID = "workbench.editor.repl";
|
|
33
|
+
export declare const NOTEBOOK_OUTPUT_EDITOR_ID = "workbench.editor.notebookOutputEditor";
|
|
33
34
|
export declare const EXECUTE_REPL_COMMAND_ID = "replNotebook.input.execute";
|
|
34
35
|
export declare enum CellKind {
|
|
35
36
|
Markup = 1,
|
|
@@ -472,6 +473,7 @@ export declare namespace CellUri {
|
|
|
472
473
|
} | undefined;
|
|
473
474
|
function generateCellOutputUriWithId(notebook: URI, outputId?: string): URI;
|
|
474
475
|
function generateCellOutputUriWithIndex(notebook: URI, cellUri: URI, outputIndex: number): URI;
|
|
476
|
+
function generateOutputEditorUri(notebook: URI, cellId: string, cellIndex: number, outputId: string, outputIndex: number): URI;
|
|
475
477
|
function parseCellOutputUri(uri: URI): {
|
|
476
478
|
notebook: URI;
|
|
477
479
|
openIn: string;
|
|
@@ -479,6 +481,7 @@ export declare namespace CellUri {
|
|
|
479
481
|
cellFragment?: string;
|
|
480
482
|
outputIndex?: number;
|
|
481
483
|
cellHandle?: number;
|
|
484
|
+
cellIndex?: number;
|
|
482
485
|
} | undefined;
|
|
483
486
|
function generateCellPropertyUri(notebook: URI, handle: number, scheme: string): URI;
|
|
484
487
|
function parseCellPropertyUri(uri: URI, propertyScheme: string): {
|
|
@@ -499,8 +502,8 @@ export declare function diff<T>(before: T[], after: T[], contains: (a: T) => boo
|
|
|
499
502
|
export interface ICellEditorViewState {
|
|
500
503
|
selections: editorCommon.ICursorState[];
|
|
501
504
|
}
|
|
502
|
-
export declare const NOTEBOOK_EDITOR_CURSOR_BOUNDARY: RawContextKey<"
|
|
503
|
-
export declare const NOTEBOOK_EDITOR_CURSOR_LINE_BOUNDARY: RawContextKey<"
|
|
505
|
+
export declare const NOTEBOOK_EDITOR_CURSOR_BOUNDARY: RawContextKey<"top" | "bottom" | "none" | "both">;
|
|
506
|
+
export declare const NOTEBOOK_EDITOR_CURSOR_LINE_BOUNDARY: RawContextKey<"start" | "end" | "none" | "both">;
|
|
504
507
|
export interface INotebookLoadOptions {
|
|
505
508
|
forceReadFromFile?: boolean;
|
|
506
509
|
readonly limits?: IFileReadLimits;
|
|
@@ -632,6 +635,7 @@ export declare const NotebookSetting: {
|
|
|
632
635
|
readonly stickyScrollMode: "notebook.stickyScroll.mode";
|
|
633
636
|
readonly undoRedoPerCell: "notebook.undoRedoPerCell";
|
|
634
637
|
readonly consolidatedOutputButton: "notebook.consolidatedOutputButton";
|
|
638
|
+
readonly openOutputInPreviewEditor: "notebook.output.openInPreviewEditor.enabled";
|
|
635
639
|
readonly showFoldingControls: "notebook.showFoldingControls";
|
|
636
640
|
readonly dragAndDropEnabled: "notebook.dragAndDropEnabled";
|
|
637
641
|
readonly cellEditorOptionsCustomizations: "notebook.editorOptionsCustomizations";
|
|
@@ -14,6 +14,7 @@ const NOTEBOOK_DIFF_EDITOR_ID = 'workbench.editor.notebookTextDiffEditor';
|
|
|
14
14
|
const NOTEBOOK_MULTI_DIFF_EDITOR_ID = 'workbench.editor.notebookMultiTextDiffEditor';
|
|
15
15
|
const INTERACTIVE_WINDOW_EDITOR_ID = 'workbench.editor.interactive';
|
|
16
16
|
const REPL_EDITOR_ID = 'workbench.editor.repl';
|
|
17
|
+
const NOTEBOOK_OUTPUT_EDITOR_ID = 'workbench.editor.notebookOutputEditor';
|
|
17
18
|
var CellKind;
|
|
18
19
|
(function (CellKind) {
|
|
19
20
|
CellKind[CellKind["Markup"] = 1] = "Markup";
|
|
@@ -152,6 +153,19 @@ var CellUri;
|
|
|
152
153
|
});
|
|
153
154
|
}
|
|
154
155
|
CellUri.generateCellOutputUriWithIndex = generateCellOutputUriWithIndex;
|
|
156
|
+
function generateOutputEditorUri(notebook, cellId, cellIndex, outputId, outputIndex) {
|
|
157
|
+
return notebook.with({
|
|
158
|
+
scheme: Schemas.vscodeNotebookCellOutput,
|
|
159
|
+
query: ( ( new URLSearchParams({
|
|
160
|
+
openIn: 'notebookOutputEditor',
|
|
161
|
+
notebook: ( notebook.toString()),
|
|
162
|
+
cellIndex: String(cellIndex),
|
|
163
|
+
outputId: outputId,
|
|
164
|
+
outputIndex: String(outputIndex),
|
|
165
|
+
})).toString())
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
CellUri.generateOutputEditorUri = generateOutputEditorUri;
|
|
155
169
|
function parseCellOutputUri(uri) {
|
|
156
170
|
return extractCellOutputDetails(uri);
|
|
157
171
|
}
|
|
@@ -303,6 +317,7 @@ const NotebookSetting = {
|
|
|
303
317
|
stickyScrollMode: 'notebook.stickyScroll.mode',
|
|
304
318
|
undoRedoPerCell: 'notebook.undoRedoPerCell',
|
|
305
319
|
consolidatedOutputButton: 'notebook.consolidatedOutputButton',
|
|
320
|
+
openOutputInPreviewEditor: 'notebook.output.openInPreviewEditor.enabled',
|
|
306
321
|
showFoldingControls: 'notebook.showFoldingControls',
|
|
307
322
|
dragAndDropEnabled: 'notebook.dragAndDropEnabled',
|
|
308
323
|
cellEditorOptionsCustomizations: 'notebook.editorOptionsCustomizations',
|
|
@@ -438,4 +453,4 @@ function formatStreamText(buffer) {
|
|
|
438
453
|
return VSBuffer.fromString(fixCarriageReturn(fixBackspace(textDecoder.decode(buffer.buffer))));
|
|
439
454
|
}
|
|
440
455
|
|
|
441
|
-
export { ACCESSIBLE_NOTEBOOK_DISPLAY_ORDER, CellEditType, CellKind, CellStatusbarAlignment, CellUri, INTERACTIVE_WINDOW_EDITOR_ID, MOVE_CURSOR_1_LINE_COMMAND, MimeTypeDisplayOrder, NOTEBOOK_DIFF_EDITOR_ID, NOTEBOOK_DISPLAY_ORDER, NOTEBOOK_EDITOR_CURSOR_BOUNDARY, NOTEBOOK_EDITOR_CURSOR_LINE_BOUNDARY, NOTEBOOK_EDITOR_ID, NOTEBOOK_MULTI_DIFF_EDITOR_ID, NotebookCellExecutionState, NotebookCellsChangeType, NotebookEditorPriority, NotebookExecutionState, NotebookFindScopeType, NotebookMetadataUri, NotebookRendererMatch, NotebookRunState, NotebookSetting, NotebookWorkingCopyTypeIdentifier, RENDERER_EQUIVALENT_EXTENSIONS, RENDERER_NOT_AVAILABLE, REPL_EDITOR_ID, RendererMessagingSpec, SelectionStateType, compressOutputItemStreams, diff, isDocumentExcludePattern, isTextStreamMime };
|
|
456
|
+
export { ACCESSIBLE_NOTEBOOK_DISPLAY_ORDER, CellEditType, CellKind, CellStatusbarAlignment, CellUri, INTERACTIVE_WINDOW_EDITOR_ID, MOVE_CURSOR_1_LINE_COMMAND, MimeTypeDisplayOrder, NOTEBOOK_DIFF_EDITOR_ID, NOTEBOOK_DISPLAY_ORDER, NOTEBOOK_EDITOR_CURSOR_BOUNDARY, NOTEBOOK_EDITOR_CURSOR_LINE_BOUNDARY, NOTEBOOK_EDITOR_ID, NOTEBOOK_MULTI_DIFF_EDITOR_ID, NOTEBOOK_OUTPUT_EDITOR_ID, NotebookCellExecutionState, NotebookCellsChangeType, NotebookEditorPriority, NotebookExecutionState, NotebookFindScopeType, NotebookMetadataUri, NotebookRendererMatch, NotebookRunState, NotebookSetting, NotebookWorkingCopyTypeIdentifier, RENDERER_EQUIVALENT_EXTENSIONS, RENDERER_NOT_AVAILABLE, REPL_EDITOR_ID, RendererMessagingSpec, SelectionStateType, compressOutputItemStreams, diff, isDocumentExcludePattern, isTextStreamMime };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IOutputDto, IOutputItemDto } from "./notebookCommon.js";
|
|
2
|
-
import { INotebookCellExecution } from "@codingame/monaco-vscode-
|
|
2
|
+
import { INotebookCellExecution } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
3
3
|
export declare enum CellExecutionUpdateType {
|
|
4
4
|
Output = 1,
|
|
5
5
|
OutputItems = 2,
|
package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
2
2
|
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
|
|
3
|
-
import { NotebookCellTextModel } from "@codingame/monaco-vscode-
|
|
3
|
+
import { NotebookCellTextModel } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
|
|
4
4
|
import { INotebookTextModel } from "./notebookCommon.js";
|
|
5
5
|
import { ICellExecutionParticipant } from "./notebookExecutionService.js";
|
|
6
6
|
export declare const INotebookExecutionService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookExecutionService>;
|
package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
2
|
import { URI } from "../../../../base/common/uri.js";
|
|
3
|
-
import { ICellExecutionStateChangedEvent, IExecutionStateChangedEvent, INotebookFailStateChangedEvent, INotebookCellExecution, INotebookExecution } from "@codingame/monaco-vscode-
|
|
3
|
+
import { ICellExecutionStateChangedEvent, IExecutionStateChangedEvent, INotebookFailStateChangedEvent, INotebookCellExecution, INotebookExecution } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService";
|
|
4
4
|
export declare const INotebookExecutionStateService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookExecutionStateService>;
|
|
5
5
|
export interface INotebookExecutionStateService {
|
|
6
6
|
_serviceBrand: undefined;
|
|
@@ -5,11 +5,11 @@ import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
|
5
5
|
import { URI } from "../../../../base/common/uri.js";
|
|
6
6
|
import { ConfigurationTarget } from "../../../../platform/configuration/common/configuration.js";
|
|
7
7
|
import { SnapshotContext } from "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
|
|
8
|
-
import { NotebookCellTextModel } from "@codingame/monaco-vscode-
|
|
8
|
+
import { NotebookCellTextModel } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
|
|
9
9
|
import { NotebookTextModel } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/model/notebookTextModel";
|
|
10
10
|
import { NotebookExtensionDescription, IOutputDto, IOrderedMimeType, INotebookRendererInfo, INotebookStaticPreloadInfo, INotebookContributionData } from "./notebookCommon.js";
|
|
11
11
|
import { NotebookProviderInfo } from "@codingame/monaco-vscode-notebook-service-override/vscode/vs/workbench/contrib/notebook/common/notebookProvider";
|
|
12
|
-
import { INotebookSerializer, SimpleNotebookProviderInfo } from "@codingame/monaco-vscode-
|
|
12
|
+
import { INotebookSerializer, SimpleNotebookProviderInfo } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookService";
|
|
13
13
|
export declare const INotebookService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<INotebookService>;
|
|
14
14
|
export interface INotebookService {
|
|
15
15
|
readonly _serviceBrand: undefined;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { Event } from "../../../../base/common/event.js";
|
|
2
2
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
3
3
|
import { URI } from "../../../../base/common/uri.js";
|
|
4
|
-
import { QuickDiffProvider, QuickDiff } from "@codingame/monaco-vscode-
|
|
4
|
+
import { QuickDiffProvider, QuickDiff } from "@codingame/monaco-vscode-bb83fe45-f4c7-5673-b9f1-5c409a63f19c-common/vscode/vs/workbench/contrib/scm/common/quickDiff";
|
|
5
5
|
export declare const IQuickDiffService: import("../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier<IQuickDiffService>;
|
|
6
6
|
export interface IQuickDiffService {
|
|
7
7
|
readonly _serviceBrand: undefined;
|
|
8
8
|
readonly onDidChangeQuickDiffProviders: Event<void>;
|
|
9
|
+
readonly providers: readonly QuickDiffProvider[];
|
|
9
10
|
addQuickDiffProvider(quickDiff: QuickDiffProvider): IDisposable;
|
|
10
11
|
getQuickDiffs(uri: URI, language?: string, isSynchronized?: boolean): Promise<QuickDiff[]>;
|
|
12
|
+
toggleQuickDiffProviderVisibility(id: string): void;
|
|
13
|
+
isQuickDiffProviderVisible(id: string): boolean;
|
|
11
14
|
}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
1
|
import { URI } from "../../../../base/common/uri.js";
|
|
2
2
|
import { Disposable, IDisposable } from "../../../../base/common/lifecycle.js";
|
|
3
|
-
import { QuickDiff, QuickDiffProvider } from "@codingame/monaco-vscode-
|
|
3
|
+
import { QuickDiff, QuickDiffProvider } from "@codingame/monaco-vscode-bb83fe45-f4c7-5673-b9f1-5c409a63f19c-common/vscode/vs/workbench/contrib/scm/common/quickDiff";
|
|
4
4
|
import { IQuickDiffService } from "./quickDiff.service.js";
|
|
5
5
|
import { IUriIdentityService } from "../../../../platform/uriIdentity/common/uriIdentity.service.js";
|
|
6
|
+
import { IStorageService } from "../../../../platform/storage/common/storage.service.js";
|
|
6
7
|
export declare class QuickDiffService extends Disposable implements IQuickDiffService {
|
|
8
|
+
private readonly storageService;
|
|
7
9
|
private readonly uriIdentityService;
|
|
8
10
|
readonly _serviceBrand: undefined;
|
|
11
|
+
private static readonly STORAGE_KEY;
|
|
9
12
|
private quickDiffProviders;
|
|
13
|
+
get providers(): readonly QuickDiffProvider[];
|
|
10
14
|
private readonly _onDidChangeQuickDiffProviders;
|
|
11
15
|
readonly onDidChangeQuickDiffProviders: import("../../../../base/common/event.js").Event<void>;
|
|
12
|
-
|
|
16
|
+
private hiddenQuickDiffProviders;
|
|
17
|
+
constructor(storageService: IStorageService, uriIdentityService: IUriIdentityService);
|
|
13
18
|
addQuickDiffProvider(quickDiff: QuickDiffProvider): IDisposable;
|
|
14
|
-
private isQuickDiff;
|
|
15
19
|
getQuickDiffs(uri: URI, language?: string, isSynchronized?: boolean): Promise<QuickDiff[]>;
|
|
20
|
+
toggleQuickDiffProviderVisibility(id: string): void;
|
|
21
|
+
isQuickDiffProviderVisible(id: string): boolean;
|
|
22
|
+
private loadState;
|
|
23
|
+
private saveState;
|
|
16
24
|
}
|
|
17
25
|
export declare function getOriginalResource(quickDiffService: IQuickDiffService, uri: URI, language: string | undefined, isSynchronized: boolean | undefined): Promise<URI | null>;
|
|
@@ -5,7 +5,10 @@ import { isEqualOrParent } from '../../../../base/common/resources.js';
|
|
|
5
5
|
import { score } from '../../../../editor/common/languageSelector.js';
|
|
6
6
|
import { Emitter } from '../../../../base/common/event.js';
|
|
7
7
|
import { IUriIdentityService } from '../../../../platform/uriIdentity/common/uriIdentity.service.js';
|
|
8
|
+
import { StorageScope, StorageTarget } from '../../../../platform/storage/common/storage.js';
|
|
9
|
+
import { IStorageService } from '../../../../platform/storage/common/storage.service.js';
|
|
8
10
|
|
|
11
|
+
var QuickDiffService_1;
|
|
9
12
|
function createProviderComparer(uri) {
|
|
10
13
|
return (a, b) => {
|
|
11
14
|
if (a.rootUri && !b.rootUri) {
|
|
@@ -20,7 +23,7 @@ function createProviderComparer(uri) {
|
|
|
20
23
|
const aIsParent = isEqualOrParent(uri, a.rootUri);
|
|
21
24
|
const bIsParent = isEqualOrParent(uri, b.rootUri);
|
|
22
25
|
if (aIsParent && bIsParent) {
|
|
23
|
-
return a
|
|
26
|
+
return providerComparer(a, b);
|
|
24
27
|
}
|
|
25
28
|
else if (aIsParent) {
|
|
26
29
|
return -1;
|
|
@@ -33,13 +36,36 @@ function createProviderComparer(uri) {
|
|
|
33
36
|
}
|
|
34
37
|
};
|
|
35
38
|
}
|
|
39
|
+
function providerComparer(a, b) {
|
|
40
|
+
if (a.kind === 'primary') {
|
|
41
|
+
return -1;
|
|
42
|
+
}
|
|
43
|
+
else if (b.kind === 'primary') {
|
|
44
|
+
return 1;
|
|
45
|
+
}
|
|
46
|
+
else if (a.kind === 'secondary') {
|
|
47
|
+
return -1;
|
|
48
|
+
}
|
|
49
|
+
else if (b.kind === 'secondary') {
|
|
50
|
+
return 1;
|
|
51
|
+
}
|
|
52
|
+
return 0;
|
|
53
|
+
}
|
|
36
54
|
let QuickDiffService = class QuickDiffService extends Disposable {
|
|
37
|
-
|
|
55
|
+
static { QuickDiffService_1 = this; }
|
|
56
|
+
static { this.STORAGE_KEY = 'workbench.scm.quickDiffProviders.hidden'; }
|
|
57
|
+
get providers() {
|
|
58
|
+
return Array.from(this.quickDiffProviders).sort(providerComparer);
|
|
59
|
+
}
|
|
60
|
+
constructor(storageService, uriIdentityService) {
|
|
38
61
|
super();
|
|
62
|
+
this.storageService = storageService;
|
|
39
63
|
this.uriIdentityService = uriIdentityService;
|
|
40
64
|
this.quickDiffProviders = ( new Set());
|
|
41
65
|
this._onDidChangeQuickDiffProviders = this._register(( new Emitter()));
|
|
42
66
|
this.onDidChangeQuickDiffProviders = this._onDidChangeQuickDiffProviders.event;
|
|
67
|
+
this.hiddenQuickDiffProviders = ( new Set());
|
|
68
|
+
this.loadState();
|
|
43
69
|
}
|
|
44
70
|
addQuickDiffProvider(quickDiff) {
|
|
45
71
|
this.quickDiffProviders.add(quickDiff);
|
|
@@ -51,28 +77,63 @@ let QuickDiffService = class QuickDiffService extends Disposable {
|
|
|
51
77
|
}
|
|
52
78
|
};
|
|
53
79
|
}
|
|
54
|
-
isQuickDiff(diff) {
|
|
55
|
-
return !!diff.originalResource && (typeof diff.label === 'string') && (typeof diff.isSCM === 'boolean');
|
|
56
|
-
}
|
|
57
80
|
async getQuickDiffs(uri, language = '', isSynchronized = false) {
|
|
58
81
|
const providers = Array.from(this.quickDiffProviders)
|
|
59
82
|
.filter(provider => !provider.rootUri || this.uriIdentityService.extUri.isEqualOrParent(uri, provider.rootUri))
|
|
60
83
|
.sort(createProviderComparer(uri));
|
|
61
|
-
const
|
|
84
|
+
const quickDiffOriginalResources = await Promise.all(( providers.map(async (provider) => {
|
|
62
85
|
const scoreValue = provider.selector ? score(provider.selector, uri, language, isSynchronized, undefined, undefined) : 10;
|
|
63
|
-
const
|
|
64
|
-
|
|
65
|
-
label: provider.label,
|
|
66
|
-
isSCM: provider.isSCM,
|
|
67
|
-
visible: provider.visible
|
|
68
|
-
};
|
|
69
|
-
return diff;
|
|
86
|
+
const originalResource = scoreValue > 0 ? (await provider.getOriginalResource(uri)) ?? undefined : undefined;
|
|
87
|
+
return { provider, originalResource };
|
|
70
88
|
})));
|
|
71
|
-
|
|
89
|
+
const quickDiffs = [];
|
|
90
|
+
for (const { provider, originalResource } of quickDiffOriginalResources) {
|
|
91
|
+
if (!originalResource) {
|
|
92
|
+
continue;
|
|
93
|
+
}
|
|
94
|
+
quickDiffs.push({
|
|
95
|
+
id: provider.id,
|
|
96
|
+
label: provider.label,
|
|
97
|
+
kind: provider.kind,
|
|
98
|
+
originalResource,
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
return quickDiffs;
|
|
102
|
+
}
|
|
103
|
+
toggleQuickDiffProviderVisibility(id) {
|
|
104
|
+
if (this.isQuickDiffProviderVisible(id)) {
|
|
105
|
+
this.hiddenQuickDiffProviders.add(id);
|
|
106
|
+
}
|
|
107
|
+
else {
|
|
108
|
+
this.hiddenQuickDiffProviders.delete(id);
|
|
109
|
+
}
|
|
110
|
+
this.saveState();
|
|
111
|
+
this._onDidChangeQuickDiffProviders.fire();
|
|
112
|
+
}
|
|
113
|
+
isQuickDiffProviderVisible(id) {
|
|
114
|
+
return !( this.hiddenQuickDiffProviders.has(id));
|
|
115
|
+
}
|
|
116
|
+
loadState() {
|
|
117
|
+
const raw = this.storageService.get(QuickDiffService_1.STORAGE_KEY, StorageScope.PROFILE);
|
|
118
|
+
if (raw) {
|
|
119
|
+
try {
|
|
120
|
+
this.hiddenQuickDiffProviders = ( new Set(JSON.parse(raw)));
|
|
121
|
+
}
|
|
122
|
+
catch { }
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
saveState() {
|
|
126
|
+
if (this.hiddenQuickDiffProviders.size === 0) {
|
|
127
|
+
this.storageService.remove(QuickDiffService_1.STORAGE_KEY, StorageScope.PROFILE);
|
|
128
|
+
}
|
|
129
|
+
else {
|
|
130
|
+
this.storageService.store(QuickDiffService_1.STORAGE_KEY, JSON.stringify(Array.from(this.hiddenQuickDiffProviders)), StorageScope.PROFILE, StorageTarget.USER);
|
|
131
|
+
}
|
|
72
132
|
}
|
|
73
133
|
};
|
|
74
|
-
QuickDiffService = ( __decorate([
|
|
75
|
-
( __param(0,
|
|
134
|
+
QuickDiffService = QuickDiffService_1 = ( __decorate([
|
|
135
|
+
( __param(0, IStorageService)),
|
|
136
|
+
( __param(1, IUriIdentityService))
|
|
76
137
|
], QuickDiffService));
|
|
77
138
|
async function getOriginalResource(quickDiffService, uri, language, isSynchronized) {
|
|
78
139
|
const quickDiffs = await quickDiffService.getQuickDiffs(uri, language, isSynchronized);
|
|
@@ -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(9597, "{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
|
+
9598,
|
|
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(9598, "{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(9614, "Workspace Snippet"));
|
|
211
211
|
}
|
|
212
212
|
else {
|
|
213
213
|
if (this.isGlobalSnippets) {
|
|
214
|
-
source = ( localize(
|
|
214
|
+
source = ( localize(9615, "Global User Snippet"));
|
|
215
215
|
}
|
|
216
216
|
else {
|
|
217
|
-
source = ( localize(
|
|
217
|
+
source = ( localize(9616, "User Snippet"));
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
for (const _prefix of Iterable.wrap(prefix)) {
|