@codingame/monaco-vscode-api 16.1.1 → 17.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +105 -0
- package/monaco.d.ts +2 -2
- package/package.json +10 -9
- package/services.d.ts +4 -4
- package/services.js +3 -3
- package/vscode/product.json.js +3 -0
- package/vscode/src/vs/base/browser/dom.d.ts +1 -0
- package/vscode/src/vs/base/browser/dom.js +6 -1
- package/vscode/src/vs/base/browser/mouseEvent.d.ts +2 -0
- package/vscode/src/vs/base/browser/mouseEvent.js +1 -0
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.d.ts +2 -3
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hover.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +6 -1
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/severityIcon/media/severityIcon.css +1 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +5 -1
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +17 -4
- package/vscode/src/vs/base/common/arrays.d.ts +1 -0
- package/vscode/src/vs/base/common/arrays.js +5 -2
- package/vscode/src/vs/base/common/async.js +9 -2
- package/vscode/src/vs/base/common/codicons.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +5 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +5 -0
- package/vscode/src/vs/base/common/color.d.ts +1 -0
- package/vscode/src/vs/base/common/color.js +10 -0
- package/vscode/src/vs/base/common/comparers.d.ts +2 -2
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/glob.d.ts +3 -0
- package/vscode/src/vs/base/common/glob.js +10 -1
- package/vscode/src/vs/base/common/marshallingIds.d.ts +2 -1
- package/vscode/src/vs/base/common/marshallingIds.js +1 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +6 -8
- package/vscode/src/vs/base/common/observableInternal/autorun.js +15 -11
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +0 -10
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +23 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.js +30 -0
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +18 -13
- package/vscode/src/vs/base/common/observableInternal/derived.js +47 -18
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +6 -5
- package/vscode/src/vs/base/common/observableInternal/index.js +2 -2
- package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/promise.d.ts +28 -0
- package/vscode/src/vs/base/common/observableInternal/promise.js +65 -0
- package/vscode/src/vs/base/common/observableInternal/reducer.d.ts +16 -0
- package/vscode/src/vs/base/common/observableInternal/reducer.js +36 -0
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +2 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +19 -11
- package/vscode/src/vs/base/common/product.d.ts +5 -0
- package/vscode/src/vs/base/common/sseParser.d.ts +26 -0
- package/vscode/src/vs/base/common/sseParser.js +134 -0
- package/vscode/src/vs/base/common/stopwatch.js +2 -2
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +8 -19
- package/vscode/src/vs/base/common/ternarySearchTree.d.ts +1 -0
- package/vscode/src/vs/base/common/ternarySearchTree.js +55 -13
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +1 -0
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +3 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +6 -3
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +86 -54
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +12 -8
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.d.ts +0 -1
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +9 -6
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +3 -3
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +2 -2
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +8 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +6 -1
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +1 -0
- package/vscode/src/vs/editor/browser/view/renderingContext.js +3 -0
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +3 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +13 -6
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +4 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +4 -5
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +4 -2
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +0 -1
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +6 -6
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +3 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +5 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +15 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +7 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +10 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +19 -15
- package/vscode/src/vs/editor/common/codecs/frontMatterCodec/tokens/index.d.ts +5 -0
- package/vscode/src/vs/editor/common/codecs/simpleCodec/tokens/index.d.ts +20 -0
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +24 -23
- package/vscode/src/vs/editor/common/config/editorOptions.js +1 -2
- package/vscode/src/vs/editor/common/core/columnRange.d.ts +11 -0
- package/vscode/src/vs/editor/common/core/columnRange.js +32 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.js +10 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -0
- package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +15 -3
- package/vscode/src/vs/editor/common/core/positionToOffset.js +45 -11
- package/vscode/src/vs/editor/common/core/rangeSingleLine.d.ts +9 -0
- package/vscode/src/vs/editor/common/core/rangeSingleLine.js +27 -0
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/textEdit.js +41 -0
- package/vscode/src/vs/editor/common/editorCommon.d.ts +1 -0
- package/vscode/src/vs/editor/common/languages/modesRegistry.d.ts +2 -2
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +4 -2
- package/vscode/src/vs/editor/common/languages.d.ts +22 -1
- package/vscode/src/vs/editor/common/languages.js +7 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +5 -1
- package/vscode/src/vs/editor/common/model/textModel.js +80 -18
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/model.d.ts +2 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +5 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +7 -1
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +11 -0
- package/vscode/src/vs/editor/common/textModelEvents.js +14 -1
- package/vscode/src/vs/editor/common/tokens/common.d.ts +7 -0
- package/vscode/src/vs/editor/common/tokens/common.js +18 -0
- package/vscode/src/vs/editor/common/tokens/contiguousTokensEditing.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +3 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.d.ts +2 -0
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +20 -0
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.d.ts +2 -1
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +9 -4
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +1 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +4 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +25 -0
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.js +73 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.d.ts +35 -0
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +339 -0
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.d.ts +8 -6
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +42 -49
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.d.ts +6 -3
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +16 -5
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +1 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +44 -7
- package/vscode/src/vs/editor/common/viewModel.d.ts +5 -0
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.d.ts +11 -3
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +14 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +20 -14
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +3 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +3 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +4 -3
- package/vscode/src/vs/editor/contrib/find/browser/findController.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +5 -11
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +1 -7
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +2 -15
- package/vscode/src/vs/editor/contrib/folding/browser/folding.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +24 -23
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +5 -5
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +14 -12
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +21 -21
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +0 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +29 -41
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +11 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +31 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +16 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +156 -202
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +21 -49
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +135 -431
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +98 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +487 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +34 -32
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +141 -132
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +26 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +2 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +21 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +19 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +17 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +5 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +139 -188
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +8 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +9 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.d.ts +23 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.js +157 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +37 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewInterface.d.ts +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.d.ts +6 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +28 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +215 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +0 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +22 -21
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +23 -49
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +8 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +24 -14
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +19 -18
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +5 -10
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +2 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +3 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +23 -14
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +2 -0
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +17 -3
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +6 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +2 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -1
- package/vscode/src/vs/platform/actions/common/actions.js +2 -0
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.d.ts +1 -0
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +3 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +1 -0
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +15 -13
- package/vscode/src/vs/platform/configuration/common/configurations.js +1 -1
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +5 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.js +6 -2
- package/vscode/src/vs/platform/editor/common/editor.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +8 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +94 -4
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +10 -7
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +10 -11
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +7 -6
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +9 -8
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/jsonschemas/common/jsonContributionRegistry.js +5 -4
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/vscode/src/vs/platform/label/common/label.service.d.ts +1 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markerService.d.ts +2 -7
- package/vscode/src/vs/platform/markers/common/markerService.js +5 -5
- package/vscode/src/vs/platform/markers/common/markers.d.ts +7 -0
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/markers/common/markers.service.d.ts +2 -7
- package/vscode/src/vs/platform/native/common/native.d.ts +168 -0
- package/vscode/src/vs/platform/notification/common/notification.d.ts +6 -2
- package/vscode/src/vs/platform/notification/common/notification.js +3 -2
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +2 -3
- package/vscode/src/vs/platform/product/common/product.js +7 -90
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +4 -19
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +6 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +33 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.d.ts +2 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +6 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +25 -18
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.d.ts +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +58 -43
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +1 -1
- package/vscode/src/vs/platform/registry/common/platform.js +9 -1
- package/vscode/src/vs/platform/request/common/request.d.ts +1 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/request/common/request.service.d.ts +1 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +14 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +14 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.d.ts +1 -2
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +4 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.d.ts +7 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +12 -4
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +94 -94
- package/vscode/src/vs/platform/theme/common/colors/inputColors.d.ts +2 -0
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +49 -47
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +10 -8
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +0 -8
- package/vscode/src/vs/platform/theme/common/themeService.js +4 -3
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -2
- package/vscode/src/vs/platform/window/common/window.d.ts +4 -0
- package/vscode/src/vs/platform/window/common/window.js +2 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +27 -20
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +54 -19
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostAiSettingsSearch.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostAiSettingsSearch.js +38 -0
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +30 -17
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +0 -1
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +15 -4
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +4 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +31 -6
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +2 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +60 -14
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +15 -9
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +4 -3
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +279 -82
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.d.ts +2 -1
- package/vscode/src/vs/workbench/api/common/extHostQuickDiff.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostRequireInterceptor.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +21 -0
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +27 -9
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +201 -29
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +67 -27
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +79 -28
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +7 -4
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +34 -9
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.d.ts +1 -0
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -0
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +10 -16
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +3 -0
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -71
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.d.ts +13 -9
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +160 -160
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +164 -147
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +245 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +435 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +6 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +51 -49
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +19 -26
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +16 -23
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +585 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +1179 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +116 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +211 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +19 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatTransferService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +12 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +33 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +14 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +18 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/promptHeader/metadata/index.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +14 -4
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.d.ts +28 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.d.ts +10 -4
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +8 -25
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +11 -97
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.d.ts +0 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +171 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +85 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +2 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +127 -0
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +19 -8
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +12 -10
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +8 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +16 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +77 -16
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +1 -1
- package/vscode/src/vs/workbench/services/aiRelatedInformation/common/aiRelatedInformation.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.d.ts +17 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.js +10 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.d.ts +13 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.js +6 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +2 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.js +61 -12
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +3 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +25 -29
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +4 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +3 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +84 -84
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +4 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +2 -4
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +2 -0
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/output/common/output.js +6 -4
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/search/common/search.d.ts +2 -1
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.d.ts +5 -0
- package/vscode/src/vs/workbench/services/search/common/searchExtTypes.js +6 -1
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.d.ts +2 -2
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +31 -23
- package/vscode/src/vs/workbench/services/textfile/common/encoding.d.ts +64 -0
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +560 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +165 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +74 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.d.ts +12 -2
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -12
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +204 -9
- package/vscode-dts/vscode.proposed.aiSettingsSearch.d.ts +30 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +18 -16
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +84 -5
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +18 -16
- package/vscode-dts/vscode.proposed.chatStatusItem.d.ts +1 -1
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +1 -1
- package/vscode-dts/vscode.proposed.contribDebugCreateConfiguration.d.ts +1 -1
- package/vscode-dts/vscode.proposed.d.ts +2 -2
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +2 -2
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +46 -8
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +106 -16
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.mcpConfigurationProvider.d.ts +115 -21
- package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +7 -3
- package/vscode-dts/vscode.proposed.textSearchProvider2.d.ts +23 -1
- package/vscode-dts/vscode.proposed.toolProgress.d.ts +25 -0
- package/vscode-dts/vscode.proposed.tunnelFactory.d.ts +1 -1
- package/workbench.d.ts +1 -1
- package/vscode-dts/vscode.proposed.languageModelToolsForAgent.d.ts +0 -8
- package/vscode-dts/vscode.proposed.textDocumentEncoding.d.ts +0 -170
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
import { isFirefox } from '../../../../base/browser/browser.js';
|
|
3
|
-
import { getActiveDocument } from '../../../../base/browser/dom.js';
|
|
3
|
+
import { getActiveDocument, getActiveWindow } from '../../../../base/browser/dom.js';
|
|
4
4
|
import { KeyMod as KeyMod$1, KeyCode } from '../../../../base/common/keyCodes.js';
|
|
5
5
|
import { isNative, isWeb } from '../../../../base/common/platform.js';
|
|
6
|
+
import { StopWatch } from '../../../../base/common/stopwatch.js';
|
|
6
7
|
import { localize, localize2 } from '../../../../nls.js';
|
|
7
8
|
import { MenuId, MenuRegistry } from '../../../../platform/actions/common/actions.js';
|
|
8
9
|
import { IClipboardService } from '../../../../platform/clipboard/common/clipboardService.service.js';
|
|
9
10
|
import { ContextKeyExpr } from '../../../../platform/contextkey/common/contextkey.js';
|
|
10
11
|
import { KeybindingWeight } from '../../../../platform/keybinding/common/keybindingsRegistry.js';
|
|
12
|
+
import { IProductService } from '../../../../platform/product/common/productService.service.js';
|
|
13
|
+
import { ITelemetryService } from '../../../../platform/telemetry/common/telemetry.service.js';
|
|
11
14
|
import { CopyOptions, InMemoryClipboardMetadataManager } from '../../../browser/controller/editContext/clipboardUtils.js';
|
|
12
15
|
import { NativeEditContextRegistry } from '../../../browser/controller/editContext/native/nativeEditContextRegistry.js';
|
|
13
16
|
import { MultiCommand, EditorAction, registerEditorAction } from '../../../browser/editorExtensions.js';
|
|
@@ -188,26 +191,29 @@ if (PasteAction) {
|
|
|
188
191
|
PasteAction.addImplementation(10000, 'code-editor', (accessor, args) => {
|
|
189
192
|
const codeEditorService = accessor.get(ICodeEditorService);
|
|
190
193
|
const clipboardService = accessor.get(IClipboardService);
|
|
194
|
+
const telemetryService = accessor.get(ITelemetryService);
|
|
195
|
+
const productService = accessor.get(IProductService);
|
|
191
196
|
const focusedEditor = codeEditorService.getFocusedCodeEditor();
|
|
192
197
|
if (focusedEditor && focusedEditor.hasModel() && focusedEditor.hasTextFocus()) {
|
|
193
|
-
let result;
|
|
194
198
|
const experimentalEditContextEnabled = focusedEditor.getOption(EditorOption.effectiveExperimentalEditContextEnabled);
|
|
195
199
|
if (experimentalEditContextEnabled) {
|
|
196
200
|
const nativeEditContext = NativeEditContextRegistry.get(focusedEditor.getId());
|
|
197
201
|
if (nativeEditContext) {
|
|
198
|
-
|
|
202
|
+
nativeEditContext.onWillPaste();
|
|
199
203
|
}
|
|
200
|
-
else {
|
|
201
|
-
result = false;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
else {
|
|
205
|
-
result = focusedEditor.getContainerDomNode().ownerDocument.execCommand('paste');
|
|
206
204
|
}
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
const sw = StopWatch.create(true);
|
|
206
|
+
const triggerPaste = clipboardService.triggerPaste(getActiveWindow().vscodeWindowId);
|
|
207
|
+
if (triggerPaste) {
|
|
208
|
+
return triggerPaste.then(async () => {
|
|
209
|
+
if (productService.quality !== 'stable') {
|
|
210
|
+
const duration = sw.elapsed();
|
|
211
|
+
telemetryService.publicLog2('editorAsyncPaste', { duration });
|
|
212
|
+
}
|
|
213
|
+
return CopyPasteController.get(focusedEditor)?.finishedPaste() ?? Promise.resolve();
|
|
214
|
+
});
|
|
209
215
|
}
|
|
210
|
-
|
|
216
|
+
if (isWeb) {
|
|
211
217
|
return (async () => {
|
|
212
218
|
const clipboardText = await clipboardService.readText();
|
|
213
219
|
if (clipboardText !== '') {
|
|
@@ -234,8 +240,8 @@ if (PasteAction) {
|
|
|
234
240
|
return false;
|
|
235
241
|
});
|
|
236
242
|
PasteAction.addImplementation(0, 'generic-dom', (accessor, args) => {
|
|
237
|
-
|
|
238
|
-
return
|
|
243
|
+
const triggerPaste = accessor.get(IClipboardService).triggerPaste(getActiveWindow().vscodeWindowId);
|
|
244
|
+
return triggerPaste ?? false;
|
|
239
245
|
});
|
|
240
246
|
}
|
|
241
247
|
if (supportsCopy) {
|
|
@@ -133,7 +133,9 @@ async function getCodeActions(registry, model, rangeOrSelection, trigger, progre
|
|
|
133
133
|
...coalesce(( actions.map(x => x.documentation))),
|
|
134
134
|
...getAdditionalDocumentationForShowingActions(registry, model, trigger, allActions)
|
|
135
135
|
];
|
|
136
|
-
|
|
136
|
+
const managedCodeActionSet = ( new ManagedCodeActionSet(allActions, allDocumentation, disposables));
|
|
137
|
+
disposables.add(managedCodeActionSet);
|
|
138
|
+
return managedCodeActionSet;
|
|
137
139
|
}
|
|
138
140
|
catch (err) {
|
|
139
141
|
disposables.dispose();
|
|
@@ -181,6 +181,7 @@ class CodeActionModel extends Disposable {
|
|
|
181
181
|
const actions = createCancelablePromise(async (token) => {
|
|
182
182
|
if (this._settingEnabledNearbyQuickfixes() && trigger.trigger.type === CodeActionTriggerType.Invoke && (trigger.trigger.triggerAction === CodeActionTriggerSource.QuickFix || trigger.trigger.filter?.include?.contains(CodeActionKind.QuickFix))) {
|
|
183
183
|
const codeActionSet = await getCodeActions(this._registry, model, trigger.selection, trigger.trigger, Progress.None, token);
|
|
184
|
+
this.codeActionsDisposable.value = codeActionSet;
|
|
184
185
|
const allCodeActions = [...codeActionSet.allActions];
|
|
185
186
|
if (token.isCancellationRequested) {
|
|
186
187
|
codeActionSet.dispose();
|
|
@@ -269,6 +270,7 @@ class CodeActionModel extends Disposable {
|
|
|
269
270
|
}
|
|
270
271
|
if (trigger.trigger.type === CodeActionTriggerType.Invoke) {
|
|
271
272
|
const codeActions = await getCodeActions(this._registry, model, trigger.selection, trigger.trigger, Progress.None, token);
|
|
273
|
+
this.codeActionsDisposable.value = codeActions;
|
|
272
274
|
return codeActions;
|
|
273
275
|
}
|
|
274
276
|
const codeActionSet = await getCodeActions(this._registry, model, trigger.selection, trigger.trigger, Progress.None, token);
|
|
@@ -303,7 +305,7 @@ class CodeActionModel extends Disposable {
|
|
|
303
305
|
}
|
|
304
306
|
trigger(trigger) {
|
|
305
307
|
this._codeActionOracle.value?.trigger(trigger);
|
|
306
|
-
this.codeActionsDisposable.
|
|
308
|
+
this.codeActionsDisposable.dispose();
|
|
307
309
|
}
|
|
308
310
|
setState(newState, skipNotify) {
|
|
309
311
|
if (newState === this._state) {
|
|
@@ -41,7 +41,7 @@ export declare class ColorDetector extends Disposable implements IEditorContribu
|
|
|
41
41
|
getColorData(position: Position): IColorData | null;
|
|
42
42
|
isColorDecoration(decoration: IModelDecoration): boolean;
|
|
43
43
|
}
|
|
44
|
-
export declare class DecoratorLimitReporter {
|
|
44
|
+
export declare class DecoratorLimitReporter extends Disposable {
|
|
45
45
|
private _onDidChange;
|
|
46
46
|
readonly onDidChange: Event<void>;
|
|
47
47
|
private _computed;
|
|
@@ -30,7 +30,7 @@ let ColorDetector = class ColorDetector extends Disposable {
|
|
|
30
30
|
this._localToDispose = this._register(( new DisposableStore()));
|
|
31
31
|
this._decorationsIds = [];
|
|
32
32
|
this._colorDatas = ( new Map());
|
|
33
|
-
this._decoratorLimitReporter = ( new DecoratorLimitReporter());
|
|
33
|
+
this._decoratorLimitReporter = this._register(( new DecoratorLimitReporter()));
|
|
34
34
|
this._colorDecorationClassRefs = this._register(( new DisposableStore()));
|
|
35
35
|
this._colorDecoratorIds = this._editor.createDecorationsCollection();
|
|
36
36
|
this._ruleFactory = ( new DynamicCssRules(this._editor));
|
|
@@ -222,9 +222,10 @@ ColorDetector = ColorDetector_1 = ( __decorate([
|
|
|
222
222
|
( __param(2, ILanguageFeaturesService)),
|
|
223
223
|
( __param(3, ILanguageFeatureDebounceService))
|
|
224
224
|
], ColorDetector));
|
|
225
|
-
class DecoratorLimitReporter {
|
|
225
|
+
class DecoratorLimitReporter extends Disposable {
|
|
226
226
|
constructor() {
|
|
227
|
-
|
|
227
|
+
super(...arguments);
|
|
228
|
+
this._onDidChange = this._register(( new Emitter()));
|
|
228
229
|
this.onDidChange = this._onDidChange.event;
|
|
229
230
|
this._computed = 0;
|
|
230
231
|
this._limited = false;
|
|
@@ -11,7 +11,6 @@ import { IContextViewService } from "../../../../platform/contextview/browser/co
|
|
|
11
11
|
import { IKeybindingService } from "../../../../platform/keybinding/common/keybinding.service.js";
|
|
12
12
|
import { INotificationService } from "../../../../platform/notification/common/notification.service.js";
|
|
13
13
|
import { IStorageService } from "../../../../platform/storage/common/storage.service.js";
|
|
14
|
-
import { IThemeService } from "../../../../platform/theme/common/themeService.service.js";
|
|
15
14
|
import { IHoverService } from "../../../../platform/hover/browser/hover.service.js";
|
|
16
15
|
export declare function getSelectionSearchString(editor: ICodeEditor, seedSearchStringFromSelection?: "single" | "multiple", seedSearchStringFromNonEmptySelection?: boolean): string | null;
|
|
17
16
|
export declare enum FindStartFocusAction {
|
|
@@ -82,12 +81,11 @@ export declare class CommonFindController extends Disposable implements IEditorC
|
|
|
82
81
|
export declare class FindController extends CommonFindController implements IFindController {
|
|
83
82
|
private readonly _contextViewService;
|
|
84
83
|
private readonly _keybindingService;
|
|
85
|
-
private readonly _themeService;
|
|
86
84
|
private _widget;
|
|
87
85
|
private _findOptionsWidget;
|
|
88
86
|
private _findWidgetSearchHistory;
|
|
89
87
|
private _replaceWidgetHistory;
|
|
90
|
-
constructor(editor: ICodeEditor, _contextViewService: IContextViewService, _contextKeyService: IContextKeyService, _keybindingService: IKeybindingService,
|
|
88
|
+
constructor(editor: ICodeEditor, _contextViewService: IContextViewService, _contextKeyService: IContextKeyService, _keybindingService: IKeybindingService, notificationService: INotificationService, _storageService: IStorageService, clipboardService: IClipboardService, hoverService: IHoverService);
|
|
91
89
|
protected _start(opts: IFindStartOptions, newState?: INewFindReplaceState): Promise<void>;
|
|
92
90
|
highlightFindOptions(ignoreWhenVisible?: boolean): void;
|
|
93
91
|
private _createFindWidget;
|
|
@@ -27,7 +27,6 @@ import { IQuickInputService } from '../../../../platform/quickinput/common/quick
|
|
|
27
27
|
import { StorageScope, StorageTarget } from '../../../../platform/storage/common/storage.js';
|
|
28
28
|
import { IStorageService } from '../../../../platform/storage/common/storage.service.js';
|
|
29
29
|
import { themeColorFromId } from '../../../../platform/theme/common/themeService.js';
|
|
30
|
-
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
31
30
|
import { IHoverService } from '../../../../platform/hover/browser/hover.service.js';
|
|
32
31
|
import { FindWidgetSearchHistory } from './findWidgetSearchHistory.js';
|
|
33
32
|
import { ReplaceWidgetHistory } from './replaceWidgetHistory.js';
|
|
@@ -350,11 +349,10 @@ CommonFindController = CommonFindController_1 = ( __decorate([
|
|
|
350
349
|
( __param(5, IHoverService))
|
|
351
350
|
], CommonFindController));
|
|
352
351
|
let FindController = class FindController extends CommonFindController {
|
|
353
|
-
constructor(editor, _contextViewService, _contextKeyService, _keybindingService,
|
|
352
|
+
constructor(editor, _contextViewService, _contextKeyService, _keybindingService, notificationService, _storageService, clipboardService, hoverService) {
|
|
354
353
|
super(editor, _contextKeyService, _storageService, clipboardService, notificationService, hoverService);
|
|
355
354
|
this._contextViewService = _contextViewService;
|
|
356
355
|
this._keybindingService = _keybindingService;
|
|
357
|
-
this._themeService = _themeService;
|
|
358
356
|
this._widget = null;
|
|
359
357
|
this._findOptionsWidget = null;
|
|
360
358
|
this._findWidgetSearchHistory = FindWidgetSearchHistory.getOrCreate(_storageService);
|
|
@@ -409,9 +407,6 @@ let FindController = class FindController extends CommonFindController {
|
|
|
409
407
|
this._contextViewService,
|
|
410
408
|
this._keybindingService,
|
|
411
409
|
this._contextKeyService,
|
|
412
|
-
this._themeService,
|
|
413
|
-
this._storageService,
|
|
414
|
-
this._notificationService,
|
|
415
410
|
this._hoverService,
|
|
416
411
|
this._findWidgetSearchHistory,
|
|
417
412
|
this._replaceWidgetHistory
|
|
@@ -429,11 +424,10 @@ FindController = ( __decorate([
|
|
|
429
424
|
( __param(1, IContextViewService)),
|
|
430
425
|
( __param(2, IContextKeyService)),
|
|
431
426
|
( __param(3, IKeybindingService)),
|
|
432
|
-
( __param(4,
|
|
433
|
-
( __param(5,
|
|
434
|
-
( __param(6,
|
|
435
|
-
( __param(7,
|
|
436
|
-
( __param(8, IHoverService))
|
|
427
|
+
( __param(4, INotificationService)),
|
|
428
|
+
( __param(5, IStorageService)),
|
|
429
|
+
( __param(6, IClipboardService)),
|
|
430
|
+
( __param(7, IHoverService))
|
|
437
431
|
], FindController));
|
|
438
432
|
const StartFindAction = registerMultiEditorAction(( new MultiEditorAction({
|
|
439
433
|
id: FIND_IDS.StartFindAction,
|
|
@@ -6,9 +6,6 @@ import { ICodeEditor, IOverlayWidget, IOverlayWidgetPosition, IViewZone } from "
|
|
|
6
6
|
import { FindReplaceState } from "./findState.js";
|
|
7
7
|
import { IContextKeyService } from "../../../../platform/contextkey/common/contextkey.service.js";
|
|
8
8
|
import { IKeybindingService } from "../../../../platform/keybinding/common/keybinding.service.js";
|
|
9
|
-
import { INotificationService } from "../../../../platform/notification/common/notification.service.js";
|
|
10
|
-
import { IStorageService } from "../../../../platform/storage/common/storage.service.js";
|
|
11
|
-
import { IThemeService } from "../../../../platform/theme/common/themeService.service.js";
|
|
12
9
|
import { ThemeIcon } from "../../../../base/common/themables.js";
|
|
13
10
|
import { IHoverDelegate } from "../../../../base/browser/ui/hover/hoverDelegate.js";
|
|
14
11
|
import { IHoverService } from "../../../../platform/hover/browser/hover.service.js";
|
|
@@ -43,8 +40,6 @@ export declare class FindWidget extends Widget implements IOverlayWidget, IVerti
|
|
|
43
40
|
private readonly _contextViewProvider;
|
|
44
41
|
private readonly _keybindingService;
|
|
45
42
|
private readonly _contextKeyService;
|
|
46
|
-
private readonly _storageService;
|
|
47
|
-
private readonly _notificationService;
|
|
48
43
|
private _domNode;
|
|
49
44
|
private _cachedHeight;
|
|
50
45
|
private _findInput;
|
|
@@ -60,7 +55,6 @@ export declare class FindWidget extends Widget implements IOverlayWidget, IVerti
|
|
|
60
55
|
private _isVisible;
|
|
61
56
|
private _isReplaceVisible;
|
|
62
57
|
private _ignoreChangeEvent;
|
|
63
|
-
private _ctrlEnterReplaceAllWarningPrompted;
|
|
64
58
|
private readonly _findFocusTracker;
|
|
65
59
|
private readonly _findInputFocused;
|
|
66
60
|
private readonly _replaceFocusTracker;
|
|
@@ -70,7 +64,7 @@ export declare class FindWidget extends Widget implements IOverlayWidget, IVerti
|
|
|
70
64
|
private _resizeSash;
|
|
71
65
|
private _resized;
|
|
72
66
|
private readonly _updateHistoryDelayer;
|
|
73
|
-
constructor(codeEditor: ICodeEditor, controller: IFindController, state: FindReplaceState, contextViewProvider: IContextViewProvider, keybindingService: IKeybindingService, contextKeyService: IContextKeyService,
|
|
67
|
+
constructor(codeEditor: ICodeEditor, controller: IFindController, state: FindReplaceState, contextViewProvider: IContextViewProvider, keybindingService: IKeybindingService, contextKeyService: IContextKeyService, _hoverService: IHoverService, _findWidgetSearchHistory: IHistory<string> | undefined, _replaceWidgetHistory: IHistory<string> | undefined);
|
|
74
68
|
getId(): string;
|
|
75
69
|
getDomNode(): HTMLElement;
|
|
76
70
|
getPosition(): IOverlayWidgetPosition | null;
|
|
@@ -10,7 +10,7 @@ import { Codicon } from '../../../../base/common/codicons.js';
|
|
|
10
10
|
import { onUnexpectedError } from '../../../../base/common/errors.js';
|
|
11
11
|
import { KeyMod as KeyMod$1, KeyCode } from '../../../../base/common/keyCodes.js';
|
|
12
12
|
import { toDisposable } from '../../../../base/common/lifecycle.js';
|
|
13
|
-
import { isMacintosh,
|
|
13
|
+
import { isMacintosh, isLinux } from '../../../../base/common/platform.js';
|
|
14
14
|
import { format } from '../../../../base/common/strings.js';
|
|
15
15
|
import * as findWidget from './findWidget.css';
|
|
16
16
|
import { OverlayWidgetPositionPreference } from '../../../browser/editorBrowser.js';
|
|
@@ -21,7 +21,6 @@ import { localize } from '../../../../nls.js';
|
|
|
21
21
|
import { AccessibilitySupport } from '../../../../platform/accessibility/common/accessibility.js';
|
|
22
22
|
import { ContextScopedFindInput, ContextScopedReplaceInput } from '../../../../platform/history/browser/contextScopedHistoryWidget.js';
|
|
23
23
|
import { showHistoryKeybindingHint } from '../../../../platform/history/browser/historyWidgetKeybindingHint.js';
|
|
24
|
-
import { StorageScope, StorageTarget } from '../../../../platform/storage/common/storage.js';
|
|
25
24
|
import { asCssVariable } from '../../../../platform/theme/common/colorUtils.js';
|
|
26
25
|
import { contrastBorder } from '../../../../platform/theme/common/colors/baseColors.js';
|
|
27
26
|
import '../../../../platform/theme/common/colors/chartsColors.js';
|
|
@@ -73,7 +72,6 @@ const PART_WIDTH = 275;
|
|
|
73
72
|
const FIND_INPUT_AREA_WIDTH = PART_WIDTH - 54;
|
|
74
73
|
let MAX_MATCHES_COUNT_WIDTH = 69;
|
|
75
74
|
const FIND_INPUT_AREA_HEIGHT = 33;
|
|
76
|
-
const ctrlEnterReplaceAllWarningPromptedKey = 'ctrlEnterReplaceAll.windows.donotask';
|
|
77
75
|
const ctrlKeyMod = (isMacintosh ? KeyMod$1.WinCtrl : KeyMod$1.CtrlCmd);
|
|
78
76
|
class FindWidgetViewZone {
|
|
79
77
|
constructor(afterLineNumber) {
|
|
@@ -100,7 +98,7 @@ function stopPropagationForMultiLineDownwards(event, value, textarea) {
|
|
|
100
98
|
}
|
|
101
99
|
class FindWidget extends Widget {
|
|
102
100
|
static { this.ID = 'editor.contrib.findWidget'; }
|
|
103
|
-
constructor(codeEditor, controller, state, contextViewProvider, keybindingService, contextKeyService,
|
|
101
|
+
constructor(codeEditor, controller, state, contextViewProvider, keybindingService, contextKeyService, _hoverService, _findWidgetSearchHistory, _replaceWidgetHistory) {
|
|
104
102
|
super();
|
|
105
103
|
this._hoverService = _hoverService;
|
|
106
104
|
this._findWidgetSearchHistory = _findWidgetSearchHistory;
|
|
@@ -113,9 +111,6 @@ class FindWidget extends Widget {
|
|
|
113
111
|
this._contextViewProvider = contextViewProvider;
|
|
114
112
|
this._keybindingService = keybindingService;
|
|
115
113
|
this._contextKeyService = contextKeyService;
|
|
116
|
-
this._storageService = storageService;
|
|
117
|
-
this._notificationService = notificationService;
|
|
118
|
-
this._ctrlEnterReplaceAllWarningPrompted = !!storageService.getBoolean(ctrlEnterReplaceAllWarningPromptedKey, StorageScope.PROFILE);
|
|
119
114
|
this._isVisible = false;
|
|
120
115
|
this._isReplaceVisible = false;
|
|
121
116
|
this._ignoreChangeEvent = false;
|
|
@@ -690,14 +685,6 @@ class FindWidget extends Widget {
|
|
|
690
685
|
return;
|
|
691
686
|
}
|
|
692
687
|
else {
|
|
693
|
-
if (isWindows && isNative && !this._ctrlEnterReplaceAllWarningPrompted) {
|
|
694
|
-
this._notificationService.info(( localize(
|
|
695
|
-
1044,
|
|
696
|
-
'Ctrl+Enter now inserts line break instead of replacing all. You can modify the keybinding for editor.action.replaceAll to override this behavior.'
|
|
697
|
-
)));
|
|
698
|
-
this._ctrlEnterReplaceAllWarningPrompted = true;
|
|
699
|
-
this._storageService.store(ctrlEnterReplaceAllWarningPromptedKey, true, StorageScope.PROFILE, StorageTarget.USER);
|
|
700
|
-
}
|
|
701
688
|
this._replaceInput.inputBox.insertAtCursor('\n');
|
|
702
689
|
e.preventDefault();
|
|
703
690
|
return;
|
|
@@ -76,7 +76,7 @@ export declare class FoldingController extends Disposable implements IEditorCont
|
|
|
76
76
|
private onEditorMouseUp;
|
|
77
77
|
reveal(position: IPosition): void;
|
|
78
78
|
}
|
|
79
|
-
export declare class RangesLimitReporter implements FoldingLimitReporter {
|
|
79
|
+
export declare class RangesLimitReporter extends Disposable implements FoldingLimitReporter {
|
|
80
80
|
private readonly editor;
|
|
81
81
|
constructor(editor: ICodeEditor);
|
|
82
82
|
get limit(): number;
|
|
@@ -61,7 +61,7 @@ let FoldingController = class FoldingController extends Disposable {
|
|
|
61
61
|
this.languageFeaturesService = languageFeaturesService;
|
|
62
62
|
this.localToDispose = this._register(( new DisposableStore()));
|
|
63
63
|
this.editor = editor;
|
|
64
|
-
this._foldingLimitReporter = ( new RangesLimitReporter(editor));
|
|
64
|
+
this._foldingLimitReporter = this._register(( new RangesLimitReporter(editor)));
|
|
65
65
|
const options = this.editor.getOptions();
|
|
66
66
|
this._isEnabled = options.get(EditorOption.folding);
|
|
67
67
|
this._useFoldingProviders = options.get(EditorOption.foldingStrategy) !== 'indentation';
|
|
@@ -410,10 +410,11 @@ FoldingController = FoldingController_1 = ( __decorate([
|
|
|
410
410
|
( __param(4, ILanguageFeatureDebounceService)),
|
|
411
411
|
( __param(5, ILanguageFeaturesService))
|
|
412
412
|
], FoldingController));
|
|
413
|
-
class RangesLimitReporter {
|
|
413
|
+
class RangesLimitReporter extends Disposable {
|
|
414
414
|
constructor(editor) {
|
|
415
|
+
super();
|
|
415
416
|
this.editor = editor;
|
|
416
|
-
this._onDidChange = ( new Emitter());
|
|
417
|
+
this._onDidChange = this._register(( new Emitter()));
|
|
417
418
|
this.onDidChange = this._onDidChange.event;
|
|
418
419
|
this._computed = 0;
|
|
419
420
|
this._limited = false;
|
|
@@ -509,7 +510,7 @@ class UnfoldAction extends FoldingAction {
|
|
|
509
510
|
constructor() {
|
|
510
511
|
super({
|
|
511
512
|
id: 'editor.unfold',
|
|
512
|
-
label: ( localize2(
|
|
513
|
+
label: ( localize2(1044, "Unfold")),
|
|
513
514
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
514
515
|
kbOpts: {
|
|
515
516
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -570,7 +571,7 @@ class UnFoldRecursivelyAction extends FoldingAction {
|
|
|
570
571
|
constructor() {
|
|
571
572
|
super({
|
|
572
573
|
id: 'editor.unfoldRecursively',
|
|
573
|
-
label: ( localize2(
|
|
574
|
+
label: ( localize2(1045, "Unfold Recursively")),
|
|
574
575
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
575
576
|
kbOpts: {
|
|
576
577
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -587,7 +588,7 @@ class FoldAction extends FoldingAction {
|
|
|
587
588
|
constructor() {
|
|
588
589
|
super({
|
|
589
590
|
id: 'editor.fold',
|
|
590
|
-
label: ( localize2(
|
|
591
|
+
label: ( localize2(1046, "Fold")),
|
|
591
592
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
592
593
|
kbOpts: {
|
|
593
594
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -653,7 +654,7 @@ class ToggleFoldAction extends FoldingAction {
|
|
|
653
654
|
constructor() {
|
|
654
655
|
super({
|
|
655
656
|
id: 'editor.toggleFold',
|
|
656
|
-
label: ( localize2(
|
|
657
|
+
label: ( localize2(1047, "Toggle Fold")),
|
|
657
658
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
658
659
|
kbOpts: {
|
|
659
660
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -671,7 +672,7 @@ class FoldRecursivelyAction extends FoldingAction {
|
|
|
671
672
|
constructor() {
|
|
672
673
|
super({
|
|
673
674
|
id: 'editor.foldRecursively',
|
|
674
|
-
label: ( localize2(
|
|
675
|
+
label: ( localize2(1048, "Fold Recursively")),
|
|
675
676
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
676
677
|
kbOpts: {
|
|
677
678
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -689,7 +690,7 @@ class ToggleFoldRecursivelyAction extends FoldingAction {
|
|
|
689
690
|
constructor() {
|
|
690
691
|
super({
|
|
691
692
|
id: 'editor.toggleFoldRecursively',
|
|
692
|
-
label: ( localize2(
|
|
693
|
+
label: ( localize2(1049, "Toggle Fold Recursively")),
|
|
693
694
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
694
695
|
kbOpts: {
|
|
695
696
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -707,7 +708,7 @@ class FoldAllBlockCommentsAction extends FoldingAction {
|
|
|
707
708
|
constructor() {
|
|
708
709
|
super({
|
|
709
710
|
id: 'editor.foldAllBlockComments',
|
|
710
|
-
label: ( localize2(
|
|
711
|
+
label: ( localize2(1050, "Fold All Block Comments")),
|
|
711
712
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
712
713
|
kbOpts: {
|
|
713
714
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -737,7 +738,7 @@ class FoldAllRegionsAction extends FoldingAction {
|
|
|
737
738
|
constructor() {
|
|
738
739
|
super({
|
|
739
740
|
id: 'editor.foldAllMarkerRegions',
|
|
740
|
-
label: ( localize2(
|
|
741
|
+
label: ( localize2(1051, "Fold All Regions")),
|
|
741
742
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
742
743
|
kbOpts: {
|
|
743
744
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -767,7 +768,7 @@ class UnfoldAllRegionsAction extends FoldingAction {
|
|
|
767
768
|
constructor() {
|
|
768
769
|
super({
|
|
769
770
|
id: 'editor.unfoldAllMarkerRegions',
|
|
770
|
-
label: ( localize2(
|
|
771
|
+
label: ( localize2(1052, "Unfold All Regions")),
|
|
771
772
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
772
773
|
kbOpts: {
|
|
773
774
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -797,7 +798,7 @@ class FoldAllExceptAction extends FoldingAction {
|
|
|
797
798
|
constructor() {
|
|
798
799
|
super({
|
|
799
800
|
id: 'editor.foldAllExcept',
|
|
800
|
-
label: ( localize2(
|
|
801
|
+
label: ( localize2(1053, "Fold All Except Selected")),
|
|
801
802
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
802
803
|
kbOpts: {
|
|
803
804
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -815,7 +816,7 @@ class UnfoldAllExceptAction extends FoldingAction {
|
|
|
815
816
|
constructor() {
|
|
816
817
|
super({
|
|
817
818
|
id: 'editor.unfoldAllExcept',
|
|
818
|
-
label: ( localize2(
|
|
819
|
+
label: ( localize2(1054, "Unfold All Except Selected")),
|
|
819
820
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
820
821
|
kbOpts: {
|
|
821
822
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -833,7 +834,7 @@ class FoldAllAction extends FoldingAction {
|
|
|
833
834
|
constructor() {
|
|
834
835
|
super({
|
|
835
836
|
id: 'editor.foldAll',
|
|
836
|
-
label: ( localize2(
|
|
837
|
+
label: ( localize2(1055, "Fold All")),
|
|
837
838
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
838
839
|
kbOpts: {
|
|
839
840
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -850,7 +851,7 @@ class UnfoldAllAction extends FoldingAction {
|
|
|
850
851
|
constructor() {
|
|
851
852
|
super({
|
|
852
853
|
id: 'editor.unfoldAll',
|
|
853
|
-
label: ( localize2(
|
|
854
|
+
label: ( localize2(1056, "Unfold All")),
|
|
854
855
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
855
856
|
kbOpts: {
|
|
856
857
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -877,7 +878,7 @@ class GotoParentFoldAction extends FoldingAction {
|
|
|
877
878
|
constructor() {
|
|
878
879
|
super({
|
|
879
880
|
id: 'editor.gotoParentFold',
|
|
880
|
-
label: ( localize2(
|
|
881
|
+
label: ( localize2(1057, "Go to Parent Fold")),
|
|
881
882
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
882
883
|
kbOpts: {
|
|
883
884
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -904,7 +905,7 @@ class GotoPreviousFoldAction extends FoldingAction {
|
|
|
904
905
|
constructor() {
|
|
905
906
|
super({
|
|
906
907
|
id: 'editor.gotoPreviousFold',
|
|
907
|
-
label: ( localize2(
|
|
908
|
+
label: ( localize2(1058, "Go to Previous Folding Range")),
|
|
908
909
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
909
910
|
kbOpts: {
|
|
910
911
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -931,7 +932,7 @@ class GotoNextFoldAction extends FoldingAction {
|
|
|
931
932
|
constructor() {
|
|
932
933
|
super({
|
|
933
934
|
id: 'editor.gotoNextFold',
|
|
934
|
-
label: ( localize2(
|
|
935
|
+
label: ( localize2(1059, "Go to Next Folding Range")),
|
|
935
936
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
936
937
|
kbOpts: {
|
|
937
938
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -958,7 +959,7 @@ class FoldRangeFromSelectionAction extends FoldingAction {
|
|
|
958
959
|
constructor() {
|
|
959
960
|
super({
|
|
960
961
|
id: 'editor.createFoldingRangeFromSelection',
|
|
961
|
-
label: ( localize2(
|
|
962
|
+
label: ( localize2(1060, "Create Folding Range from Selection")),
|
|
962
963
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
963
964
|
kbOpts: {
|
|
964
965
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -1006,7 +1007,7 @@ class RemoveFoldRangeFromSelectionAction extends FoldingAction {
|
|
|
1006
1007
|
constructor() {
|
|
1007
1008
|
super({
|
|
1008
1009
|
id: 'editor.removeManualFoldingRanges',
|
|
1009
|
-
label: ( localize2(
|
|
1010
|
+
label: ( localize2(1061, "Remove Manual Folding Ranges")),
|
|
1010
1011
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
1011
1012
|
kbOpts: {
|
|
1012
1013
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -1032,7 +1033,7 @@ class ToggleImportFoldAction extends FoldingAction {
|
|
|
1032
1033
|
constructor() {
|
|
1033
1034
|
super({
|
|
1034
1035
|
id: 'editor.toggleImportFold',
|
|
1035
|
-
label: ( localize2(
|
|
1036
|
+
label: ( localize2(1062, "Toggle Import Fold")),
|
|
1036
1037
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
1037
1038
|
kbOpts: {
|
|
1038
1039
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -1075,7 +1076,7 @@ registerEditorAction(ToggleImportFoldAction);
|
|
|
1075
1076
|
for (let i = 1; i <= 7; i++) {
|
|
1076
1077
|
registerInstantiatedEditorAction(( new FoldLevelAction({
|
|
1077
1078
|
id: FoldLevelAction.ID(i),
|
|
1078
|
-
label: ( localize2(
|
|
1079
|
+
label: ( localize2(1063, "Fold Level {0}", i)),
|
|
1079
1080
|
precondition: CONTEXT_FOLDING_ENABLED,
|
|
1080
1081
|
kbOpts: {
|
|
1081
1082
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -19,21 +19,21 @@ import { themeColorFromId } from '../../../../platform/theme/common/themeService
|
|
|
19
19
|
import { ThemeIcon } from '../../../../base/common/themables.js';
|
|
20
20
|
|
|
21
21
|
const foldBackground = registerColor('editor.foldBackground', { light: ( transparent(editorSelectionBackground, 0.3)), dark: ( transparent(editorSelectionBackground, 0.3)), hcDark: null, hcLight: null }, ( localize(
|
|
22
|
-
|
|
22
|
+
1064,
|
|
23
23
|
"Background color behind folded ranges. The color must not be opaque so as not to hide underlying decorations."
|
|
24
24
|
)), true);
|
|
25
25
|
registerColor('editor.foldPlaceholderForeground', { light: '#808080', dark: '#808080', hcDark: null, hcLight: null }, ( localize(
|
|
26
|
-
|
|
26
|
+
1065,
|
|
27
27
|
"Color of the collapsed text after the first line of a folded range."
|
|
28
28
|
)));
|
|
29
|
-
registerColor('editorGutter.foldingControlForeground', iconForeground, ( localize(
|
|
30
|
-
const foldingExpandedIcon = registerIcon('folding-expanded', Codicon.chevronDown, ( localize(
|
|
31
|
-
const foldingCollapsedIcon = registerIcon('folding-collapsed', Codicon.chevronRight, ( localize(
|
|
32
|
-
const foldingManualCollapsedIcon = registerIcon('folding-manual-collapsed', foldingCollapsedIcon, ( localize(
|
|
33
|
-
const foldingManualExpandedIcon = registerIcon('folding-manual-expanded', foldingExpandedIcon, ( localize(
|
|
29
|
+
registerColor('editorGutter.foldingControlForeground', iconForeground, ( localize(1066, 'Color of the folding control in the editor gutter.')));
|
|
30
|
+
const foldingExpandedIcon = registerIcon('folding-expanded', Codicon.chevronDown, ( localize(1067, 'Icon for expanded ranges in the editor glyph margin.')));
|
|
31
|
+
const foldingCollapsedIcon = registerIcon('folding-collapsed', Codicon.chevronRight, ( localize(1068, 'Icon for collapsed ranges in the editor glyph margin.')));
|
|
32
|
+
const foldingManualCollapsedIcon = registerIcon('folding-manual-collapsed', foldingCollapsedIcon, ( localize(1069, 'Icon for manually collapsed ranges in the editor glyph margin.')));
|
|
33
|
+
const foldingManualExpandedIcon = registerIcon('folding-manual-expanded', foldingExpandedIcon, ( localize(1070, 'Icon for manually expanded ranges in the editor glyph margin.')));
|
|
34
34
|
const foldedBackgroundMinimap = { color: themeColorFromId(foldBackground), position: MinimapPosition.Inline };
|
|
35
|
-
const collapsed = ( localize(
|
|
36
|
-
const expanded = ( localize(
|
|
35
|
+
const collapsed = ( localize(1071, "Click to expand the range."));
|
|
36
|
+
const expanded = ( localize(1072, "Click to collapse the range."));
|
|
37
37
|
class FoldingDecorationProvider {
|
|
38
38
|
static { this.COLLAPSED_VISUAL_DECORATION = ModelDecorationOptions.register({
|
|
39
39
|
description: 'folding-collapsed-visual-decoration',
|
|
@@ -7,7 +7,7 @@ class EditorFontZoomIn extends EditorAction {
|
|
|
7
7
|
constructor() {
|
|
8
8
|
super({
|
|
9
9
|
id: 'editor.action.fontZoomIn',
|
|
10
|
-
label: ( localize2(
|
|
10
|
+
label: ( localize2(1073, "Increase Editor Font Size")),
|
|
11
11
|
precondition: undefined
|
|
12
12
|
});
|
|
13
13
|
}
|
|
@@ -19,7 +19,7 @@ class EditorFontZoomOut extends EditorAction {
|
|
|
19
19
|
constructor() {
|
|
20
20
|
super({
|
|
21
21
|
id: 'editor.action.fontZoomOut',
|
|
22
|
-
label: ( localize2(
|
|
22
|
+
label: ( localize2(1074, "Decrease Editor Font Size")),
|
|
23
23
|
precondition: undefined
|
|
24
24
|
});
|
|
25
25
|
}
|
|
@@ -31,7 +31,7 @@ class EditorFontZoomReset extends EditorAction {
|
|
|
31
31
|
constructor() {
|
|
32
32
|
super({
|
|
33
33
|
id: 'editor.action.fontZoomReset',
|
|
34
|
-
label: ( localize2(
|
|
34
|
+
label: ( localize2(1075, "Reset Editor Font Size")),
|
|
35
35
|
precondition: undefined
|
|
36
36
|
});
|
|
37
37
|
}
|
|
@@ -164,7 +164,7 @@ class FormatDocumentAction extends EditorAction {
|
|
|
164
164
|
constructor() {
|
|
165
165
|
super({
|
|
166
166
|
id: 'editor.action.formatDocument',
|
|
167
|
-
label: ( localize2(
|
|
167
|
+
label: ( localize2(1076, "Format Document")),
|
|
168
168
|
precondition: ( ContextKeyExpr.and(
|
|
169
169
|
EditorContextKeys.notInCompositeEditor,
|
|
170
170
|
EditorContextKeys.writable,
|
|
@@ -194,7 +194,7 @@ class FormatSelectionAction extends EditorAction {
|
|
|
194
194
|
constructor() {
|
|
195
195
|
super({
|
|
196
196
|
id: 'editor.action.formatSelection',
|
|
197
|
-
label: ( localize2(
|
|
197
|
+
label: ( localize2(1077, "Format Selection")),
|
|
198
198
|
precondition: ( ContextKeyExpr.and(
|
|
199
199
|
EditorContextKeys.writable,
|
|
200
200
|
EditorContextKeys.hasDocumentSelectionFormattingProvider
|