@codingame/monaco-vscode-api 16.1.1 → 17.1.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 +105 -0
- package/monaco.d.ts +2 -2
- package/package.json +10 -9
- package/services.d.ts +4 -4
- package/services.js +3 -3
- package/vscode/product.json.js +3 -0
- 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 +1 -2
- 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 +7 -90
- 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 +31 -31
- 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
|
@@ -3,6 +3,7 @@ import { KeyMod as KeyMod$1, KeyCode } from '../../../../../base/common/keyCodes
|
|
|
3
3
|
import '../../../../../base/common/observableInternal/index.js';
|
|
4
4
|
import { splitLines } from '../../../../../base/common/strings.js';
|
|
5
5
|
import { localize2, localize } from '../../../../../nls.js';
|
|
6
|
+
import { CONTEXT_ACCESSIBILITY_MODE_ENABLED } from '../../../../../platform/accessibility/common/accessibility.js';
|
|
6
7
|
import { MenuId, Action2 } from '../../../../../platform/actions/common/actions.js';
|
|
7
8
|
import { IClipboardService } from '../../../../../platform/clipboard/common/clipboardService.service.js';
|
|
8
9
|
import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.service.js';
|
|
@@ -24,7 +25,7 @@ class ShowNextInlineSuggestionAction extends EditorAction {
|
|
|
24
25
|
constructor() {
|
|
25
26
|
super({
|
|
26
27
|
id: ShowNextInlineSuggestionAction.ID,
|
|
27
|
-
label: ( localize2(
|
|
28
|
+
label: ( localize2(1234, "Show Next Inline Suggestion")),
|
|
28
29
|
precondition: ( ContextKeyExpr.and(
|
|
29
30
|
EditorContextKeys.writable,
|
|
30
31
|
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
@@ -45,7 +46,7 @@ class ShowPreviousInlineSuggestionAction extends EditorAction {
|
|
|
45
46
|
constructor() {
|
|
46
47
|
super({
|
|
47
48
|
id: ShowPreviousInlineSuggestionAction.ID,
|
|
48
|
-
label: ( localize2(
|
|
49
|
+
label: ( localize2(1235, "Show Previous Inline Suggestion")),
|
|
49
50
|
precondition: ( ContextKeyExpr.and(
|
|
50
51
|
EditorContextKeys.writable,
|
|
51
52
|
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
@@ -65,7 +66,7 @@ class TriggerInlineSuggestionAction extends EditorAction {
|
|
|
65
66
|
constructor() {
|
|
66
67
|
super({
|
|
67
68
|
id: 'editor.action.inlineSuggest.trigger',
|
|
68
|
-
label: ( localize2(
|
|
69
|
+
label: ( localize2(1236, "Trigger Inline Suggestion")),
|
|
69
70
|
precondition: EditorContextKeys.writable
|
|
70
71
|
});
|
|
71
72
|
}
|
|
@@ -81,7 +82,7 @@ class ExplicitTriggerInlineEditAction extends EditorAction {
|
|
|
81
82
|
constructor() {
|
|
82
83
|
super({
|
|
83
84
|
id: 'editor.action.inlineSuggest.triggerInlineEditExplicit',
|
|
84
|
-
label: ( localize2(
|
|
85
|
+
label: ( localize2(1237, "Trigger Next Edit Suggestion")),
|
|
85
86
|
precondition: EditorContextKeys.writable,
|
|
86
87
|
});
|
|
87
88
|
}
|
|
@@ -92,7 +93,7 @@ class ExplicitTriggerInlineEditAction extends EditorAction {
|
|
|
92
93
|
if (!controller?.model.get()?.inlineEditAvailable.get()) {
|
|
93
94
|
notificationService.notify({
|
|
94
95
|
severity: Severity$1.Info,
|
|
95
|
-
message: ( localize(
|
|
96
|
+
message: ( localize(1238, "No inline edit is available."))
|
|
96
97
|
});
|
|
97
98
|
}
|
|
98
99
|
}
|
|
@@ -113,7 +114,7 @@ class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
|
113
114
|
constructor() {
|
|
114
115
|
super({
|
|
115
116
|
id: 'editor.action.inlineSuggest.acceptNextWord',
|
|
116
|
-
label: ( localize2(
|
|
117
|
+
label: ( localize2(1239, "Accept Next Word Of Inline Suggestion")),
|
|
117
118
|
precondition: ( ContextKeyExpr.and(
|
|
118
119
|
EditorContextKeys.writable,
|
|
119
120
|
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
@@ -123,12 +124,13 @@ class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
|
123
124
|
primary: KeyMod$1.CtrlCmd | KeyCode.RightArrow,
|
|
124
125
|
kbExpr: ( ContextKeyExpr.and(
|
|
125
126
|
EditorContextKeys.writable,
|
|
126
|
-
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
127
|
+
InlineCompletionContextKeys.inlineSuggestionVisible,
|
|
128
|
+
( CONTEXT_ACCESSIBILITY_MODE_ENABLED.negate())
|
|
127
129
|
)),
|
|
128
130
|
},
|
|
129
131
|
menuOpts: [{
|
|
130
132
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
131
|
-
title: ( localize(
|
|
133
|
+
title: ( localize(1240, 'Accept Word')),
|
|
132
134
|
group: 'primary',
|
|
133
135
|
order: 2,
|
|
134
136
|
}],
|
|
@@ -136,14 +138,14 @@ class AcceptNextWordOfInlineCompletion extends EditorAction {
|
|
|
136
138
|
}
|
|
137
139
|
async run(accessor, editor) {
|
|
138
140
|
const controller = InlineCompletionsController.get(editor);
|
|
139
|
-
await controller?.model.get()?.acceptNextWord(
|
|
141
|
+
await controller?.model.get()?.acceptNextWord();
|
|
140
142
|
}
|
|
141
143
|
}
|
|
142
144
|
class AcceptNextLineOfInlineCompletion extends EditorAction {
|
|
143
145
|
constructor() {
|
|
144
146
|
super({
|
|
145
147
|
id: 'editor.action.inlineSuggest.acceptNextLine',
|
|
146
|
-
label: ( localize2(
|
|
148
|
+
label: ( localize2(1241, "Accept Next Line Of Inline Suggestion")),
|
|
147
149
|
precondition: ( ContextKeyExpr.and(
|
|
148
150
|
EditorContextKeys.writable,
|
|
149
151
|
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
@@ -153,7 +155,7 @@ class AcceptNextLineOfInlineCompletion extends EditorAction {
|
|
|
153
155
|
},
|
|
154
156
|
menuOpts: [{
|
|
155
157
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
156
|
-
title: ( localize(
|
|
158
|
+
title: ( localize(1242, 'Accept Line')),
|
|
157
159
|
group: 'secondary',
|
|
158
160
|
order: 2,
|
|
159
161
|
}],
|
|
@@ -161,26 +163,26 @@ class AcceptNextLineOfInlineCompletion extends EditorAction {
|
|
|
161
163
|
}
|
|
162
164
|
async run(accessor, editor) {
|
|
163
165
|
const controller = InlineCompletionsController.get(editor);
|
|
164
|
-
await controller?.model.get()?.acceptNextLine(
|
|
166
|
+
await controller?.model.get()?.acceptNextLine();
|
|
165
167
|
}
|
|
166
168
|
}
|
|
167
169
|
class AcceptInlineCompletion extends EditorAction {
|
|
168
170
|
constructor() {
|
|
169
171
|
super({
|
|
170
172
|
id: inlineSuggestCommitId,
|
|
171
|
-
label: ( localize2(
|
|
173
|
+
label: ( localize2(1243, "Accept Inline Suggestion")),
|
|
172
174
|
precondition: ( ContextKeyExpr.or(
|
|
173
175
|
InlineCompletionContextKeys.inlineSuggestionVisible,
|
|
174
176
|
InlineCompletionContextKeys.inlineEditVisible
|
|
175
177
|
)),
|
|
176
178
|
menuOpts: [{
|
|
177
179
|
menuId: MenuId.InlineSuggestionToolbar,
|
|
178
|
-
title: ( localize(
|
|
180
|
+
title: ( localize(1244, "Accept")),
|
|
179
181
|
group: 'primary',
|
|
180
182
|
order: 2,
|
|
181
183
|
}, {
|
|
182
184
|
menuId: MenuId.InlineEditsActions,
|
|
183
|
-
title: ( localize(
|
|
185
|
+
title: ( localize(1244, "Accept")),
|
|
184
186
|
group: 'primary',
|
|
185
187
|
order: 2,
|
|
186
188
|
}],
|
|
@@ -211,11 +213,11 @@ class JumpToNextInlineEdit extends EditorAction {
|
|
|
211
213
|
constructor() {
|
|
212
214
|
super({
|
|
213
215
|
id: jumpToNextInlineEditId,
|
|
214
|
-
label: ( localize2(
|
|
216
|
+
label: ( localize2(1245, "Jump to next inline edit")),
|
|
215
217
|
precondition: InlineCompletionContextKeys.inlineEditVisible,
|
|
216
218
|
menuOpts: [{
|
|
217
219
|
menuId: MenuId.InlineEditsActions,
|
|
218
|
-
title: ( localize(
|
|
220
|
+
title: ( localize(1246, "Jump")),
|
|
219
221
|
group: 'primary',
|
|
220
222
|
order: 1,
|
|
221
223
|
when: ( InlineCompletionContextKeys.cursorAtInlineEdit.toNegated()),
|
|
@@ -234,29 +236,12 @@ class JumpToNextInlineEdit extends EditorAction {
|
|
|
234
236
|
}
|
|
235
237
|
}
|
|
236
238
|
}
|
|
237
|
-
class AcceptNextInlineEditPart extends EditorAction {
|
|
238
|
-
constructor() {
|
|
239
|
-
super({
|
|
240
|
-
id: 'editor.action.inlineSuggest.acceptNextInlineEditPart',
|
|
241
|
-
label: ( localize2(1248, "Accept Next Inline Edit Part")),
|
|
242
|
-
precondition: ( ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineEditVisible)),
|
|
243
|
-
kbOpts: {
|
|
244
|
-
weight: KeybindingWeight.EditorContrib + 1,
|
|
245
|
-
kbExpr: ( ContextKeyExpr.and(EditorContextKeys.writable, InlineCompletionContextKeys.inlineEditVisible)),
|
|
246
|
-
},
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
async run(accessor, editor) {
|
|
250
|
-
const controller = InlineCompletionsController.get(editor);
|
|
251
|
-
await controller?.model.get()?.acceptNextInlineEditPart(controller.editor);
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
239
|
class HideInlineCompletion extends EditorAction {
|
|
255
240
|
static { this.ID = hideInlineCompletionId; }
|
|
256
241
|
constructor() {
|
|
257
242
|
super({
|
|
258
243
|
id: HideInlineCompletion.ID,
|
|
259
|
-
label: ( localize2(
|
|
244
|
+
label: ( localize2(1247, "Hide Inline Suggestion")),
|
|
260
245
|
precondition: ( ContextKeyExpr.or(
|
|
261
246
|
InlineCompletionContextKeys.inlineSuggestionVisible,
|
|
262
247
|
InlineCompletionContextKeys.inlineEditVisible
|
|
@@ -267,7 +252,7 @@ class HideInlineCompletion extends EditorAction {
|
|
|
267
252
|
},
|
|
268
253
|
menuOpts: [{
|
|
269
254
|
menuId: MenuId.InlineEditsActions,
|
|
270
|
-
title: ( localize(
|
|
255
|
+
title: ( localize(1248, "Reject")),
|
|
271
256
|
group: 'primary',
|
|
272
257
|
order: 3,
|
|
273
258
|
}]
|
|
@@ -286,7 +271,7 @@ class ToggleInlineCompletionShowCollapsed extends EditorAction {
|
|
|
286
271
|
constructor() {
|
|
287
272
|
super({
|
|
288
273
|
id: ToggleInlineCompletionShowCollapsed.ID,
|
|
289
|
-
label: ( localize2(
|
|
274
|
+
label: ( localize2(1249, "Toggle Inline Suggestions Show Collapsed")),
|
|
290
275
|
precondition: ContextKeyExpr.true(),
|
|
291
276
|
});
|
|
292
277
|
}
|
|
@@ -308,7 +293,7 @@ class ToggleAlwaysShowInlineSuggestionToolbar extends Action2 {
|
|
|
308
293
|
constructor() {
|
|
309
294
|
super({
|
|
310
295
|
id: ToggleAlwaysShowInlineSuggestionToolbar.ID,
|
|
311
|
-
title: ( localize(
|
|
296
|
+
title: ( localize(1250, "Always Show Toolbar")),
|
|
312
297
|
f1: false,
|
|
313
298
|
precondition: undefined,
|
|
314
299
|
menu: [{
|
|
@@ -330,9 +315,12 @@ class DevExtractReproSample extends EditorAction {
|
|
|
330
315
|
constructor() {
|
|
331
316
|
super({
|
|
332
317
|
id: 'editor.action.inlineSuggest.dev.extractRepro',
|
|
333
|
-
label: ( localize(
|
|
318
|
+
label: ( localize(1251, "Developer: Extract Inline Suggest State")),
|
|
334
319
|
alias: 'Developer: Inline Suggest Extract Repro',
|
|
335
|
-
precondition:
|
|
320
|
+
precondition: ( ContextKeyExpr.or(
|
|
321
|
+
InlineCompletionContextKeys.inlineEditVisible,
|
|
322
|
+
InlineCompletionContextKeys.inlineSuggestionVisible
|
|
323
|
+
)),
|
|
336
324
|
});
|
|
337
325
|
}
|
|
338
326
|
async run(accessor, editor) {
|
|
@@ -351,4 +339,4 @@ class DevExtractReproSample extends EditorAction {
|
|
|
351
339
|
}
|
|
352
340
|
}
|
|
353
341
|
|
|
354
|
-
export { AcceptInlineCompletion,
|
|
342
|
+
export { AcceptInlineCompletion, AcceptNextLineOfInlineCompletion, AcceptNextWordOfInlineCompletion, DevExtractReproSample, ExplicitTriggerInlineEditAction, HideInlineCompletion, JumpToNextInlineEdit, ShowNextInlineSuggestionAction, ShowPreviousInlineSuggestionAction, ToggleAlwaysShowInlineSuggestionToolbar, ToggleInlineCompletionShowCollapsed, TriggerInlineEditAction, TriggerInlineSuggestionAction };
|
|
@@ -3,23 +3,23 @@ import { RawContextKey } from '../../../../../platform/contextkey/common/context
|
|
|
3
3
|
import { localize } from '../../../../../nls.js';
|
|
4
4
|
|
|
5
5
|
class InlineCompletionContextKeys {
|
|
6
|
-
static { this.inlineSuggestionVisible = ( new RawContextKey('inlineSuggestionVisible', false, ( localize(
|
|
7
|
-
static { this.inlineSuggestionHasIndentation = ( new RawContextKey('inlineSuggestionHasIndentation', false, ( localize(
|
|
6
|
+
static { this.inlineSuggestionVisible = ( new RawContextKey('inlineSuggestionVisible', false, ( localize(1252, "Whether an inline suggestion is visible")))); }
|
|
7
|
+
static { this.inlineSuggestionHasIndentation = ( new RawContextKey('inlineSuggestionHasIndentation', false, ( localize(1253, "Whether the inline suggestion starts with whitespace")))); }
|
|
8
8
|
static { this.inlineSuggestionHasIndentationLessThanTabSize = ( new RawContextKey('inlineSuggestionHasIndentationLessThanTabSize', true, ( localize(
|
|
9
|
-
|
|
9
|
+
1254,
|
|
10
10
|
"Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab"
|
|
11
11
|
)))); }
|
|
12
12
|
static { this.suppressSuggestions = ( new RawContextKey('inlineSuggestionSuppressSuggestions', undefined, ( localize(
|
|
13
|
-
|
|
13
|
+
1255,
|
|
14
14
|
"Whether suggestions should be suppressed for the current suggestion"
|
|
15
15
|
)))); }
|
|
16
|
-
static { this.cursorInIndentation = ( new RawContextKey('cursorInIndentation', false, ( localize(
|
|
17
|
-
static { this.hasSelection = ( new RawContextKey('editor.hasSelection', false, ( localize(
|
|
18
|
-
static { this.cursorAtInlineEdit = ( new RawContextKey('cursorAtInlineEdit', false, ( localize(
|
|
19
|
-
static { this.inlineEditVisible = ( new RawContextKey('inlineEditIsVisible', false, ( localize(
|
|
20
|
-
static { this.tabShouldJumpToInlineEdit = ( new RawContextKey('tabShouldJumpToInlineEdit', false, ( localize(
|
|
21
|
-
static { this.tabShouldAcceptInlineEdit = ( new RawContextKey('tabShouldAcceptInlineEdit', false, ( localize(
|
|
22
|
-
static { this.inInlineEditsPreviewEditor = ( new RawContextKey('inInlineEditsPreviewEditor', true, ( localize(
|
|
16
|
+
static { this.cursorInIndentation = ( new RawContextKey('cursorInIndentation', false, ( localize(1256, "Whether the cursor is in indentation")))); }
|
|
17
|
+
static { this.hasSelection = ( new RawContextKey('editor.hasSelection', false, ( localize(1257, "Whether the editor has a selection")))); }
|
|
18
|
+
static { this.cursorAtInlineEdit = ( new RawContextKey('cursorAtInlineEdit', false, ( localize(1258, "Whether the cursor is at an inline edit")))); }
|
|
19
|
+
static { this.inlineEditVisible = ( new RawContextKey('inlineEditIsVisible', false, ( localize(1259, "Whether an inline edit is visible")))); }
|
|
20
|
+
static { this.tabShouldJumpToInlineEdit = ( new RawContextKey('tabShouldJumpToInlineEdit', false, ( localize(1260, "Whether tab should jump to an inline edit.")))); }
|
|
21
|
+
static { this.tabShouldAcceptInlineEdit = ( new RawContextKey('tabShouldAcceptInlineEdit', false, ( localize(1261, "Whether tab should accept the inline edit.")))); }
|
|
22
|
+
static { this.inInlineEditsPreviewEditor = ( new RawContextKey('inInlineEditsPreviewEditor', true, ( localize(1262, "Whether the current code editor is showing an inline edits preview")))); }
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
export { InlineCompletionContextKeys };
|
|
@@ -72,7 +72,7 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
72
72
|
this._suggestWidgetAdapter = this._register(( new ObservableSuggestWidgetAdapter(
|
|
73
73
|
this._editorObs,
|
|
74
74
|
item => this.model.get()?.handleSuggestAccepted(item),
|
|
75
|
-
() => this.model.get()?.selectedInlineCompletion.get()?.
|
|
75
|
+
() => this.model.get()?.selectedInlineCompletion.get()?.getSingleTextEdit()
|
|
76
76
|
)));
|
|
77
77
|
this._enabledInConfig = observableFromEvent(this, this.editor.onDidChangeConfiguration, () => this.editor.getOption(EditorOption.inlineSuggest).enabled);
|
|
78
78
|
this._isScreenReaderEnabled = observableFromEvent(this, this._accessibilityService.onDidChangeScreenReaderOptimized, () => this._accessibilityService.isScreenReaderOptimized());
|
|
@@ -184,7 +184,7 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
184
184
|
if (!model) {
|
|
185
185
|
return;
|
|
186
186
|
}
|
|
187
|
-
if (model.state.get()?.inlineCompletion?.
|
|
187
|
+
if (model.state.get()?.inlineCompletion?.isFromExplicitRequest && model.inlineEditAvailable.get()) {
|
|
188
188
|
return;
|
|
189
189
|
}
|
|
190
190
|
transaction(tx => {
|
|
@@ -226,7 +226,7 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
226
226
|
const lineText = state.kind === 'ghostText' ? model.textModel.getLineContent(state.primaryGhostText.lineNumber) : '';
|
|
227
227
|
await timeout(50, cancelOnDispose(store));
|
|
228
228
|
await waitForState(this._suggestWidgetAdapter.selectedItem, isUndefined, () => false, cancelOnDispose(store));
|
|
229
|
-
await this._accessibilitySignalService.playSignal(AccessibilitySignal.inlineSuggestion);
|
|
229
|
+
await this._accessibilitySignalService.playSignal(state.kind === 'ghostText' ? AccessibilitySignal.inlineSuggestion : AccessibilitySignal.nextEditSuggestion);
|
|
230
230
|
if (this.editor.getOption(EditorOption.screenReaderAnnounceInlineSuggestion)) {
|
|
231
231
|
if (state.kind === 'ghostText') {
|
|
232
232
|
this._provideScreenReaderUpdate(state.primaryGhostText.renderForScreenReader(lineText));
|
|
@@ -245,7 +245,9 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
245
245
|
const contextKeySvcObs = ( new ObservableContextKeyService(this._contextKeyService));
|
|
246
246
|
this._register(contextKeySvcObs.bind(InlineCompletionContextKeys.cursorInIndentation, this._cursorIsInIndentation));
|
|
247
247
|
this._register(contextKeySvcObs.bind(InlineCompletionContextKeys.hasSelection, reader => !this._editorObs.cursorSelection.read(reader)?.isEmpty()));
|
|
248
|
-
this._register(contextKeySvcObs.bind(InlineCompletionContextKeys.cursorAtInlineEdit, ( this.model.map(
|
|
248
|
+
this._register(contextKeySvcObs.bind(InlineCompletionContextKeys.cursorAtInlineEdit, ( this.model.map(
|
|
249
|
+
(m, reader) => m?.inlineEditState?.read(reader)?.cursorAtInlineEdit.read(reader)
|
|
250
|
+
))));
|
|
249
251
|
this._register(contextKeySvcObs.bind(InlineCompletionContextKeys.tabShouldAcceptInlineEdit, ( this.model.map((m, r) => !!m?.tabShouldAcceptInlineEdit.read(r)))));
|
|
250
252
|
this._register(contextKeySvcObs.bind(InlineCompletionContextKeys.tabShouldJumpToInlineEdit, ( this.model.map((m, r) => !!m?.tabShouldJumpToInlineEdit.read(r)))));
|
|
251
253
|
this._register(contextKeySvcObs.bind(InlineCompletionContextKeys.inlineEditVisible, reader => this.model.read(reader)?.inlineEditState.read(reader) !== undefined));
|
|
@@ -254,7 +256,7 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
254
256
|
this._register(contextKeySvcObs.bind(InlineCompletionContextKeys.suppressSuggestions, reader => {
|
|
255
257
|
const model = this.model.read(reader);
|
|
256
258
|
const state = model?.inlineCompletionState.read(reader);
|
|
257
|
-
return state?.primaryGhostText && state?.inlineCompletion ? state.inlineCompletion.source.
|
|
259
|
+
return state?.primaryGhostText && state?.inlineCompletion ? state.inlineCompletion.source.inlineSuggestions.suppressSuggestions : undefined;
|
|
258
260
|
}));
|
|
259
261
|
this._register(contextKeySvcObs.bind(InlineCompletionContextKeys.inlineSuggestionVisible, reader => {
|
|
260
262
|
const model = this.model.read(reader);
|
|
@@ -272,7 +274,7 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
272
274
|
let hint;
|
|
273
275
|
if (!accessibleViewShowing && accessibleViewKeybinding && this.editor.getOption(EditorOption.inlineCompletionsAccessibilityVerbose)) {
|
|
274
276
|
hint = ( localize(
|
|
275
|
-
|
|
277
|
+
1263,
|
|
276
278
|
"Inspect this in the accessible view ({0})",
|
|
277
279
|
accessibleViewKeybinding.getAriaLabel()
|
|
278
280
|
));
|
|
@@ -303,6 +305,9 @@ let InlineCompletionsController = class InlineCompletionsController extends Disp
|
|
|
303
305
|
m.jump();
|
|
304
306
|
}
|
|
305
307
|
}
|
|
308
|
+
testOnlyDisableUi() {
|
|
309
|
+
this._view.dispose();
|
|
310
|
+
}
|
|
306
311
|
};
|
|
307
312
|
InlineCompletionsController = InlineCompletionsController_1 = ( __decorate([
|
|
308
313
|
( __param(1, IInstantiationService)),
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js
CHANGED
|
@@ -130,7 +130,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
130
130
|
return ( new RenderedHoverParts([renderedHoverPart]));
|
|
131
131
|
}
|
|
132
132
|
getAccessibleContent(hoverPart) {
|
|
133
|
-
return localize(
|
|
133
|
+
return localize(1264, 'There are inline completions here');
|
|
134
134
|
}
|
|
135
135
|
renderScreenReaderText(context, part) {
|
|
136
136
|
const disposables = ( new DisposableStore());
|
|
@@ -139,7 +139,7 @@ let InlineCompletionsHoverParticipant = class InlineCompletionsHoverParticipant
|
|
|
139
139
|
const hoverContentsElement = append(markdownHoverElement, $$1('div.hover-contents', { ['aria-live']: 'assertive' }));
|
|
140
140
|
const renderer = ( new MarkdownRenderer({ editor: this._editor }, this._languageService, this._openerService));
|
|
141
141
|
const render = (code) => {
|
|
142
|
-
const inlineSuggestionAvailable = ( localize(
|
|
142
|
+
const inlineSuggestionAvailable = ( localize(1265, "Suggestion:"));
|
|
143
143
|
const renderedContents = disposables.add(renderer.render(( new MarkdownString()).appendText(inlineSuggestionAvailable).appendCodeblock('text', code), {
|
|
144
144
|
asyncRenderCallback: () => {
|
|
145
145
|
hoverContentsElement.className = 'hover-contents code-hover-contents';
|
|
@@ -34,9 +34,9 @@ import { PositionAffinity } from '../../../../common/model.js';
|
|
|
34
34
|
import { showPreviousInlineSuggestionActionId, showNextInlineSuggestionActionId } from '../controller/commandIds.js';
|
|
35
35
|
import * as inlineCompletionsHintsWidget from './inlineCompletionsHintsWidget.css';
|
|
36
36
|
import { n } from '../../../../../base/browser/domImpl/n.js';
|
|
37
|
+
import { autorunWithStore, autorun } from '../../../../../base/common/observableInternal/autorun.js';
|
|
37
38
|
import { observableFromEvent, derivedObservableWithCache } from '../../../../../base/common/observableInternal/utils.js';
|
|
38
39
|
import { derived, derivedWithStore } from '../../../../../base/common/observableInternal/derived.js';
|
|
39
|
-
import { autorunWithStore, autorun } from '../../../../../base/common/observableInternal/autorun.js';
|
|
40
40
|
|
|
41
41
|
var InlineSuggestionHintsContentWidget_1;
|
|
42
42
|
registerCss(inlineCompletionsHintsWidget);
|
|
@@ -97,8 +97,8 @@ let InlineCompletionsHintsWidget = class InlineCompletionsHintsWidget extends Di
|
|
|
97
97
|
InlineCompletionsHintsWidget = ( __decorate([
|
|
98
98
|
( __param(2, IInstantiationService))
|
|
99
99
|
], InlineCompletionsHintsWidget));
|
|
100
|
-
const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, ( localize(
|
|
101
|
-
const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, ( localize(
|
|
100
|
+
const inlineSuggestionHintsNextIcon = registerIcon('inline-suggestion-hints-next', Codicon.chevronRight, ( localize(1266, 'Icon for show next parameter hint.')));
|
|
101
|
+
const inlineSuggestionHintsPreviousIcon = registerIcon('inline-suggestion-hints-previous', Codicon.chevronLeft, ( localize(1267, 'Icon for show previous parameter hint.')));
|
|
102
102
|
let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidget extends Disposable {
|
|
103
103
|
static { InlineSuggestionHintsContentWidget_1 = this; }
|
|
104
104
|
static { this.hot = createHotClass(InlineSuggestionHintsContentWidget_1); }
|
|
@@ -116,7 +116,7 @@ let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidge
|
|
|
116
116
|
const kb = this.keybindingService.lookupKeybinding(commandId, this._contextKeyService);
|
|
117
117
|
let tooltip = label;
|
|
118
118
|
if (kb) {
|
|
119
|
-
tooltip = ( localize(
|
|
119
|
+
tooltip = ( localize(1268, '{0} ({1})', label, kb.getLabel()));
|
|
120
120
|
}
|
|
121
121
|
action.tooltip = tooltip;
|
|
122
122
|
return action;
|
|
@@ -164,9 +164,9 @@ let InlineSuggestionHintsContentWidget = class InlineSuggestionHintsContentWidge
|
|
|
164
164
|
this._warningMessageNode.element,
|
|
165
165
|
h('div@toolBar'),
|
|
166
166
|
]);
|
|
167
|
-
this.previousAction = this._register(this.createCommandAction(showPreviousInlineSuggestionActionId, ( localize(
|
|
167
|
+
this.previousAction = this._register(this.createCommandAction(showPreviousInlineSuggestionActionId, ( localize(1269, 'Previous')), ThemeIcon.asClassName(inlineSuggestionHintsPreviousIcon)));
|
|
168
168
|
this.availableSuggestionCountAction = this._register(( new Action('inlineSuggestionHints.availableSuggestionCount', '', undefined, false)));
|
|
169
|
-
this.nextAction = this._register(this.createCommandAction(showNextInlineSuggestionActionId, ( localize(
|
|
169
|
+
this.nextAction = this._register(this.createCommandAction(showNextInlineSuggestionActionId, ( localize(1270, 'Next')), ThemeIcon.asClassName(inlineSuggestionHintsNextIcon)));
|
|
170
170
|
this.inlineCompletionsActionsMenus = this._register(this._menuService.createMenu(MenuId.InlineCompletionsActions, this._contextKeyService));
|
|
171
171
|
this.clearAvailableSuggestionCountLabelDebounced = this._register(( new RunOnceScheduler(() => {
|
|
172
172
|
this.availableSuggestionCountAction.label = '';
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js
CHANGED
|
@@ -4,7 +4,7 @@ import { registerAction2 } from '../../../../platform/actions/common/actions.js'
|
|
|
4
4
|
import { wrapInHotClass1 } from '../../../../platform/observable/common/wrapInHotClass.js';
|
|
5
5
|
import { registerEditorContribution, EditorContributionInstantiation, registerEditorAction, registerEditorCommand } from '../../../browser/editorExtensions.js';
|
|
6
6
|
import { HoverParticipantRegistry } from '../../hover/browser/hoverTypes.js';
|
|
7
|
-
import { TriggerInlineSuggestionAction, ExplicitTriggerInlineEditAction, TriggerInlineEditAction, ShowNextInlineSuggestionAction, ShowPreviousInlineSuggestionAction, AcceptNextWordOfInlineCompletion, AcceptNextLineOfInlineCompletion, AcceptInlineCompletion, ToggleInlineCompletionShowCollapsed, HideInlineCompletion,
|
|
7
|
+
import { TriggerInlineSuggestionAction, ExplicitTriggerInlineEditAction, TriggerInlineEditAction, ShowNextInlineSuggestionAction, ShowPreviousInlineSuggestionAction, AcceptNextWordOfInlineCompletion, AcceptNextLineOfInlineCompletion, AcceptInlineCompletion, ToggleInlineCompletionShowCollapsed, HideInlineCompletion, JumpToNextInlineEdit, ToggleAlwaysShowInlineSuggestionToolbar, DevExtractReproSample } from './controller/commands.js';
|
|
8
8
|
import { InlineCompletionsController } from './controller/inlineCompletionsController.js';
|
|
9
9
|
import { InlineCompletionsHoverParticipant } from './hintsWidget/hoverParticipant.js';
|
|
10
10
|
import { InlineCompletionsAccessibleView } from './inlineCompletionsAccessibleView.js';
|
|
@@ -22,7 +22,6 @@ registerEditorAction(AcceptNextLineOfInlineCompletion);
|
|
|
22
22
|
registerEditorAction(AcceptInlineCompletion);
|
|
23
23
|
registerEditorAction(ToggleInlineCompletionShowCollapsed);
|
|
24
24
|
registerEditorAction(HideInlineCompletion);
|
|
25
|
-
registerEditorAction(AcceptNextInlineEditPart);
|
|
26
25
|
registerEditorAction(JumpToNextInlineEdit);
|
|
27
26
|
registerAction2(ToggleAlwaysShowInlineSuggestionToolbar);
|
|
28
27
|
registerEditorAction(DevExtractReproSample);
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts
CHANGED
|
@@ -17,13 +17,13 @@ declare class InlineCompletionsAccessibleViewContentProvider extends Disposable
|
|
|
17
17
|
private readonly _model;
|
|
18
18
|
private readonly _onDidChangeContent;
|
|
19
19
|
readonly onDidChangeContent: Event<void>;
|
|
20
|
-
constructor(_editor: ICodeEditor, _model: InlineCompletionsModel);
|
|
21
|
-
readonly id = AccessibleViewProviderId.InlineCompletions;
|
|
22
|
-
readonly verbositySettingKey = "accessibility.verbosity.inlineCompletions";
|
|
23
20
|
readonly options: {
|
|
24
21
|
language: string | undefined;
|
|
25
|
-
type: AccessibleViewType;
|
|
22
|
+
type: AccessibleViewType.View;
|
|
26
23
|
};
|
|
24
|
+
constructor(_editor: ICodeEditor, _model: InlineCompletionsModel);
|
|
25
|
+
readonly id = AccessibleViewProviderId.InlineCompletions;
|
|
26
|
+
readonly verbositySettingKey = "accessibility.verbosity.inlineCompletions";
|
|
27
27
|
provideContent(): string;
|
|
28
28
|
provideNextContent(): string | undefined;
|
|
29
29
|
providePreviousContent(): string | undefined;
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js
CHANGED
|
@@ -9,7 +9,6 @@ import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
|
9
9
|
import { TextEdit } from '../../../common/core/textEdit.js';
|
|
10
10
|
import { LineEdit } from '../../../common/core/lineEdit.js';
|
|
11
11
|
import { TextModelText } from '../../../common/model/textModelText.js';
|
|
12
|
-
import { localize } from '../../../../nls.js';
|
|
13
12
|
|
|
14
13
|
class InlineCompletionsAccessibleView {
|
|
15
14
|
constructor() {
|
|
@@ -61,7 +60,7 @@ class InlineCompletionsAccessibleViewContentProvider extends Disposable {
|
|
|
61
60
|
else {
|
|
62
61
|
const text = ( new TextModelText(this._model.textModel));
|
|
63
62
|
const lineEdit = LineEdit.fromTextEdit(( new TextEdit(state.edits)), text);
|
|
64
|
-
return
|
|
63
|
+
return lineEdit.humanReadablePatch(text.getLines());
|
|
65
64
|
}
|
|
66
65
|
}
|
|
67
66
|
provideNextContent() {
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { Disposable } from "../../../../../base/common/lifecycle.js";
|
|
2
2
|
import { IInstantiationService } from "../../../../../platform/instantiation/common/instantiation.js";
|
|
3
3
|
import { ICodeEditor } from "../../../../browser/editorBrowser.js";
|
|
4
|
+
export interface ITextModelChangeRecorderMetadata {
|
|
5
|
+
source?: string;
|
|
6
|
+
extensionId?: string;
|
|
7
|
+
nes?: boolean;
|
|
8
|
+
type?: "word" | "line";
|
|
9
|
+
}
|
|
4
10
|
export declare class TextModelChangeRecorder extends Disposable {
|
|
5
11
|
private readonly _editor;
|
|
6
12
|
private readonly _instantiationService;
|
|
13
|
+
private static _nextMetadataId;
|
|
14
|
+
private static _metaDataMap;
|
|
15
|
+
static editWithMetadata<T>(metadata: ITextModelChangeRecorderMetadata, cb: () => T): T;
|
|
16
|
+
private static _getCurrentMetadata;
|
|
7
17
|
private readonly _structuredLogger;
|
|
8
18
|
constructor(_editor: ICodeEditor, _instantiationService: IInstantiationService);
|
|
9
19
|
}
|
|
@@ -7,7 +7,29 @@ import { CodeEditorWidget } from '../../../../browser/widget/codeEditor/codeEdit
|
|
|
7
7
|
import { StructuredLogger } from '../structuredLogger.js';
|
|
8
8
|
import { autorunWithStore } from '../../../../../base/common/observableInternal/autorun.js';
|
|
9
9
|
|
|
10
|
+
var TextModelChangeRecorder_1;
|
|
10
11
|
let TextModelChangeRecorder = class TextModelChangeRecorder extends Disposable {
|
|
12
|
+
static { TextModelChangeRecorder_1 = this; }
|
|
13
|
+
static { this._nextMetadataId = 0; }
|
|
14
|
+
static { this._metaDataMap = ( new Map()); }
|
|
15
|
+
static editWithMetadata(metadata, cb) {
|
|
16
|
+
const id = this._nextMetadataId++;
|
|
17
|
+
this._metaDataMap.set(id, metadata);
|
|
18
|
+
try {
|
|
19
|
+
const result = cb();
|
|
20
|
+
return result;
|
|
21
|
+
}
|
|
22
|
+
finally {
|
|
23
|
+
this._metaDataMap.delete(id);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
static _getCurrentMetadata() {
|
|
27
|
+
const result = {};
|
|
28
|
+
for (const metadata of ( this._metaDataMap.values())) {
|
|
29
|
+
Object.assign(result, metadata);
|
|
30
|
+
}
|
|
31
|
+
return result;
|
|
32
|
+
}
|
|
11
33
|
constructor(_editor, _instantiationService) {
|
|
12
34
|
super();
|
|
13
35
|
this._editor = _editor;
|
|
@@ -31,22 +53,29 @@ let TextModelChangeRecorder = class TextModelChangeRecorder extends Disposable {
|
|
|
31
53
|
if (!tm) {
|
|
32
54
|
return;
|
|
33
55
|
}
|
|
56
|
+
const metadata = TextModelChangeRecorder_1._getCurrentMetadata();
|
|
57
|
+
if (sources.length === 0 && metadata.source) {
|
|
58
|
+
sources.push(metadata.source);
|
|
59
|
+
}
|
|
34
60
|
for (const source of sources) {
|
|
35
61
|
const data = {
|
|
62
|
+
...metadata,
|
|
36
63
|
sourceId: 'TextModel.setChangeReason',
|
|
37
64
|
source: source,
|
|
38
65
|
time: Date.now(),
|
|
39
66
|
modelUri: ( tm.uri.toString()),
|
|
40
67
|
modelVersion: tm.getVersionId(),
|
|
41
68
|
};
|
|
42
|
-
|
|
69
|
+
setTimeout(() => {
|
|
70
|
+
this._structuredLogger.log(data);
|
|
71
|
+
}, 0);
|
|
43
72
|
}
|
|
44
73
|
sources.length = 0;
|
|
45
74
|
}));
|
|
46
75
|
}));
|
|
47
76
|
}
|
|
48
77
|
};
|
|
49
|
-
TextModelChangeRecorder = ( __decorate([
|
|
78
|
+
TextModelChangeRecorder = TextModelChangeRecorder_1 = ( __decorate([
|
|
50
79
|
( __param(1, IInstantiationService))
|
|
51
80
|
], TextModelChangeRecorder));
|
|
52
81
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LineDecoration } from "../../../../common/viewLayout/lineDecorations.js";
|
|
2
2
|
import { InlineDecoration } from "../../../../common/viewModel.js";
|
|
3
|
-
import { ColumnRange } from "
|
|
3
|
+
import { ColumnRange } from "../../../../common/core/columnRange.js";
|
|
4
4
|
export declare class GhostText {
|
|
5
5
|
readonly lineNumber: number;
|
|
6
6
|
readonly parts: GhostTextPart[];
|