@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
|
@@ -149,7 +149,8 @@ class RenderedLinesCollection {
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
class VisibleLinesCollection {
|
|
152
|
-
constructor(_lineFactory) {
|
|
152
|
+
constructor(_viewContext, _lineFactory) {
|
|
153
|
+
this._viewContext = _viewContext;
|
|
153
154
|
this._lineFactory = _lineFactory;
|
|
154
155
|
this.domNode = this._createDomNode();
|
|
155
156
|
this._linesCollection = ( new RenderedLinesCollection(this._lineFactory));
|
|
@@ -222,7 +223,7 @@ class VisibleLinesCollection {
|
|
|
222
223
|
}
|
|
223
224
|
renderLines(viewportData) {
|
|
224
225
|
const inp = this._linesCollection._get();
|
|
225
|
-
const renderer = ( new ViewLayerRenderer(this.domNode.domNode, this._lineFactory, viewportData));
|
|
226
|
+
const renderer = ( new ViewLayerRenderer(this.domNode.domNode, this._lineFactory, viewportData, this._viewContext));
|
|
226
227
|
const ctx = {
|
|
227
228
|
rendLineNumberStart: inp.rendLineNumberStart,
|
|
228
229
|
lines: inp.lines,
|
|
@@ -234,10 +235,11 @@ class VisibleLinesCollection {
|
|
|
234
235
|
}
|
|
235
236
|
class ViewLayerRenderer {
|
|
236
237
|
static { this._ttPolicy = createTrustedTypesPolicy('editorViewLayer', { createHTML: value => value }); }
|
|
237
|
-
constructor(_domNode, _lineFactory, _viewportData) {
|
|
238
|
+
constructor(_domNode, _lineFactory, _viewportData, _viewContext) {
|
|
238
239
|
this._domNode = _domNode;
|
|
239
240
|
this._lineFactory = _lineFactory;
|
|
240
241
|
this._viewportData = _viewportData;
|
|
242
|
+
this._viewContext = _viewContext;
|
|
241
243
|
}
|
|
242
244
|
render(inContext, startLineNumber, stopLineNumber, deltaTop) {
|
|
243
245
|
const ctx = {
|
|
@@ -297,7 +299,7 @@ class ViewLayerRenderer {
|
|
|
297
299
|
const lines = ctx.lines;
|
|
298
300
|
for (let i = startIndex; i <= endIndex; i++) {
|
|
299
301
|
const lineNumber = rendLineNumberStart + i;
|
|
300
|
-
lines[i].layoutLine(lineNumber, deltaTop[lineNumber - deltaLN], this.
|
|
302
|
+
lines[i].layoutLine(lineNumber, deltaTop[lineNumber - deltaLN], this._lineHeightForLineNumber(lineNumber));
|
|
301
303
|
}
|
|
302
304
|
}
|
|
303
305
|
_insertLinesBefore(ctx, fromLineNumber, toLineNumber, deltaTop, deltaLN) {
|
|
@@ -384,7 +386,8 @@ class ViewLayerRenderer {
|
|
|
384
386
|
if (lineDomNode) {
|
|
385
387
|
continue;
|
|
386
388
|
}
|
|
387
|
-
const
|
|
389
|
+
const renderedLineNumber = i + rendLineNumberStart;
|
|
390
|
+
const renderResult = line.renderLine(renderedLineNumber, deltaTop[i], this._lineHeightForLineNumber(renderedLineNumber), this._viewportData, sb);
|
|
388
391
|
if (!renderResult) {
|
|
389
392
|
continue;
|
|
390
393
|
}
|
|
@@ -405,7 +408,8 @@ class ViewLayerRenderer {
|
|
|
405
408
|
if (wasNew[i]) {
|
|
406
409
|
continue;
|
|
407
410
|
}
|
|
408
|
-
const
|
|
411
|
+
const renderedLineNumber = i + rendLineNumberStart;
|
|
412
|
+
const renderResult = line.renderLine(renderedLineNumber, deltaTop[i], this._lineHeightForLineNumber(renderedLineNumber), this._viewportData, sb);
|
|
409
413
|
if (!renderResult) {
|
|
410
414
|
continue;
|
|
411
415
|
}
|
|
@@ -417,6 +421,9 @@ class ViewLayerRenderer {
|
|
|
417
421
|
}
|
|
418
422
|
}
|
|
419
423
|
}
|
|
424
|
+
_lineHeightForLineNumber(lineNumber) {
|
|
425
|
+
return this._viewContext.viewLayout.getLineHeightForLineNumber(lineNumber);
|
|
426
|
+
}
|
|
420
427
|
}
|
|
421
428
|
|
|
422
429
|
export { RenderedLinesCollection, VisibleLinesCollection };
|
|
@@ -10,7 +10,7 @@ class ViewOverlays extends ViewPart {
|
|
|
10
10
|
super(context);
|
|
11
11
|
this._dynamicOverlays = [];
|
|
12
12
|
this._isFocused = false;
|
|
13
|
-
this._visibleLines = ( new VisibleLinesCollection({
|
|
13
|
+
this._visibleLines = ( new VisibleLinesCollection(this._context, {
|
|
14
14
|
createLine: () => ( new ViewOverlayLine(this._dynamicOverlays))
|
|
15
15
|
}));
|
|
16
16
|
this.domNode = this._visibleLines.domNode;
|
|
@@ -126,6 +126,8 @@ class ViewOverlayLine {
|
|
|
126
126
|
sb.appendString(String(deltaTop));
|
|
127
127
|
sb.appendString('px;height:');
|
|
128
128
|
sb.appendString(String(lineHeight));
|
|
129
|
+
sb.appendString('px;line-height:');
|
|
130
|
+
sb.appendString(String(lineHeight));
|
|
129
131
|
sb.appendString('px;">');
|
|
130
132
|
sb.appendString(result);
|
|
131
133
|
sb.appendString('</div>');
|
|
@@ -135,6 +137,7 @@ class ViewOverlayLine {
|
|
|
135
137
|
if (this._domNode) {
|
|
136
138
|
this._domNode.setTop(deltaTop);
|
|
137
139
|
this._domNode.setHeight(lineHeight);
|
|
140
|
+
this._domNode.setLineHeight(lineHeight);
|
|
138
141
|
}
|
|
139
142
|
}
|
|
140
143
|
}
|
|
@@ -133,7 +133,6 @@ class Widget {
|
|
|
133
133
|
this._fixedOverflowWidgets = options.get(EditorOption.fixedOverflowWidgets);
|
|
134
134
|
this._contentWidth = layoutInfo.contentWidth;
|
|
135
135
|
this._contentLeft = layoutInfo.contentLeft;
|
|
136
|
-
this._lineHeight = options.get(EditorOption.lineHeight);
|
|
137
136
|
this._affinity = null;
|
|
138
137
|
this._preference = [];
|
|
139
138
|
this._cachedDomNodeOffsetWidth = -1;
|
|
@@ -149,7 +148,6 @@ class Widget {
|
|
|
149
148
|
}
|
|
150
149
|
onConfigurationChanged(e) {
|
|
151
150
|
const options = this._context.configuration.options;
|
|
152
|
-
this._lineHeight = options.get(EditorOption.lineHeight);
|
|
153
151
|
if (e.hasChanged(EditorOption.layoutInfo)) {
|
|
154
152
|
const layoutInfo = options.get(EditorOption.layoutInfo);
|
|
155
153
|
this._contentLeft = layoutInfo.contentLeft;
|
|
@@ -262,11 +260,11 @@ class Widget {
|
|
|
262
260
|
return ( new Coordinate(topLeft.top, topLeft.left + this._contentLeft));
|
|
263
261
|
}
|
|
264
262
|
_getAnchorsCoordinates(ctx) {
|
|
265
|
-
const primary = getCoordinates(this._primaryAnchor.viewPosition, this._affinity
|
|
263
|
+
const primary = getCoordinates(this._primaryAnchor.viewPosition, this._affinity);
|
|
266
264
|
const secondaryViewPosition = (this._secondaryAnchor.viewPosition?.lineNumber === this._primaryAnchor.viewPosition?.lineNumber ? this._secondaryAnchor.viewPosition : null);
|
|
267
|
-
const secondary = getCoordinates(secondaryViewPosition, this._affinity
|
|
265
|
+
const secondary = getCoordinates(secondaryViewPosition, this._affinity);
|
|
268
266
|
return { primary, secondary };
|
|
269
|
-
function getCoordinates(position, affinity
|
|
267
|
+
function getCoordinates(position, affinity) {
|
|
270
268
|
if (!position) {
|
|
271
269
|
return null;
|
|
272
270
|
}
|
|
@@ -276,6 +274,7 @@ class Widget {
|
|
|
276
274
|
}
|
|
277
275
|
const left = (position.column === 1 && affinity === PositionAffinity.LeftOfInjectedText ? 0 : horizontalPosition.left);
|
|
278
276
|
const top = ctx.getVerticalOffsetForLineNumber(position.lineNumber) - ctx.scrollTop;
|
|
277
|
+
const lineHeight = ctx.getLineHeightForLineNumber(position.lineNumber);
|
|
279
278
|
return ( new AnchorCoordinate(top, left, lineHeight));
|
|
280
279
|
}
|
|
281
280
|
}
|
|
@@ -303,7 +303,8 @@ class GlyphMarginWidgets extends ViewPart {
|
|
|
303
303
|
}
|
|
304
304
|
for (let i = 0; i < this._decorationGlyphsToRender.length; i++) {
|
|
305
305
|
const dec = this._decorationGlyphsToRender[i];
|
|
306
|
-
const
|
|
306
|
+
const decLineNumber = dec.lineNumber;
|
|
307
|
+
const top = ctx.viewportData.relativeVerticalOffset[decLineNumber - ctx.viewportData.startLineNumber];
|
|
307
308
|
const left = this._glyphMarginLeft + dec.laneIndex * this._lineHeight;
|
|
308
309
|
let domNode;
|
|
309
310
|
if (i < this._managedDomNodes.length) {
|
|
@@ -314,12 +315,13 @@ class GlyphMarginWidgets extends ViewPart {
|
|
|
314
315
|
this._managedDomNodes.push(domNode);
|
|
315
316
|
this.domNode.appendChild(domNode);
|
|
316
317
|
}
|
|
318
|
+
const lineHeight = this._context.viewLayout.getLineHeightForLineNumber(decLineNumber);
|
|
317
319
|
domNode.setClassName(`cgmr codicon ` + dec.combinedClassName);
|
|
318
320
|
domNode.setPosition(`absolute`);
|
|
319
321
|
domNode.setTop(top);
|
|
320
322
|
domNode.setLeft(left);
|
|
321
323
|
domNode.setWidth(width);
|
|
322
|
-
domNode.setHeight(
|
|
324
|
+
domNode.setHeight(lineHeight);
|
|
323
325
|
}
|
|
324
326
|
while (this._managedDomNodes.length > this._decorationGlyphsToRender.length) {
|
|
325
327
|
const domNode = this._managedDomNodes.pop();
|
|
@@ -31,13 +31,12 @@ class ViewCursor {
|
|
|
31
31
|
const options = this._context.configuration.options;
|
|
32
32
|
const fontInfo = options.get(EditorOption.fontInfo);
|
|
33
33
|
this._cursorStyle = options.get(EditorOption.effectiveCursorStyle);
|
|
34
|
-
this._lineHeight = options.get(EditorOption.lineHeight);
|
|
35
34
|
this._typicalHalfwidthCharacterWidth = fontInfo.typicalHalfwidthCharacterWidth;
|
|
36
35
|
this._lineCursorWidth = Math.min(options.get(EditorOption.cursorWidth), this._typicalHalfwidthCharacterWidth);
|
|
37
36
|
this._isVisible = true;
|
|
38
37
|
this._domNode = createFastDomNode(document.createElement('div'));
|
|
39
38
|
this._domNode.setClassName(`cursor ${MOUSE_CURSOR_TEXT_CSS_CLASS_NAME}`);
|
|
40
|
-
this._domNode.setHeight(this.
|
|
39
|
+
this._domNode.setHeight(this._context.viewLayout.getLineHeightForLineNumber(1));
|
|
41
40
|
this._domNode.setTop(0);
|
|
42
41
|
this._domNode.setLeft(0);
|
|
43
42
|
applyFontInfo(this._domNode, fontInfo);
|
|
@@ -84,7 +83,6 @@ class ViewCursor {
|
|
|
84
83
|
const options = this._context.configuration.options;
|
|
85
84
|
const fontInfo = options.get(EditorOption.fontInfo);
|
|
86
85
|
this._cursorStyle = options.get(EditorOption.effectiveCursorStyle);
|
|
87
|
-
this._lineHeight = options.get(EditorOption.lineHeight);
|
|
88
86
|
this._typicalHalfwidthCharacterWidth = fontInfo.typicalHalfwidthCharacterWidth;
|
|
89
87
|
this._lineCursorWidth = Math.min(options.get(EditorOption.cursorWidth), this._typicalHalfwidthCharacterWidth);
|
|
90
88
|
applyFontInfo(this._domNode, fontInfo);
|
|
@@ -134,12 +132,13 @@ class ViewCursor {
|
|
|
134
132
|
left -= paddingLeft;
|
|
135
133
|
}
|
|
136
134
|
const top = ctx.getVerticalOffsetForLineNumber(position.lineNumber) - ctx.bigNumbersDelta;
|
|
135
|
+
const lineHeight = this._context.viewLayout.getLineHeightForLineNumber(position.lineNumber);
|
|
137
136
|
return ( new ViewCursorRenderData(
|
|
138
137
|
top,
|
|
139
138
|
left,
|
|
140
139
|
paddingLeft,
|
|
141
140
|
width,
|
|
142
|
-
|
|
141
|
+
lineHeight,
|
|
143
142
|
textContent,
|
|
144
143
|
textContentClassName
|
|
145
144
|
));
|
|
@@ -168,9 +167,10 @@ class ViewCursor {
|
|
|
168
167
|
textContentClassName = this._getTokenClassName(position);
|
|
169
168
|
}
|
|
170
169
|
let top = ctx.getVerticalOffsetForLineNumber(position.lineNumber) - ctx.bigNumbersDelta;
|
|
171
|
-
|
|
170
|
+
const lineHeight = this._context.viewLayout.getLineHeightForLineNumber(position.lineNumber);
|
|
171
|
+
let height = lineHeight;
|
|
172
172
|
if (this._cursorStyle === TextEditorCursorStyle.Underline || this._cursorStyle === TextEditorCursorStyle.UnderlineThin) {
|
|
173
|
-
top +=
|
|
173
|
+
top += lineHeight - 2;
|
|
174
174
|
height = 2;
|
|
175
175
|
}
|
|
176
176
|
return ( new ViewCursorRenderData(top, range.left, 0, width, height, textContent, textContentClassName));
|
|
@@ -130,6 +130,8 @@ class ViewLine {
|
|
|
130
130
|
sb.appendString(String(deltaTop));
|
|
131
131
|
sb.appendString('px;height:');
|
|
132
132
|
sb.appendString(String(lineHeight));
|
|
133
|
+
sb.appendString('px;line-height:');
|
|
134
|
+
sb.appendString(String(lineHeight));
|
|
133
135
|
sb.appendString('px;" class="');
|
|
134
136
|
sb.appendString(ViewLine.CLASS_NAME);
|
|
135
137
|
sb.appendString('">');
|
|
@@ -153,6 +155,7 @@ class ViewLine {
|
|
|
153
155
|
if (this._renderedViewLine && this._renderedViewLine.domNode) {
|
|
154
156
|
this._renderedViewLine.domNode.setTop(deltaTop);
|
|
155
157
|
this._renderedViewLine.domNode.setHeight(lineHeight);
|
|
158
|
+
this._renderedViewLine.domNode.setLineHeight(lineHeight);
|
|
156
159
|
}
|
|
157
160
|
}
|
|
158
161
|
getWidth(context) {
|
|
@@ -81,7 +81,7 @@ class ViewLines extends ViewPart {
|
|
|
81
81
|
this._viewLineOptions = ( new ViewLineOptions(conf, this._context.theme.type));
|
|
82
82
|
this._linesContent = linesContent;
|
|
83
83
|
this._textRangeRestingSpot = document.createElement('div');
|
|
84
|
-
this._visibleLines = ( new VisibleLinesCollection({
|
|
84
|
+
this._visibleLines = ( new VisibleLinesCollection(this._context, {
|
|
85
85
|
createLine: () => ( new ViewLine(viewGpuContext, this._viewLineOptions)),
|
|
86
86
|
}));
|
|
87
87
|
this.domNode = this._visibleLines.domNode;
|
|
@@ -327,7 +327,7 @@ class ViewLines extends ViewPart {
|
|
|
327
327
|
continue;
|
|
328
328
|
}
|
|
329
329
|
const startColumn = lineNumber === range.startLineNumber ? range.startColumn : 1;
|
|
330
|
-
const continuesInNextLine = lineNumber !==
|
|
330
|
+
const continuesInNextLine = lineNumber !== originalEndLineNumber;
|
|
331
331
|
const endColumn = continuesInNextLine ? this._context.viewModel.getLineMaxColumn(lineNumber) : range.endColumn;
|
|
332
332
|
const visibleRangesForLine = this._visibleLines.getVisibleLine(lineNumber).getVisibleRangesForRange(lineNumber, startColumn, endColumn, domReadingContext);
|
|
333
333
|
if (!visibleRangesForLine) {
|
|
@@ -392,7 +392,7 @@ let ViewLinesGpu = class ViewLinesGpu extends ViewPart {
|
|
|
392
392
|
continue;
|
|
393
393
|
}
|
|
394
394
|
const startColumn = lineNumber === range.startLineNumber ? range.startColumn : 1;
|
|
395
|
-
const continuesInNextLine = lineNumber !==
|
|
395
|
+
const continuesInNextLine = lineNumber !== originalEndLineNumber;
|
|
396
396
|
const endColumn = continuesInNextLine ? this._context.viewModel.getLineMaxColumn(lineNumber) : range.endColumn;
|
|
397
397
|
const visibleRangesForLine = this._visibleRangesForLineRange(lineNumber, startColumn, endColumn);
|
|
398
398
|
if (!visibleRangesForLine) {
|
|
@@ -112,7 +112,7 @@ class WhitespaceOverlay extends DynamicViewOverlay {
|
|
|
112
112
|
const fauxIndentLength = lineData.minColumn - 1;
|
|
113
113
|
const onlyBoundary = (this._options.renderWhitespace === 'boundary');
|
|
114
114
|
const onlyTrailing = (this._options.renderWhitespace === 'trailing');
|
|
115
|
-
const lineHeight =
|
|
115
|
+
const lineHeight = ctx.getLineHeightForLineNumber(lineNumber);
|
|
116
116
|
const middotWidth = this._options.middotWidth;
|
|
117
117
|
const wsmiddotWidth = this._options.wsmiddotWidth;
|
|
118
118
|
const spaceWidth = this._options.spaceWidth;
|
|
@@ -19,7 +19,7 @@ import * as editorCommon from "../../../common/editorCommon.js";
|
|
|
19
19
|
import { ILanguageConfigurationService } from "../../../common/languages/languageConfigurationRegistry.service.js";
|
|
20
20
|
import { IAttachedView, ICursorStateComputer, IIdentifiedSingleEditOperation, IModelDecoration, IModelDecorationsChangeAccessor, IModelDeltaDecoration, ITextModel } from "../../../common/model.js";
|
|
21
21
|
import { ILanguageFeaturesService } from "../../../common/services/languageFeatures.service.js";
|
|
22
|
-
import { IModelContentChangedEvent, IModelDecorationsChangedEvent, IModelLanguageChangedEvent, IModelLanguageConfigurationChangedEvent, IModelOptionsChangedEvent, IModelTokensChangedEvent } from "../../../common/textModelEvents.js";
|
|
22
|
+
import { IModelContentChangedEvent, IModelDecorationsChangedEvent, IModelLanguageChangedEvent, IModelLanguageConfigurationChangedEvent, IModelOptionsChangedEvent, IModelTokensChangedEvent, ModelLineHeightChangedEvent } from "../../../common/textModelEvents.js";
|
|
23
23
|
import { IEditorWhitespace, IViewModel } from "../../../common/viewModel.js";
|
|
24
24
|
import { ViewModel } from "../../../common/viewModel/viewModelImpl.js";
|
|
25
25
|
import { IAccessibilityService } from "../../../../platform/accessibility/common/accessibility.service.js";
|
|
@@ -47,6 +47,8 @@ export declare class CodeEditorWidget extends Disposable implements editorBrowse
|
|
|
47
47
|
readonly onDidChangeModelOptions: Event<IModelOptionsChangedEvent>;
|
|
48
48
|
private readonly _onDidChangeModelDecorations;
|
|
49
49
|
readonly onDidChangeModelDecorations: Event<IModelDecorationsChangedEvent>;
|
|
50
|
+
private readonly _onDidChangeLineHeight;
|
|
51
|
+
readonly onDidChangeLineHeight: Event<ModelLineHeightChangedEvent>;
|
|
50
52
|
private readonly _onDidChangeModelTokens;
|
|
51
53
|
readonly onDidChangeModelTokens: Event<IModelTokensChangedEvent>;
|
|
52
54
|
private readonly _onDidChangeConfiguration;
|
|
@@ -179,6 +181,7 @@ export declare class CodeEditorWidget extends Disposable implements editorBrowse
|
|
|
179
181
|
getTopForPosition(lineNumber: number, column: number): number;
|
|
180
182
|
private static _getVerticalOffsetForPosition;
|
|
181
183
|
getBottomForLineNumber(lineNumber: number, includeViewZones?: boolean): number;
|
|
184
|
+
getLineHeightForLineNumber(lineNumber: number): number;
|
|
182
185
|
setHiddenAreas(ranges: IRange[], source?: unknown, forceUpdate?: boolean): void;
|
|
183
186
|
getVisibleColumnFromPosition(rawPosition: IPosition): number;
|
|
184
187
|
getStatusbarColumn(rawPosition: IPosition): number;
|
|
@@ -255,7 +258,7 @@ export declare class CodeEditorWidget extends Disposable implements editorBrowse
|
|
|
255
258
|
getDecorationsInRange(range: Range): IModelDecoration[] | null;
|
|
256
259
|
deltaDecorations(oldDecorations: string[], newDecorations: IModelDeltaDecoration[]): string[];
|
|
257
260
|
removeDecorations(decorationIds: string[]): void;
|
|
258
|
-
setDecorationsByType(description: string, decorationTypeKey: string, decorationOptions: editorCommon.IDecorationOptions[]):
|
|
261
|
+
setDecorationsByType(description: string, decorationTypeKey: string, decorationOptions: editorCommon.IDecorationOptions[]): readonly string[];
|
|
259
262
|
setDecorationsByTypeFast(decorationTypeKey: string, ranges: IRange[]): void;
|
|
260
263
|
removeDecorationsByType(decorationTypeKey: string): void;
|
|
261
264
|
getLayoutInfo(): EditorLayoutInfo;
|
|
@@ -94,6 +94,8 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
94
94
|
this.onDidChangeModelOptions = this._onDidChangeModelOptions.event;
|
|
95
95
|
this._onDidChangeModelDecorations = this._register(( new Emitter({ deliveryQueue: this._deliveryQueue })));
|
|
96
96
|
this.onDidChangeModelDecorations = this._onDidChangeModelDecorations.event;
|
|
97
|
+
this._onDidChangeLineHeight = this._register(( new Emitter({ deliveryQueue: this._deliveryQueue })));
|
|
98
|
+
this.onDidChangeLineHeight = this._onDidChangeLineHeight.event;
|
|
97
99
|
this._onDidChangeModelTokens = this._register(( new Emitter({ deliveryQueue: this._deliveryQueue })));
|
|
98
100
|
this.onDidChangeModelTokens = this._onDidChangeModelTokens.event;
|
|
99
101
|
this._onDidChangeConfiguration = this._register(( new Emitter({ deliveryQueue: this._deliveryQueue })));
|
|
@@ -456,6 +458,13 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
456
458
|
const maxCol = this._modelData.model.getLineMaxColumn(lineNumber);
|
|
457
459
|
return CodeEditorWidget_1._getVerticalOffsetAfterPosition(this._modelData, lineNumber, maxCol, includeViewZones);
|
|
458
460
|
}
|
|
461
|
+
getLineHeightForLineNumber(lineNumber) {
|
|
462
|
+
if (!this._modelData) {
|
|
463
|
+
return -1;
|
|
464
|
+
}
|
|
465
|
+
const viewPosition = this._modelData.viewModel.coordinatesConverter.convertModelPositionToViewPosition(( new Position(lineNumber, 1)));
|
|
466
|
+
return this._modelData.viewModel.viewLayout.getLineHeightForLineNumber(viewPosition.lineNumber);
|
|
467
|
+
}
|
|
459
468
|
setHiddenAreas(ranges, source, forceUpdate) {
|
|
460
469
|
this._modelData?.viewModel.setHiddenAreas(( ranges.map(r => Range.lift(r))), source, forceUpdate);
|
|
461
470
|
}
|
|
@@ -1021,6 +1030,7 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1021
1030
|
}
|
|
1022
1031
|
const oldDecorationsIds = this._decorationTypeKeysToIds[decorationTypeKey] || [];
|
|
1023
1032
|
this.changeDecorations(accessor => this._decorationTypeKeysToIds[decorationTypeKey] = accessor.deltaDecorations(oldDecorationsIds, newModelDecorations));
|
|
1033
|
+
return this._decorationTypeKeysToIds[decorationTypeKey] || [];
|
|
1024
1034
|
}
|
|
1025
1035
|
setDecorationsByTypeFast(decorationTypeKey, ranges) {
|
|
1026
1036
|
const oldDecorationsSubTypes = this._decorationTypeSubtypes[decorationTypeKey] || {};
|
|
@@ -1224,10 +1234,11 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1224
1234
|
const layoutInfo = options.get(EditorOption.layoutInfo);
|
|
1225
1235
|
const top = CodeEditorWidget_1._getVerticalOffsetForPosition(this._modelData, position.lineNumber, position.column) - this.getScrollTop();
|
|
1226
1236
|
const left = this._modelData.view.getOffsetForColumn(position.lineNumber, position.column) + layoutInfo.glyphMarginWidth + layoutInfo.lineNumbersWidth + layoutInfo.decorationsWidth - this.getScrollLeft();
|
|
1237
|
+
const height = this.getLineHeightForLineNumber(position.lineNumber);
|
|
1227
1238
|
return {
|
|
1228
1239
|
top: top,
|
|
1229
1240
|
left: left,
|
|
1230
|
-
height
|
|
1241
|
+
height
|
|
1231
1242
|
};
|
|
1232
1243
|
}
|
|
1233
1244
|
getOffsetForColumn(lineNumber, column) {
|
|
@@ -1386,6 +1397,9 @@ let CodeEditorWidget = class CodeEditorWidget extends Disposable {
|
|
|
1386
1397
|
case OutgoingViewModelEventKind.ModelTokensChanged:
|
|
1387
1398
|
this._onDidChangeModelTokens.fire(e.event);
|
|
1388
1399
|
break;
|
|
1400
|
+
case OutgoingViewModelEventKind.ModelLineHeightChanged:
|
|
1401
|
+
this._onDidChangeLineHeight.fire(e.event);
|
|
1402
|
+
break;
|
|
1389
1403
|
}
|
|
1390
1404
|
}));
|
|
1391
1405
|
const [view, hasRealView] = this._createView(viewModel);
|
|
@@ -43,12 +43,14 @@ let DiffEditorEditors = class DiffEditorEditors extends Disposable {
|
|
|
43
43
|
this.isFocused = derived(this, reader => this.isOriginalFocused.read(reader) || this.isModifiedFocused.read(reader));
|
|
44
44
|
this._argCodeEditorWidgetOptions = null;
|
|
45
45
|
this._register(autorunHandleChanges({
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
changeTracker: {
|
|
47
|
+
createChangeSummary: () => ({}),
|
|
48
|
+
handleChange: (ctx, changeSummary) => {
|
|
49
|
+
if (ctx.didChange(_options.editorOptions)) {
|
|
50
|
+
Object.assign(changeSummary, ctx.change.changedOptions);
|
|
51
|
+
}
|
|
52
|
+
return true;
|
|
50
53
|
}
|
|
51
|
-
return true;
|
|
52
54
|
}
|
|
53
55
|
}, (reader, changeSummary) => {
|
|
54
56
|
_options.editorOptions.read(reader);
|
|
@@ -24,7 +24,7 @@ export declare class DiffEditorOptions {
|
|
|
24
24
|
readonly maxComputationTimeMs: IObservable<number>;
|
|
25
25
|
readonly showMoves: IObservable<boolean>;
|
|
26
26
|
readonly isInEmbeddedEditor: IObservable<boolean>;
|
|
27
|
-
readonly diffWordWrap: IObservable<"
|
|
27
|
+
readonly diffWordWrap: IObservable<"on" | "inherit" | "off">;
|
|
28
28
|
readonly originalEditable: IObservable<boolean>;
|
|
29
29
|
readonly diffCodeLens: IObservable<boolean>;
|
|
30
30
|
readonly accessibilityVerbose: IObservable<boolean>;
|
|
@@ -156,15 +156,17 @@ class MovedBlocksLinesFeature extends Disposable {
|
|
|
156
156
|
const modifiedHasFocus = observableSignalFromEvent('modified.onDidFocusEditorWidget', e => this._editors.modified.onDidFocusEditorWidget(() => setTimeout(() => e(undefined), 0)));
|
|
157
157
|
let lastChangedEditor = 'modified';
|
|
158
158
|
this._register(autorunHandleChanges({
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
159
|
+
changeTracker: {
|
|
160
|
+
createChangeSummary: () => undefined,
|
|
161
|
+
handleChange: (ctx, summary) => {
|
|
162
|
+
if (ctx.didChange(originalHasFocus)) {
|
|
163
|
+
lastChangedEditor = 'original';
|
|
164
|
+
}
|
|
165
|
+
if (ctx.didChange(modifiedHasFocus)) {
|
|
166
|
+
lastChangedEditor = 'modified';
|
|
167
|
+
}
|
|
168
|
+
return true;
|
|
163
169
|
}
|
|
164
|
-
if (ctx.didChange(modifiedHasFocus)) {
|
|
165
|
-
lastChangedEditor = 'modified';
|
|
166
|
-
}
|
|
167
|
-
return true;
|
|
168
170
|
}
|
|
169
171
|
}, reader => {
|
|
170
172
|
originalHasFocus.read(reader);
|
|
@@ -112,12 +112,14 @@ function animatedObservable(targetWindow, base, store) {
|
|
|
112
112
|
const durationMs = 300;
|
|
113
113
|
let animationFrame = undefined;
|
|
114
114
|
store.add(autorunHandleChanges({
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
changeTracker: {
|
|
116
|
+
createChangeSummary: () => ({ animate: false }),
|
|
117
|
+
handleChange: (ctx, s) => {
|
|
118
|
+
if (ctx.didChange(base)) {
|
|
119
|
+
s.animate = s.animate || ctx.change;
|
|
120
|
+
}
|
|
121
|
+
return true;
|
|
119
122
|
}
|
|
120
|
-
return true;
|
|
121
123
|
}
|
|
122
124
|
}, (reader, s) => {
|
|
123
125
|
if (animationFrame !== undefined) {
|
|
@@ -236,16 +238,18 @@ function applyViewZones(editor, viewZones, setIsUpdating, zoneIds) {
|
|
|
236
238
|
setIsUpdating(false);
|
|
237
239
|
}
|
|
238
240
|
store.add(autorunHandleChanges({
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
241
|
+
changeTracker: {
|
|
242
|
+
createChangeSummary() {
|
|
243
|
+
return { zoneIds: [] };
|
|
244
|
+
},
|
|
245
|
+
handleChange(context, changeSummary) {
|
|
246
|
+
const id = viewZoneIdPerOnChangeObservable.get(context.changedObservable);
|
|
247
|
+
if (id !== undefined) {
|
|
248
|
+
changeSummary.zoneIds.push(id);
|
|
249
|
+
}
|
|
250
|
+
return true;
|
|
251
|
+
},
|
|
252
|
+
}
|
|
249
253
|
}, (reader, changeSummary) => {
|
|
250
254
|
for (const vz of curViewZones) {
|
|
251
255
|
if (vz.onChange) {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { FrontMatterArray } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/frontMatterCodec/tokens/frontMatterArray";
|
|
2
|
+
export { FrontMatterString } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/frontMatterCodec/tokens/frontMatterString";
|
|
3
|
+
export { FrontMatterBoolean } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/frontMatterCodec/tokens/frontMatterBoolean";
|
|
4
|
+
export { FrontMatterToken, FrontMatterValueToken } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/frontMatterCodec/tokens/frontMatterToken";
|
|
5
|
+
export { FrontMatterRecordName, FrontMatterRecordDelimiter, FrontMatterRecord, type TNameToken as TRecordNameToken, type TSpaceToken as TRecordSpaceToken, } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/frontMatterCodec/tokens/frontMatterRecord";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export { At } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/at";
|
|
2
|
+
export { Tab } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/tab";
|
|
3
|
+
export { Dash } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/dash";
|
|
4
|
+
export { Hash } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/hash";
|
|
5
|
+
export { Word } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/word";
|
|
6
|
+
export { Colon } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/colon";
|
|
7
|
+
export { Quote } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/quote";
|
|
8
|
+
export { Slash } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/slash";
|
|
9
|
+
export { Space } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/space";
|
|
10
|
+
export { Comma } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/comma";
|
|
11
|
+
export { FormFeed } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/formFeed";
|
|
12
|
+
export { DollarSign } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/dollarSign";
|
|
13
|
+
export { VerticalTab } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/verticalTab";
|
|
14
|
+
export { SimpleToken } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/simpleToken";
|
|
15
|
+
export { DoubleQuote } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/doubleQuote";
|
|
16
|
+
export { ExclamationMark } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/exclamationMark";
|
|
17
|
+
export { type TBracket, LeftBracket, RightBracket } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/brackets";
|
|
18
|
+
export { type TCurlyBrace, LeftCurlyBrace, RightCurlyBrace } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/curlyBraces";
|
|
19
|
+
export { type TParenthesis, LeftParenthesis, RightParenthesis } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/parentheses";
|
|
20
|
+
export { type TAngleBracket, LeftAngleBracket, RightAngleBracket } from "@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/editor/common/codecs/simpleCodec/tokens/angleBrackets";
|