@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
|
@@ -2,17 +2,13 @@
|
|
|
2
2
|
import { __decorate, __param } from '../../../../../../../../../../external/tslib/tslib.es6.js';
|
|
3
3
|
import { trackFocus } from '../../../../../../../base/browser/dom.js';
|
|
4
4
|
import { renderIcon } from '../../../../../../../base/browser/ui/iconLabel/iconLabels.js';
|
|
5
|
-
import { timeout } from '../../../../../../../base/common/async.js';
|
|
6
5
|
import { Codicon } from '../../../../../../../base/common/codicons.js';
|
|
7
6
|
import { BugIndicatingError } from '../../../../../../../base/common/errors.js';
|
|
8
|
-
import { Disposable,
|
|
7
|
+
import { Disposable, DisposableStore, toDisposable } from '../../../../../../../base/common/lifecycle.js';
|
|
9
8
|
import '../../../../../../../base/common/observableInternal/index.js';
|
|
10
|
-
import { observableFromEvent, constObservable, debouncedObservable, runOnChange } from '../../../../../../../base/common/observableInternal/utils.js';
|
|
11
9
|
import { IAccessibilityService } from '../../../../../../../platform/accessibility/common/accessibility.service.js';
|
|
12
10
|
import { IHoverService } from '../../../../../../../platform/hover/browser/hover.service.js';
|
|
13
11
|
import { IInstantiationService } from '../../../../../../../platform/instantiation/common/instantiation.js';
|
|
14
|
-
import { StorageScope, StorageTarget } from '../../../../../../../platform/storage/common/storage.js';
|
|
15
|
-
import { IStorageService } from '../../../../../../../platform/storage/common/storage.service.js';
|
|
16
12
|
import { asCssVariable } from '../../../../../../../platform/theme/common/colorUtils.js';
|
|
17
13
|
import { IThemeService } from '../../../../../../../platform/theme/common/themeService.service.js';
|
|
18
14
|
import { Point } from '../../../../../../browser/point.js';
|
|
@@ -24,17 +20,12 @@ import { InlineEditTabAction } from '../inlineEditsViewInterface.js';
|
|
|
24
20
|
import { inlineEditIndicatorBackground, getEditorBlendedColor, inlineEditIndicatorsuccessfulBorder, inlineEditIndicatorsuccessfulForeground, inlineEditIndicatorsuccessfulBackground, inlineEditIndicatorPrimaryBorder, inlineEditIndicatorPrimaryForeground, inlineEditIndicatorPrimaryBackground, inlineEditIndicatorSecondaryBorder, inlineEditIndicatorSecondaryForeground, inlineEditIndicatorSecondaryBackground } from '../theme.js';
|
|
25
21
|
import { mapOutFalsy, rectToProps } from '../utils/utils.js';
|
|
26
22
|
import { GutterIndicatorMenuContent } from './gutterIndicatorMenu.js';
|
|
23
|
+
import { observableFromEvent, constObservable, debouncedObservable, runOnChange } from '../../../../../../../base/common/observableInternal/utils.js';
|
|
27
24
|
import { derived } from '../../../../../../../base/common/observableInternal/derived.js';
|
|
28
25
|
import { n } from '../../../../../../../base/browser/domImpl/n.js';
|
|
29
26
|
import { observableValue } from '../../../../../../../base/common/observableInternal/base.js';
|
|
30
|
-
import { autorun
|
|
27
|
+
import { autorun } from '../../../../../../../base/common/observableInternal/autorun.js';
|
|
31
28
|
|
|
32
|
-
var UserKind;
|
|
33
|
-
(function (UserKind) {
|
|
34
|
-
UserKind["FirstTime"] = "firstTime";
|
|
35
|
-
UserKind["SecondTime"] = "secondTime";
|
|
36
|
-
UserKind["Active"] = "active";
|
|
37
|
-
})(UserKind || (UserKind = {}));
|
|
38
29
|
let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Disposable {
|
|
39
30
|
get model() {
|
|
40
31
|
const model = this._model.get();
|
|
@@ -43,51 +34,17 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
43
34
|
}
|
|
44
35
|
return model;
|
|
45
36
|
}
|
|
46
|
-
|
|
47
|
-
return this._storageService.get('inlineEditsGutterIndicatorUserKind', StorageScope.APPLICATION, UserKind.FirstTime);
|
|
48
|
-
}
|
|
49
|
-
set _newUserType(value) {
|
|
50
|
-
switch (value) {
|
|
51
|
-
case UserKind.FirstTime:
|
|
52
|
-
throw ( new BugIndicatingError('UserKind should not be set to first time'));
|
|
53
|
-
case UserKind.SecondTime:
|
|
54
|
-
this._firstToSecondTimeUserDisposable.clear();
|
|
55
|
-
break;
|
|
56
|
-
case UserKind.Active:
|
|
57
|
-
this._newUserAnimationDisposable.clear();
|
|
58
|
-
this._firstToSecondTimeUserDisposable.clear();
|
|
59
|
-
this._secondTimeToActiveUserDisposable.clear();
|
|
60
|
-
break;
|
|
61
|
-
}
|
|
62
|
-
this._storageService.store('inlineEditsGutterIndicatorUserKind', value, StorageScope.APPLICATION, StorageTarget.USER);
|
|
63
|
-
}
|
|
64
|
-
constructor(_editorObs, _originalRange, _verticalOffset, _host, _model, _isHoveringOverInlineEdit, _focusIsInMenu, _hoverService, _instantiationService, _storageService, _accessibilityService, themeService) {
|
|
37
|
+
constructor(_editorObs, _originalRange, _verticalOffset, _model, _isHoveringOverInlineEdit, _focusIsInMenu, _hoverService, _instantiationService, _accessibilityService, themeService) {
|
|
65
38
|
super();
|
|
66
39
|
this._editorObs = _editorObs;
|
|
67
40
|
this._originalRange = _originalRange;
|
|
68
41
|
this._verticalOffset = _verticalOffset;
|
|
69
|
-
this._host = _host;
|
|
70
42
|
this._model = _model;
|
|
71
43
|
this._isHoveringOverInlineEdit = _isHoveringOverInlineEdit;
|
|
72
44
|
this._focusIsInMenu = _focusIsInMenu;
|
|
73
45
|
this._hoverService = _hoverService;
|
|
74
46
|
this._instantiationService = _instantiationService;
|
|
75
|
-
this._storageService = _storageService;
|
|
76
47
|
this._accessibilityService = _accessibilityService;
|
|
77
|
-
this._activeCompletionId = derived(reader => {
|
|
78
|
-
const layout = this._layout.read(reader);
|
|
79
|
-
if (!layout) {
|
|
80
|
-
return undefined;
|
|
81
|
-
}
|
|
82
|
-
const model = this._model.read(reader);
|
|
83
|
-
if (!model) {
|
|
84
|
-
return undefined;
|
|
85
|
-
}
|
|
86
|
-
return model.inlineEdit.inlineCompletion.id;
|
|
87
|
-
});
|
|
88
|
-
this._newUserAnimationDisposable = this._register(( new MutableDisposable()));
|
|
89
|
-
this._firstToSecondTimeUserDisposable = this._register(( new MutableDisposable()));
|
|
90
|
-
this._secondTimeToActiveUserDisposable = this._register(( new MutableDisposable()));
|
|
91
48
|
this._originalRangeObs = mapOutFalsy(this._originalRange);
|
|
92
49
|
this._state = derived(reader => {
|
|
93
50
|
const range = this._originalRangeObs.read(reader);
|
|
@@ -138,6 +95,43 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
138
95
|
}
|
|
139
96
|
return ( lineNumber.toString());
|
|
140
97
|
});
|
|
98
|
+
this._availableWidthForIcon = derived(this, reader => {
|
|
99
|
+
const textModel = this._editorObs.editor.getModel();
|
|
100
|
+
const editor = this._editorObs.editor;
|
|
101
|
+
const layout = this._editorObs.layoutInfo.read(reader);
|
|
102
|
+
const gutterWidth = layout.decorationsLeft + layout.decorationsWidth - layout.glyphMarginLeft;
|
|
103
|
+
if (!textModel || gutterWidth <= 0) {
|
|
104
|
+
return () => 0;
|
|
105
|
+
}
|
|
106
|
+
if (layout.lineNumbersLeft === 0) {
|
|
107
|
+
return () => gutterWidth;
|
|
108
|
+
}
|
|
109
|
+
const lineNumberOptions = this._editorObs.getOption(EditorOption.lineNumbers).read(reader);
|
|
110
|
+
if (lineNumberOptions.renderType === RenderLineNumbersType.Relative ||
|
|
111
|
+
lineNumberOptions.renderType === RenderLineNumbersType.Off) {
|
|
112
|
+
return () => gutterWidth;
|
|
113
|
+
}
|
|
114
|
+
const w = editor.getOption(EditorOption.fontInfo).typicalHalfwidthCharacterWidth;
|
|
115
|
+
const rightOfLineNumber = layout.lineNumbersLeft + layout.lineNumbersWidth;
|
|
116
|
+
const totalLines = textModel.getLineCount();
|
|
117
|
+
const totalLinesDigits = ( ((totalLines + 1) ).toString()).length;
|
|
118
|
+
const offsetDigits = [];
|
|
119
|
+
for (let digits = 1; digits <= totalLinesDigits; digits++) {
|
|
120
|
+
const firstLineNumberWithDigitCount = 10 ** (digits - 1);
|
|
121
|
+
const topOfLineNumber = editor.getTopForLineNumber(firstLineNumberWithDigitCount);
|
|
122
|
+
const digitsWidth = digits * w;
|
|
123
|
+
const usableWidthLeftOfLineNumber = Math.min(gutterWidth, Math.max(0, rightOfLineNumber - digitsWidth - layout.glyphMarginLeft));
|
|
124
|
+
offsetDigits.push({ firstLineNumberWithDigitCount, topOfLineNumber, usableWidthLeftOfLineNumber });
|
|
125
|
+
}
|
|
126
|
+
return (topOffset) => {
|
|
127
|
+
for (let i = offsetDigits.length - 1; i >= 0; i--) {
|
|
128
|
+
if (topOffset >= offsetDigits[i].topOfLineNumber) {
|
|
129
|
+
return offsetDigits[i].usableWidthLeftOfLineNumber;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
throw ( new BugIndicatingError('Could not find avilable width for icon'));
|
|
133
|
+
};
|
|
134
|
+
});
|
|
141
135
|
this._layout = derived(this, reader => {
|
|
142
136
|
const s = this._state.read(reader);
|
|
143
137
|
if (!s) {
|
|
@@ -145,72 +139,87 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
145
139
|
}
|
|
146
140
|
const layout = this._editorObs.layoutInfo.read(reader);
|
|
147
141
|
const lineHeight = this._editorObs.getOption(EditorOption.lineHeight).read(reader);
|
|
148
|
-
const
|
|
149
|
-
const
|
|
150
|
-
const
|
|
151
|
-
const
|
|
152
|
-
const
|
|
153
|
-
const
|
|
154
|
-
const
|
|
142
|
+
const gutterViewPortPadding = 1;
|
|
143
|
+
const gutterWidthWithoutPadding = layout.decorationsLeft + layout.decorationsWidth - layout.glyphMarginLeft - 2 * gutterViewPortPadding;
|
|
144
|
+
const gutterHeightWithoutPadding = layout.height - 2 * gutterViewPortPadding;
|
|
145
|
+
const gutterViewPortWithStickyScroll = Rect.fromLeftTopWidthHeight(gutterViewPortPadding, gutterViewPortPadding, gutterWidthWithoutPadding, gutterHeightWithoutPadding);
|
|
146
|
+
const gutterViewPortWithoutStickyScroll = gutterViewPortWithStickyScroll.withTop(this._stickyScrollHeight.read(reader) + gutterViewPortPadding);
|
|
147
|
+
const verticalEditRange = s.lineOffsetRange.read(reader);
|
|
148
|
+
const gutterEditArea = Rect.fromRanges(OffsetRange.fromTo(gutterViewPortWithoutStickyScroll.left, gutterViewPortWithoutStickyScroll.right), verticalEditRange);
|
|
149
|
+
const pillHeight = lineHeight;
|
|
155
150
|
const pillOffset = this._verticalOffset.read(reader);
|
|
156
|
-
|
|
157
|
-
const
|
|
158
|
-
const
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
)));
|
|
176
|
-
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
151
|
+
const pillFullyDockedRect = gutterEditArea.withHeight(pillHeight).translateY(pillOffset);
|
|
152
|
+
const pillIsFullyDocked = gutterViewPortWithoutStickyScroll.containsRect(pillFullyDockedRect);
|
|
153
|
+
const iconNoneDocked = ( this._tabAction.map(
|
|
154
|
+
action => action === InlineEditTabAction.Accept ? Codicon.keyboardTab : Codicon.arrowRight
|
|
155
|
+
));
|
|
156
|
+
const iconDocked = derived(reader => {
|
|
157
|
+
if (this._isHoveredOverIconDebounced.read(reader) || this._isHoveredOverInlineEditDebounced.read(reader)) {
|
|
158
|
+
return Codicon.check;
|
|
159
|
+
}
|
|
160
|
+
if (this._tabAction.read(reader) === InlineEditTabAction.Accept) {
|
|
161
|
+
return Codicon.keyboardTab;
|
|
162
|
+
}
|
|
163
|
+
const cursorLineNumber = this._editorObs.cursorLineNumber.read(reader) ?? 0;
|
|
164
|
+
const editStartLineNumber = s.range.read(reader).startLineNumber;
|
|
165
|
+
return cursorLineNumber <= editStartLineNumber ? Codicon.keyboardTabAbove : Codicon.keyboardTabBelow;
|
|
166
|
+
});
|
|
167
|
+
const idealIconWidth = 22;
|
|
168
|
+
const minimalIconWidth = 16;
|
|
169
|
+
const iconWidth = (pillRect) => {
|
|
170
|
+
const availableWidth = this._availableWidthForIcon.get()(pillRect.bottom + this._editorObs.editor.getScrollTop()) - gutterViewPortPadding;
|
|
171
|
+
return Math.max(Math.min(availableWidth, idealIconWidth), minimalIconWidth);
|
|
172
|
+
};
|
|
173
|
+
if (pillIsFullyDocked) {
|
|
174
|
+
const pillRect = pillFullyDockedRect;
|
|
175
|
+
const lineNumberWidth = Math.max(layout.lineNumbersLeft + layout.lineNumbersWidth - gutterViewPortWithStickyScroll.left, 0);
|
|
176
|
+
const lineNumberRect = pillRect.withWidth(lineNumberWidth);
|
|
177
|
+
const iconWidth = Math.max(Math.min(layout.decorationsWidth, idealIconWidth), minimalIconWidth);
|
|
178
|
+
const iconRect = pillRect.withWidth(iconWidth).translateX(lineNumberWidth);
|
|
179
|
+
return {
|
|
180
|
+
gutterEditArea,
|
|
181
|
+
icon: iconDocked,
|
|
182
|
+
iconDirection: 'right',
|
|
183
|
+
iconRect,
|
|
184
|
+
pillRect,
|
|
185
|
+
lineNumberRect,
|
|
186
|
+
};
|
|
185
187
|
}
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
188
|
+
const pillPartiallyDockedPossibleArea = gutterViewPortWithStickyScroll.intersect(gutterEditArea);
|
|
189
|
+
const pillIsPartiallyDocked = pillPartiallyDockedPossibleArea && pillPartiallyDockedPossibleArea.height >= pillHeight;
|
|
190
|
+
if (pillIsPartiallyDocked) {
|
|
191
|
+
const pillRectMoved = pillFullyDockedRect.moveToBeContainedIn(gutterViewPortWithoutStickyScroll).moveToBeContainedIn(pillPartiallyDockedPossibleArea);
|
|
192
|
+
const pillRect = pillRectMoved.withWidth(iconWidth(pillRectMoved));
|
|
193
|
+
const iconRect = pillRect;
|
|
194
|
+
return {
|
|
195
|
+
gutterEditArea,
|
|
196
|
+
icon: iconDocked,
|
|
197
|
+
iconDirection: 'right',
|
|
198
|
+
iconRect,
|
|
199
|
+
pillRect,
|
|
200
|
+
};
|
|
197
201
|
}
|
|
202
|
+
const pillRectMoved = pillFullyDockedRect.moveToBeContainedIn(gutterViewPortWithStickyScroll);
|
|
203
|
+
const pillRect = pillRectMoved.withWidth(iconWidth(pillRectMoved));
|
|
204
|
+
const iconRect = pillRect;
|
|
205
|
+
const iconDirection = pillRect.top < pillFullyDockedRect.top ?
|
|
206
|
+
'top' :
|
|
207
|
+
'bottom';
|
|
198
208
|
return {
|
|
199
|
-
|
|
200
|
-
icon,
|
|
201
|
-
|
|
202
|
-
docked,
|
|
209
|
+
gutterEditArea,
|
|
210
|
+
icon: iconNoneDocked,
|
|
211
|
+
iconDirection,
|
|
203
212
|
iconRect,
|
|
204
213
|
pillRect,
|
|
205
|
-
lineHeight,
|
|
206
|
-
lineNumberRect,
|
|
207
214
|
};
|
|
208
215
|
});
|
|
209
216
|
this._iconRef = n.ref();
|
|
217
|
+
this.isVisible = ( this._layout.map(l => !!l));
|
|
210
218
|
this._hoverVisible = observableValue(this, false);
|
|
211
219
|
this.isHoverVisible = this._hoverVisible;
|
|
212
220
|
this._isHoveredOverIcon = observableValue(this, false);
|
|
213
221
|
this._isHoveredOverIconDebounced = debouncedObservable(this._isHoveredOverIcon, 100);
|
|
222
|
+
this.isHoveredOverIcon = this._isHoveredOverIconDebounced;
|
|
214
223
|
this._tabAction = derived(this, reader => {
|
|
215
224
|
const model = this._model.read(reader);
|
|
216
225
|
if (!model) {
|
|
@@ -221,9 +230,10 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
221
230
|
this._indicator = n.div({
|
|
222
231
|
class: 'inline-edits-view-gutter-indicator',
|
|
223
232
|
onclick: () => {
|
|
224
|
-
const
|
|
233
|
+
const layout = this._layout.get();
|
|
234
|
+
const acceptOnClick = layout?.icon.get() === Codicon.check;
|
|
225
235
|
this._editorObs.editor.focus();
|
|
226
|
-
if (
|
|
236
|
+
if (acceptOnClick) {
|
|
227
237
|
this.model.accept();
|
|
228
238
|
}
|
|
229
239
|
else {
|
|
@@ -241,7 +251,7 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
241
251
|
position: 'absolute',
|
|
242
252
|
background: asCssVariable(inlineEditIndicatorBackground),
|
|
243
253
|
borderRadius: '4px',
|
|
244
|
-
...rectToProps(reader => layout.read(reader).
|
|
254
|
+
...rectToProps(reader => layout.read(reader).gutterEditArea),
|
|
245
255
|
}
|
|
246
256
|
}),
|
|
247
257
|
n.div({
|
|
@@ -252,7 +262,7 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
252
262
|
},
|
|
253
263
|
style: {
|
|
254
264
|
cursor: 'pointer',
|
|
255
|
-
zIndex: '
|
|
265
|
+
zIndex: '20',
|
|
256
266
|
position: 'absolute',
|
|
257
267
|
backgroundColor: ( this._gutterIndicatorStyles.map(v => v.background)),
|
|
258
268
|
['--vscodeIconForeground']: ( this._gutterIndicatorStyles.map(v => v.foreground)),
|
|
@@ -260,7 +270,7 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
260
270
|
boxSizing: 'border-box',
|
|
261
271
|
borderRadius: '4px',
|
|
262
272
|
display: 'flex',
|
|
263
|
-
justifyContent: '
|
|
273
|
+
justifyContent: 'flex-end',
|
|
264
274
|
transition: 'background-color 0.2s ease-in-out, width 0.2s ease-in-out',
|
|
265
275
|
...rectToProps(reader => layout.read(reader).pillRect),
|
|
266
276
|
}
|
|
@@ -268,27 +278,28 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
268
278
|
n.div({
|
|
269
279
|
className: 'line-number',
|
|
270
280
|
style: {
|
|
271
|
-
lineHeight: ( layout.map(l =>
|
|
272
|
-
display: ( layout.map(l => l.lineNumberRect
|
|
281
|
+
lineHeight: ( layout.map(l => l.lineNumberRect ? l.lineNumberRect.height : 0)),
|
|
282
|
+
display: ( layout.map(l => l.lineNumberRect ? 'flex' : 'none')),
|
|
273
283
|
alignItems: 'center',
|
|
274
284
|
justifyContent: 'flex-end',
|
|
275
|
-
width: ( layout.map(l => l.lineNumberRect.width)),
|
|
285
|
+
width: ( layout.map(l => l.lineNumberRect ? l.lineNumberRect.width : 0)),
|
|
276
286
|
height: '100%',
|
|
277
287
|
color: ( this._gutterIndicatorStyles.map(v => v.foreground)),
|
|
278
288
|
}
|
|
279
289
|
}, this._lineNumberToRender),
|
|
280
290
|
n.div({
|
|
281
291
|
style: {
|
|
282
|
-
rotate: ( layout.map(
|
|
292
|
+
rotate: ( layout.map(l => `${getRotationFromDirection(l.iconDirection)}deg`)),
|
|
283
293
|
transition: 'rotate 0.2s ease-in-out',
|
|
284
294
|
display: 'flex',
|
|
285
295
|
alignItems: 'center',
|
|
286
296
|
justifyContent: 'center',
|
|
287
297
|
height: '100%',
|
|
288
|
-
|
|
298
|
+
marginRight: ( layout.map(l => l.pillRect.width - l.iconRect.width - (l.lineNumberRect?.width ?? 0))),
|
|
299
|
+
width: ( layout.map(l => l.iconRect.width)),
|
|
289
300
|
}
|
|
290
301
|
}, [
|
|
291
|
-
( layout.map(
|
|
302
|
+
( layout.map((l, reader) => renderIcon(l.icon.read(reader)))),
|
|
292
303
|
])
|
|
293
304
|
]),
|
|
294
305
|
]))).keepUpdated(this._store);
|
|
@@ -318,6 +329,10 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
318
329
|
minContentWidthInPx: constObservable(0),
|
|
319
330
|
}));
|
|
320
331
|
this._register(this._editorObs.editor.onMouseMove((e) => {
|
|
332
|
+
const state = this._state.get();
|
|
333
|
+
if (state === undefined) {
|
|
334
|
+
return;
|
|
335
|
+
}
|
|
321
336
|
const el = this._iconRef.element;
|
|
322
337
|
const rect = el.getBoundingClientRect();
|
|
323
338
|
const rectangularArea = Rect.fromLeftTopWidthHeight(rect.left, rect.top, rect.width, rect.height);
|
|
@@ -330,87 +345,17 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
330
345
|
this._isHoveredOverInlineEditDebounced = debouncedObservable(this._isHoveringOverInlineEdit, 100);
|
|
331
346
|
this._register(runOnChange(this._isHoveredOverInlineEditDebounced, (isHovering) => {
|
|
332
347
|
if (isHovering) {
|
|
333
|
-
this.
|
|
348
|
+
this.triggerAnimation();
|
|
334
349
|
}
|
|
335
350
|
}));
|
|
336
|
-
if (this._newUserType === UserKind.Active) {
|
|
337
|
-
this._register(this.setupNewUserExperience());
|
|
338
|
-
}
|
|
339
351
|
this._register(autorun(reader => {
|
|
340
352
|
this._indicator.readEffect(reader);
|
|
341
353
|
if (this._indicator.element) {
|
|
342
354
|
this._editorObs.editor.applyFontInfo(this._indicator.element);
|
|
343
355
|
}
|
|
344
356
|
}));
|
|
345
|
-
this._register(autorunWithStore((reader, store) => {
|
|
346
|
-
const host = this._host.read(reader);
|
|
347
|
-
if (!host) {
|
|
348
|
-
return;
|
|
349
|
-
}
|
|
350
|
-
store.add(host.onDidAccept(() => {
|
|
351
|
-
this._storageService.store('inlineEditsGutterIndicatorUserKind', UserKind.Active, StorageScope.APPLICATION, StorageTarget.USER);
|
|
352
|
-
}));
|
|
353
|
-
}));
|
|
354
357
|
}
|
|
355
|
-
|
|
356
|
-
if (this._newUserType === UserKind.Active) {
|
|
357
|
-
return Disposable.None;
|
|
358
|
-
}
|
|
359
|
-
const disposableStore = ( new DisposableStore());
|
|
360
|
-
let userHasHoveredOverIcon = false;
|
|
361
|
-
let inlineEditHasBeenAccepted = false;
|
|
362
|
-
let firstTimeUserAnimationCount = 0;
|
|
363
|
-
let secondTimeUserAnimationCount = 0;
|
|
364
|
-
disposableStore.add(runOnChange(this._activeCompletionId, async (id) => {
|
|
365
|
-
if (id === undefined) {
|
|
366
|
-
return;
|
|
367
|
-
}
|
|
368
|
-
const userType = this._newUserType;
|
|
369
|
-
switch (userType) {
|
|
370
|
-
case UserKind.FirstTime: {
|
|
371
|
-
for (let i = 0; i < 3 && this._activeCompletionId.get() === id; i++) {
|
|
372
|
-
await this._triggerAnimation();
|
|
373
|
-
await timeout(500);
|
|
374
|
-
}
|
|
375
|
-
break;
|
|
376
|
-
}
|
|
377
|
-
case UserKind.SecondTime: {
|
|
378
|
-
this._triggerAnimation();
|
|
379
|
-
break;
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
switch (userType) {
|
|
383
|
-
case UserKind.FirstTime: {
|
|
384
|
-
if (++firstTimeUserAnimationCount >= 5 || userHasHoveredOverIcon) {
|
|
385
|
-
this._newUserType = UserKind.SecondTime;
|
|
386
|
-
}
|
|
387
|
-
break;
|
|
388
|
-
}
|
|
389
|
-
case UserKind.SecondTime: {
|
|
390
|
-
if (++secondTimeUserAnimationCount >= 5 && inlineEditHasBeenAccepted) {
|
|
391
|
-
this._newUserType = UserKind.Active;
|
|
392
|
-
}
|
|
393
|
-
break;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}));
|
|
397
|
-
disposableStore.add(runOnChange(this._isHoveredOverIconDebounced, async (isHovered) => {
|
|
398
|
-
if (isHovered) {
|
|
399
|
-
userHasHoveredOverIcon = true;
|
|
400
|
-
}
|
|
401
|
-
}));
|
|
402
|
-
disposableStore.add(autorunWithStore((reader, store) => {
|
|
403
|
-
const host = this._host.read(reader);
|
|
404
|
-
if (!host) {
|
|
405
|
-
return;
|
|
406
|
-
}
|
|
407
|
-
store.add(host.onDidAccept(() => {
|
|
408
|
-
inlineEditHasBeenAccepted = true;
|
|
409
|
-
}));
|
|
410
|
-
}));
|
|
411
|
-
return disposableStore;
|
|
412
|
-
}
|
|
413
|
-
_triggerAnimation() {
|
|
358
|
+
triggerAnimation() {
|
|
414
359
|
if (this._accessibilityService.isMotionReduced()) {
|
|
415
360
|
return ( new Animation(null, null)).finished;
|
|
416
361
|
}
|
|
@@ -461,11 +406,17 @@ let InlineEditsGutterIndicator = class InlineEditsGutterIndicator extends Dispos
|
|
|
461
406
|
}
|
|
462
407
|
};
|
|
463
408
|
InlineEditsGutterIndicator = ( __decorate([
|
|
464
|
-
( __param(
|
|
465
|
-
( __param(
|
|
466
|
-
( __param(
|
|
467
|
-
( __param(
|
|
468
|
-
( __param(11, IThemeService))
|
|
409
|
+
( __param(6, IHoverService)),
|
|
410
|
+
( __param(7, IInstantiationService)),
|
|
411
|
+
( __param(8, IAccessibilityService)),
|
|
412
|
+
( __param(9, IThemeService))
|
|
469
413
|
], InlineEditsGutterIndicator));
|
|
414
|
+
function getRotationFromDirection(direction) {
|
|
415
|
+
switch (direction) {
|
|
416
|
+
case 'top': return 90;
|
|
417
|
+
case 'bottom': return -90;
|
|
418
|
+
case 'right': return 0;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
470
421
|
|
|
471
422
|
export { InlineEditsGutterIndicator };
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { SingleLineEdit } from "../../../../../common/core/lineEdit.js";
|
|
2
|
+
import { LineRange } from "../../../../../common/core/lineRange.js";
|
|
2
3
|
import { Position } from "../../../../../common/core/position.js";
|
|
3
4
|
import { AbstractText, TextEdit } from "../../../../../common/core/textEdit.js";
|
|
4
5
|
import { Command } from "../../../../../common/languages.js";
|
|
5
|
-
import {
|
|
6
|
+
import { InlineSuggestionItem } from "../../model/inlineSuggestionItem.js";
|
|
6
7
|
export declare class InlineEditWithChanges {
|
|
7
8
|
readonly originalText: AbstractText;
|
|
8
9
|
readonly edit: TextEdit;
|
|
9
10
|
readonly cursorPosition: Position;
|
|
10
11
|
readonly commands: readonly Command[];
|
|
11
|
-
readonly inlineCompletion:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
readonly inlineCompletion: InlineSuggestionItem;
|
|
13
|
+
get lineEdit(): SingleLineEdit;
|
|
14
|
+
get originalLineRange(): LineRange;
|
|
15
|
+
get modifiedLineRange(): LineRange;
|
|
16
|
+
get displayRange(): LineRange;
|
|
17
|
+
constructor(originalText: AbstractText, edit: TextEdit, cursorPosition: Position, commands: readonly Command[], inlineCompletion: InlineSuggestionItem);
|
|
16
18
|
equals(other: InlineEditWithChanges): boolean;
|
|
17
19
|
}
|
|
@@ -1,16 +1,22 @@
|
|
|
1
1
|
|
|
2
2
|
import { SingleLineEdit } from '../../../../../common/core/lineEdit.js';
|
|
3
|
+
import { LineRange } from '../../../../../common/core/lineRange.js';
|
|
3
4
|
|
|
4
5
|
class InlineEditWithChanges {
|
|
6
|
+
get lineEdit() {
|
|
7
|
+
return SingleLineEdit.fromSingleTextEdit(this.edit.toSingle(this.originalText), this.originalText);
|
|
8
|
+
}
|
|
9
|
+
get originalLineRange() { return this.lineEdit.lineRange; }
|
|
10
|
+
get modifiedLineRange() { return this.lineEdit.toLineEdit().getNewLineRanges()[0]; }
|
|
11
|
+
get displayRange() {
|
|
12
|
+
return this.originalText.lineRange.intersect(this.originalLineRange.join(LineRange.ofLength(this.originalLineRange.startLineNumber, this.lineEdit.newLines.length)));
|
|
13
|
+
}
|
|
5
14
|
constructor(originalText, edit, cursorPosition, commands, inlineCompletion) {
|
|
6
15
|
this.originalText = originalText;
|
|
7
16
|
this.edit = edit;
|
|
8
17
|
this.cursorPosition = cursorPosition;
|
|
9
18
|
this.commands = commands;
|
|
10
19
|
this.inlineCompletion = inlineCompletion;
|
|
11
|
-
this.lineEdit = SingleLineEdit.fromSingleTextEdit(this.edit.toSingle(this.originalText), this.originalText);
|
|
12
|
-
this.originalLineRange = this.lineEdit.lineRange;
|
|
13
|
-
this.modifiedLineRange = this.lineEdit.toLineEdit().getNewLineRanges()[0];
|
|
14
20
|
}
|
|
15
21
|
equals(other) {
|
|
16
22
|
return this.originalText.getValue() === other.originalText.getValue() &&
|
|
@@ -2,9 +2,9 @@ import { Event } from "../../../../../../base/common/event.js";
|
|
|
2
2
|
import { IObservable } from "../../../../../../base/common/observable.js";
|
|
3
3
|
import { ICodeEditor } from "../../../../../browser/editorBrowser.js";
|
|
4
4
|
import { LineRange } from "../../../../../common/core/lineRange.js";
|
|
5
|
-
import { Command } from "../../../../../common/languages.js";
|
|
5
|
+
import { Command, InlineCompletionDisplayLocation } from "../../../../../common/languages.js";
|
|
6
6
|
import { InlineCompletionsModel } from "../../model/inlineCompletionsModel.js";
|
|
7
|
-
import {
|
|
7
|
+
import { InlineCompletionItem } from "../../model/inlineSuggestionItem.js";
|
|
8
8
|
import { IInlineEditHost, IInlineEditModel, InlineEditTabAction } from "./inlineEditsViewInterface.js";
|
|
9
9
|
import { InlineEditWithChanges } from "./inlineEditWithChanges.js";
|
|
10
10
|
export declare class InlineEditModel implements IInlineEditModel {
|
|
@@ -14,6 +14,7 @@ export declare class InlineEditModel implements IInlineEditModel {
|
|
|
14
14
|
readonly action: Command | undefined;
|
|
15
15
|
readonly displayName: string;
|
|
16
16
|
readonly extensionCommands: Command[];
|
|
17
|
+
readonly displayLocation: InlineCompletionDisplayLocation | undefined;
|
|
17
18
|
readonly showCollapsed: IObservable<boolean>;
|
|
18
19
|
constructor(_model: InlineCompletionsModel, inlineEdit: InlineEditWithChanges, tabAction: IObservable<InlineEditTabAction>);
|
|
19
20
|
accept(): void;
|
|
@@ -25,11 +26,10 @@ export declare class InlineEditHost implements IInlineEditHost {
|
|
|
25
26
|
private readonly _model;
|
|
26
27
|
readonly onDidAccept: Event<void>;
|
|
27
28
|
readonly inAcceptFlow: IObservable<boolean>;
|
|
28
|
-
readonly inPartialAcceptFlow: IObservable<boolean>;
|
|
29
29
|
constructor(_model: InlineCompletionsModel);
|
|
30
30
|
}
|
|
31
31
|
export declare class GhostTextIndicator {
|
|
32
32
|
readonly lineRange: LineRange;
|
|
33
33
|
readonly model: InlineEditModel;
|
|
34
|
-
constructor(editor: ICodeEditor, model: InlineCompletionsModel, lineRange: LineRange, inlineCompletion:
|
|
34
|
+
constructor(editor: ICodeEditor, model: InlineCompletionsModel, lineRange: LineRange, inlineCompletion: InlineCompletionItem);
|
|
35
35
|
}
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js
CHANGED
|
@@ -13,8 +13,9 @@ class InlineEditModel {
|
|
|
13
13
|
this.inlineEdit = inlineEdit;
|
|
14
14
|
this.tabAction = tabAction;
|
|
15
15
|
this.action = this.inlineEdit.inlineCompletion.action;
|
|
16
|
-
this.displayName = this.inlineEdit.inlineCompletion.source.provider.displayName ?? ( localize(
|
|
17
|
-
this.extensionCommands = this.inlineEdit.inlineCompletion.source.
|
|
16
|
+
this.displayName = this.inlineEdit.inlineCompletion.source.provider.displayName ?? ( localize(1277, "Inline Edit"));
|
|
17
|
+
this.extensionCommands = this.inlineEdit.inlineCompletion.source.inlineSuggestions.commands ?? [];
|
|
18
|
+
this.displayLocation = this.inlineEdit.inlineCompletion.displayLocation;
|
|
18
19
|
this.showCollapsed = this._model.showCollapsed;
|
|
19
20
|
}
|
|
20
21
|
accept() {
|
|
@@ -28,7 +29,7 @@ class InlineEditModel {
|
|
|
28
29
|
this._model.stop();
|
|
29
30
|
}
|
|
30
31
|
handleInlineEditShown() {
|
|
31
|
-
this._model.
|
|
32
|
+
this._model.handleInlineSuggestionShown(this.inlineEdit.inlineCompletion);
|
|
32
33
|
}
|
|
33
34
|
}
|
|
34
35
|
class InlineEditHost {
|
|
@@ -36,7 +37,6 @@ class InlineEditHost {
|
|
|
36
37
|
this._model = _model;
|
|
37
38
|
this.onDidAccept = this._model.onDidAccept;
|
|
38
39
|
this.inAcceptFlow = this._model.inAcceptFlow;
|
|
39
|
-
this.inPartialAcceptFlow = this._model.inPartialAcceptFlow;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
class GhostTextIndicator {
|
|
@@ -45,13 +45,13 @@ class GhostTextIndicator {
|
|
|
45
45
|
const editorObs = observableCodeEditor(editor);
|
|
46
46
|
const tabAction = derived(this, reader => {
|
|
47
47
|
if (editorObs.isFocused.read(reader)) {
|
|
48
|
-
if (
|
|
48
|
+
if (inlineCompletion.showInlineEditMenu) {
|
|
49
49
|
return InlineEditTabAction.Accept;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
return InlineEditTabAction.Inactive;
|
|
53
53
|
});
|
|
54
|
-
this.model = ( new InlineEditModel(model, ( new InlineEditWithChanges(( new StringText('')), ( new TextEdit([])), model.primaryPosition.get(), inlineCompletion.source.
|
|
54
|
+
this.model = ( new InlineEditModel(model, ( new InlineEditWithChanges(( new StringText('')), ( new TextEdit([inlineCompletion.getSingleTextEdit()])), model.primaryPosition.get(), inlineCompletion.source.inlineSuggestions.commands ?? [], inlineCompletion)), tabAction));
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Disposable } from "../../../../../../base/common/lifecycle.js";
|
|
2
|
+
import { IObservable } from "../../../../../../base/common/observable.js";
|
|
3
|
+
import { IConfigurationService } from "../../../../../../platform/configuration/common/configuration.service.js";
|
|
4
|
+
import { IStorageService } from "../../../../../../platform/storage/common/storage.service.js";
|
|
5
|
+
import { InlineEditsGutterIndicator } from "./components/gutterIndicatorView.js";
|
|
6
|
+
import { IInlineEditHost, IInlineEditModel } from "./inlineEditsViewInterface.js";
|
|
7
|
+
import { InlineEditsCollapsedView } from "./inlineEditsViews/inlineEditsCollapsedView.js";
|
|
8
|
+
export declare class InlineEditsOnboardingExperience extends Disposable {
|
|
9
|
+
private readonly _host;
|
|
10
|
+
private readonly _model;
|
|
11
|
+
private readonly _indicator;
|
|
12
|
+
private readonly _collapsedView;
|
|
13
|
+
private readonly _storageService;
|
|
14
|
+
private readonly _configurationService;
|
|
15
|
+
private readonly _disposables;
|
|
16
|
+
private readonly _setupDone;
|
|
17
|
+
private readonly _activeCompletionId;
|
|
18
|
+
constructor(_host: IObservable<IInlineEditHost | undefined>, _model: IObservable<IInlineEditModel | undefined>, _indicator: IObservable<InlineEditsGutterIndicator | undefined>, _collapsedView: InlineEditsCollapsedView, _storageService: IStorageService, _configurationService: IConfigurationService);
|
|
19
|
+
private setupNewUserExperience;
|
|
20
|
+
private getNewUserType;
|
|
21
|
+
private setNewUserType;
|
|
22
|
+
private _initializeDebugSetting;
|
|
23
|
+
}
|