@codingame/monaco-vscode-api 17.2.1 → 18.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 +282 -81
- package/package.json +8 -8
- package/services.d.ts +3 -4
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/dnd.js +3 -2
- package/vscode/src/vs/base/browser/domImpl/domObservable.js +1 -1
- package/vscode/src/vs/base/browser/domImpl/n.js +5 -5
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +3 -3
- package/vscode/src/vs/base/browser/markdownRenderer.js +12 -10
- package/vscode/src/vs/base/browser/touch.js +1 -0
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +10 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +12 -4
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/list/list.d.ts +5 -2
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listPaging.js +3 -3
- package/vscode/src/vs/base/browser/ui/list/listView.js +5 -5
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +7 -7
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +4 -4
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +6 -6
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +14 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +4 -3
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +16 -15
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +12 -12
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css +2 -1
- package/vscode/src/vs/base/browser/ui/tree/objectTree.d.ts +3 -3
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +7 -10
- package/vscode/src/vs/base/browser/ui/tree/tree.d.ts +6 -1
- package/vscode/src/vs/base/browser/webWorkerFactory.js +1 -4
- package/vscode/src/vs/base/common/arrays.d.ts +3 -1
- package/vscode/src/vs/base/common/arrays.js +5 -1
- package/vscode/src/vs/base/common/async.d.ts +18 -3
- package/vscode/src/vs/base/common/async.js +105 -39
- package/vscode/src/vs/base/common/buffer.d.ts +2 -0
- package/vscode/src/vs/base/common/buffer.js +36 -1
- 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/comparers.js +4 -3
- package/vscode/src/vs/base/common/date.d.ts +6 -4
- package/vscode/src/vs/base/common/date.js +43 -24
- package/vscode/src/vs/base/common/decorators.js +1 -0
- package/vscode/src/vs/base/common/errors.d.ts +6 -0
- package/vscode/src/vs/base/common/errors.js +11 -1
- package/vscode/src/vs/base/common/event.d.ts +2 -1
- package/vscode/src/vs/base/common/event.js +11 -3
- package/vscode/src/vs/base/common/hash.d.ts +1 -1
- package/vscode/src/vs/base/common/hash.js +2 -2
- package/vscode/src/vs/base/common/hotReloadHelpers.js +3 -2
- package/vscode/src/vs/base/common/htmlContent.d.ts +1 -1
- package/vscode/src/vs/base/common/iterator.d.ts +3 -1
- package/vscode/src/vs/base/common/iterator.js +20 -2
- package/vscode/src/vs/base/common/json.d.ts +1 -1
- package/vscode/src/vs/base/common/marshalling.d.ts +1 -1
- package/vscode/src/vs/base/common/marshallingIds.d.ts +1 -2
- package/vscode/src/vs/base/common/marshallingIds.js +0 -1
- package/vscode/src/vs/base/common/numbers.d.ts +1 -1
- package/vscode/src/vs/base/common/oauth.d.ts +143 -0
- package/vscode/src/vs/base/common/oauth.js +124 -0
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +5 -75
- package/vscode/src/vs/base/common/observableInternal/base.js +2 -279
- package/vscode/src/vs/base/common/observableInternal/changeTracker.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/commonFacade/cancellation.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/commonFacade/deps.d.ts +1 -1
- package/vscode/src/vs/base/common/observableInternal/{reducer.d.ts → experimental/reducer.d.ts} +5 -5
- package/vscode/src/vs/base/common/observableInternal/{reducer.js → experimental/reducer.js} +7 -5
- package/vscode/src/vs/base/common/observableInternal/experimental/utils.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/experimental/utils.js +47 -0
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +21 -7
- package/vscode/src/vs/base/common/observableInternal/index.js +6 -3
- package/vscode/src/vs/base/common/observableInternal/logging/consoleObservableLogger.d.ts +5 -4
- package/vscode/src/vs/base/common/observableInternal/logging/consoleObservableLogger.js +1 -1
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.d.ts +4 -3
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +4 -4
- package/vscode/src/vs/base/common/observableInternal/logging/logging.d.ts +4 -3
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +38 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +111 -0
- package/vscode/src/vs/base/common/observableInternal/observables/constObservable.d.ts +2 -0
- package/vscode/src/vs/base/common/observableInternal/observables/constObservable.js +30 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derived.d.ts +20 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derived.js +58 -0
- package/vscode/src/vs/base/common/observableInternal/{derived.d.ts → observables/derivedImpl.d.ts} +14 -22
- package/vscode/src/vs/base/common/observableInternal/{derived.js → observables/derivedImpl.js} +63 -94
- package/vscode/src/vs/base/common/observableInternal/{lazyObservableValue.d.ts → observables/lazyObservableValue.d.ts} +4 -3
- package/vscode/src/vs/base/common/observableInternal/{lazyObservableValue.js → observables/lazyObservableValue.js} +3 -2
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +32 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +114 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.d.ts +6 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignal.js +42 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableSignalFromEvent.js +36 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.d.ts +26 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableValue.js +98 -0
- package/vscode/src/vs/base/common/observableInternal/{api.d.ts → observables/observableValueOpts.d.ts} +3 -3
- package/vscode/src/vs/base/common/observableInternal/{api.js → observables/observableValueOpts.js} +6 -5
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.d.ts +21 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorun.js +82 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +44 -0
- package/vscode/src/vs/base/common/observableInternal/{autorun.js → reactions/autorunImpl.js} +50 -84
- package/vscode/src/vs/base/common/observableInternal/set.d.ts +20 -0
- package/vscode/src/vs/base/common/observableInternal/set.js +62 -0
- package/vscode/src/vs/base/common/observableInternal/transaction.d.ts +18 -0
- package/vscode/src/vs/base/common/observableInternal/transaction.js +91 -0
- package/vscode/src/vs/base/common/observableInternal/{promise.d.ts → utils/promise.d.ts} +3 -2
- package/vscode/src/vs/base/common/observableInternal/{promise.js → utils/promise.js} +10 -2
- package/vscode/src/vs/base/common/observableInternal/utils/runOnChange.d.ts +7 -0
- package/vscode/src/vs/base/common/observableInternal/utils/runOnChange.js +58 -0
- package/vscode/src/vs/base/common/observableInternal/utils/utils.d.ts +28 -0
- package/vscode/src/vs/base/common/observableInternal/utils/utils.js +200 -0
- package/vscode/src/vs/base/common/observableInternal/{utilsCancellation.d.ts → utils/utilsCancellation.d.ts} +2 -2
- package/vscode/src/vs/base/common/observableInternal/{utilsCancellation.js → utils/utilsCancellation.js} +7 -7
- package/vscode/src/vs/base/common/observableInternal/utils/valueWithChangeEvent.d.ts +10 -0
- package/vscode/src/vs/base/common/observableInternal/utils/valueWithChangeEvent.js +26 -0
- package/vscode/src/vs/base/common/product.d.ts +5 -2
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +4 -10
- package/vscode/src/vs/base/common/themables.d.ts +2 -2
- package/vscode/src/vs/base/common/themables.js +2 -2
- package/vscode/src/vs/base/common/types.d.ts +2 -1
- package/vscode/src/vs/base/common/types.js +4 -4
- package/vscode/src/vs/base/common/uri.d.ts +2 -2
- package/vscode/src/vs/base/common/uri.js +1 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.d.ts +1 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +1 -1
- package/vscode/src/vs/editor/browser/config/elementSizeObserver.d.ts +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +1 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +3 -2
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/gpuDisposable.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +2 -2
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +7 -5
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +11 -7
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +4 -0
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +5 -4
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRenderer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +3 -2
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +4 -4
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +9 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +4 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +26 -26
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +4 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +8 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +6 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +12 -11
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +10 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +4 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +8 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +4 -3
- package/vscode/src/vs/editor/common/codecs/frontMatterCodec/tokens/index.d.ts +1 -1
- package/vscode/src/vs/editor/common/codecs/simpleCodec/tokens/index.d.ts +1 -1
- package/vscode/src/vs/editor/common/config/editorConfiguration.d.ts +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +1 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +159 -153
- package/vscode/src/vs/editor/common/config/editorOptions.js +543 -517
- package/vscode/src/vs/editor/{browser → common/core/2d}/rect.d.ts +1 -1
- package/vscode/src/vs/editor/{browser → common/core/2d}/rect.js +1 -1
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +48 -0
- package/vscode/src/vs/editor/common/core/edits/edit.js +227 -0
- package/vscode/src/vs/editor/common/core/edits/lengthEdit.d.ts +25 -0
- package/vscode/src/vs/editor/common/core/edits/lengthEdit.js +92 -0
- package/vscode/src/vs/editor/common/core/{lineEdit.d.ts → edits/lineEdit.d.ts} +9 -8
- package/vscode/src/vs/editor/common/core/{lineEdit.js → edits/lineEdit.js} +17 -17
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +43 -0
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +215 -0
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +39 -0
- package/vscode/src/vs/editor/common/core/{textEdit.js → edits/textEdit.js} +75 -149
- package/vscode/src/vs/editor/common/core/{eolCounter.js → misc/eolCounter.js} +1 -1
- package/vscode/src/vs/editor/common/core/{indentation.js → misc/indentation.js} +2 -2
- package/vscode/src/vs/editor/common/core/{columnRange.d.ts → ranges/columnRange.d.ts} +1 -1
- package/vscode/src/vs/editor/common/core/{columnRange.js → ranges/columnRange.js} +2 -2
- package/vscode/src/vs/editor/common/core/{lineRange.d.ts → ranges/lineRange.d.ts} +6 -4
- package/vscode/src/vs/editor/common/core/{lineRange.js → ranges/lineRange.js} +12 -10
- package/vscode/src/vs/editor/common/core/{offsetRange.d.ts → ranges/offsetRange.d.ts} +2 -1
- package/vscode/src/vs/editor/common/core/{offsetRange.js → ranges/offsetRange.js} +7 -1
- package/vscode/src/vs/editor/common/core/{rangeSingleLine.d.ts → ranges/rangeSingleLine.d.ts} +1 -1
- package/vscode/src/vs/editor/common/core/{rangeSingleLine.js → ranges/rangeSingleLine.js} +1 -1
- package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +35 -0
- package/vscode/src/vs/editor/common/core/text/abstractText.js +84 -0
- package/vscode/src/vs/editor/common/core/text/getPositionOffsetTransformerFromTextModel.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/text/getPositionOffsetTransformerFromTextModel.js +20 -0
- package/vscode/src/vs/editor/common/core/{positionToOffset.d.ts → text/positionToOffset.d.ts} +9 -11
- package/vscode/src/vs/editor/common/core/{positionToOffset.js → text/positionToOffset.js} +14 -29
- package/vscode/src/vs/editor/common/core/{textLength.d.ts → text/textLength.d.ts} +3 -3
- package/vscode/src/vs/editor/common/core/{textLength.js → text/textLength.js} +3 -3
- package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +1 -1
- package/vscode/src/vs/editor/common/cursorCommon.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +3 -3
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/utils.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +1 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +4 -3
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +7 -7
- package/vscode/src/vs/editor/common/editorCommon.d.ts +1 -1
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +4 -28
- package/vscode/src/vs/editor/common/languages.js +65 -59
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.d.ts +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.js +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +2 -0
- package/vscode/src/vs/editor/common/model/textModel.js +11 -6
- package/vscode/src/vs/editor/common/model/textModelStringEdit.d.ts +9 -0
- package/vscode/src/vs/editor/common/model/textModelStringEdit.js +45 -0
- package/vscode/src/vs/editor/common/model/textModelText.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/textModelText.js +2 -2
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/textModelTokens.js +3 -3
- package/vscode/src/vs/editor/common/model/{tokens.d.ts → tokens/abstractSyntaxTokenBackend.d.ts} +22 -17
- package/vscode/src/vs/editor/common/model/tokens/abstractSyntaxTokenBackend.js +118 -0
- package/vscode/src/vs/editor/common/model/{tokenizationTextModelPart.d.ts → tokens/tokenizationTextModelPart.d.ts} +25 -25
- package/vscode/src/vs/editor/common/model/tokens/tokenizationTextModelPart.js +255 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.d.ts +37 -0
- package/vscode/src/vs/editor/common/model/tokens/tokenizerSyntaxTokenBackend.js +257 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/cursorUtils.d.ts +6 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/cursorUtils.js +76 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.d.ts +65 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/tokenStore.js +412 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.d.ts +40 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterSyntaxTokenBackend.js +172 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.d.ts +73 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTokenizationImpl.js +682 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.d.ts +53 -0
- package/vscode/src/vs/editor/common/model/tokens/treeSitter/treeSitterTree.js +381 -0
- package/vscode/src/vs/editor/common/model.d.ts +1 -0
- package/vscode/src/vs/editor/common/services/languageService.js +1 -1
- package/vscode/src/vs/editor/common/services/modelService.js +1 -1
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.d.ts +11 -0
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterLibraryService.service.js +6 -0
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterThemeService.service.d.ts +7 -0
- package/vscode/src/vs/editor/common/services/treeSitter/treeSitterThemeService.service.js +6 -0
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +156 -154
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +156 -154
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/textModelEditReason.d.ts +16 -0
- package/vscode/src/vs/editor/common/textModelEditReason.js +29 -0
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +2 -2
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +1 -1
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +1 -1
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.d.ts +1 -1
- package/vscode/src/vs/editor/common/tokens/tokenWithTextArray.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/lineHeights.js +4 -2
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +3 -8
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +6 -16
- package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.js +1 -1
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +24 -17
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +3 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +12 -12
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +33 -28
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/folding/browser/hiddenRangeModel.js +1 -1
- 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 +3 -3
- 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 +9 -9
- 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 +20 -20
- package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +20 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +10 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +15 -14
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/animation.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.d.ts +0 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/changeRecorder.js +5 -26
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +21 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +59 -23
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +10 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +12 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +46 -31
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +7 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/singleTextEditHelpers.d.ts +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/singleTextEditHelpers.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/structuredLogger.js +6 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +5 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +14 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +9 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +18 -22
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +53 -43
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.d.ts +4 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditWithChanges.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +4 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsNewUsers.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +68 -22
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCollapsedView.js +6 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsDeletionView.js +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +8 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsSideBySideView.js +7 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +12 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/originalEditorInlineDiffView.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +21 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.d.ts +9 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +31 -9
- 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/linesOperations/browser/sortLinesCommand.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/sortLinesCommand.js +3 -8
- 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 +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +9 -8
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.d.ts +1 -1
- 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/stickyScrollProvider.js +2 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +2 -2
- 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 +17 -17
- 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 +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -25
- 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 +11 -11
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.d.ts +0 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +4 -5
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.d.ts +11 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterLibraryService.js +21 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +6 -0
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +81 -68
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +2 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +15 -11
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.d.ts +2 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +9 -9
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.service.d.ts +2 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +11 -8
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +9 -0
- package/vscode/src/vs/platform/actions/common/actions.js +9 -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/configuration/common/configurationRegistry.js +10 -10
- 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/diagnostics/common/diagnostics.d.ts +1 -2
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.js +2 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/editor/common/editor.d.ts +6 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +20 -21
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +2 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +15 -7
- package/vscode/src/vs/platform/extensionRecommendations/common/extensionRecommendations.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +10 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +6 -6
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +7 -7
- 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/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.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.js +3 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +22 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.js +7 -0
- package/vscode/src/vs/platform/notification/common/notification.service.d.ts +1 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +2 -2
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +1 -1
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +1 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/progress/common/progress.js +1 -0
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +7 -0
- package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +9 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +4 -3
- 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/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 +2 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminalDataBuffering.js +1 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +2 -2
- package/vscode/src/vs/platform/theme/common/colorUtils.js +2 -2
- 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.js +47 -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 +6 -6
- 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/userDataSync/common/userDataSyncMachines.service.d.ts +1 -1
- package/vscode/src/vs/platform/window/common/window.d.ts +12 -4
- package/vscode/src/vs/platform/window/common/window.js +41 -6
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +14 -12
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +42 -15
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +4 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +64 -3
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +495 -5
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +0 -2
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +84 -75
- package/vscode/src/vs/workbench/api/common/extHostComments.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +4 -3
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +52 -20
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +199 -29
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.d.ts +1 -4
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +2 -17
- package/vscode/src/vs/workbench/api/common/extHostProgress.d.ts +9 -2
- package/vscode/src/vs/workbench/api/common/extHostProgress.js +19 -6
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +11 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostStorage.d.ts +1 -1
- 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 +6 -4
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +9 -8
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +70 -45
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +14 -19
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +12 -19
- package/vscode/src/vs/workbench/api/common/extHostUrls.d.ts +7 -2
- package/vscode/src/vs/workbench/api/common/extHostUrls.js +15 -6
- package/vscode/src/vs/workbench/api/common/extHostWindow.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +19 -5
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/api/worker/extHost.worker.services.js +2 -0
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -1
- 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/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.d.ts +4 -5
- package/vscode/src/vs/workbench/common/contextkeys.js +72 -73
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- 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 +184 -150
- 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 +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +10 -15
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +7 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +3 -12
- 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 +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +50 -37
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- 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 +42 -26
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +102 -96
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +17 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +26 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +21 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +38 -13
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +67 -1
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +11 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +6 -12
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.d.ts +12 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/types.service.d.ts +11 -6
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +3 -9
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +6 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- 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 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +5 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +10 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/files.service.d.ts +2 -2
- 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 +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/issue/common/issue.service.d.ts +0 -5
- 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.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +133 -8
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +132 -16
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +26 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.js +3 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +404 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.js +14 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.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 +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +14 -4
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +6 -2
- package/vscode/src/vs/workbench/contrib/search/browser/replace.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchTreeModel/searchViewModelWorkbenchService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.service.d.ts +1 -1
- 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.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +14 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +1 -1
- 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/contrib/welcomeGettingStarted/browser/gettingStartedExpService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedExpService.service.js +6 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +3 -3
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.d.ts +1 -0
- package/vscode/src/vs/workbench/services/aiSettingsSearch/common/aiSettingsSearch.service.d.ts +3 -1
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.d.ts +14 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpAccessService.service.js +6 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.d.ts +19 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpService.service.js +6 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service.d.ts +10 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationMcpUsageService.service.js +6 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +15 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +8 -2
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.d.ts +15 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +18 -0
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.js +6 -0
- package/vscode/src/vs/workbench/services/browserElements/browser/browserElementsService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/browserElements/browser/browserElementsService.service.js +6 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.d.ts +2 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverExpression.js +12 -4
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +7 -5
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +2 -3
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -3
- 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/extensions.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +84 -84
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +2 -4
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +2 -2
- 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/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +2 -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 +11 -1
- package/vscode/src/vs/workbench/services/search/common/search.js +10 -1
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.service.d.ts +2 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- 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/title/browser/titleService.service.d.ts +2 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +12 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyBackup.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +162 -1
- package/vscode-dts/vscode.proposed.aiSettingsSearch.d.ts +1 -0
- package/vscode-dts/vscode.proposed.authIssuers.d.ts +30 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +12 -1
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +10 -17
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +18 -0
- package/vscode-dts/vscode.proposed.contribLanguageModelToolSets.d.ts +6 -0
- package/vscode-dts/vscode.proposed.d.ts +2 -2
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +0 -5
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +1 -3
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +1 -1
- package/vscode-dts/vscode.proposed.languageModelDataPart.d.ts +7 -32
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +0 -59
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +0 -78
- package/vscode/src/vs/base/common/observableInternal/utils.js +0 -486
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +0 -43
- package/vscode/src/vs/editor/common/core/offsetEdit.js +0 -335
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +0 -71
- package/vscode/src/vs/editor/common/model/textModelOffsetEdit.d.ts +0 -10
- package/vscode/src/vs/editor/common/model/textModelOffsetEdit.js +0 -39
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +0 -507
- package/vscode/src/vs/editor/common/model/tokens.js +0 -81
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.service.d.ts +0 -24
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.service.js +0 -6
- package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +0 -31
- package/vscode/src/vs/editor/common/model/treeSitterTokens.js +0 -112
- package/vscode/src/vs/editor/common/services/treeSitterParserService.service.d.ts +0 -27
- package/vscode/src/vs/editor/common/services/treeSitterParserService.service.js +0 -7
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +0 -19
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +0 -29
- package/vscode/src/vs/platform/native/common/native.d.ts +0 -168
- package/vscode/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.service.d.ts +0 -4
- package/vscode/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.service.js +0 -6
- package/vscode-dts/vscode.proposed.mcpConfigurationProvider.d.ts +0 -139
- package/vscode-dts/vscode.proposed.notebookCellExecutionState.d.ts +0 -52
- /package/vscode/src/vs/editor/browser/{dnd.d.ts → dataTransfer.d.ts} +0 -0
- /package/vscode/src/vs/editor/browser/{dnd.js → dataTransfer.js} +0 -0
- /package/vscode/src/vs/editor/common/core/{dimension.d.ts → 2d/dimension.d.ts} +0 -0
- /package/vscode/src/vs/editor/{browser → common/core/2d}/point.d.ts +0 -0
- /package/vscode/src/vs/editor/{browser → common/core/2d}/point.js +0 -0
- /package/vscode/src/vs/editor/common/core/{eolCounter.d.ts → misc/eolCounter.d.ts} +0 -0
- /package/vscode/src/vs/editor/common/core/{indentation.d.ts → misc/indentation.d.ts} +0 -0
- /package/vscode/src/vs/editor/common/core/{rgba.d.ts → misc/rgba.d.ts} +0 -0
- /package/vscode/src/vs/editor/common/core/{rgba.js → misc/rgba.js} +0 -0
- /package/vscode/src/vs/editor/common/core/{textModelDefaults.d.ts → misc/textModelDefaults.d.ts} +0 -0
- /package/vscode/src/vs/editor/common/core/{textModelDefaults.js → misc/textModelDefaults.js} +0 -0
|
@@ -56,7 +56,7 @@ class PeekViewService {
|
|
|
56
56
|
}
|
|
57
57
|
var PeekContext;
|
|
58
58
|
(function (PeekContext) {
|
|
59
|
-
PeekContext.inPeekEditor = ( new RawContextKey('inReferenceSearchEditor', true, ( localize(
|
|
59
|
+
PeekContext.inPeekEditor = ( new RawContextKey('inReferenceSearchEditor', true, ( localize(1374, "Whether the current code editor is embedded inside peek"))));
|
|
60
60
|
PeekContext.notInPeekEditor = ( PeekContext.inPeekEditor.toNegated());
|
|
61
61
|
})(PeekContext || (PeekContext = {}));
|
|
62
62
|
let PeekContextController = class PeekContextController {
|
|
@@ -152,7 +152,7 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
152
152
|
this._actionbarWidget = ( new ActionBar(actionsContainer, actionBarOptions));
|
|
153
153
|
this._disposables.add(this._actionbarWidget);
|
|
154
154
|
if (!noCloseAction) {
|
|
155
|
-
this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(
|
|
155
|
+
this._actionbarWidget.push(this._disposables.add(( new Action('peekview.close', ( localize(1375, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
|
|
156
156
|
this.dispose();
|
|
157
157
|
return Promise.resolve();
|
|
158
158
|
}))), { label: false, icon: true });
|
|
@@ -197,7 +197,7 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
197
197
|
return;
|
|
198
198
|
}
|
|
199
199
|
const headHeight = Math.ceil(this.editor.getOption(EditorOption.lineHeight) * 1.2);
|
|
200
|
-
const bodyHeight = Math.round(heightInPixel - ((headHeight +
|
|
200
|
+
const bodyHeight = Math.round(heightInPixel - ((headHeight + 1) ));
|
|
201
201
|
this._doLayoutHead(headHeight, widthInPixel);
|
|
202
202
|
this._doLayoutBody(bodyHeight, widthInPixel);
|
|
203
203
|
}
|
|
@@ -216,26 +216,26 @@ let PeekViewWidget = class PeekViewWidget extends ZoneWidget {
|
|
|
216
216
|
PeekViewWidget = ( __decorate([
|
|
217
217
|
( __param(2, IInstantiationService))
|
|
218
218
|
], PeekViewWidget));
|
|
219
|
-
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(
|
|
220
|
-
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
221
|
-
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, ( localize(
|
|
222
|
-
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(
|
|
223
|
-
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(
|
|
224
|
-
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
225
|
-
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
219
|
+
const peekViewTitleBackground = registerColor('peekViewTitle.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1376, 'Background color of the peek view title area.')));
|
|
220
|
+
const peekViewTitleForeground = registerColor('peekViewTitleLabel.foreground', { dark: Color.white, light: Color.black, hcDark: Color.white, hcLight: editorForeground }, ( localize(1377, 'Color of the peek view title.')));
|
|
221
|
+
const peekViewTitleInfoForeground = registerColor('peekViewTitleDescription.foreground', { dark: '#ccccccb3', light: '#616161', hcDark: '#FFFFFF99', hcLight: '#292929' }, ( localize(1378, 'Color of the peek view title info.')));
|
|
222
|
+
const peekViewBorder = registerColor('peekView.border', { dark: editorInfoForeground, light: editorInfoForeground, hcDark: contrastBorder, hcLight: contrastBorder }, ( localize(1379, 'Color of the peek view borders and arrow.')));
|
|
223
|
+
const peekViewResultsBackground = registerColor('peekViewResult.background', { dark: '#252526', light: '#F3F3F3', hcDark: Color.black, hcLight: Color.white }, ( localize(1380, 'Background color of the peek view result list.')));
|
|
224
|
+
registerColor('peekViewResult.lineForeground', { dark: '#bbbbbb', light: '#646465', hcDark: Color.white, hcLight: editorForeground }, ( localize(1381, 'Foreground color for line nodes in the peek view result list.')));
|
|
225
|
+
registerColor('peekViewResult.fileForeground', { dark: Color.white, light: '#1E1E1E', hcDark: Color.white, hcLight: editorForeground }, ( localize(1382, 'Foreground color for file nodes in the peek view result list.')));
|
|
226
226
|
registerColor('peekViewResult.selectionBackground', { dark: '#3399ff33', light: '#3399ff33', hcDark: null, hcLight: null }, ( localize(
|
|
227
|
-
|
|
227
|
+
1383,
|
|
228
228
|
'Background color of the selected entry in the peek view result list.'
|
|
229
229
|
)));
|
|
230
230
|
registerColor('peekViewResult.selectionForeground', { dark: Color.white, light: '#6C6C6C', hcDark: Color.white, hcLight: editorForeground }, ( localize(
|
|
231
|
-
|
|
231
|
+
1384,
|
|
232
232
|
'Foreground color of the selected entry in the peek view result list.'
|
|
233
233
|
)));
|
|
234
|
-
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, ( localize(
|
|
235
|
-
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, ( localize(
|
|
236
|
-
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, ( localize(
|
|
237
|
-
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, ( localize(
|
|
238
|
-
const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, ( localize(
|
|
239
|
-
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(
|
|
234
|
+
const peekViewEditorBackground = registerColor('peekViewEditor.background', { dark: '#001F33', light: '#F2F8FC', hcDark: Color.black, hcLight: Color.white }, ( localize(1385, 'Background color of the peek view editor.')));
|
|
235
|
+
registerColor('peekViewEditorGutter.background', peekViewEditorBackground, ( localize(1386, 'Background color of the gutter in the peek view editor.')));
|
|
236
|
+
registerColor('peekViewEditorStickyScroll.background', peekViewEditorBackground, ( localize(1387, 'Background color of sticky scroll in the peek view editor.')));
|
|
237
|
+
registerColor('peekViewResult.matchHighlightBackground', { dark: '#ea5c004d', light: '#ea5c004d', hcDark: null, hcLight: null }, ( localize(1388, 'Match highlight color in the peek view result list.')));
|
|
238
|
+
const peekViewEditorMatchHighlight = registerColor('peekViewEditor.matchHighlightBackground', { dark: '#ff8f0099', light: '#f5d802de', hcDark: null, hcLight: null }, ( localize(1389, 'Match highlight color in the peek view editor.')));
|
|
239
|
+
registerColor('peekViewEditor.matchHighlightBorder', { dark: null, light: null, hcDark: activeContrastBorder, hcLight: activeContrastBorder }, ( localize(1390, 'Match highlight border in the peek view editor.')));
|
|
240
240
|
|
|
241
241
|
export { PeekContext, PeekViewService, PeekViewWidget, peekViewBorder, peekViewEditorBackground, peekViewEditorMatchHighlight, peekViewResultsBackground, peekViewTitleBackground, peekViewTitleForeground, peekViewTitleInfoForeground };
|
package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js
CHANGED
|
@@ -10,4 +10,4 @@ import { wrapInReloadableClass1 } from '../../../../platform/observable/common/w
|
|
|
10
10
|
|
|
11
11
|
registerCss(placeholderText);
|
|
12
12
|
registerEditorContribution(PlaceholderTextContribution.ID, wrapInReloadableClass1(() => PlaceholderTextContribution), EditorContributionInstantiation.Eager);
|
|
13
|
-
registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(
|
|
13
|
+
registerColor('editor.placeholder.foreground', ghostTextForeground, ( localize(1391, 'Foreground color of the placeholder text in the editor.')));
|
|
@@ -5,9 +5,10 @@ import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
|
5
5
|
import '../../../../base/common/observableInternal/index.js';
|
|
6
6
|
import { observableCodeEditor } from '../../../browser/observableCodeEditor.js';
|
|
7
7
|
import { EditorOption } from '../../../common/config/editorOptions.js';
|
|
8
|
-
import { derivedOpts,
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
8
|
+
import { derivedOpts, derived } from '../../../../base/common/observableInternal/observables/derived.js';
|
|
9
|
+
import { autorun } from '../../../../base/common/observableInternal/reactions/autorun.js';
|
|
10
|
+
import { constObservable } from '../../../../base/common/observableInternal/observables/constObservable.js';
|
|
11
|
+
import { derivedObservableWithCache } from '../../../../base/common/observableInternal/utils/utils.js';
|
|
11
12
|
|
|
12
13
|
class PlaceholderTextContribution extends Disposable {
|
|
13
14
|
static get(editor) {
|
|
@@ -30,29 +31,29 @@ class PlaceholderTextContribution extends Disposable {
|
|
|
30
31
|
return { placeholder: p };
|
|
31
32
|
});
|
|
32
33
|
this._shouldViewBeAlive = isOrWasTrue(this, reader => this._state.read(reader)?.placeholder !== undefined);
|
|
33
|
-
this._view =
|
|
34
|
+
this._view = derived((reader) => {
|
|
34
35
|
if (!this._shouldViewBeAlive.read(reader)) {
|
|
35
36
|
return;
|
|
36
37
|
}
|
|
37
38
|
const element = h('div.editorPlaceholder');
|
|
38
|
-
store.add(autorun(reader => {
|
|
39
|
+
reader.store.add(autorun(reader => {
|
|
39
40
|
const data = this._state.read(reader);
|
|
40
41
|
const shouldBeVisibile = data?.placeholder !== undefined;
|
|
41
42
|
element.root.style.display = shouldBeVisibile ? 'block' : 'none';
|
|
42
43
|
element.root.innerText = data?.placeholder ?? '';
|
|
43
44
|
}));
|
|
44
|
-
store.add(autorun(reader => {
|
|
45
|
+
reader.store.add(autorun(reader => {
|
|
45
46
|
const info = this._editorObs.layoutInfo.read(reader);
|
|
46
47
|
element.root.style.left = `${info.contentLeft}px`;
|
|
47
48
|
element.root.style.width = (info.contentWidth - info.verticalScrollbarWidth) + 'px';
|
|
48
49
|
element.root.style.top = `${this._editor.getTopForLineNumber(0)}px`;
|
|
49
50
|
}));
|
|
50
|
-
store.add(autorun(reader => {
|
|
51
|
+
reader.store.add(autorun(reader => {
|
|
51
52
|
element.root.style.fontFamily = this._editorObs.getOption(EditorOption.fontFamily).read(reader);
|
|
52
53
|
element.root.style.fontSize = this._editorObs.getOption(EditorOption.fontSize).read(reader) + 'px';
|
|
53
54
|
element.root.style.lineHeight = this._editorObs.getOption(EditorOption.lineHeight).read(reader) + 'px';
|
|
54
55
|
}));
|
|
55
|
-
store.add(this._editorObs.createOverlayWidget({
|
|
56
|
+
reader.store.add(this._editorObs.createOverlayWidget({
|
|
56
57
|
allowEditorOverflow: false,
|
|
57
58
|
minContentWidthInPx: constObservable(0),
|
|
58
59
|
position: constObservable(null),
|
|
@@ -19,10 +19,10 @@ class ReadOnlyMessageController extends Disposable {
|
|
|
19
19
|
let message = this.editor.getOptions().get(EditorOption.readOnlyMessage);
|
|
20
20
|
if (!message) {
|
|
21
21
|
if (this.editor.isSimpleWidget) {
|
|
22
|
-
message = ( new MarkdownString(( localize(
|
|
22
|
+
message = ( new MarkdownString(( localize(1429, "Cannot edit in read-only input"))));
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
|
-
message = ( new MarkdownString(( localize(
|
|
25
|
+
message = ( new MarkdownString(( localize(1430, "Cannot edit in read-only editor"))));
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
messageController.showMessage(message, this.editor.getPosition());
|
|
@@ -93,7 +93,7 @@ class RenameSkeleton {
|
|
|
93
93
|
}
|
|
94
94
|
const result = await provider.provideRenameEdits(this.model, this.position, newName, token);
|
|
95
95
|
if (!result) {
|
|
96
|
-
return this._provideRenameEdits(newName, i + 1, rejects.concat(( localize(
|
|
96
|
+
return this._provideRenameEdits(newName, i + 1, rejects.concat(( localize(1431, "No result."))), token);
|
|
97
97
|
}
|
|
98
98
|
else if (result.rejectReason) {
|
|
99
99
|
return this._provideRenameEdits(newName, i + 1, rejects.concat(result.rejectReason), token);
|
|
@@ -171,7 +171,7 @@ let RenameController = class RenameController {
|
|
|
171
171
|
else {
|
|
172
172
|
trace('resolve rename location failed', e instanceof Error ? e : JSON.stringify(e, null, '\t'));
|
|
173
173
|
if (typeof e === 'string' || isMarkdownString(e)) {
|
|
174
|
-
MessageController.get(this.editor)?.showMessage(e || ( localize(
|
|
174
|
+
MessageController.get(this.editor)?.showMessage(e || ( localize(1432, "An unknown error occurred while resolving rename location")), position);
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
return undefined;
|
|
@@ -243,15 +243,15 @@ let RenameController = class RenameController {
|
|
|
243
243
|
this._bulkEditService.apply(renameResult, {
|
|
244
244
|
editor: this.editor,
|
|
245
245
|
showPreview: inputFieldResult.wantsPreview,
|
|
246
|
-
label: ( localize(
|
|
246
|
+
label: ( localize(1433, "Renaming '{0}' to '{1}'", loc?.text, inputFieldResult.newName)),
|
|
247
247
|
code: 'undoredo.rename',
|
|
248
|
-
quotableLabel: ( localize(
|
|
248
|
+
quotableLabel: ( localize(1434, "Renaming {0} to {1}", loc?.text, inputFieldResult.newName)),
|
|
249
249
|
respectAutoSaveConfig: true
|
|
250
250
|
}).then(result => {
|
|
251
251
|
trace('edits applied');
|
|
252
252
|
if (result.ariaSummary) {
|
|
253
253
|
alert(( localize(
|
|
254
|
-
|
|
254
|
+
1435,
|
|
255
255
|
"Successfully renamed '{0}' to '{1}'. Summary: {2}",
|
|
256
256
|
loc.text,
|
|
257
257
|
inputFieldResult.newName,
|
|
@@ -260,12 +260,12 @@ let RenameController = class RenameController {
|
|
|
260
260
|
}
|
|
261
261
|
}).catch(err => {
|
|
262
262
|
trace(`error when applying edits ${JSON.stringify(err, null, '\t')}`);
|
|
263
|
-
this._notificationService.error(( localize(
|
|
263
|
+
this._notificationService.error(( localize(1436, "Rename failed to apply edits")));
|
|
264
264
|
this._logService.error(err);
|
|
265
265
|
});
|
|
266
266
|
}, err => {
|
|
267
267
|
trace('error when providing rename edits', JSON.stringify(err, null, '\t'));
|
|
268
|
-
this._notificationService.error(( localize(
|
|
268
|
+
this._notificationService.error(( localize(1437, "Rename failed to compute edits")));
|
|
269
269
|
this._logService.error(err);
|
|
270
270
|
}).finally(() => {
|
|
271
271
|
cts2.dispose();
|
|
@@ -300,7 +300,7 @@ class RenameAction extends EditorAction {
|
|
|
300
300
|
constructor() {
|
|
301
301
|
super({
|
|
302
302
|
id: 'editor.action.rename',
|
|
303
|
-
label: ( localize2(
|
|
303
|
+
label: ( localize2(1438, "Rename Symbol")),
|
|
304
304
|
precondition: ( ContextKeyExpr.and(EditorContextKeys.writable, EditorContextKeys.hasRenameProvider)),
|
|
305
305
|
kbOpts: {
|
|
306
306
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -380,7 +380,7 @@ registerAction2(class FocusNextRenameSuggestion extends Action2 {
|
|
|
380
380
|
super({
|
|
381
381
|
id: 'focusNextRenameSuggestion',
|
|
382
382
|
title: {
|
|
383
|
-
...( localize2(
|
|
383
|
+
...( localize2(1439, "Focus Next Rename Suggestion")),
|
|
384
384
|
},
|
|
385
385
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
386
386
|
keybinding: [
|
|
@@ -408,7 +408,7 @@ registerAction2(class FocusPreviousRenameSuggestion extends Action2 {
|
|
|
408
408
|
super({
|
|
409
409
|
id: 'focusPreviousRenameSuggestion',
|
|
410
410
|
title: {
|
|
411
|
-
...( localize2(
|
|
411
|
+
...( localize2(1440, "Focus Previous Rename Suggestion")),
|
|
412
412
|
},
|
|
413
413
|
precondition: CONTEXT_RENAME_INPUT_VISIBLE,
|
|
414
414
|
keybinding: [
|
|
@@ -451,7 +451,7 @@ registerModelAndPositionCommand('_executePrepareRename', async function (accesso
|
|
|
451
451
|
properties: {
|
|
452
452
|
'editor.rename.enablePreview': {
|
|
453
453
|
scope: ConfigurationScope.LANGUAGE_OVERRIDABLE,
|
|
454
|
-
description: ( localize(
|
|
454
|
+
description: ( localize(1441, "Enable/disable the ability to preview changes before renaming")),
|
|
455
455
|
default: true,
|
|
456
456
|
type: 'boolean'
|
|
457
457
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CancellationToken, CancellationTokenSource } from "../../../../base/common/cancellation.js";
|
|
2
2
|
import { IDisposable } from "../../../../base/common/lifecycle.js";
|
|
3
3
|
import { ContentWidgetPositionPreference, ICodeEditor, IContentWidget, IContentWidgetPosition } from "../../../browser/editorBrowser.js";
|
|
4
|
-
import { IDimension } from "../../../common/core/dimension.js";
|
|
4
|
+
import { IDimension } from "../../../common/core/2d/dimension.js";
|
|
5
5
|
import { IRange } from "../../../common/core/range.js";
|
|
6
6
|
import { NewSymbolName, NewSymbolNameTriggerKind, ProviderResult } from "../../../common/languages.js";
|
|
7
7
|
import { RawContextKey } from "../../../../platform/contextkey/common/contextkey.js";
|
|
@@ -44,7 +44,7 @@ import '../../../../platform/theme/common/colors/searchColors.js';
|
|
|
44
44
|
import { IThemeService } from '../../../../platform/theme/common/themeService.service.js';
|
|
45
45
|
|
|
46
46
|
registerCss(renameWidget);
|
|
47
|
-
const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(
|
|
47
|
+
const CONTEXT_RENAME_INPUT_VISIBLE = ( new RawContextKey('renameInputVisible', false, ( localize(1442, "Whether the rename input widget is visible"))));
|
|
48
48
|
let RenameWidget = class RenameWidget {
|
|
49
49
|
constructor(_editor, _acceptKeybindings, _themeService, _keybindingService, contextKeyService, _logService) {
|
|
50
50
|
this._editor = _editor;
|
|
@@ -167,7 +167,7 @@ let RenameWidget = class RenameWidget {
|
|
|
167
167
|
beforeRender() {
|
|
168
168
|
const [accept, preview] = this._acceptKeybindings;
|
|
169
169
|
this._label.innerText = ( localize(
|
|
170
|
-
|
|
170
|
+
1443,
|
|
171
171
|
"{0} to Rename, {1} to Preview",
|
|
172
172
|
this._keybindingService.lookupKeybinding(accept)?.getLabel(),
|
|
173
173
|
this._keybindingService.lookupKeybinding(preview)?.getLabel()
|
|
@@ -463,7 +463,7 @@ class RenameCandidateListView {
|
|
|
463
463
|
this._listWidget.layout(height, width);
|
|
464
464
|
this._listContainer.style.height = `${height}px`;
|
|
465
465
|
this._listContainer.style.width = `${width}px`;
|
|
466
|
-
status(( localize(
|
|
466
|
+
status(( localize(1444, "Received {0} rename suggestions", candidates.length)));
|
|
467
467
|
}
|
|
468
468
|
clearCandidates() {
|
|
469
469
|
this._listContainer.style.height = '0px';
|
|
@@ -602,13 +602,13 @@ class InputWithButton {
|
|
|
602
602
|
this._inputNode.className = 'rename-input';
|
|
603
603
|
this._inputNode.type = 'text';
|
|
604
604
|
this._inputNode.style.border = 'none';
|
|
605
|
-
this._inputNode.setAttribute('aria-label', ( localize(
|
|
605
|
+
this._inputNode.setAttribute('aria-label', ( localize(1445, "Rename input. Type new name and press Enter to commit.")));
|
|
606
606
|
this._domNode.appendChild(this._inputNode);
|
|
607
607
|
this._buttonNode = document.createElement('div');
|
|
608
608
|
this._buttonNode.className = 'rename-suggestions-button';
|
|
609
609
|
this._buttonNode.setAttribute('tabindex', '0');
|
|
610
|
-
this._buttonGenHoverText = ( localize(
|
|
611
|
-
this._buttonCancelHoverText = ( localize(
|
|
610
|
+
this._buttonGenHoverText = ( localize(1446, "Generate new name suggestions"));
|
|
611
|
+
this._buttonCancelHoverText = ( localize(1447, "Cancel"));
|
|
612
612
|
this._buttonHoverContent = this._buttonGenHoverText;
|
|
613
613
|
this._disposables.add(getBaseLayerHoverDelegate().setupDelayedHover(this._buttonNode, () => ({
|
|
614
614
|
content: this._buttonHoverContent,
|
|
@@ -118,7 +118,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
118
118
|
constructor() {
|
|
119
119
|
super(true, {
|
|
120
120
|
id: 'editor.action.smartSelect.expand',
|
|
121
|
-
label: ( localize2(
|
|
121
|
+
label: ( localize2(1448, "Expand Selection")),
|
|
122
122
|
precondition: undefined,
|
|
123
123
|
kbOpts: {
|
|
124
124
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -132,7 +132,7 @@ class GrowSelectionAction extends AbstractSmartSelect {
|
|
|
132
132
|
menuOpts: {
|
|
133
133
|
menuId: MenuId.MenubarSelectionMenu,
|
|
134
134
|
group: '1_basic',
|
|
135
|
-
title: ( localize(
|
|
135
|
+
title: ( localize(1449, "&&Expand Selection")),
|
|
136
136
|
order: 2
|
|
137
137
|
}
|
|
138
138
|
});
|
|
@@ -143,7 +143,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
143
143
|
constructor() {
|
|
144
144
|
super(false, {
|
|
145
145
|
id: 'editor.action.smartSelect.shrink',
|
|
146
|
-
label: ( localize2(
|
|
146
|
+
label: ( localize2(1450, "Shrink Selection")),
|
|
147
147
|
precondition: undefined,
|
|
148
148
|
kbOpts: {
|
|
149
149
|
kbExpr: EditorContextKeys.editorTextFocus,
|
|
@@ -157,7 +157,7 @@ class ShrinkSelectionAction extends AbstractSmartSelect {
|
|
|
157
157
|
menuOpts: {
|
|
158
158
|
menuId: MenuId.MenubarSelectionMenu,
|
|
159
159
|
group: '1_basic',
|
|
160
|
-
title: ( localize(
|
|
160
|
+
title: ( localize(1451, "&&Shrink Selection")),
|
|
161
161
|
order: 3
|
|
162
162
|
}
|
|
163
163
|
});
|
|
@@ -33,9 +33,9 @@ let SnippetController2 = class SnippetController2 {
|
|
|
33
33
|
static get(editor) {
|
|
34
34
|
return editor.getContribution(SnippetController2_1.ID);
|
|
35
35
|
}
|
|
36
|
-
static { this.InSnippetMode = ( new RawContextKey('inSnippetMode', false, ( localize(
|
|
37
|
-
static { this.HasNextTabstop = ( new RawContextKey('hasNextTabstop', false, ( localize(
|
|
38
|
-
static { this.HasPrevTabstop = ( new RawContextKey('hasPrevTabstop', false, ( localize(
|
|
36
|
+
static { this.InSnippetMode = ( new RawContextKey('inSnippetMode', false, ( localize(1452, "Whether the editor in current in snippet mode")))); }
|
|
37
|
+
static { this.HasNextTabstop = ( new RawContextKey('hasNextTabstop', false, ( localize(1453, "Whether there is a next tab stop when in snippet mode")))); }
|
|
38
|
+
static { this.HasPrevTabstop = ( new RawContextKey('hasPrevTabstop', false, ( localize(1454, "Whether there is a previous tab stop when in snippet mode")))); }
|
|
39
39
|
constructor(_editor, _logService, _languageFeaturesService, contextKeyService, _languageConfigurationService) {
|
|
40
40
|
this._editor = _editor;
|
|
41
41
|
this._logService = _logService;
|
|
@@ -124,7 +124,7 @@ let SnippetController2 = class SnippetController2 {
|
|
|
124
124
|
sortText: 'a'.repeat(i + 1),
|
|
125
125
|
range: activeChoice.range,
|
|
126
126
|
filterText: isAnyOfOptions ? `${word}_${option.value}` : undefined,
|
|
127
|
-
command: { id: 'jumpToNextSnippetPlaceholder', title: ( localize(
|
|
127
|
+
command: { id: 'jumpToNextSnippetPlaceholder', title: ( localize(1455, 'Go to next placeholder...')) }
|
|
128
128
|
});
|
|
129
129
|
}
|
|
130
130
|
return { suggestions };
|
|
@@ -214,10 +214,10 @@ class TimeBasedVariableResolver {
|
|
|
214
214
|
constructor() {
|
|
215
215
|
this._date = ( new Date());
|
|
216
216
|
}
|
|
217
|
-
static { this.dayNames = [( localize(
|
|
218
|
-
static { this.dayNamesShort = [( localize(
|
|
219
|
-
static { this.monthNames = [( localize(
|
|
220
|
-
static { this.monthNamesShort = [( localize(
|
|
217
|
+
static { this.dayNames = [( localize(1456, "Sunday")), ( localize(1457, "Monday")), ( localize(1458, "Tuesday")), ( localize(1459, "Wednesday")), ( localize(1460, "Thursday")), ( localize(1461, "Friday")), ( localize(1462, "Saturday"))]; }
|
|
218
|
+
static { this.dayNamesShort = [( localize(1463, "Sun")), ( localize(1464, "Mon")), ( localize(1465, "Tue")), ( localize(1466, "Wed")), ( localize(1467, "Thu")), ( localize(1468, "Fri")), ( localize(1469, "Sat"))]; }
|
|
219
|
+
static { this.monthNames = [( localize(1470, "January")), ( localize(1471, "February")), ( localize(1472, "March")), ( localize(1473, "April")), ( localize(1474, "May")), ( localize(1475, "June")), ( localize(1476, "July")), ( localize(1477, "August")), ( localize(1478, "September")), ( localize(1479, "October")), ( localize(1480, "November")), ( localize(1481, "December"))]; }
|
|
220
|
+
static { this.monthNamesShort = [( localize(1482, "Jan")), ( localize(1483, "Feb")), ( localize(1484, "Mar")), ( localize(1485, "Apr")), ( localize(1486, "May")), ( localize(1487, "Jun")), ( localize(1488, "Jul")), ( localize(1489, "Aug")), ( localize(1490, "Sep")), ( localize(1491, "Oct")), ( localize(1492, "Nov")), ( localize(1493, "Dec"))]; }
|
|
221
221
|
resolve(variable) {
|
|
222
222
|
const { name } = variable;
|
|
223
223
|
if (name === 'CURRENT_YEAR') {
|
|
@@ -15,20 +15,20 @@ class ToggleStickyScroll extends EditorAction2 {
|
|
|
15
15
|
super({
|
|
16
16
|
id: 'editor.action.toggleStickyScroll',
|
|
17
17
|
title: {
|
|
18
|
-
...( localize2(
|
|
19
|
-
mnemonicTitle: ( localize(
|
|
18
|
+
...( localize2(1494, "Toggle Editor Sticky Scroll")),
|
|
19
|
+
mnemonicTitle: ( localize(1495, "&&Toggle Editor Sticky Scroll")),
|
|
20
20
|
},
|
|
21
21
|
metadata: {
|
|
22
22
|
description: ( localize2(
|
|
23
|
-
|
|
23
|
+
1496,
|
|
24
24
|
"Toggle/enable the editor sticky scroll which shows the nested scopes at the top of the viewport"
|
|
25
25
|
)),
|
|
26
26
|
},
|
|
27
27
|
category: Categories.View,
|
|
28
28
|
toggled: {
|
|
29
29
|
condition: ( ContextKeyExpr.equals('config.editor.stickyScroll.enabled', true)),
|
|
30
|
-
title: ( localize(
|
|
31
|
-
mnemonicTitle: ( localize(
|
|
30
|
+
title: ( localize(1497, "Sticky Scroll")),
|
|
31
|
+
mnemonicTitle: ( localize(1498, "&&Sticky Scroll")),
|
|
32
32
|
},
|
|
33
33
|
menu: [
|
|
34
34
|
{ id: MenuId.CommandPalette },
|
|
@@ -53,8 +53,8 @@ class FocusStickyScroll extends EditorAction2 {
|
|
|
53
53
|
super({
|
|
54
54
|
id: 'editor.action.focusStickyScroll',
|
|
55
55
|
title: {
|
|
56
|
-
...( localize2(
|
|
57
|
-
mnemonicTitle: ( localize(
|
|
56
|
+
...( localize2(1499, "Focus Editor Sticky Scroll")),
|
|
57
|
+
mnemonicTitle: ( localize(1500, "&&Focus Editor Sticky Scroll")),
|
|
58
58
|
},
|
|
59
59
|
precondition: ( ContextKeyExpr.and(( ContextKeyExpr.has('config.editor.stickyScroll.enabled')), EditorContextKeys.stickyScrollVisible)),
|
|
60
60
|
menu: [
|
|
@@ -70,7 +70,7 @@ class SelectNextStickyScrollLine extends EditorAction2 {
|
|
|
70
70
|
constructor() {
|
|
71
71
|
super({
|
|
72
72
|
id: 'editor.action.selectNextStickyScrollLine',
|
|
73
|
-
title: ( localize2(
|
|
73
|
+
title: ( localize2(1501, "Select the next editor sticky scroll line")),
|
|
74
74
|
precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
|
|
75
75
|
keybinding: {
|
|
76
76
|
weight,
|
|
@@ -86,7 +86,7 @@ class SelectPreviousStickyScrollLine extends EditorAction2 {
|
|
|
86
86
|
constructor() {
|
|
87
87
|
super({
|
|
88
88
|
id: 'editor.action.selectPreviousStickyScrollLine',
|
|
89
|
-
title: ( localize2(
|
|
89
|
+
title: ( localize2(1502, "Select the previous sticky scroll line")),
|
|
90
90
|
precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
|
|
91
91
|
keybinding: {
|
|
92
92
|
weight,
|
|
@@ -102,7 +102,7 @@ class GoToStickyScrollLine extends EditorAction2 {
|
|
|
102
102
|
constructor() {
|
|
103
103
|
super({
|
|
104
104
|
id: 'editor.action.goToFocusedStickyScrollLine',
|
|
105
|
-
title: ( localize2(
|
|
105
|
+
title: ( localize2(1503, "Go to the focused sticky scroll line")),
|
|
106
106
|
precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
|
|
107
107
|
keybinding: {
|
|
108
108
|
weight,
|
|
@@ -118,7 +118,7 @@ class SelectEditor extends EditorAction2 {
|
|
|
118
118
|
constructor() {
|
|
119
119
|
super({
|
|
120
120
|
id: 'editor.action.selectEditor',
|
|
121
|
-
title: ( localize2(
|
|
121
|
+
title: ( localize2(1504, "Select Editor")),
|
|
122
122
|
precondition: ( EditorContextKeys.stickyScrollFocused.isEqualTo(true)),
|
|
123
123
|
keybinding: {
|
|
124
124
|
weight,
|
|
@@ -9,6 +9,7 @@ import { binarySearch } from '../../../../base/common/arrays.js';
|
|
|
9
9
|
import { Emitter } from '../../../../base/common/event.js';
|
|
10
10
|
import { ILanguageConfigurationService } from '../../../common/languages/languageConfigurationRegistry.service.js';
|
|
11
11
|
import { StickyModelProvider } from './stickyScrollModelProvider.js';
|
|
12
|
+
import { Position } from '../../../common/core/position.js';
|
|
12
13
|
|
|
13
14
|
class StickyLineCandidate {
|
|
14
15
|
constructor(startLineNumber, endLineNumber, top, height) {
|
|
@@ -128,7 +129,7 @@ let StickyLineCandidateProvider = class StickyLineCandidateProvider extends Disp
|
|
|
128
129
|
const childEndLine = childRange.endLineNumber;
|
|
129
130
|
if (range.startLineNumber <= childEndLine + 1 && childStartLine - 1 <= range.endLineNumber && childStartLine !== lastLine) {
|
|
130
131
|
lastLine = childStartLine;
|
|
131
|
-
const lineHeight = this._editor.
|
|
132
|
+
const lineHeight = this._editor.getLineHeightForPosition(( new Position(childStartLine, 1)));
|
|
132
133
|
result.push(( new StickyLineCandidate(childStartLine, childEndLine - 1, top, lineHeight)));
|
|
133
134
|
this.getCandidateStickyLinesIntersectingFromStickyModel(range, child, result, depth + 1, top + lineHeight, childStartLine);
|
|
134
135
|
}
|
|
@@ -218,7 +218,7 @@ class StickyScrollWidget extends Disposable {
|
|
|
218
218
|
_getHeightOfLines(lineNumbers, lastLineRelativePosition) {
|
|
219
219
|
let totalHeight = 0;
|
|
220
220
|
for (let i = 0; i < lineNumbers.length; i++) {
|
|
221
|
-
totalHeight += this._editor.
|
|
221
|
+
totalHeight += this._editor.getLineHeightForPosition(( new Position(lineNumbers[i], 1)));
|
|
222
222
|
}
|
|
223
223
|
return totalHeight + lastLineRelativePosition;
|
|
224
224
|
}
|
|
@@ -268,7 +268,7 @@ class StickyScrollWidget extends Disposable {
|
|
|
268
268
|
catch (err) {
|
|
269
269
|
actualInlineDecorations = [];
|
|
270
270
|
}
|
|
271
|
-
const lineHeight = this._editor.
|
|
271
|
+
const lineHeight = this._editor.getLineHeightForPosition(( new Position(line, 1)));
|
|
272
272
|
const renderLineInput = ( new RenderLineInput(
|
|
273
273
|
true,
|
|
274
274
|
true,
|
|
@@ -21,21 +21,21 @@ import { StandardTokenType } from '../../../common/encodedTokenAttributes.js';
|
|
|
21
21
|
|
|
22
22
|
const Context = {
|
|
23
23
|
Visible: historyNavigationVisible,
|
|
24
|
-
HasFocusedSuggestion: ( new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(
|
|
25
|
-
DetailsVisible: ( new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(
|
|
26
|
-
MultipleSuggestions: ( new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(
|
|
24
|
+
HasFocusedSuggestion: ( new RawContextKey('suggestWidgetHasFocusedSuggestion', false, ( localize(1505, "Whether any suggestion is focused")))),
|
|
25
|
+
DetailsVisible: ( new RawContextKey('suggestWidgetDetailsVisible', false, ( localize(1506, "Whether suggestion details are visible")))),
|
|
26
|
+
MultipleSuggestions: ( new RawContextKey('suggestWidgetMultipleSuggestions', false, ( localize(1507, "Whether there are multiple suggestions to pick from")))),
|
|
27
27
|
MakesTextEdit: ( new RawContextKey('suggestionMakesTextEdit', true, ( localize(
|
|
28
|
-
|
|
28
|
+
1508,
|
|
29
29
|
"Whether inserting the current suggestion yields in a change or has everything already been typed"
|
|
30
30
|
)))),
|
|
31
|
-
AcceptSuggestionsOnEnter: ( new RawContextKey('acceptSuggestionOnEnter', true, ( localize(
|
|
32
|
-
HasInsertAndReplaceRange: ( new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(
|
|
31
|
+
AcceptSuggestionsOnEnter: ( new RawContextKey('acceptSuggestionOnEnter', true, ( localize(1509, "Whether suggestions are inserted when pressing Enter")))),
|
|
32
|
+
HasInsertAndReplaceRange: ( new RawContextKey('suggestionHasInsertAndReplaceRange', false, ( localize(1510, "Whether the current suggestion has insert and replace behaviour")))),
|
|
33
33
|
InsertMode: ( new RawContextKey(
|
|
34
34
|
'suggestionInsertMode',
|
|
35
35
|
undefined,
|
|
36
|
-
{ type: 'string', description: ( localize(
|
|
36
|
+
{ type: 'string', description: ( localize(1511, "Whether the default behaviour is to insert or replace")) }
|
|
37
37
|
)),
|
|
38
|
-
CanResolve: ( new RawContextKey('suggestionCanResolve', false, ( localize(
|
|
38
|
+
CanResolve: ( new RawContextKey('suggestionCanResolve', false, ( localize(1512, "Whether the current suggestion supports to resolve further details")))),
|
|
39
39
|
};
|
|
40
40
|
const suggestWidgetStatusbarMenu = ( new MenuId('suggestWidgetStatusBar'));
|
|
41
41
|
class CompletionItem {
|
|
@@ -449,7 +449,7 @@ let SuggestController = class SuggestController {
|
|
|
449
449
|
_alertCompletionItem(item) {
|
|
450
450
|
if (isNonEmptyArray(item.completion.additionalTextEdits)) {
|
|
451
451
|
const msg = ( localize(
|
|
452
|
-
|
|
452
|
+
1513,
|
|
453
453
|
"Accepting '{0}' made {1} additional edits",
|
|
454
454
|
item.textLabel,
|
|
455
455
|
item.completion.additionalTextEdits.length
|
|
@@ -626,7 +626,7 @@ class TriggerSuggestAction extends EditorAction {
|
|
|
626
626
|
constructor() {
|
|
627
627
|
super({
|
|
628
628
|
id: TriggerSuggestAction.id,
|
|
629
|
-
label: ( localize2(
|
|
629
|
+
label: ( localize2(1514, "Trigger Suggest")),
|
|
630
630
|
precondition: ( ContextKeyExpr.and(
|
|
631
631
|
EditorContextKeys.writable,
|
|
632
632
|
EditorContextKeys.hasCompletionItemProvider,
|
|
@@ -681,19 +681,19 @@ registerEditorCommand(( new SuggestCommand({
|
|
|
681
681
|
}],
|
|
682
682
|
menuOpts: [{
|
|
683
683
|
menuId: suggestWidgetStatusbarMenu,
|
|
684
|
-
title: ( localize(
|
|
684
|
+
title: ( localize(1515, "Insert")),
|
|
685
685
|
group: 'left',
|
|
686
686
|
order: 1,
|
|
687
687
|
when: ( Context.HasInsertAndReplaceRange.toNegated())
|
|
688
688
|
}, {
|
|
689
689
|
menuId: suggestWidgetStatusbarMenu,
|
|
690
|
-
title: ( localize(
|
|
690
|
+
title: ( localize(1515, "Insert")),
|
|
691
691
|
group: 'left',
|
|
692
692
|
order: 1,
|
|
693
693
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('insert'))))
|
|
694
694
|
}, {
|
|
695
695
|
menuId: suggestWidgetStatusbarMenu,
|
|
696
|
-
title: ( localize(
|
|
696
|
+
title: ( localize(1516, "Replace")),
|
|
697
697
|
group: 'left',
|
|
698
698
|
order: 1,
|
|
699
699
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('replace'))))
|
|
@@ -720,13 +720,13 @@ registerEditorCommand(( new SuggestCommand({
|
|
|
720
720
|
group: 'left',
|
|
721
721
|
order: 2,
|
|
722
722
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('insert')))),
|
|
723
|
-
title: ( localize(
|
|
723
|
+
title: ( localize(1516, "Replace"))
|
|
724
724
|
}, {
|
|
725
725
|
menuId: suggestWidgetStatusbarMenu,
|
|
726
726
|
group: 'left',
|
|
727
727
|
order: 2,
|
|
728
728
|
when: ( ContextKeyExpr.and(Context.HasInsertAndReplaceRange, ( Context.InsertMode.isEqualTo('replace')))),
|
|
729
|
-
title: ( localize(
|
|
729
|
+
title: ( localize(1515, "Insert"))
|
|
730
730
|
}]
|
|
731
731
|
})));
|
|
732
732
|
CommandsRegistry.registerCommandAlias('acceptSelectedSuggestionOnEnter', 'acceptSelectedSuggestion');
|
|
@@ -833,13 +833,13 @@ registerEditorCommand(( new SuggestCommand({
|
|
|
833
833
|
group: 'right',
|
|
834
834
|
order: 1,
|
|
835
835
|
when: ( ContextKeyExpr.and(Context.DetailsVisible, Context.CanResolve)),
|
|
836
|
-
title: ( localize(
|
|
836
|
+
title: ( localize(1517, "Show Less"))
|
|
837
837
|
}, {
|
|
838
838
|
menuId: suggestWidgetStatusbarMenu,
|
|
839
839
|
group: 'right',
|
|
840
840
|
order: 1,
|
|
841
841
|
when: ( ContextKeyExpr.and(( Context.DetailsVisible.toNegated()), Context.CanResolve)),
|
|
842
|
-
title: ( localize(
|
|
842
|
+
title: ( localize(1518, "Show More"))
|
|
843
843
|
}]
|
|
844
844
|
})));
|
|
845
845
|
registerEditorCommand(( new SuggestCommand({
|
|
@@ -897,7 +897,7 @@ registerEditorAction(class extends EditorAction {
|
|
|
897
897
|
constructor() {
|
|
898
898
|
super({
|
|
899
899
|
id: 'editor.action.resetSuggestSize',
|
|
900
|
-
label: ( localize2(
|
|
900
|
+
label: ( localize2(1519, "Reset Suggest Widget Size")),
|
|
901
901
|
precondition: undefined
|
|
902
902
|
});
|
|
903
903
|
}
|