@codingame/monaco-vscode-api 17.2.1 → 18.0.1
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 +245 -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
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
|
|
2
2
|
import { equals } from '../../../base/common/arrays.js';
|
|
3
3
|
import { equals as equals$1 } from '../../../base/common/objects.js';
|
|
4
|
-
import { isMacintosh, isLinux, isChrome, isEdge, isNative } from '../../../base/common/platform.js';
|
|
4
|
+
import { isMacintosh, isWindows, isLinux, isChrome, isEdge, isNative } from '../../../base/common/platform.js';
|
|
5
5
|
import { ScrollbarVisibility } from '../../../base/common/scrollable.js';
|
|
6
6
|
import { Constants } from '../../../base/common/uint.js';
|
|
7
|
-
import { EDITOR_MODEL_DEFAULTS } from '../core/textModelDefaults.js';
|
|
7
|
+
import { EDITOR_MODEL_DEFAULTS } from '../core/misc/textModelDefaults.js';
|
|
8
8
|
import { USUAL_WORD_SEPARATORS } from '../core/wordHelper.js';
|
|
9
9
|
import { localize } from '../../../nls.js';
|
|
10
10
|
import { AccessibilitySupport } from '../../../platform/accessibility/common/accessibility.js';
|
|
11
|
-
import product from '../../../platform/product/common/product.js';
|
|
12
11
|
|
|
13
12
|
var EditorAutoIndentStrategy;
|
|
14
13
|
(function (EditorAutoIndentStrategy) {
|
|
@@ -264,6 +263,12 @@ class EditorEnumOption extends BaseEditorOption {
|
|
|
264
263
|
return this._convert(input);
|
|
265
264
|
}
|
|
266
265
|
}
|
|
266
|
+
function stringArray(value, defaultValue) {
|
|
267
|
+
if (!Array.isArray(value)) {
|
|
268
|
+
return defaultValue;
|
|
269
|
+
}
|
|
270
|
+
return ( value.map(item => String(item)));
|
|
271
|
+
}
|
|
267
272
|
function _autoIndentFromString(autoIndent) {
|
|
268
273
|
switch (autoIndent) {
|
|
269
274
|
case 'none': return EditorAutoIndentStrategy.None;
|
|
@@ -428,6 +433,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
428
433
|
constructor() {
|
|
429
434
|
const defaults = {
|
|
430
435
|
cursorMoveOnType: true,
|
|
436
|
+
findOnType: true,
|
|
431
437
|
seedSearchStringFromSelection: 'always',
|
|
432
438
|
autoFindInSelection: 'never',
|
|
433
439
|
globalFindClipboard: false,
|
|
@@ -523,7 +529,12 @@ class EditorFind extends BaseEditorOption {
|
|
|
523
529
|
( localize(285, 'Store replace history across the active workspace')),
|
|
524
530
|
],
|
|
525
531
|
description: ( localize(286, "Controls how the replace widget history should be stored"))
|
|
526
|
-
}
|
|
532
|
+
},
|
|
533
|
+
'editor.find.findOnType': {
|
|
534
|
+
type: 'boolean',
|
|
535
|
+
default: defaults.findOnType,
|
|
536
|
+
description: ( localize(287, "Controls whether the Find Widget should search as you type."))
|
|
537
|
+
},
|
|
527
538
|
});
|
|
528
539
|
}
|
|
529
540
|
validate(_input) {
|
|
@@ -533,6 +544,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
533
544
|
const input = _input;
|
|
534
545
|
return {
|
|
535
546
|
cursorMoveOnType: boolean(input.cursorMoveOnType, this.defaultValue.cursorMoveOnType),
|
|
547
|
+
findOnType: boolean(input.findOnType, this.defaultValue.findOnType),
|
|
536
548
|
seedSearchStringFromSelection: typeof _input.seedSearchStringFromSelection === 'boolean'
|
|
537
549
|
? (_input.seedSearchStringFromSelection ? 'always' : 'never')
|
|
538
550
|
: stringSet(input.seedSearchStringFromSelection, this.defaultValue.seedSearchStringFromSelection, ['never', 'always', 'selection']),
|
|
@@ -556,20 +568,20 @@ class EditorFontLigatures extends BaseEditorOption {
|
|
|
556
568
|
{
|
|
557
569
|
type: 'boolean',
|
|
558
570
|
description: ( localize(
|
|
559
|
-
|
|
571
|
+
288,
|
|
560
572
|
"Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property."
|
|
561
573
|
)),
|
|
562
574
|
},
|
|
563
575
|
{
|
|
564
576
|
type: 'string',
|
|
565
577
|
description: ( localize(
|
|
566
|
-
|
|
578
|
+
289,
|
|
567
579
|
"Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures."
|
|
568
580
|
))
|
|
569
581
|
}
|
|
570
582
|
],
|
|
571
583
|
description: ( localize(
|
|
572
|
-
|
|
584
|
+
290,
|
|
573
585
|
"Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."
|
|
574
586
|
)),
|
|
575
587
|
default: false
|
|
@@ -603,20 +615,20 @@ class EditorFontVariations extends BaseEditorOption {
|
|
|
603
615
|
{
|
|
604
616
|
type: 'boolean',
|
|
605
617
|
description: ( localize(
|
|
606
|
-
|
|
618
|
+
291,
|
|
607
619
|
"Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property."
|
|
608
620
|
)),
|
|
609
621
|
},
|
|
610
622
|
{
|
|
611
623
|
type: 'string',
|
|
612
624
|
description: ( localize(
|
|
613
|
-
|
|
625
|
+
292,
|
|
614
626
|
"Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings."
|
|
615
627
|
))
|
|
616
628
|
}
|
|
617
629
|
],
|
|
618
630
|
description: ( localize(
|
|
619
|
-
|
|
631
|
+
293,
|
|
620
632
|
"Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."
|
|
621
633
|
)),
|
|
622
634
|
default: false
|
|
@@ -677,7 +689,7 @@ class EditorFontSize extends SimpleEditorOption {
|
|
|
677
689
|
minimum: 6,
|
|
678
690
|
maximum: 100,
|
|
679
691
|
default: EDITOR_FONT_DEFAULTS.fontSize,
|
|
680
|
-
description: ( localize(
|
|
692
|
+
description: ( localize(294, "Controls the font size in pixels."))
|
|
681
693
|
});
|
|
682
694
|
}
|
|
683
695
|
validate(input) {
|
|
@@ -703,7 +715,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
703
715
|
minimum: EditorFontWeight.MINIMUM_VALUE,
|
|
704
716
|
maximum: EditorFontWeight.MAXIMUM_VALUE,
|
|
705
717
|
errorMessage: ( localize(
|
|
706
|
-
|
|
718
|
+
295,
|
|
707
719
|
"Only \"normal\" and \"bold\" keywords or numbers between 1 and 1000 are allowed."
|
|
708
720
|
))
|
|
709
721
|
},
|
|
@@ -717,7 +729,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
717
729
|
],
|
|
718
730
|
default: EDITOR_FONT_DEFAULTS.fontWeight,
|
|
719
731
|
description: ( localize(
|
|
720
|
-
|
|
732
|
+
296,
|
|
721
733
|
"Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000."
|
|
722
734
|
))
|
|
723
735
|
});
|
|
@@ -751,50 +763,50 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
751
763
|
enum: ['peek', 'gotoAndPeek', 'goto'],
|
|
752
764
|
default: defaults.multiple,
|
|
753
765
|
enumDescriptions: [
|
|
754
|
-
( localize(
|
|
755
|
-
( localize(
|
|
756
|
-
( localize(
|
|
766
|
+
( localize(297, 'Show Peek view of the results (default)')),
|
|
767
|
+
( localize(298, 'Go to the primary result and show a Peek view')),
|
|
768
|
+
( localize(299, 'Go to the primary result and enable Peek-less navigation to others'))
|
|
757
769
|
]
|
|
758
770
|
};
|
|
759
771
|
const alternativeCommandOptions = ['', 'editor.action.referenceSearch.trigger', 'editor.action.goToReferences', 'editor.action.peekImplementation', 'editor.action.goToImplementation', 'editor.action.peekTypeDefinition', 'editor.action.goToTypeDefinition', 'editor.action.peekDeclaration', 'editor.action.revealDeclaration', 'editor.action.peekDefinition', 'editor.action.revealDefinitionAside', 'editor.action.revealDefinition'];
|
|
760
772
|
super(EditorOption.gotoLocation, 'gotoLocation', defaults, {
|
|
761
773
|
'editor.gotoLocation.multiple': {
|
|
762
774
|
deprecationMessage: ( localize(
|
|
763
|
-
|
|
775
|
+
300,
|
|
764
776
|
"This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead."
|
|
765
777
|
)),
|
|
766
778
|
},
|
|
767
779
|
'editor.gotoLocation.multipleDefinitions': {
|
|
768
780
|
description: ( localize(
|
|
769
|
-
|
|
781
|
+
301,
|
|
770
782
|
"Controls the behavior the 'Go to Definition'-command when multiple target locations exist."
|
|
771
783
|
)),
|
|
772
784
|
...jsonSubset,
|
|
773
785
|
},
|
|
774
786
|
'editor.gotoLocation.multipleTypeDefinitions': {
|
|
775
787
|
description: ( localize(
|
|
776
|
-
|
|
788
|
+
302,
|
|
777
789
|
"Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."
|
|
778
790
|
)),
|
|
779
791
|
...jsonSubset,
|
|
780
792
|
},
|
|
781
793
|
'editor.gotoLocation.multipleDeclarations': {
|
|
782
794
|
description: ( localize(
|
|
783
|
-
|
|
795
|
+
303,
|
|
784
796
|
"Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."
|
|
785
797
|
)),
|
|
786
798
|
...jsonSubset,
|
|
787
799
|
},
|
|
788
800
|
'editor.gotoLocation.multipleImplementations': {
|
|
789
801
|
description: ( localize(
|
|
790
|
-
|
|
802
|
+
304,
|
|
791
803
|
"Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."
|
|
792
804
|
)),
|
|
793
805
|
...jsonSubset,
|
|
794
806
|
},
|
|
795
807
|
'editor.gotoLocation.multipleReferences': {
|
|
796
808
|
description: ( localize(
|
|
797
|
-
|
|
809
|
+
305,
|
|
798
810
|
"Controls the behavior the 'Go to References'-command when multiple target locations exist."
|
|
799
811
|
)),
|
|
800
812
|
...jsonSubset,
|
|
@@ -804,7 +816,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
804
816
|
default: defaults.alternativeDefinitionCommand,
|
|
805
817
|
enum: alternativeCommandOptions,
|
|
806
818
|
description: ( localize(
|
|
807
|
-
|
|
819
|
+
306,
|
|
808
820
|
"Alternative command id that is being executed when the result of 'Go to Definition' is the current location."
|
|
809
821
|
))
|
|
810
822
|
},
|
|
@@ -813,7 +825,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
813
825
|
default: defaults.alternativeTypeDefinitionCommand,
|
|
814
826
|
enum: alternativeCommandOptions,
|
|
815
827
|
description: ( localize(
|
|
816
|
-
|
|
828
|
+
307,
|
|
817
829
|
"Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location."
|
|
818
830
|
))
|
|
819
831
|
},
|
|
@@ -822,7 +834,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
822
834
|
default: defaults.alternativeDeclarationCommand,
|
|
823
835
|
enum: alternativeCommandOptions,
|
|
824
836
|
description: ( localize(
|
|
825
|
-
|
|
837
|
+
308,
|
|
826
838
|
"Alternative command id that is being executed when the result of 'Go to Declaration' is the current location."
|
|
827
839
|
))
|
|
828
840
|
},
|
|
@@ -831,7 +843,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
831
843
|
default: defaults.alternativeImplementationCommand,
|
|
832
844
|
enum: alternativeCommandOptions,
|
|
833
845
|
description: ( localize(
|
|
834
|
-
|
|
846
|
+
309,
|
|
835
847
|
"Alternative command id that is being executed when the result of 'Go to Implementation' is the current location."
|
|
836
848
|
))
|
|
837
849
|
},
|
|
@@ -840,7 +852,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
840
852
|
default: defaults.alternativeReferenceCommand,
|
|
841
853
|
enum: alternativeCommandOptions,
|
|
842
854
|
description: ( localize(
|
|
843
|
-
|
|
855
|
+
310,
|
|
844
856
|
"Alternative command id that is being executed when the result of 'Go to Reference' is the current location."
|
|
845
857
|
))
|
|
846
858
|
},
|
|
@@ -881,20 +893,20 @@ class EditorHover extends BaseEditorOption {
|
|
|
881
893
|
'editor.hover.enabled': {
|
|
882
894
|
type: 'boolean',
|
|
883
895
|
default: defaults.enabled,
|
|
884
|
-
description: ( localize(
|
|
896
|
+
description: ( localize(311, "Controls whether the hover is shown."))
|
|
885
897
|
},
|
|
886
898
|
'editor.hover.delay': {
|
|
887
899
|
type: 'number',
|
|
888
900
|
default: defaults.delay,
|
|
889
901
|
minimum: 0,
|
|
890
902
|
maximum: 10000,
|
|
891
|
-
description: ( localize(
|
|
903
|
+
description: ( localize(312, "Controls the delay in milliseconds after which the hover is shown."))
|
|
892
904
|
},
|
|
893
905
|
'editor.hover.sticky': {
|
|
894
906
|
type: 'boolean',
|
|
895
907
|
default: defaults.sticky,
|
|
896
908
|
description: ( localize(
|
|
897
|
-
|
|
909
|
+
313,
|
|
898
910
|
"Controls whether the hover should remain visible when mouse is moved over it."
|
|
899
911
|
))
|
|
900
912
|
},
|
|
@@ -903,14 +915,14 @@ class EditorHover extends BaseEditorOption {
|
|
|
903
915
|
minimum: 0,
|
|
904
916
|
default: defaults.hidingDelay,
|
|
905
917
|
description: ( localize(
|
|
906
|
-
|
|
918
|
+
314,
|
|
907
919
|
"Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled."
|
|
908
920
|
))
|
|
909
921
|
},
|
|
910
922
|
'editor.hover.above': {
|
|
911
923
|
type: 'boolean',
|
|
912
924
|
default: defaults.above,
|
|
913
|
-
description: ( localize(
|
|
925
|
+
description: ( localize(315, "Prefer showing hovers above the line, if there's space."))
|
|
914
926
|
},
|
|
915
927
|
});
|
|
916
928
|
}
|
|
@@ -1220,11 +1232,11 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1220
1232
|
'editor.wrappingStrategy': {
|
|
1221
1233
|
enumDescriptions: [
|
|
1222
1234
|
( localize(
|
|
1223
|
-
|
|
1235
|
+
316,
|
|
1224
1236
|
"Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."
|
|
1225
1237
|
)),
|
|
1226
1238
|
( localize(
|
|
1227
|
-
|
|
1239
|
+
317,
|
|
1228
1240
|
"Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases."
|
|
1229
1241
|
))
|
|
1230
1242
|
],
|
|
@@ -1232,7 +1244,7 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1232
1244
|
enum: ['simple', 'advanced'],
|
|
1233
1245
|
default: 'simple',
|
|
1234
1246
|
description: ( localize(
|
|
1235
|
-
|
|
1247
|
+
318,
|
|
1236
1248
|
"Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience."
|
|
1237
1249
|
))
|
|
1238
1250
|
}
|
|
@@ -1264,14 +1276,14 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1264
1276
|
enum: [ShowLightbulbIconMode.Off, ShowLightbulbIconMode.OnCode, ShowLightbulbIconMode.On],
|
|
1265
1277
|
default: defaults.enabled,
|
|
1266
1278
|
enumDescriptions: [
|
|
1267
|
-
( localize(
|
|
1268
|
-
( localize(
|
|
1279
|
+
( localize(319, 'Disable the code action menu.')),
|
|
1280
|
+
( localize(320, 'Show the code action menu when the cursor is on lines with code.')),
|
|
1269
1281
|
( localize(
|
|
1270
|
-
|
|
1282
|
+
321,
|
|
1271
1283
|
'Show the code action menu when the cursor is on lines with code or on empty lines.'
|
|
1272
1284
|
)),
|
|
1273
1285
|
],
|
|
1274
|
-
description: ( localize(
|
|
1286
|
+
description: ( localize(322, "Enables the Code Action lightbulb in the editor."))
|
|
1275
1287
|
}
|
|
1276
1288
|
});
|
|
1277
1289
|
}
|
|
@@ -1293,7 +1305,7 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1293
1305
|
type: 'boolean',
|
|
1294
1306
|
default: defaults.enabled,
|
|
1295
1307
|
description: ( localize(
|
|
1296
|
-
|
|
1308
|
+
323,
|
|
1297
1309
|
"Shows the nested current scopes during the scroll at the top of the editor."
|
|
1298
1310
|
))
|
|
1299
1311
|
},
|
|
@@ -1302,14 +1314,14 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1302
1314
|
default: defaults.maxLineCount,
|
|
1303
1315
|
minimum: 1,
|
|
1304
1316
|
maximum: 20,
|
|
1305
|
-
description: ( localize(
|
|
1317
|
+
description: ( localize(324, "Defines the maximum number of sticky lines to show."))
|
|
1306
1318
|
},
|
|
1307
1319
|
'editor.stickyScroll.defaultModel': {
|
|
1308
1320
|
type: 'string',
|
|
1309
1321
|
enum: ['outlineModel', 'foldingProviderModel', 'indentationModel'],
|
|
1310
1322
|
default: defaults.defaultModel,
|
|
1311
1323
|
description: ( localize(
|
|
1312
|
-
|
|
1324
|
+
325,
|
|
1313
1325
|
"Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases."
|
|
1314
1326
|
))
|
|
1315
1327
|
},
|
|
@@ -1317,7 +1329,7 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1317
1329
|
type: 'boolean',
|
|
1318
1330
|
default: defaults.scrollWithEditor,
|
|
1319
1331
|
description: ( localize(
|
|
1320
|
-
|
|
1332
|
+
326,
|
|
1321
1333
|
"Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar."
|
|
1322
1334
|
))
|
|
1323
1335
|
},
|
|
@@ -1343,28 +1355,28 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1343
1355
|
'editor.inlayHints.enabled': {
|
|
1344
1356
|
type: 'string',
|
|
1345
1357
|
default: defaults.enabled,
|
|
1346
|
-
description: ( localize(
|
|
1358
|
+
description: ( localize(327, "Enables the inlay hints in the editor.")),
|
|
1347
1359
|
enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
|
|
1348
1360
|
markdownEnumDescriptions: [
|
|
1349
|
-
( localize(
|
|
1361
|
+
( localize(328, "Inlay hints are enabled")),
|
|
1350
1362
|
( localize(
|
|
1351
|
-
|
|
1363
|
+
329,
|
|
1352
1364
|
"Inlay hints are showing by default and hide when holding {0}",
|
|
1353
1365
|
isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
|
|
1354
1366
|
)),
|
|
1355
1367
|
( localize(
|
|
1356
|
-
|
|
1368
|
+
330,
|
|
1357
1369
|
"Inlay hints are hidden by default and show when holding {0}",
|
|
1358
1370
|
isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
|
|
1359
1371
|
)),
|
|
1360
|
-
( localize(
|
|
1372
|
+
( localize(331, "Inlay hints are disabled")),
|
|
1361
1373
|
],
|
|
1362
1374
|
},
|
|
1363
1375
|
'editor.inlayHints.fontSize': {
|
|
1364
1376
|
type: 'number',
|
|
1365
1377
|
default: defaults.fontSize,
|
|
1366
1378
|
markdownDescription: ( localize(
|
|
1367
|
-
|
|
1379
|
+
332,
|
|
1368
1380
|
"Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.",
|
|
1369
1381
|
'`#editor.fontSize#`',
|
|
1370
1382
|
'`5`'
|
|
@@ -1374,7 +1386,7 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1374
1386
|
type: 'string',
|
|
1375
1387
|
default: defaults.fontFamily,
|
|
1376
1388
|
markdownDescription: ( localize(
|
|
1377
|
-
|
|
1389
|
+
333,
|
|
1378
1390
|
"Controls font family of inlay hints in the editor. When set to empty, the {0} is used.",
|
|
1379
1391
|
'`#editor.fontFamily#`'
|
|
1380
1392
|
))
|
|
@@ -1382,13 +1394,13 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1382
1394
|
'editor.inlayHints.padding': {
|
|
1383
1395
|
type: 'boolean',
|
|
1384
1396
|
default: defaults.padding,
|
|
1385
|
-
description: ( localize(
|
|
1397
|
+
description: ( localize(334, "Enables the padding around the inlay hints in the editor."))
|
|
1386
1398
|
},
|
|
1387
1399
|
'editor.inlayHints.maximumLength': {
|
|
1388
1400
|
type: 'number',
|
|
1389
1401
|
default: defaults.maximumLength,
|
|
1390
1402
|
markdownDescription: ( localize(
|
|
1391
|
-
|
|
1403
|
+
335,
|
|
1392
1404
|
"Maximum overall length of inlay hints, for a single line, before they get truncated by the editor. Set to `0` to never truncate"
|
|
1393
1405
|
))
|
|
1394
1406
|
}
|
|
@@ -1436,7 +1448,7 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
|
1436
1448
|
class EditorLineHeight extends EditorFloatOption {
|
|
1437
1449
|
constructor() {
|
|
1438
1450
|
super(EditorOption.lineHeight, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localize(
|
|
1439
|
-
|
|
1451
|
+
336,
|
|
1440
1452
|
"Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values."
|
|
1441
1453
|
)) });
|
|
1442
1454
|
}
|
|
@@ -1465,44 +1477,44 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1465
1477
|
'editor.minimap.enabled': {
|
|
1466
1478
|
type: 'boolean',
|
|
1467
1479
|
default: defaults.enabled,
|
|
1468
|
-
description: ( localize(
|
|
1480
|
+
description: ( localize(337, "Controls whether the minimap is shown."))
|
|
1469
1481
|
},
|
|
1470
1482
|
'editor.minimap.autohide': {
|
|
1471
1483
|
type: 'boolean',
|
|
1472
1484
|
default: defaults.autohide,
|
|
1473
|
-
description: ( localize(
|
|
1485
|
+
description: ( localize(338, "Controls whether the minimap is hidden automatically."))
|
|
1474
1486
|
},
|
|
1475
1487
|
'editor.minimap.size': {
|
|
1476
1488
|
type: 'string',
|
|
1477
1489
|
enum: ['proportional', 'fill', 'fit'],
|
|
1478
1490
|
enumDescriptions: [
|
|
1479
1491
|
( localize(
|
|
1480
|
-
|
|
1492
|
+
339,
|
|
1481
1493
|
"The minimap has the same size as the editor contents (and might scroll)."
|
|
1482
1494
|
)),
|
|
1483
1495
|
( localize(
|
|
1484
|
-
|
|
1496
|
+
340,
|
|
1485
1497
|
"The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."
|
|
1486
1498
|
)),
|
|
1487
1499
|
( localize(
|
|
1488
|
-
|
|
1500
|
+
341,
|
|
1489
1501
|
"The minimap will shrink as necessary to never be larger than the editor (no scrolling)."
|
|
1490
1502
|
)),
|
|
1491
1503
|
],
|
|
1492
1504
|
default: defaults.size,
|
|
1493
|
-
description: ( localize(
|
|
1505
|
+
description: ( localize(342, "Controls the size of the minimap."))
|
|
1494
1506
|
},
|
|
1495
1507
|
'editor.minimap.side': {
|
|
1496
1508
|
type: 'string',
|
|
1497
1509
|
enum: ['left', 'right'],
|
|
1498
1510
|
default: defaults.side,
|
|
1499
|
-
description: ( localize(
|
|
1511
|
+
description: ( localize(343, "Controls the side where to render the minimap."))
|
|
1500
1512
|
},
|
|
1501
1513
|
'editor.minimap.showSlider': {
|
|
1502
1514
|
type: 'string',
|
|
1503
1515
|
enum: ['always', 'mouseover'],
|
|
1504
1516
|
default: defaults.showSlider,
|
|
1505
|
-
description: ( localize(
|
|
1517
|
+
description: ( localize(344, "Controls when the minimap slider is shown."))
|
|
1506
1518
|
},
|
|
1507
1519
|
'editor.minimap.scale': {
|
|
1508
1520
|
type: 'number',
|
|
@@ -1510,18 +1522,18 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1510
1522
|
minimum: 1,
|
|
1511
1523
|
maximum: 3,
|
|
1512
1524
|
enum: [1, 2, 3],
|
|
1513
|
-
description: ( localize(
|
|
1525
|
+
description: ( localize(345, "Scale of content drawn in the minimap: 1, 2 or 3."))
|
|
1514
1526
|
},
|
|
1515
1527
|
'editor.minimap.renderCharacters': {
|
|
1516
1528
|
type: 'boolean',
|
|
1517
1529
|
default: defaults.renderCharacters,
|
|
1518
|
-
description: ( localize(
|
|
1530
|
+
description: ( localize(346, "Render the actual characters on a line as opposed to color blocks."))
|
|
1519
1531
|
},
|
|
1520
1532
|
'editor.minimap.maxColumn': {
|
|
1521
1533
|
type: 'number',
|
|
1522
1534
|
default: defaults.maxColumn,
|
|
1523
1535
|
description: ( localize(
|
|
1524
|
-
|
|
1536
|
+
347,
|
|
1525
1537
|
"Limit the width of the minimap to render at most a certain number of columns."
|
|
1526
1538
|
))
|
|
1527
1539
|
},
|
|
@@ -1529,7 +1541,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1529
1541
|
type: 'boolean',
|
|
1530
1542
|
default: defaults.showRegionSectionHeaders,
|
|
1531
1543
|
description: ( localize(
|
|
1532
|
-
|
|
1544
|
+
348,
|
|
1533
1545
|
"Controls whether named regions are shown as section headers in the minimap."
|
|
1534
1546
|
))
|
|
1535
1547
|
},
|
|
@@ -1537,7 +1549,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1537
1549
|
type: 'boolean',
|
|
1538
1550
|
default: defaults.showMarkSectionHeaders,
|
|
1539
1551
|
description: ( localize(
|
|
1540
|
-
|
|
1552
|
+
349,
|
|
1541
1553
|
"Controls whether MARK: comments are shown as section headers in the minimap."
|
|
1542
1554
|
))
|
|
1543
1555
|
},
|
|
@@ -1545,20 +1557,20 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1545
1557
|
type: 'string',
|
|
1546
1558
|
default: defaults.markSectionHeaderRegex,
|
|
1547
1559
|
description: ( localize(
|
|
1548
|
-
|
|
1560
|
+
350,
|
|
1549
1561
|
"Defines the regular expression used to find section headers in comments. The regex must contain a named match group `label` (written as `(?<label>.+)`) that encapsulates the section header, otherwise it will not work. Optionally you can include another match group named `separator`. Use \\n in the pattern to match multi-line headers."
|
|
1550
1562
|
)),
|
|
1551
1563
|
},
|
|
1552
1564
|
'editor.minimap.sectionHeaderFontSize': {
|
|
1553
1565
|
type: 'number',
|
|
1554
1566
|
default: defaults.sectionHeaderFontSize,
|
|
1555
|
-
description: ( localize(
|
|
1567
|
+
description: ( localize(351, "Controls the font size of section headers in the minimap."))
|
|
1556
1568
|
},
|
|
1557
1569
|
'editor.minimap.sectionHeaderLetterSpacing': {
|
|
1558
1570
|
type: 'number',
|
|
1559
1571
|
default: defaults.sectionHeaderLetterSpacing,
|
|
1560
1572
|
description: ( localize(
|
|
1561
|
-
|
|
1573
|
+
352,
|
|
1562
1574
|
"Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes."
|
|
1563
1575
|
))
|
|
1564
1576
|
}
|
|
@@ -1610,7 +1622,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1610
1622
|
minimum: 0,
|
|
1611
1623
|
maximum: 1000,
|
|
1612
1624
|
description: ( localize(
|
|
1613
|
-
|
|
1625
|
+
353,
|
|
1614
1626
|
"Controls the amount of space between the top edge of the editor and the first line."
|
|
1615
1627
|
))
|
|
1616
1628
|
},
|
|
@@ -1620,7 +1632,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1620
1632
|
minimum: 0,
|
|
1621
1633
|
maximum: 1000,
|
|
1622
1634
|
description: ( localize(
|
|
1623
|
-
|
|
1635
|
+
354,
|
|
1624
1636
|
"Controls the amount of space between the bottom edge of the editor and the last line."
|
|
1625
1637
|
))
|
|
1626
1638
|
}
|
|
@@ -1648,7 +1660,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1648
1660
|
type: 'boolean',
|
|
1649
1661
|
default: defaults.enabled,
|
|
1650
1662
|
description: ( localize(
|
|
1651
|
-
|
|
1663
|
+
355,
|
|
1652
1664
|
"Enables a pop-up that shows parameter documentation and type information as you type."
|
|
1653
1665
|
))
|
|
1654
1666
|
},
|
|
@@ -1656,7 +1668,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1656
1668
|
type: 'boolean',
|
|
1657
1669
|
default: defaults.cycle,
|
|
1658
1670
|
description: ( localize(
|
|
1659
|
-
|
|
1671
|
+
356,
|
|
1660
1672
|
"Controls whether the parameter hints menu cycles or closes when reaching the end of the list."
|
|
1661
1673
|
))
|
|
1662
1674
|
},
|
|
@@ -1707,7 +1719,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1707
1719
|
{
|
|
1708
1720
|
type: 'string',
|
|
1709
1721
|
enum: ['on', 'inline', 'off'],
|
|
1710
|
-
enumDescriptions: [( localize(
|
|
1722
|
+
enumDescriptions: [( localize(357, "Quick suggestions show inside the suggest widget")), ( localize(358, "Quick suggestions show as ghost text")), ( localize(359, "Quick suggestions are disabled"))]
|
|
1711
1723
|
}
|
|
1712
1724
|
];
|
|
1713
1725
|
super(EditorOption.quickSuggestions, 'quickSuggestions', defaults, {
|
|
@@ -1717,22 +1729,22 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1717
1729
|
strings: {
|
|
1718
1730
|
anyOf: types,
|
|
1719
1731
|
default: defaults.strings,
|
|
1720
|
-
description: ( localize(
|
|
1732
|
+
description: ( localize(360, "Enable quick suggestions inside strings."))
|
|
1721
1733
|
},
|
|
1722
1734
|
comments: {
|
|
1723
1735
|
anyOf: types,
|
|
1724
1736
|
default: defaults.comments,
|
|
1725
|
-
description: ( localize(
|
|
1737
|
+
description: ( localize(361, "Enable quick suggestions inside comments."))
|
|
1726
1738
|
},
|
|
1727
1739
|
other: {
|
|
1728
1740
|
anyOf: types,
|
|
1729
1741
|
default: defaults.other,
|
|
1730
|
-
description: ( localize(
|
|
1742
|
+
description: ( localize(362, "Enable quick suggestions outside of strings and comments."))
|
|
1731
1743
|
},
|
|
1732
1744
|
},
|
|
1733
1745
|
default: defaults,
|
|
1734
1746
|
markdownDescription: ( localize(
|
|
1735
|
-
|
|
1747
|
+
363,
|
|
1736
1748
|
"Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.",
|
|
1737
1749
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
1738
1750
|
))
|
|
@@ -1791,13 +1803,13 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1791
1803
|
type: 'string',
|
|
1792
1804
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1793
1805
|
enumDescriptions: [
|
|
1794
|
-
( localize(
|
|
1795
|
-
( localize(
|
|
1796
|
-
( localize(
|
|
1797
|
-
( localize(
|
|
1806
|
+
( localize(364, "Line numbers are not rendered.")),
|
|
1807
|
+
( localize(365, "Line numbers are rendered as absolute number.")),
|
|
1808
|
+
( localize(366, "Line numbers are rendered as distance in lines to cursor position.")),
|
|
1809
|
+
( localize(367, "Line numbers are rendered every 10 lines."))
|
|
1798
1810
|
],
|
|
1799
1811
|
default: 'on',
|
|
1800
|
-
description: ( localize(
|
|
1812
|
+
description: ( localize(368, "Controls the display of line numbers."))
|
|
1801
1813
|
});
|
|
1802
1814
|
}
|
|
1803
1815
|
validate(lineNumbers) {
|
|
@@ -1838,7 +1850,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1838
1850
|
constructor() {
|
|
1839
1851
|
const defaults = [];
|
|
1840
1852
|
const columnSchema = { type: 'number', description: ( localize(
|
|
1841
|
-
|
|
1853
|
+
369,
|
|
1842
1854
|
"Number of monospace characters at which this editor ruler will render."
|
|
1843
1855
|
)) };
|
|
1844
1856
|
super(EditorOption.rulers, 'rulers', defaults, {
|
|
@@ -1854,7 +1866,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1854
1866
|
column: columnSchema,
|
|
1855
1867
|
color: {
|
|
1856
1868
|
type: 'string',
|
|
1857
|
-
description: ( localize(
|
|
1869
|
+
description: ( localize(370, "Color of this editor ruler.")),
|
|
1858
1870
|
format: 'color-hex'
|
|
1859
1871
|
}
|
|
1860
1872
|
}
|
|
@@ -1863,7 +1875,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1863
1875
|
},
|
|
1864
1876
|
default: defaults,
|
|
1865
1877
|
description: ( localize(
|
|
1866
|
-
|
|
1878
|
+
371,
|
|
1867
1879
|
"Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."
|
|
1868
1880
|
))
|
|
1869
1881
|
});
|
|
@@ -1937,44 +1949,44 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1937
1949
|
type: 'string',
|
|
1938
1950
|
enum: ['auto', 'visible', 'hidden'],
|
|
1939
1951
|
enumDescriptions: [
|
|
1940
|
-
( localize(
|
|
1941
|
-
( localize(
|
|
1942
|
-
( localize(
|
|
1952
|
+
( localize(372, "The vertical scrollbar will be visible only when necessary.")),
|
|
1953
|
+
( localize(373, "The vertical scrollbar will always be visible.")),
|
|
1954
|
+
( localize(374, "The vertical scrollbar will always be hidden.")),
|
|
1943
1955
|
],
|
|
1944
1956
|
default: 'auto',
|
|
1945
|
-
description: ( localize(
|
|
1957
|
+
description: ( localize(375, "Controls the visibility of the vertical scrollbar."))
|
|
1946
1958
|
},
|
|
1947
1959
|
'editor.scrollbar.horizontal': {
|
|
1948
1960
|
type: 'string',
|
|
1949
1961
|
enum: ['auto', 'visible', 'hidden'],
|
|
1950
1962
|
enumDescriptions: [
|
|
1951
|
-
( localize(
|
|
1952
|
-
( localize(
|
|
1953
|
-
( localize(
|
|
1963
|
+
( localize(376, "The horizontal scrollbar will be visible only when necessary.")),
|
|
1964
|
+
( localize(377, "The horizontal scrollbar will always be visible.")),
|
|
1965
|
+
( localize(378, "The horizontal scrollbar will always be hidden.")),
|
|
1954
1966
|
],
|
|
1955
1967
|
default: 'auto',
|
|
1956
|
-
description: ( localize(
|
|
1968
|
+
description: ( localize(379, "Controls the visibility of the horizontal scrollbar."))
|
|
1957
1969
|
},
|
|
1958
1970
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
1959
1971
|
type: 'number',
|
|
1960
1972
|
default: defaults.verticalScrollbarSize,
|
|
1961
|
-
description: ( localize(
|
|
1973
|
+
description: ( localize(380, "The width of the vertical scrollbar."))
|
|
1962
1974
|
},
|
|
1963
1975
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
1964
1976
|
type: 'number',
|
|
1965
1977
|
default: defaults.horizontalScrollbarSize,
|
|
1966
|
-
description: ( localize(
|
|
1978
|
+
description: ( localize(381, "The height of the horizontal scrollbar."))
|
|
1967
1979
|
},
|
|
1968
1980
|
'editor.scrollbar.scrollByPage': {
|
|
1969
1981
|
type: 'boolean',
|
|
1970
1982
|
default: defaults.scrollByPage,
|
|
1971
|
-
description: ( localize(
|
|
1983
|
+
description: ( localize(382, "Controls whether clicks scroll by page or jump to click position."))
|
|
1972
1984
|
},
|
|
1973
1985
|
'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
|
|
1974
1986
|
type: 'boolean',
|
|
1975
1987
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
1976
1988
|
description: ( localize(
|
|
1977
|
-
|
|
1989
|
+
383,
|
|
1978
1990
|
"When set, the horizontal scrollbar will not increase the size of the editor's content."
|
|
1979
1991
|
))
|
|
1980
1992
|
}
|
|
@@ -2033,7 +2045,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2033
2045
|
enum: [true, false, inUntrustedWorkspace],
|
|
2034
2046
|
default: defaults.nonBasicASCII,
|
|
2035
2047
|
description: ( localize(
|
|
2036
|
-
|
|
2048
|
+
384,
|
|
2037
2049
|
"Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII."
|
|
2038
2050
|
))
|
|
2039
2051
|
},
|
|
@@ -2042,7 +2054,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2042
2054
|
type: 'boolean',
|
|
2043
2055
|
default: defaults.invisibleCharacters,
|
|
2044
2056
|
description: ( localize(
|
|
2045
|
-
|
|
2057
|
+
385,
|
|
2046
2058
|
"Controls whether characters that just reserve space or have no width at all are highlighted."
|
|
2047
2059
|
))
|
|
2048
2060
|
},
|
|
@@ -2051,7 +2063,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2051
2063
|
type: 'boolean',
|
|
2052
2064
|
default: defaults.ambiguousCharacters,
|
|
2053
2065
|
description: ( localize(
|
|
2054
|
-
|
|
2066
|
+
386,
|
|
2055
2067
|
"Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."
|
|
2056
2068
|
))
|
|
2057
2069
|
},
|
|
@@ -2061,7 +2073,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2061
2073
|
enum: [true, false, inUntrustedWorkspace],
|
|
2062
2074
|
default: defaults.includeComments,
|
|
2063
2075
|
description: ( localize(
|
|
2064
|
-
|
|
2076
|
+
387,
|
|
2065
2077
|
"Controls whether characters in comments should also be subject to Unicode highlighting."
|
|
2066
2078
|
))
|
|
2067
2079
|
},
|
|
@@ -2071,7 +2083,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2071
2083
|
enum: [true, false, inUntrustedWorkspace],
|
|
2072
2084
|
default: defaults.includeStrings,
|
|
2073
2085
|
description: ( localize(
|
|
2074
|
-
|
|
2086
|
+
388,
|
|
2075
2087
|
"Controls whether characters in strings should also be subject to Unicode highlighting."
|
|
2076
2088
|
))
|
|
2077
2089
|
},
|
|
@@ -2079,7 +2091,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2079
2091
|
restricted: true,
|
|
2080
2092
|
type: 'object',
|
|
2081
2093
|
default: defaults.allowedCharacters,
|
|
2082
|
-
description: ( localize(
|
|
2094
|
+
description: ( localize(389, "Defines allowed characters that are not being highlighted.")),
|
|
2083
2095
|
additionalProperties: {
|
|
2084
2096
|
type: 'boolean'
|
|
2085
2097
|
}
|
|
@@ -2092,7 +2104,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2092
2104
|
},
|
|
2093
2105
|
default: defaults.allowedLocales,
|
|
2094
2106
|
description: ( localize(
|
|
2095
|
-
|
|
2107
|
+
390,
|
|
2096
2108
|
"Unicode characters that are common in allowed locales are not being highlighted."
|
|
2097
2109
|
))
|
|
2098
2110
|
},
|
|
@@ -2163,13 +2175,16 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2163
2175
|
allowCodeShifting: 'always',
|
|
2164
2176
|
useMultiLineGhostText: true
|
|
2165
2177
|
},
|
|
2178
|
+
experimental: {
|
|
2179
|
+
suppressInlineSuggestions: [],
|
|
2180
|
+
},
|
|
2166
2181
|
};
|
|
2167
2182
|
super(EditorOption.inlineSuggest, 'inlineSuggest', defaults, {
|
|
2168
2183
|
'editor.inlineSuggest.enabled': {
|
|
2169
2184
|
type: 'boolean',
|
|
2170
2185
|
default: defaults.enabled,
|
|
2171
2186
|
description: ( localize(
|
|
2172
|
-
|
|
2187
|
+
391,
|
|
2173
2188
|
"Controls whether to automatically show inline suggestions in the editor."
|
|
2174
2189
|
))
|
|
2175
2190
|
},
|
|
@@ -2179,22 +2194,22 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2179
2194
|
enum: ['always', 'onHover', 'never'],
|
|
2180
2195
|
enumDescriptions: [
|
|
2181
2196
|
( localize(
|
|
2182
|
-
|
|
2197
|
+
392,
|
|
2183
2198
|
"Show the inline suggestion toolbar whenever an inline suggestion is shown."
|
|
2184
2199
|
)),
|
|
2185
2200
|
( localize(
|
|
2186
|
-
|
|
2201
|
+
393,
|
|
2187
2202
|
"Show the inline suggestion toolbar when hovering over an inline suggestion."
|
|
2188
2203
|
)),
|
|
2189
|
-
( localize(
|
|
2204
|
+
( localize(394, "Never show the inline suggestion toolbar.")),
|
|
2190
2205
|
],
|
|
2191
|
-
description: ( localize(
|
|
2206
|
+
description: ( localize(395, "Controls when to show the inline suggestion toolbar.")),
|
|
2192
2207
|
},
|
|
2193
2208
|
'editor.inlineSuggest.syntaxHighlightingEnabled': {
|
|
2194
2209
|
type: 'boolean',
|
|
2195
2210
|
default: defaults.syntaxHighlightingEnabled,
|
|
2196
2211
|
description: ( localize(
|
|
2197
|
-
|
|
2212
|
+
396,
|
|
2198
2213
|
"Controls whether to show syntax highlighting for inline suggestions in the editor."
|
|
2199
2214
|
)),
|
|
2200
2215
|
},
|
|
@@ -2202,20 +2217,26 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2202
2217
|
type: 'boolean',
|
|
2203
2218
|
default: defaults.suppressSuggestions,
|
|
2204
2219
|
description: ( localize(
|
|
2205
|
-
|
|
2220
|
+
397,
|
|
2206
2221
|
"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
|
|
2207
2222
|
))
|
|
2208
2223
|
},
|
|
2224
|
+
'editor.inlineSuggest.experimental.suppressInlineSuggestions': {
|
|
2225
|
+
type: 'array',
|
|
2226
|
+
tags: ['experimental', 'onExp'],
|
|
2227
|
+
items: { type: 'string' },
|
|
2228
|
+
description: ( localize(398, "Suppresses inline completions for specified extension IDs."))
|
|
2229
|
+
},
|
|
2209
2230
|
'editor.inlineSuggest.fontFamily': {
|
|
2210
2231
|
type: 'string',
|
|
2211
2232
|
default: defaults.fontFamily,
|
|
2212
|
-
description: ( localize(
|
|
2233
|
+
description: ( localize(399, "Controls the font family of the inline suggestions."))
|
|
2213
2234
|
},
|
|
2214
2235
|
'editor.inlineSuggest.edits.allowCodeShifting': {
|
|
2215
2236
|
type: 'string',
|
|
2216
2237
|
default: defaults.edits.allowCodeShifting,
|
|
2217
2238
|
description: ( localize(
|
|
2218
|
-
|
|
2239
|
+
400,
|
|
2219
2240
|
"Controls whether showing a suggestion will shift the code to make space for the suggestion inline."
|
|
2220
2241
|
)),
|
|
2221
2242
|
enum: ['always', 'horizontal', 'never'],
|
|
@@ -2224,15 +2245,15 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2224
2245
|
'editor.inlineSuggest.edits.renderSideBySide': {
|
|
2225
2246
|
type: 'string',
|
|
2226
2247
|
default: defaults.edits.renderSideBySide,
|
|
2227
|
-
description: ( localize(
|
|
2248
|
+
description: ( localize(401, "Controls whether larger suggestions can be shown side by side.")),
|
|
2228
2249
|
enum: ['auto', 'never'],
|
|
2229
2250
|
enumDescriptions: [
|
|
2230
2251
|
( localize(
|
|
2231
|
-
|
|
2252
|
+
402,
|
|
2232
2253
|
"Larger suggestions will show side by side if there is enough space, otherwise they will be shown below."
|
|
2233
2254
|
)),
|
|
2234
2255
|
( localize(
|
|
2235
|
-
|
|
2256
|
+
403,
|
|
2236
2257
|
"Larger suggestions are never shown side by side and will always be shown below."
|
|
2237
2258
|
)),
|
|
2238
2259
|
],
|
|
@@ -2242,7 +2263,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2242
2263
|
type: 'boolean',
|
|
2243
2264
|
default: defaults.edits.showCollapsed,
|
|
2244
2265
|
description: ( localize(
|
|
2245
|
-
|
|
2266
|
+
404,
|
|
2246
2267
|
"Controls whether the suggestion will show as collapsed until jumping to it."
|
|
2247
2268
|
)),
|
|
2248
2269
|
tags: ['nextEditSuggestions']
|
|
@@ -2269,6 +2290,9 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2269
2290
|
renderSideBySide: stringSet(input.edits?.renderSideBySide, this.defaultValue.edits.renderSideBySide, ['never', 'auto']),
|
|
2270
2291
|
useMultiLineGhostText: boolean(input.edits?.useMultiLineGhostText, this.defaultValue.edits.useMultiLineGhostText),
|
|
2271
2292
|
},
|
|
2293
|
+
experimental: {
|
|
2294
|
+
suppressInlineSuggestions: stringArray(input.experimental?.suppressInlineSuggestions, this.defaultValue.experimental.suppressInlineSuggestions),
|
|
2295
|
+
},
|
|
2272
2296
|
};
|
|
2273
2297
|
}
|
|
2274
2298
|
}
|
|
@@ -2283,7 +2307,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2283
2307
|
type: 'boolean',
|
|
2284
2308
|
default: defaults.enabled,
|
|
2285
2309
|
markdownDescription: ( localize(
|
|
2286
|
-
|
|
2310
|
+
405,
|
|
2287
2311
|
"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
|
|
2288
2312
|
'`#workbench.colorCustomizations#`'
|
|
2289
2313
|
))
|
|
@@ -2292,7 +2316,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2292
2316
|
type: 'boolean',
|
|
2293
2317
|
default: defaults.independentColorPoolPerBracketType,
|
|
2294
2318
|
description: ( localize(
|
|
2295
|
-
|
|
2319
|
+
406,
|
|
2296
2320
|
"Controls whether each bracket type has its own independent color pool."
|
|
2297
2321
|
))
|
|
2298
2322
|
},
|
|
@@ -2323,54 +2347,54 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2323
2347
|
type: ['boolean', 'string'],
|
|
2324
2348
|
enum: [true, 'active', false],
|
|
2325
2349
|
enumDescriptions: [
|
|
2326
|
-
( localize(
|
|
2327
|
-
( localize(
|
|
2328
|
-
( localize(
|
|
2350
|
+
( localize(407, "Enables bracket pair guides.")),
|
|
2351
|
+
( localize(408, "Enables bracket pair guides only for the active bracket pair.")),
|
|
2352
|
+
( localize(409, "Disables bracket pair guides.")),
|
|
2329
2353
|
],
|
|
2330
2354
|
default: defaults.bracketPairs,
|
|
2331
|
-
description: ( localize(
|
|
2355
|
+
description: ( localize(410, "Controls whether bracket pair guides are enabled or not."))
|
|
2332
2356
|
},
|
|
2333
2357
|
'editor.guides.bracketPairsHorizontal': {
|
|
2334
2358
|
type: ['boolean', 'string'],
|
|
2335
2359
|
enum: [true, 'active', false],
|
|
2336
2360
|
enumDescriptions: [
|
|
2337
2361
|
( localize(
|
|
2338
|
-
|
|
2362
|
+
411,
|
|
2339
2363
|
"Enables horizontal guides as addition to vertical bracket pair guides."
|
|
2340
2364
|
)),
|
|
2341
|
-
( localize(
|
|
2342
|
-
( localize(
|
|
2365
|
+
( localize(412, "Enables horizontal guides only for the active bracket pair.")),
|
|
2366
|
+
( localize(413, "Disables horizontal bracket pair guides.")),
|
|
2343
2367
|
],
|
|
2344
2368
|
default: defaults.bracketPairsHorizontal,
|
|
2345
|
-
description: ( localize(
|
|
2369
|
+
description: ( localize(414, "Controls whether horizontal bracket pair guides are enabled or not."))
|
|
2346
2370
|
},
|
|
2347
2371
|
'editor.guides.highlightActiveBracketPair': {
|
|
2348
2372
|
type: 'boolean',
|
|
2349
2373
|
default: defaults.highlightActiveBracketPair,
|
|
2350
2374
|
description: ( localize(
|
|
2351
|
-
|
|
2375
|
+
415,
|
|
2352
2376
|
"Controls whether the editor should highlight the active bracket pair."
|
|
2353
2377
|
))
|
|
2354
2378
|
},
|
|
2355
2379
|
'editor.guides.indentation': {
|
|
2356
2380
|
type: 'boolean',
|
|
2357
2381
|
default: defaults.indentation,
|
|
2358
|
-
description: ( localize(
|
|
2382
|
+
description: ( localize(416, "Controls whether the editor should render indent guides."))
|
|
2359
2383
|
},
|
|
2360
2384
|
'editor.guides.highlightActiveIndentation': {
|
|
2361
2385
|
type: ['boolean', 'string'],
|
|
2362
2386
|
enum: [true, 'always', false],
|
|
2363
2387
|
enumDescriptions: [
|
|
2364
|
-
( localize(
|
|
2388
|
+
( localize(417, "Highlights the active indent guide.")),
|
|
2365
2389
|
( localize(
|
|
2366
|
-
|
|
2390
|
+
418,
|
|
2367
2391
|
"Highlights the active indent guide even if bracket guides are highlighted."
|
|
2368
2392
|
)),
|
|
2369
|
-
( localize(
|
|
2393
|
+
( localize(419, "Do not highlight the active indent guide.")),
|
|
2370
2394
|
],
|
|
2371
2395
|
default: defaults.highlightActiveIndentation,
|
|
2372
2396
|
description: ( localize(
|
|
2373
|
-
|
|
2397
|
+
420,
|
|
2374
2398
|
"Controls whether the editor should highlight the active indent guide."
|
|
2375
2399
|
))
|
|
2376
2400
|
}
|
|
@@ -2446,12 +2470,12 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2446
2470
|
type: 'string',
|
|
2447
2471
|
enum: ['insert', 'replace'],
|
|
2448
2472
|
enumDescriptions: [
|
|
2449
|
-
( localize(
|
|
2450
|
-
( localize(
|
|
2473
|
+
( localize(421, "Insert suggestion without overwriting text right of the cursor.")),
|
|
2474
|
+
( localize(422, "Insert suggestion and overwrite text right of the cursor.")),
|
|
2451
2475
|
],
|
|
2452
2476
|
default: defaults.insertMode,
|
|
2453
2477
|
description: ( localize(
|
|
2454
|
-
|
|
2478
|
+
423,
|
|
2455
2479
|
"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
|
|
2456
2480
|
))
|
|
2457
2481
|
},
|
|
@@ -2459,7 +2483,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2459
2483
|
type: 'boolean',
|
|
2460
2484
|
default: defaults.filterGraceful,
|
|
2461
2485
|
description: ( localize(
|
|
2462
|
-
|
|
2486
|
+
424,
|
|
2463
2487
|
"Controls whether filtering and sorting suggestions accounts for small typos."
|
|
2464
2488
|
))
|
|
2465
2489
|
},
|
|
@@ -2467,7 +2491,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2467
2491
|
type: 'boolean',
|
|
2468
2492
|
default: defaults.localityBonus,
|
|
2469
2493
|
description: ( localize(
|
|
2470
|
-
|
|
2494
|
+
425,
|
|
2471
2495
|
"Controls whether sorting favors words that appear close to the cursor."
|
|
2472
2496
|
))
|
|
2473
2497
|
},
|
|
@@ -2475,7 +2499,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2475
2499
|
type: 'boolean',
|
|
2476
2500
|
default: defaults.shareSuggestSelections,
|
|
2477
2501
|
markdownDescription: ( localize(
|
|
2478
|
-
|
|
2502
|
+
426,
|
|
2479
2503
|
"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
|
|
2480
2504
|
))
|
|
2481
2505
|
},
|
|
@@ -2484,22 +2508,22 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2484
2508
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2485
2509
|
enumDescriptions: [
|
|
2486
2510
|
( localize(
|
|
2487
|
-
|
|
2511
|
+
427,
|
|
2488
2512
|
"Always select a suggestion when automatically triggering IntelliSense."
|
|
2489
2513
|
)),
|
|
2490
2514
|
( localize(
|
|
2491
|
-
|
|
2515
|
+
428,
|
|
2492
2516
|
"Never select a suggestion when automatically triggering IntelliSense."
|
|
2493
2517
|
)),
|
|
2494
2518
|
( localize(
|
|
2495
|
-
|
|
2519
|
+
429,
|
|
2496
2520
|
"Select a suggestion only when triggering IntelliSense from a trigger character."
|
|
2497
2521
|
)),
|
|
2498
|
-
( localize(
|
|
2522
|
+
( localize(430, "Select a suggestion only when triggering IntelliSense as you type.")),
|
|
2499
2523
|
],
|
|
2500
2524
|
default: defaults.selectionMode,
|
|
2501
2525
|
markdownDescription: ( localize(
|
|
2502
|
-
|
|
2526
|
+
431,
|
|
2503
2527
|
"Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.",
|
|
2504
2528
|
'`#editor.quickSuggestions#`',
|
|
2505
2529
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
@@ -2508,197 +2532,197 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2508
2532
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
2509
2533
|
type: 'boolean',
|
|
2510
2534
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2511
|
-
description: ( localize(
|
|
2535
|
+
description: ( localize(432, "Controls whether an active snippet prevents quick suggestions."))
|
|
2512
2536
|
},
|
|
2513
2537
|
'editor.suggest.showIcons': {
|
|
2514
2538
|
type: 'boolean',
|
|
2515
2539
|
default: defaults.showIcons,
|
|
2516
|
-
description: ( localize(
|
|
2540
|
+
description: ( localize(433, "Controls whether to show or hide icons in suggestions."))
|
|
2517
2541
|
},
|
|
2518
2542
|
'editor.suggest.showStatusBar': {
|
|
2519
2543
|
type: 'boolean',
|
|
2520
2544
|
default: defaults.showStatusBar,
|
|
2521
2545
|
description: ( localize(
|
|
2522
|
-
|
|
2546
|
+
434,
|
|
2523
2547
|
"Controls the visibility of the status bar at the bottom of the suggest widget."
|
|
2524
2548
|
))
|
|
2525
2549
|
},
|
|
2526
2550
|
'editor.suggest.preview': {
|
|
2527
2551
|
type: 'boolean',
|
|
2528
2552
|
default: defaults.preview,
|
|
2529
|
-
description: ( localize(
|
|
2553
|
+
description: ( localize(435, "Controls whether to preview the suggestion outcome in the editor."))
|
|
2530
2554
|
},
|
|
2531
2555
|
'editor.suggest.showInlineDetails': {
|
|
2532
2556
|
type: 'boolean',
|
|
2533
2557
|
default: defaults.showInlineDetails,
|
|
2534
2558
|
description: ( localize(
|
|
2535
|
-
|
|
2559
|
+
436,
|
|
2536
2560
|
"Controls whether suggest details show inline with the label or only in the details widget."
|
|
2537
2561
|
))
|
|
2538
2562
|
},
|
|
2539
2563
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2540
2564
|
type: 'number',
|
|
2541
|
-
deprecationMessage: ( localize(
|
|
2565
|
+
deprecationMessage: ( localize(437, "This setting is deprecated. The suggest widget can now be resized.")),
|
|
2542
2566
|
},
|
|
2543
2567
|
'editor.suggest.filteredTypes': {
|
|
2544
2568
|
type: 'object',
|
|
2545
2569
|
deprecationMessage: ( localize(
|
|
2546
|
-
|
|
2570
|
+
438,
|
|
2547
2571
|
"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
|
|
2548
2572
|
))
|
|
2549
2573
|
},
|
|
2550
2574
|
'editor.suggest.showMethods': {
|
|
2551
2575
|
type: 'boolean',
|
|
2552
2576
|
default: true,
|
|
2553
|
-
markdownDescription: ( localize(
|
|
2577
|
+
markdownDescription: ( localize(439, "When enabled IntelliSense shows `method`-suggestions."))
|
|
2554
2578
|
},
|
|
2555
2579
|
'editor.suggest.showFunctions': {
|
|
2556
2580
|
type: 'boolean',
|
|
2557
2581
|
default: true,
|
|
2558
|
-
markdownDescription: ( localize(
|
|
2582
|
+
markdownDescription: ( localize(440, "When enabled IntelliSense shows `function`-suggestions."))
|
|
2559
2583
|
},
|
|
2560
2584
|
'editor.suggest.showConstructors': {
|
|
2561
2585
|
type: 'boolean',
|
|
2562
2586
|
default: true,
|
|
2563
|
-
markdownDescription: ( localize(
|
|
2587
|
+
markdownDescription: ( localize(441, "When enabled IntelliSense shows `constructor`-suggestions."))
|
|
2564
2588
|
},
|
|
2565
2589
|
'editor.suggest.showDeprecated': {
|
|
2566
2590
|
type: 'boolean',
|
|
2567
2591
|
default: true,
|
|
2568
|
-
markdownDescription: ( localize(
|
|
2592
|
+
markdownDescription: ( localize(442, "When enabled IntelliSense shows `deprecated`-suggestions."))
|
|
2569
2593
|
},
|
|
2570
2594
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2571
2595
|
type: 'boolean',
|
|
2572
2596
|
default: true,
|
|
2573
2597
|
markdownDescription: ( localize(
|
|
2574
|
-
|
|
2598
|
+
443,
|
|
2575
2599
|
"When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality."
|
|
2576
2600
|
))
|
|
2577
2601
|
},
|
|
2578
2602
|
'editor.suggest.showFields': {
|
|
2579
2603
|
type: 'boolean',
|
|
2580
2604
|
default: true,
|
|
2581
|
-
markdownDescription: ( localize(
|
|
2605
|
+
markdownDescription: ( localize(444, "When enabled IntelliSense shows `field`-suggestions."))
|
|
2582
2606
|
},
|
|
2583
2607
|
'editor.suggest.showVariables': {
|
|
2584
2608
|
type: 'boolean',
|
|
2585
2609
|
default: true,
|
|
2586
|
-
markdownDescription: ( localize(
|
|
2610
|
+
markdownDescription: ( localize(445, "When enabled IntelliSense shows `variable`-suggestions."))
|
|
2587
2611
|
},
|
|
2588
2612
|
'editor.suggest.showClasses': {
|
|
2589
2613
|
type: 'boolean',
|
|
2590
2614
|
default: true,
|
|
2591
|
-
markdownDescription: ( localize(
|
|
2615
|
+
markdownDescription: ( localize(446, "When enabled IntelliSense shows `class`-suggestions."))
|
|
2592
2616
|
},
|
|
2593
2617
|
'editor.suggest.showStructs': {
|
|
2594
2618
|
type: 'boolean',
|
|
2595
2619
|
default: true,
|
|
2596
|
-
markdownDescription: ( localize(
|
|
2620
|
+
markdownDescription: ( localize(447, "When enabled IntelliSense shows `struct`-suggestions."))
|
|
2597
2621
|
},
|
|
2598
2622
|
'editor.suggest.showInterfaces': {
|
|
2599
2623
|
type: 'boolean',
|
|
2600
2624
|
default: true,
|
|
2601
|
-
markdownDescription: ( localize(
|
|
2625
|
+
markdownDescription: ( localize(448, "When enabled IntelliSense shows `interface`-suggestions."))
|
|
2602
2626
|
},
|
|
2603
2627
|
'editor.suggest.showModules': {
|
|
2604
2628
|
type: 'boolean',
|
|
2605
2629
|
default: true,
|
|
2606
|
-
markdownDescription: ( localize(
|
|
2630
|
+
markdownDescription: ( localize(449, "When enabled IntelliSense shows `module`-suggestions."))
|
|
2607
2631
|
},
|
|
2608
2632
|
'editor.suggest.showProperties': {
|
|
2609
2633
|
type: 'boolean',
|
|
2610
2634
|
default: true,
|
|
2611
|
-
markdownDescription: ( localize(
|
|
2635
|
+
markdownDescription: ( localize(450, "When enabled IntelliSense shows `property`-suggestions."))
|
|
2612
2636
|
},
|
|
2613
2637
|
'editor.suggest.showEvents': {
|
|
2614
2638
|
type: 'boolean',
|
|
2615
2639
|
default: true,
|
|
2616
|
-
markdownDescription: ( localize(
|
|
2640
|
+
markdownDescription: ( localize(451, "When enabled IntelliSense shows `event`-suggestions."))
|
|
2617
2641
|
},
|
|
2618
2642
|
'editor.suggest.showOperators': {
|
|
2619
2643
|
type: 'boolean',
|
|
2620
2644
|
default: true,
|
|
2621
|
-
markdownDescription: ( localize(
|
|
2645
|
+
markdownDescription: ( localize(452, "When enabled IntelliSense shows `operator`-suggestions."))
|
|
2622
2646
|
},
|
|
2623
2647
|
'editor.suggest.showUnits': {
|
|
2624
2648
|
type: 'boolean',
|
|
2625
2649
|
default: true,
|
|
2626
|
-
markdownDescription: ( localize(
|
|
2650
|
+
markdownDescription: ( localize(453, "When enabled IntelliSense shows `unit`-suggestions."))
|
|
2627
2651
|
},
|
|
2628
2652
|
'editor.suggest.showValues': {
|
|
2629
2653
|
type: 'boolean',
|
|
2630
2654
|
default: true,
|
|
2631
|
-
markdownDescription: ( localize(
|
|
2655
|
+
markdownDescription: ( localize(454, "When enabled IntelliSense shows `value`-suggestions."))
|
|
2632
2656
|
},
|
|
2633
2657
|
'editor.suggest.showConstants': {
|
|
2634
2658
|
type: 'boolean',
|
|
2635
2659
|
default: true,
|
|
2636
|
-
markdownDescription: ( localize(
|
|
2660
|
+
markdownDescription: ( localize(455, "When enabled IntelliSense shows `constant`-suggestions."))
|
|
2637
2661
|
},
|
|
2638
2662
|
'editor.suggest.showEnums': {
|
|
2639
2663
|
type: 'boolean',
|
|
2640
2664
|
default: true,
|
|
2641
|
-
markdownDescription: ( localize(
|
|
2665
|
+
markdownDescription: ( localize(456, "When enabled IntelliSense shows `enum`-suggestions."))
|
|
2642
2666
|
},
|
|
2643
2667
|
'editor.suggest.showEnumMembers': {
|
|
2644
2668
|
type: 'boolean',
|
|
2645
2669
|
default: true,
|
|
2646
|
-
markdownDescription: ( localize(
|
|
2670
|
+
markdownDescription: ( localize(457, "When enabled IntelliSense shows `enumMember`-suggestions."))
|
|
2647
2671
|
},
|
|
2648
2672
|
'editor.suggest.showKeywords': {
|
|
2649
2673
|
type: 'boolean',
|
|
2650
2674
|
default: true,
|
|
2651
|
-
markdownDescription: ( localize(
|
|
2675
|
+
markdownDescription: ( localize(458, "When enabled IntelliSense shows `keyword`-suggestions."))
|
|
2652
2676
|
},
|
|
2653
2677
|
'editor.suggest.showWords': {
|
|
2654
2678
|
type: 'boolean',
|
|
2655
2679
|
default: true,
|
|
2656
|
-
markdownDescription: ( localize(
|
|
2680
|
+
markdownDescription: ( localize(459, "When enabled IntelliSense shows `text`-suggestions."))
|
|
2657
2681
|
},
|
|
2658
2682
|
'editor.suggest.showColors': {
|
|
2659
2683
|
type: 'boolean',
|
|
2660
2684
|
default: true,
|
|
2661
|
-
markdownDescription: ( localize(
|
|
2685
|
+
markdownDescription: ( localize(460, "When enabled IntelliSense shows `color`-suggestions."))
|
|
2662
2686
|
},
|
|
2663
2687
|
'editor.suggest.showFiles': {
|
|
2664
2688
|
type: 'boolean',
|
|
2665
2689
|
default: true,
|
|
2666
|
-
markdownDescription: ( localize(
|
|
2690
|
+
markdownDescription: ( localize(461, "When enabled IntelliSense shows `file`-suggestions."))
|
|
2667
2691
|
},
|
|
2668
2692
|
'editor.suggest.showReferences': {
|
|
2669
2693
|
type: 'boolean',
|
|
2670
2694
|
default: true,
|
|
2671
|
-
markdownDescription: ( localize(
|
|
2695
|
+
markdownDescription: ( localize(462, "When enabled IntelliSense shows `reference`-suggestions."))
|
|
2672
2696
|
},
|
|
2673
2697
|
'editor.suggest.showCustomcolors': {
|
|
2674
2698
|
type: 'boolean',
|
|
2675
2699
|
default: true,
|
|
2676
|
-
markdownDescription: ( localize(
|
|
2700
|
+
markdownDescription: ( localize(463, "When enabled IntelliSense shows `customcolor`-suggestions."))
|
|
2677
2701
|
},
|
|
2678
2702
|
'editor.suggest.showFolders': {
|
|
2679
2703
|
type: 'boolean',
|
|
2680
2704
|
default: true,
|
|
2681
|
-
markdownDescription: ( localize(
|
|
2705
|
+
markdownDescription: ( localize(464, "When enabled IntelliSense shows `folder`-suggestions."))
|
|
2682
2706
|
},
|
|
2683
2707
|
'editor.suggest.showTypeParameters': {
|
|
2684
2708
|
type: 'boolean',
|
|
2685
2709
|
default: true,
|
|
2686
|
-
markdownDescription: ( localize(
|
|
2710
|
+
markdownDescription: ( localize(465, "When enabled IntelliSense shows `typeParameter`-suggestions."))
|
|
2687
2711
|
},
|
|
2688
2712
|
'editor.suggest.showSnippets': {
|
|
2689
2713
|
type: 'boolean',
|
|
2690
2714
|
default: true,
|
|
2691
|
-
markdownDescription: ( localize(
|
|
2715
|
+
markdownDescription: ( localize(466, "When enabled IntelliSense shows `snippet`-suggestions."))
|
|
2692
2716
|
},
|
|
2693
2717
|
'editor.suggest.showUsers': {
|
|
2694
2718
|
type: 'boolean',
|
|
2695
2719
|
default: true,
|
|
2696
|
-
markdownDescription: ( localize(
|
|
2720
|
+
markdownDescription: ( localize(467, "When enabled IntelliSense shows `user`-suggestions."))
|
|
2697
2721
|
},
|
|
2698
2722
|
'editor.suggest.showIssues': {
|
|
2699
2723
|
type: 'boolean',
|
|
2700
2724
|
default: true,
|
|
2701
|
-
markdownDescription: ( localize(
|
|
2725
|
+
markdownDescription: ( localize(468, "When enabled IntelliSense shows `issues`-suggestions."))
|
|
2702
2726
|
}
|
|
2703
2727
|
});
|
|
2704
2728
|
}
|
|
@@ -2758,13 +2782,13 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2758
2782
|
selectSubwords: true,
|
|
2759
2783
|
}, {
|
|
2760
2784
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2761
|
-
description: ( localize(
|
|
2785
|
+
description: ( localize(469, "Whether leading and trailing whitespace should always be selected.")),
|
|
2762
2786
|
default: true,
|
|
2763
2787
|
type: 'boolean'
|
|
2764
2788
|
},
|
|
2765
2789
|
'editor.smartSelect.selectSubwords': {
|
|
2766
2790
|
description: ( localize(
|
|
2767
|
-
|
|
2791
|
+
470,
|
|
2768
2792
|
"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
|
|
2769
2793
|
)),
|
|
2770
2794
|
default: true,
|
|
@@ -2789,13 +2813,13 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2789
2813
|
anyOf: [
|
|
2790
2814
|
{
|
|
2791
2815
|
description: ( localize(
|
|
2792
|
-
|
|
2816
|
+
471,
|
|
2793
2817
|
"Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."
|
|
2794
2818
|
)),
|
|
2795
2819
|
type: 'string',
|
|
2796
2820
|
}, {
|
|
2797
2821
|
description: ( localize(
|
|
2798
|
-
|
|
2822
|
+
471,
|
|
2799
2823
|
"Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."
|
|
2800
2824
|
)),
|
|
2801
2825
|
type: 'array',
|
|
@@ -2842,12 +2866,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2842
2866
|
type: 'string',
|
|
2843
2867
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2844
2868
|
enumDescriptions: [
|
|
2845
|
-
( localize(
|
|
2846
|
-
( localize(
|
|
2847
|
-
( localize(
|
|
2848
|
-
( localize(
|
|
2869
|
+
( localize(472, "No indentation. Wrapped lines begin at column 1.")),
|
|
2870
|
+
( localize(473, "Wrapped lines get the same indentation as the parent.")),
|
|
2871
|
+
( localize(474, "Wrapped lines get +1 indentation toward the parent.")),
|
|
2872
|
+
( localize(475, "Wrapped lines get +2 indentation toward the parent.")),
|
|
2849
2873
|
],
|
|
2850
|
-
description: ( localize(
|
|
2874
|
+
description: ( localize(476, "Controls the indentation of wrapped lines.")),
|
|
2851
2875
|
default: 'same'
|
|
2852
2876
|
}
|
|
2853
2877
|
});
|
|
@@ -2891,14 +2915,14 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2891
2915
|
type: 'boolean',
|
|
2892
2916
|
default: defaults.enabled,
|
|
2893
2917
|
markdownDescription: ( localize(
|
|
2894
|
-
|
|
2918
|
+
477,
|
|
2895
2919
|
"Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor)."
|
|
2896
2920
|
)),
|
|
2897
2921
|
},
|
|
2898
2922
|
'editor.dropIntoEditor.showDropSelector': {
|
|
2899
2923
|
type: 'string',
|
|
2900
2924
|
markdownDescription: ( localize(
|
|
2901
|
-
|
|
2925
|
+
478,
|
|
2902
2926
|
"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
|
|
2903
2927
|
)),
|
|
2904
2928
|
enum: [
|
|
@@ -2907,11 +2931,11 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2907
2931
|
],
|
|
2908
2932
|
enumDescriptions: [
|
|
2909
2933
|
( localize(
|
|
2910
|
-
|
|
2934
|
+
479,
|
|
2911
2935
|
"Show the drop selector widget after a file is dropped into the editor."
|
|
2912
2936
|
)),
|
|
2913
2937
|
( localize(
|
|
2914
|
-
|
|
2938
|
+
480,
|
|
2915
2939
|
"Never show the drop selector widget. Instead the default drop provider is always used."
|
|
2916
2940
|
)),
|
|
2917
2941
|
],
|
|
@@ -2937,12 +2961,12 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2937
2961
|
'editor.pasteAs.enabled': {
|
|
2938
2962
|
type: 'boolean',
|
|
2939
2963
|
default: defaults.enabled,
|
|
2940
|
-
markdownDescription: ( localize(
|
|
2964
|
+
markdownDescription: ( localize(481, "Controls whether you can paste content in different ways.")),
|
|
2941
2965
|
},
|
|
2942
2966
|
'editor.pasteAs.showPasteSelector': {
|
|
2943
2967
|
type: 'string',
|
|
2944
2968
|
markdownDescription: ( localize(
|
|
2945
|
-
|
|
2969
|
+
482,
|
|
2946
2970
|
"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
|
|
2947
2971
|
)),
|
|
2948
2972
|
enum: [
|
|
@@ -2951,11 +2975,11 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2951
2975
|
],
|
|
2952
2976
|
enumDescriptions: [
|
|
2953
2977
|
( localize(
|
|
2954
|
-
|
|
2978
|
+
483,
|
|
2955
2979
|
"Show the paste selector widget after content is pasted into the editor."
|
|
2956
2980
|
)),
|
|
2957
2981
|
( localize(
|
|
2958
|
-
|
|
2982
|
+
484,
|
|
2959
2983
|
"Never show the paste selector widget. Instead the default pasting behavior is always used."
|
|
2960
2984
|
)),
|
|
2961
2985
|
],
|
|
@@ -2978,7 +3002,7 @@ const DEFAULT_WINDOWS_FONT_FAMILY = 'Consolas, \'Courier New\', monospace';
|
|
|
2978
3002
|
const DEFAULT_MAC_FONT_FAMILY = 'Menlo, Monaco, \'Courier New\', monospace';
|
|
2979
3003
|
const DEFAULT_LINUX_FONT_FAMILY = '\'Droid Sans Mono\', \'monospace\', monospace';
|
|
2980
3004
|
const EDITOR_FONT_DEFAULTS = {
|
|
2981
|
-
fontFamily: (isMacintosh ? DEFAULT_MAC_FONT_FAMILY : (
|
|
3005
|
+
fontFamily: (isMacintosh ? DEFAULT_MAC_FONT_FAMILY : (isWindows ? DEFAULT_WINDOWS_FONT_FAMILY : DEFAULT_LINUX_FONT_FAMILY)),
|
|
2982
3006
|
fontWeight: 'normal',
|
|
2983
3007
|
fontSize: (isMacintosh ? 12 : 14),
|
|
2984
3008
|
lineHeight: 0,
|
|
@@ -2995,159 +3019,160 @@ var EditorOption;
|
|
|
2995
3019
|
EditorOption[EditorOption["acceptSuggestionOnEnter"] = 1] = "acceptSuggestionOnEnter";
|
|
2996
3020
|
EditorOption[EditorOption["accessibilitySupport"] = 2] = "accessibilitySupport";
|
|
2997
3021
|
EditorOption[EditorOption["accessibilityPageSize"] = 3] = "accessibilityPageSize";
|
|
2998
|
-
EditorOption[EditorOption["
|
|
2999
|
-
EditorOption[EditorOption["
|
|
3000
|
-
EditorOption[EditorOption["
|
|
3001
|
-
EditorOption[EditorOption["
|
|
3002
|
-
EditorOption[EditorOption["
|
|
3003
|
-
EditorOption[EditorOption["
|
|
3004
|
-
EditorOption[EditorOption["
|
|
3005
|
-
EditorOption[EditorOption["
|
|
3006
|
-
EditorOption[EditorOption["
|
|
3007
|
-
EditorOption[EditorOption["
|
|
3008
|
-
EditorOption[EditorOption["
|
|
3009
|
-
EditorOption[EditorOption["
|
|
3010
|
-
EditorOption[EditorOption["
|
|
3011
|
-
EditorOption[EditorOption["
|
|
3012
|
-
EditorOption[EditorOption["
|
|
3013
|
-
EditorOption[EditorOption["
|
|
3014
|
-
EditorOption[EditorOption["
|
|
3015
|
-
EditorOption[EditorOption["
|
|
3016
|
-
EditorOption[EditorOption["
|
|
3017
|
-
EditorOption[EditorOption["
|
|
3018
|
-
EditorOption[EditorOption["
|
|
3019
|
-
EditorOption[EditorOption["
|
|
3020
|
-
EditorOption[EditorOption["
|
|
3021
|
-
EditorOption[EditorOption["
|
|
3022
|
-
EditorOption[EditorOption["
|
|
3023
|
-
EditorOption[EditorOption["
|
|
3024
|
-
EditorOption[EditorOption["
|
|
3025
|
-
EditorOption[EditorOption["
|
|
3026
|
-
EditorOption[EditorOption["
|
|
3027
|
-
EditorOption[EditorOption["
|
|
3028
|
-
EditorOption[EditorOption["
|
|
3029
|
-
EditorOption[EditorOption["
|
|
3030
|
-
EditorOption[EditorOption["
|
|
3031
|
-
EditorOption[EditorOption["
|
|
3032
|
-
EditorOption[EditorOption["
|
|
3033
|
-
EditorOption[EditorOption["
|
|
3034
|
-
EditorOption[EditorOption["
|
|
3035
|
-
EditorOption[EditorOption["
|
|
3036
|
-
EditorOption[EditorOption["
|
|
3037
|
-
EditorOption[EditorOption["
|
|
3038
|
-
EditorOption[EditorOption["
|
|
3039
|
-
EditorOption[EditorOption["
|
|
3040
|
-
EditorOption[EditorOption["
|
|
3041
|
-
EditorOption[EditorOption["
|
|
3042
|
-
EditorOption[EditorOption["
|
|
3043
|
-
EditorOption[EditorOption["
|
|
3044
|
-
EditorOption[EditorOption["
|
|
3045
|
-
EditorOption[EditorOption["
|
|
3046
|
-
EditorOption[EditorOption["
|
|
3047
|
-
EditorOption[EditorOption["
|
|
3048
|
-
EditorOption[EditorOption["
|
|
3049
|
-
EditorOption[EditorOption["
|
|
3050
|
-
EditorOption[EditorOption["
|
|
3051
|
-
EditorOption[EditorOption["
|
|
3052
|
-
EditorOption[EditorOption["
|
|
3053
|
-
EditorOption[EditorOption["
|
|
3054
|
-
EditorOption[EditorOption["
|
|
3055
|
-
EditorOption[EditorOption["
|
|
3056
|
-
EditorOption[EditorOption["
|
|
3057
|
-
EditorOption[EditorOption["
|
|
3058
|
-
EditorOption[EditorOption["
|
|
3059
|
-
EditorOption[EditorOption["
|
|
3060
|
-
EditorOption[EditorOption["
|
|
3061
|
-
EditorOption[EditorOption["
|
|
3062
|
-
EditorOption[EditorOption["
|
|
3063
|
-
EditorOption[EditorOption["
|
|
3064
|
-
EditorOption[EditorOption["
|
|
3065
|
-
EditorOption[EditorOption["
|
|
3066
|
-
EditorOption[EditorOption["
|
|
3067
|
-
EditorOption[EditorOption["
|
|
3068
|
-
EditorOption[EditorOption["
|
|
3069
|
-
EditorOption[EditorOption["
|
|
3070
|
-
EditorOption[EditorOption["
|
|
3071
|
-
EditorOption[EditorOption["
|
|
3072
|
-
EditorOption[EditorOption["
|
|
3073
|
-
EditorOption[EditorOption["
|
|
3074
|
-
EditorOption[EditorOption["
|
|
3075
|
-
EditorOption[EditorOption["
|
|
3076
|
-
EditorOption[EditorOption["
|
|
3077
|
-
EditorOption[EditorOption["
|
|
3078
|
-
EditorOption[EditorOption["
|
|
3079
|
-
EditorOption[EditorOption["
|
|
3080
|
-
EditorOption[EditorOption["
|
|
3081
|
-
EditorOption[EditorOption["
|
|
3082
|
-
EditorOption[EditorOption["
|
|
3083
|
-
EditorOption[EditorOption["
|
|
3084
|
-
EditorOption[EditorOption["
|
|
3085
|
-
EditorOption[EditorOption["
|
|
3086
|
-
EditorOption[EditorOption["
|
|
3087
|
-
EditorOption[EditorOption["
|
|
3088
|
-
EditorOption[EditorOption["
|
|
3089
|
-
EditorOption[EditorOption["
|
|
3090
|
-
EditorOption[EditorOption["
|
|
3091
|
-
EditorOption[EditorOption["
|
|
3092
|
-
EditorOption[EditorOption["
|
|
3093
|
-
EditorOption[EditorOption["
|
|
3094
|
-
EditorOption[EditorOption["
|
|
3095
|
-
EditorOption[EditorOption["
|
|
3096
|
-
EditorOption[EditorOption["
|
|
3097
|
-
EditorOption[EditorOption["
|
|
3098
|
-
EditorOption[EditorOption["
|
|
3099
|
-
EditorOption[EditorOption["
|
|
3100
|
-
EditorOption[EditorOption["
|
|
3101
|
-
EditorOption[EditorOption["
|
|
3102
|
-
EditorOption[EditorOption["
|
|
3103
|
-
EditorOption[EditorOption["
|
|
3104
|
-
EditorOption[EditorOption["
|
|
3105
|
-
EditorOption[EditorOption["
|
|
3106
|
-
EditorOption[EditorOption["
|
|
3107
|
-
EditorOption[EditorOption["
|
|
3108
|
-
EditorOption[EditorOption["
|
|
3109
|
-
EditorOption[EditorOption["
|
|
3110
|
-
EditorOption[EditorOption["
|
|
3111
|
-
EditorOption[EditorOption["
|
|
3112
|
-
EditorOption[EditorOption["
|
|
3113
|
-
EditorOption[EditorOption["
|
|
3114
|
-
EditorOption[EditorOption["
|
|
3115
|
-
EditorOption[EditorOption["
|
|
3116
|
-
EditorOption[EditorOption["
|
|
3117
|
-
EditorOption[EditorOption["
|
|
3118
|
-
EditorOption[EditorOption["
|
|
3119
|
-
EditorOption[EditorOption["
|
|
3120
|
-
EditorOption[EditorOption["
|
|
3121
|
-
EditorOption[EditorOption["
|
|
3122
|
-
EditorOption[EditorOption["
|
|
3123
|
-
EditorOption[EditorOption["
|
|
3124
|
-
EditorOption[EditorOption["
|
|
3125
|
-
EditorOption[EditorOption["
|
|
3126
|
-
EditorOption[EditorOption["
|
|
3127
|
-
EditorOption[EditorOption["
|
|
3128
|
-
EditorOption[EditorOption["
|
|
3129
|
-
EditorOption[EditorOption["
|
|
3130
|
-
EditorOption[EditorOption["
|
|
3131
|
-
EditorOption[EditorOption["
|
|
3132
|
-
EditorOption[EditorOption["
|
|
3133
|
-
EditorOption[EditorOption["
|
|
3134
|
-
EditorOption[EditorOption["
|
|
3135
|
-
EditorOption[EditorOption["
|
|
3136
|
-
EditorOption[EditorOption["
|
|
3137
|
-
EditorOption[EditorOption["
|
|
3138
|
-
EditorOption[EditorOption["
|
|
3139
|
-
EditorOption[EditorOption["
|
|
3140
|
-
EditorOption[EditorOption["
|
|
3141
|
-
EditorOption[EditorOption["
|
|
3142
|
-
EditorOption[EditorOption["
|
|
3143
|
-
EditorOption[EditorOption["
|
|
3144
|
-
EditorOption[EditorOption["
|
|
3145
|
-
EditorOption[EditorOption["
|
|
3146
|
-
EditorOption[EditorOption["
|
|
3147
|
-
EditorOption[EditorOption["
|
|
3148
|
-
EditorOption[EditorOption["
|
|
3149
|
-
EditorOption[EditorOption["
|
|
3150
|
-
EditorOption[EditorOption["
|
|
3022
|
+
EditorOption[EditorOption["allowVariableLineHeights"] = 4] = "allowVariableLineHeights";
|
|
3023
|
+
EditorOption[EditorOption["ariaLabel"] = 5] = "ariaLabel";
|
|
3024
|
+
EditorOption[EditorOption["ariaRequired"] = 6] = "ariaRequired";
|
|
3025
|
+
EditorOption[EditorOption["autoClosingBrackets"] = 7] = "autoClosingBrackets";
|
|
3026
|
+
EditorOption[EditorOption["autoClosingComments"] = 8] = "autoClosingComments";
|
|
3027
|
+
EditorOption[EditorOption["screenReaderAnnounceInlineSuggestion"] = 9] = "screenReaderAnnounceInlineSuggestion";
|
|
3028
|
+
EditorOption[EditorOption["autoClosingDelete"] = 10] = "autoClosingDelete";
|
|
3029
|
+
EditorOption[EditorOption["autoClosingOvertype"] = 11] = "autoClosingOvertype";
|
|
3030
|
+
EditorOption[EditorOption["autoClosingQuotes"] = 12] = "autoClosingQuotes";
|
|
3031
|
+
EditorOption[EditorOption["autoIndent"] = 13] = "autoIndent";
|
|
3032
|
+
EditorOption[EditorOption["automaticLayout"] = 14] = "automaticLayout";
|
|
3033
|
+
EditorOption[EditorOption["autoSurround"] = 15] = "autoSurround";
|
|
3034
|
+
EditorOption[EditorOption["bracketPairColorization"] = 16] = "bracketPairColorization";
|
|
3035
|
+
EditorOption[EditorOption["guides"] = 17] = "guides";
|
|
3036
|
+
EditorOption[EditorOption["codeLens"] = 18] = "codeLens";
|
|
3037
|
+
EditorOption[EditorOption["codeLensFontFamily"] = 19] = "codeLensFontFamily";
|
|
3038
|
+
EditorOption[EditorOption["codeLensFontSize"] = 20] = "codeLensFontSize";
|
|
3039
|
+
EditorOption[EditorOption["colorDecorators"] = 21] = "colorDecorators";
|
|
3040
|
+
EditorOption[EditorOption["colorDecoratorsLimit"] = 22] = "colorDecoratorsLimit";
|
|
3041
|
+
EditorOption[EditorOption["columnSelection"] = 23] = "columnSelection";
|
|
3042
|
+
EditorOption[EditorOption["comments"] = 24] = "comments";
|
|
3043
|
+
EditorOption[EditorOption["contextmenu"] = 25] = "contextmenu";
|
|
3044
|
+
EditorOption[EditorOption["copyWithSyntaxHighlighting"] = 26] = "copyWithSyntaxHighlighting";
|
|
3045
|
+
EditorOption[EditorOption["cursorBlinking"] = 27] = "cursorBlinking";
|
|
3046
|
+
EditorOption[EditorOption["cursorSmoothCaretAnimation"] = 28] = "cursorSmoothCaretAnimation";
|
|
3047
|
+
EditorOption[EditorOption["cursorStyle"] = 29] = "cursorStyle";
|
|
3048
|
+
EditorOption[EditorOption["cursorSurroundingLines"] = 30] = "cursorSurroundingLines";
|
|
3049
|
+
EditorOption[EditorOption["cursorSurroundingLinesStyle"] = 31] = "cursorSurroundingLinesStyle";
|
|
3050
|
+
EditorOption[EditorOption["cursorWidth"] = 32] = "cursorWidth";
|
|
3051
|
+
EditorOption[EditorOption["disableLayerHinting"] = 33] = "disableLayerHinting";
|
|
3052
|
+
EditorOption[EditorOption["disableMonospaceOptimizations"] = 34] = "disableMonospaceOptimizations";
|
|
3053
|
+
EditorOption[EditorOption["domReadOnly"] = 35] = "domReadOnly";
|
|
3054
|
+
EditorOption[EditorOption["dragAndDrop"] = 36] = "dragAndDrop";
|
|
3055
|
+
EditorOption[EditorOption["dropIntoEditor"] = 37] = "dropIntoEditor";
|
|
3056
|
+
EditorOption[EditorOption["experimentalEditContextEnabled"] = 38] = "experimentalEditContextEnabled";
|
|
3057
|
+
EditorOption[EditorOption["emptySelectionClipboard"] = 39] = "emptySelectionClipboard";
|
|
3058
|
+
EditorOption[EditorOption["experimentalGpuAcceleration"] = 40] = "experimentalGpuAcceleration";
|
|
3059
|
+
EditorOption[EditorOption["experimentalWhitespaceRendering"] = 41] = "experimentalWhitespaceRendering";
|
|
3060
|
+
EditorOption[EditorOption["extraEditorClassName"] = 42] = "extraEditorClassName";
|
|
3061
|
+
EditorOption[EditorOption["fastScrollSensitivity"] = 43] = "fastScrollSensitivity";
|
|
3062
|
+
EditorOption[EditorOption["find"] = 44] = "find";
|
|
3063
|
+
EditorOption[EditorOption["fixedOverflowWidgets"] = 45] = "fixedOverflowWidgets";
|
|
3064
|
+
EditorOption[EditorOption["folding"] = 46] = "folding";
|
|
3065
|
+
EditorOption[EditorOption["foldingStrategy"] = 47] = "foldingStrategy";
|
|
3066
|
+
EditorOption[EditorOption["foldingHighlight"] = 48] = "foldingHighlight";
|
|
3067
|
+
EditorOption[EditorOption["foldingImportsByDefault"] = 49] = "foldingImportsByDefault";
|
|
3068
|
+
EditorOption[EditorOption["foldingMaximumRegions"] = 50] = "foldingMaximumRegions";
|
|
3069
|
+
EditorOption[EditorOption["unfoldOnClickAfterEndOfLine"] = 51] = "unfoldOnClickAfterEndOfLine";
|
|
3070
|
+
EditorOption[EditorOption["fontFamily"] = 52] = "fontFamily";
|
|
3071
|
+
EditorOption[EditorOption["fontInfo"] = 53] = "fontInfo";
|
|
3072
|
+
EditorOption[EditorOption["fontLigatures"] = 54] = "fontLigatures";
|
|
3073
|
+
EditorOption[EditorOption["fontSize"] = 55] = "fontSize";
|
|
3074
|
+
EditorOption[EditorOption["fontWeight"] = 56] = "fontWeight";
|
|
3075
|
+
EditorOption[EditorOption["fontVariations"] = 57] = "fontVariations";
|
|
3076
|
+
EditorOption[EditorOption["formatOnPaste"] = 58] = "formatOnPaste";
|
|
3077
|
+
EditorOption[EditorOption["formatOnType"] = 59] = "formatOnType";
|
|
3078
|
+
EditorOption[EditorOption["glyphMargin"] = 60] = "glyphMargin";
|
|
3079
|
+
EditorOption[EditorOption["gotoLocation"] = 61] = "gotoLocation";
|
|
3080
|
+
EditorOption[EditorOption["hideCursorInOverviewRuler"] = 62] = "hideCursorInOverviewRuler";
|
|
3081
|
+
EditorOption[EditorOption["hover"] = 63] = "hover";
|
|
3082
|
+
EditorOption[EditorOption["inDiffEditor"] = 64] = "inDiffEditor";
|
|
3083
|
+
EditorOption[EditorOption["inlineSuggest"] = 65] = "inlineSuggest";
|
|
3084
|
+
EditorOption[EditorOption["letterSpacing"] = 66] = "letterSpacing";
|
|
3085
|
+
EditorOption[EditorOption["lightbulb"] = 67] = "lightbulb";
|
|
3086
|
+
EditorOption[EditorOption["lineDecorationsWidth"] = 68] = "lineDecorationsWidth";
|
|
3087
|
+
EditorOption[EditorOption["lineHeight"] = 69] = "lineHeight";
|
|
3088
|
+
EditorOption[EditorOption["lineNumbers"] = 70] = "lineNumbers";
|
|
3089
|
+
EditorOption[EditorOption["lineNumbersMinChars"] = 71] = "lineNumbersMinChars";
|
|
3090
|
+
EditorOption[EditorOption["linkedEditing"] = 72] = "linkedEditing";
|
|
3091
|
+
EditorOption[EditorOption["links"] = 73] = "links";
|
|
3092
|
+
EditorOption[EditorOption["matchBrackets"] = 74] = "matchBrackets";
|
|
3093
|
+
EditorOption[EditorOption["minimap"] = 75] = "minimap";
|
|
3094
|
+
EditorOption[EditorOption["mouseStyle"] = 76] = "mouseStyle";
|
|
3095
|
+
EditorOption[EditorOption["mouseWheelScrollSensitivity"] = 77] = "mouseWheelScrollSensitivity";
|
|
3096
|
+
EditorOption[EditorOption["mouseWheelZoom"] = 78] = "mouseWheelZoom";
|
|
3097
|
+
EditorOption[EditorOption["multiCursorMergeOverlapping"] = 79] = "multiCursorMergeOverlapping";
|
|
3098
|
+
EditorOption[EditorOption["multiCursorModifier"] = 80] = "multiCursorModifier";
|
|
3099
|
+
EditorOption[EditorOption["multiCursorPaste"] = 81] = "multiCursorPaste";
|
|
3100
|
+
EditorOption[EditorOption["multiCursorLimit"] = 82] = "multiCursorLimit";
|
|
3101
|
+
EditorOption[EditorOption["occurrencesHighlight"] = 83] = "occurrencesHighlight";
|
|
3102
|
+
EditorOption[EditorOption["occurrencesHighlightDelay"] = 84] = "occurrencesHighlightDelay";
|
|
3103
|
+
EditorOption[EditorOption["overtypeCursorStyle"] = 85] = "overtypeCursorStyle";
|
|
3104
|
+
EditorOption[EditorOption["overtypeOnPaste"] = 86] = "overtypeOnPaste";
|
|
3105
|
+
EditorOption[EditorOption["overviewRulerBorder"] = 87] = "overviewRulerBorder";
|
|
3106
|
+
EditorOption[EditorOption["overviewRulerLanes"] = 88] = "overviewRulerLanes";
|
|
3107
|
+
EditorOption[EditorOption["padding"] = 89] = "padding";
|
|
3108
|
+
EditorOption[EditorOption["pasteAs"] = 90] = "pasteAs";
|
|
3109
|
+
EditorOption[EditorOption["parameterHints"] = 91] = "parameterHints";
|
|
3110
|
+
EditorOption[EditorOption["peekWidgetDefaultFocus"] = 92] = "peekWidgetDefaultFocus";
|
|
3111
|
+
EditorOption[EditorOption["placeholder"] = 93] = "placeholder";
|
|
3112
|
+
EditorOption[EditorOption["definitionLinkOpensInPeek"] = 94] = "definitionLinkOpensInPeek";
|
|
3113
|
+
EditorOption[EditorOption["quickSuggestions"] = 95] = "quickSuggestions";
|
|
3114
|
+
EditorOption[EditorOption["quickSuggestionsDelay"] = 96] = "quickSuggestionsDelay";
|
|
3115
|
+
EditorOption[EditorOption["readOnly"] = 97] = "readOnly";
|
|
3116
|
+
EditorOption[EditorOption["readOnlyMessage"] = 98] = "readOnlyMessage";
|
|
3117
|
+
EditorOption[EditorOption["renameOnType"] = 99] = "renameOnType";
|
|
3118
|
+
EditorOption[EditorOption["renderControlCharacters"] = 100] = "renderControlCharacters";
|
|
3119
|
+
EditorOption[EditorOption["renderFinalNewline"] = 101] = "renderFinalNewline";
|
|
3120
|
+
EditorOption[EditorOption["renderLineHighlight"] = 102] = "renderLineHighlight";
|
|
3121
|
+
EditorOption[EditorOption["renderLineHighlightOnlyWhenFocus"] = 103] = "renderLineHighlightOnlyWhenFocus";
|
|
3122
|
+
EditorOption[EditorOption["renderValidationDecorations"] = 104] = "renderValidationDecorations";
|
|
3123
|
+
EditorOption[EditorOption["renderWhitespace"] = 105] = "renderWhitespace";
|
|
3124
|
+
EditorOption[EditorOption["revealHorizontalRightPadding"] = 106] = "revealHorizontalRightPadding";
|
|
3125
|
+
EditorOption[EditorOption["roundedSelection"] = 107] = "roundedSelection";
|
|
3126
|
+
EditorOption[EditorOption["rulers"] = 108] = "rulers";
|
|
3127
|
+
EditorOption[EditorOption["scrollbar"] = 109] = "scrollbar";
|
|
3128
|
+
EditorOption[EditorOption["scrollBeyondLastColumn"] = 110] = "scrollBeyondLastColumn";
|
|
3129
|
+
EditorOption[EditorOption["scrollBeyondLastLine"] = 111] = "scrollBeyondLastLine";
|
|
3130
|
+
EditorOption[EditorOption["scrollPredominantAxis"] = 112] = "scrollPredominantAxis";
|
|
3131
|
+
EditorOption[EditorOption["selectionClipboard"] = 113] = "selectionClipboard";
|
|
3132
|
+
EditorOption[EditorOption["selectionHighlight"] = 114] = "selectionHighlight";
|
|
3133
|
+
EditorOption[EditorOption["selectOnLineNumbers"] = 115] = "selectOnLineNumbers";
|
|
3134
|
+
EditorOption[EditorOption["showFoldingControls"] = 116] = "showFoldingControls";
|
|
3135
|
+
EditorOption[EditorOption["showUnused"] = 117] = "showUnused";
|
|
3136
|
+
EditorOption[EditorOption["snippetSuggestions"] = 118] = "snippetSuggestions";
|
|
3137
|
+
EditorOption[EditorOption["smartSelect"] = 119] = "smartSelect";
|
|
3138
|
+
EditorOption[EditorOption["smoothScrolling"] = 120] = "smoothScrolling";
|
|
3139
|
+
EditorOption[EditorOption["stickyScroll"] = 121] = "stickyScroll";
|
|
3140
|
+
EditorOption[EditorOption["stickyTabStops"] = 122] = "stickyTabStops";
|
|
3141
|
+
EditorOption[EditorOption["stopRenderingLineAfter"] = 123] = "stopRenderingLineAfter";
|
|
3142
|
+
EditorOption[EditorOption["suggest"] = 124] = "suggest";
|
|
3143
|
+
EditorOption[EditorOption["suggestFontSize"] = 125] = "suggestFontSize";
|
|
3144
|
+
EditorOption[EditorOption["suggestLineHeight"] = 126] = "suggestLineHeight";
|
|
3145
|
+
EditorOption[EditorOption["suggestOnTriggerCharacters"] = 127] = "suggestOnTriggerCharacters";
|
|
3146
|
+
EditorOption[EditorOption["suggestSelection"] = 128] = "suggestSelection";
|
|
3147
|
+
EditorOption[EditorOption["tabCompletion"] = 129] = "tabCompletion";
|
|
3148
|
+
EditorOption[EditorOption["tabIndex"] = 130] = "tabIndex";
|
|
3149
|
+
EditorOption[EditorOption["unicodeHighlighting"] = 131] = "unicodeHighlighting";
|
|
3150
|
+
EditorOption[EditorOption["unusualLineTerminators"] = 132] = "unusualLineTerminators";
|
|
3151
|
+
EditorOption[EditorOption["useShadowDOM"] = 133] = "useShadowDOM";
|
|
3152
|
+
EditorOption[EditorOption["useTabStops"] = 134] = "useTabStops";
|
|
3153
|
+
EditorOption[EditorOption["wordBreak"] = 135] = "wordBreak";
|
|
3154
|
+
EditorOption[EditorOption["wordSegmenterLocales"] = 136] = "wordSegmenterLocales";
|
|
3155
|
+
EditorOption[EditorOption["wordSeparators"] = 137] = "wordSeparators";
|
|
3156
|
+
EditorOption[EditorOption["wordWrap"] = 138] = "wordWrap";
|
|
3157
|
+
EditorOption[EditorOption["wordWrapBreakAfterCharacters"] = 139] = "wordWrapBreakAfterCharacters";
|
|
3158
|
+
EditorOption[EditorOption["wordWrapBreakBeforeCharacters"] = 140] = "wordWrapBreakBeforeCharacters";
|
|
3159
|
+
EditorOption[EditorOption["wordWrapColumn"] = 141] = "wordWrapColumn";
|
|
3160
|
+
EditorOption[EditorOption["wordWrapOverride1"] = 142] = "wordWrapOverride1";
|
|
3161
|
+
EditorOption[EditorOption["wordWrapOverride2"] = 143] = "wordWrapOverride2";
|
|
3162
|
+
EditorOption[EditorOption["wrappingIndent"] = 144] = "wrappingIndent";
|
|
3163
|
+
EditorOption[EditorOption["wrappingStrategy"] = 145] = "wrappingStrategy";
|
|
3164
|
+
EditorOption[EditorOption["showDeprecated"] = 146] = "showDeprecated";
|
|
3165
|
+
EditorOption[EditorOption["inlayHints"] = 147] = "inlayHints";
|
|
3166
|
+
EditorOption[EditorOption["effectiveCursorStyle"] = 148] = "effectiveCursorStyle";
|
|
3167
|
+
EditorOption[EditorOption["editorClassName"] = 149] = "editorClassName";
|
|
3168
|
+
EditorOption[EditorOption["pixelRatio"] = 150] = "pixelRatio";
|
|
3169
|
+
EditorOption[EditorOption["tabFocusMode"] = 151] = "tabFocusMode";
|
|
3170
|
+
EditorOption[EditorOption["layoutInfo"] = 152] = "layoutInfo";
|
|
3171
|
+
EditorOption[EditorOption["wrappingInfo"] = 153] = "wrappingInfo";
|
|
3172
|
+
EditorOption[EditorOption["defaultColorDecorators"] = 154] = "defaultColorDecorators";
|
|
3173
|
+
EditorOption[EditorOption["colorDecoratorsActivatedOn"] = 155] = "colorDecoratorsActivatedOn";
|
|
3174
|
+
EditorOption[EditorOption["inlineCompletionsAccessibilityVerbose"] = 156] = "inlineCompletionsAccessibilityVerbose";
|
|
3175
|
+
EditorOption[EditorOption["effectiveExperimentalEditContextEnabled"] = 157] = "effectiveExperimentalEditContextEnabled";
|
|
3151
3176
|
})(EditorOption || (EditorOption = {}));
|
|
3152
3177
|
const EditorOptions = {
|
|
3153
3178
|
acceptSuggestionOnCommitCharacter: register(( new EditorBooleanOption(
|
|
@@ -3155,7 +3180,7 @@ const EditorOptions = {
|
|
|
3155
3180
|
'acceptSuggestionOnCommitCharacter',
|
|
3156
3181
|
true,
|
|
3157
3182
|
{ markdownDescription: ( localize(
|
|
3158
|
-
|
|
3183
|
+
485,
|
|
3159
3184
|
"Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character."
|
|
3160
3185
|
)) }
|
|
3161
3186
|
))),
|
|
@@ -3168,13 +3193,13 @@ const EditorOptions = {
|
|
|
3168
3193
|
markdownEnumDescriptions: [
|
|
3169
3194
|
'',
|
|
3170
3195
|
( localize(
|
|
3171
|
-
|
|
3196
|
+
486,
|
|
3172
3197
|
"Only accept a suggestion with `Enter` when it makes a textual change."
|
|
3173
3198
|
)),
|
|
3174
3199
|
''
|
|
3175
3200
|
],
|
|
3176
3201
|
markdownDescription: ( localize(
|
|
3177
|
-
|
|
3202
|
+
487,
|
|
3178
3203
|
"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
|
|
3179
3204
|
))
|
|
3180
3205
|
}
|
|
@@ -3188,13 +3213,14 @@ const EditorOptions = {
|
|
|
3188
3213
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3189
3214
|
{
|
|
3190
3215
|
description: ( localize(
|
|
3191
|
-
|
|
3216
|
+
488,
|
|
3192
3217
|
"Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."
|
|
3193
3218
|
)),
|
|
3194
3219
|
tags: ['accessibility']
|
|
3195
3220
|
}
|
|
3196
3221
|
))),
|
|
3197
|
-
|
|
3222
|
+
allowVariableLineHeights: register(( new EditorBooleanOption(EditorOption.allowVariableLineHeights, 'allowVariableLineHeights', true))),
|
|
3223
|
+
ariaLabel: register(( new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(489, "Editor content"))))),
|
|
3198
3224
|
ariaRequired: register(( new EditorBooleanOption(EditorOption.ariaRequired, 'ariaRequired', false, undefined))),
|
|
3199
3225
|
screenReaderAnnounceInlineSuggestion: register(( new EditorBooleanOption(
|
|
3200
3226
|
EditorOption.screenReaderAnnounceInlineSuggestion,
|
|
@@ -3202,7 +3228,7 @@ const EditorOptions = {
|
|
|
3202
3228
|
true,
|
|
3203
3229
|
{
|
|
3204
3230
|
description: ( localize(
|
|
3205
|
-
|
|
3231
|
+
490,
|
|
3206
3232
|
"Control whether inline suggestions are announced by a screen reader."
|
|
3207
3233
|
)),
|
|
3208
3234
|
tags: ['accessibility']
|
|
@@ -3217,17 +3243,17 @@ const EditorOptions = {
|
|
|
3217
3243
|
enumDescriptions: [
|
|
3218
3244
|
'',
|
|
3219
3245
|
( localize(
|
|
3220
|
-
|
|
3246
|
+
491,
|
|
3221
3247
|
"Use language configurations to determine when to autoclose brackets."
|
|
3222
3248
|
)),
|
|
3223
3249
|
( localize(
|
|
3224
|
-
|
|
3250
|
+
492,
|
|
3225
3251
|
"Autoclose brackets only when the cursor is to the left of whitespace."
|
|
3226
3252
|
)),
|
|
3227
3253
|
'',
|
|
3228
3254
|
],
|
|
3229
3255
|
description: ( localize(
|
|
3230
|
-
|
|
3256
|
+
493,
|
|
3231
3257
|
"Controls whether the editor should automatically close brackets after the user adds an opening bracket."
|
|
3232
3258
|
))
|
|
3233
3259
|
}
|
|
@@ -3241,17 +3267,17 @@ const EditorOptions = {
|
|
|
3241
3267
|
enumDescriptions: [
|
|
3242
3268
|
'',
|
|
3243
3269
|
( localize(
|
|
3244
|
-
|
|
3270
|
+
494,
|
|
3245
3271
|
"Use language configurations to determine when to autoclose comments."
|
|
3246
3272
|
)),
|
|
3247
3273
|
( localize(
|
|
3248
|
-
|
|
3274
|
+
495,
|
|
3249
3275
|
"Autoclose comments only when the cursor is to the left of whitespace."
|
|
3250
3276
|
)),
|
|
3251
3277
|
'',
|
|
3252
3278
|
],
|
|
3253
3279
|
description: ( localize(
|
|
3254
|
-
|
|
3280
|
+
496,
|
|
3255
3281
|
"Controls whether the editor should automatically close comments after the user adds an opening comment."
|
|
3256
3282
|
))
|
|
3257
3283
|
}
|
|
@@ -3265,13 +3291,13 @@ const EditorOptions = {
|
|
|
3265
3291
|
enumDescriptions: [
|
|
3266
3292
|
'',
|
|
3267
3293
|
( localize(
|
|
3268
|
-
|
|
3294
|
+
497,
|
|
3269
3295
|
"Remove adjacent closing quotes or brackets only if they were automatically inserted."
|
|
3270
3296
|
)),
|
|
3271
3297
|
'',
|
|
3272
3298
|
],
|
|
3273
3299
|
description: ( localize(
|
|
3274
|
-
|
|
3300
|
+
498,
|
|
3275
3301
|
"Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
|
|
3276
3302
|
))
|
|
3277
3303
|
}
|
|
@@ -3285,13 +3311,13 @@ const EditorOptions = {
|
|
|
3285
3311
|
enumDescriptions: [
|
|
3286
3312
|
'',
|
|
3287
3313
|
( localize(
|
|
3288
|
-
|
|
3314
|
+
499,
|
|
3289
3315
|
"Type over closing quotes or brackets only if they were automatically inserted."
|
|
3290
3316
|
)),
|
|
3291
3317
|
'',
|
|
3292
3318
|
],
|
|
3293
3319
|
description: ( localize(
|
|
3294
|
-
|
|
3320
|
+
500,
|
|
3295
3321
|
"Controls whether the editor should type over closing quotes or brackets."
|
|
3296
3322
|
))
|
|
3297
3323
|
}
|
|
@@ -3304,12 +3330,12 @@ const EditorOptions = {
|
|
|
3304
3330
|
{
|
|
3305
3331
|
enumDescriptions: [
|
|
3306
3332
|
'',
|
|
3307
|
-
( localize(
|
|
3308
|
-
( localize(
|
|
3333
|
+
( localize(501, "Use language configurations to determine when to autoclose quotes.")),
|
|
3334
|
+
( localize(502, "Autoclose quotes only when the cursor is to the left of whitespace.")),
|
|
3309
3335
|
'',
|
|
3310
3336
|
],
|
|
3311
3337
|
description: ( localize(
|
|
3312
|
-
|
|
3338
|
+
503,
|
|
3313
3339
|
"Controls whether the editor should automatically close quotes after the user adds an opening quote."
|
|
3314
3340
|
))
|
|
3315
3341
|
}
|
|
@@ -3323,23 +3349,23 @@ const EditorOptions = {
|
|
|
3323
3349
|
_autoIndentFromString,
|
|
3324
3350
|
{
|
|
3325
3351
|
enumDescriptions: [
|
|
3326
|
-
( localize(
|
|
3327
|
-
( localize(
|
|
3352
|
+
( localize(504, "The editor will not insert indentation automatically.")),
|
|
3353
|
+
( localize(505, "The editor will keep the current line's indentation.")),
|
|
3328
3354
|
( localize(
|
|
3329
|
-
|
|
3355
|
+
506,
|
|
3330
3356
|
"The editor will keep the current line's indentation and honor language defined brackets."
|
|
3331
3357
|
)),
|
|
3332
3358
|
( localize(
|
|
3333
|
-
|
|
3359
|
+
507,
|
|
3334
3360
|
"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
|
|
3335
3361
|
)),
|
|
3336
3362
|
( localize(
|
|
3337
|
-
|
|
3363
|
+
508,
|
|
3338
3364
|
"The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages."
|
|
3339
3365
|
)),
|
|
3340
3366
|
],
|
|
3341
3367
|
description: ( localize(
|
|
3342
|
-
|
|
3368
|
+
509,
|
|
3343
3369
|
"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
|
|
3344
3370
|
))
|
|
3345
3371
|
}
|
|
@@ -3353,15 +3379,15 @@ const EditorOptions = {
|
|
|
3353
3379
|
{
|
|
3354
3380
|
enumDescriptions: [
|
|
3355
3381
|
( localize(
|
|
3356
|
-
|
|
3382
|
+
510,
|
|
3357
3383
|
"Use language configurations to determine when to automatically surround selections."
|
|
3358
3384
|
)),
|
|
3359
|
-
( localize(
|
|
3360
|
-
( localize(
|
|
3385
|
+
( localize(511, "Surround with quotes but not brackets.")),
|
|
3386
|
+
( localize(512, "Surround with brackets but not quotes.")),
|
|
3361
3387
|
''
|
|
3362
3388
|
],
|
|
3363
3389
|
description: ( localize(
|
|
3364
|
-
|
|
3390
|
+
513,
|
|
3365
3391
|
"Controls whether the editor should automatically surround selections when typing quotes or brackets."
|
|
3366
3392
|
))
|
|
3367
3393
|
}
|
|
@@ -3373,16 +3399,16 @@ const EditorOptions = {
|
|
|
3373
3399
|
'stickyTabStops',
|
|
3374
3400
|
false,
|
|
3375
3401
|
{ description: ( localize(
|
|
3376
|
-
|
|
3402
|
+
514,
|
|
3377
3403
|
"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
|
|
3378
3404
|
)) }
|
|
3379
3405
|
))),
|
|
3380
|
-
codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(
|
|
3406
|
+
codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(515, "Controls whether the editor shows CodeLens.")) }))),
|
|
3381
3407
|
codeLensFontFamily: register(( new EditorStringOption(
|
|
3382
3408
|
EditorOption.codeLensFontFamily,
|
|
3383
3409
|
'codeLensFontFamily',
|
|
3384
3410
|
'',
|
|
3385
|
-
{ description: ( localize(
|
|
3411
|
+
{ description: ( localize(516, "Controls the font family for CodeLens.")) }
|
|
3386
3412
|
))),
|
|
3387
3413
|
codeLensFontSize: register(( new EditorIntOption(EditorOption.codeLensFontSize, 'codeLensFontSize', 0, 0, 100, {
|
|
3388
3414
|
type: 'number',
|
|
@@ -3390,7 +3416,7 @@ const EditorOptions = {
|
|
|
3390
3416
|
minimum: 0,
|
|
3391
3417
|
maximum: 100,
|
|
3392
3418
|
markdownDescription: ( localize(
|
|
3393
|
-
|
|
3419
|
+
517,
|
|
3394
3420
|
"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
|
|
3395
3421
|
))
|
|
3396
3422
|
}))),
|
|
@@ -3399,7 +3425,7 @@ const EditorOptions = {
|
|
|
3399
3425
|
'colorDecorators',
|
|
3400
3426
|
true,
|
|
3401
3427
|
{ description: ( localize(
|
|
3402
|
-
|
|
3428
|
+
518,
|
|
3403
3429
|
"Controls whether the editor should render the inline color decorators and color picker."
|
|
3404
3430
|
)) }
|
|
3405
3431
|
))),
|
|
@@ -3411,14 +3437,14 @@ const EditorOptions = {
|
|
|
3411
3437
|
{
|
|
3412
3438
|
enumDescriptions: [
|
|
3413
3439
|
( localize(
|
|
3414
|
-
|
|
3440
|
+
519,
|
|
3415
3441
|
"Make the color picker appear both on click and hover of the color decorator"
|
|
3416
3442
|
)),
|
|
3417
|
-
( localize(
|
|
3418
|
-
( localize(
|
|
3443
|
+
( localize(520, "Make the color picker appear on hover of the color decorator")),
|
|
3444
|
+
( localize(521, "Make the color picker appear on click of the color decorator"))
|
|
3419
3445
|
],
|
|
3420
3446
|
description: ( localize(
|
|
3421
|
-
|
|
3447
|
+
522,
|
|
3422
3448
|
"Controls the condition to make a color picker appear from a color decorator."
|
|
3423
3449
|
))
|
|
3424
3450
|
}
|
|
@@ -3431,7 +3457,7 @@ const EditorOptions = {
|
|
|
3431
3457
|
1000000,
|
|
3432
3458
|
{
|
|
3433
3459
|
markdownDescription: ( localize(
|
|
3434
|
-
|
|
3460
|
+
523,
|
|
3435
3461
|
"Controls the max number of color decorators that can be rendered in an editor at once."
|
|
3436
3462
|
))
|
|
3437
3463
|
}
|
|
@@ -3441,7 +3467,7 @@ const EditorOptions = {
|
|
|
3441
3467
|
'columnSelection',
|
|
3442
3468
|
false,
|
|
3443
3469
|
{ description: ( localize(
|
|
3444
|
-
|
|
3470
|
+
524,
|
|
3445
3471
|
"Enable that the selection with the mouse and keys is doing column selection."
|
|
3446
3472
|
)) }
|
|
3447
3473
|
))),
|
|
@@ -3452,7 +3478,7 @@ const EditorOptions = {
|
|
|
3452
3478
|
'copyWithSyntaxHighlighting',
|
|
3453
3479
|
true,
|
|
3454
3480
|
{ description: ( localize(
|
|
3455
|
-
|
|
3481
|
+
525,
|
|
3456
3482
|
"Controls whether syntax highlighting should be copied into the clipboard."
|
|
3457
3483
|
)) }
|
|
3458
3484
|
))),
|
|
@@ -3463,7 +3489,7 @@ const EditorOptions = {
|
|
|
3463
3489
|
'blink',
|
|
3464
3490
|
['blink', 'smooth', 'phase', 'expand', 'solid'],
|
|
3465
3491
|
cursorBlinkingStyleFromString,
|
|
3466
|
-
{ description: ( localize(
|
|
3492
|
+
{ description: ( localize(526, "Control the cursor animation style.")) }
|
|
3467
3493
|
))),
|
|
3468
3494
|
cursorSmoothCaretAnimation: register(( new EditorStringEnumOption(
|
|
3469
3495
|
EditorOption.cursorSmoothCaretAnimation,
|
|
@@ -3472,14 +3498,14 @@ const EditorOptions = {
|
|
|
3472
3498
|
['off', 'explicit', 'on'],
|
|
3473
3499
|
{
|
|
3474
3500
|
enumDescriptions: [
|
|
3475
|
-
( localize(
|
|
3501
|
+
( localize(527, "Smooth caret animation is disabled.")),
|
|
3476
3502
|
( localize(
|
|
3477
|
-
|
|
3503
|
+
528,
|
|
3478
3504
|
"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
|
|
3479
3505
|
)),
|
|
3480
|
-
( localize(
|
|
3506
|
+
( localize(529, "Smooth caret animation is always enabled."))
|
|
3481
3507
|
],
|
|
3482
|
-
description: ( localize(
|
|
3508
|
+
description: ( localize(530, "Controls whether the smooth caret animation should be enabled."))
|
|
3483
3509
|
}
|
|
3484
3510
|
))),
|
|
3485
3511
|
cursorStyle: register(( new EditorEnumOption(
|
|
@@ -3489,7 +3515,7 @@ const EditorOptions = {
|
|
|
3489
3515
|
'line',
|
|
3490
3516
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3491
3517
|
cursorStyleFromString,
|
|
3492
|
-
{ description: ( localize(
|
|
3518
|
+
{ description: ( localize(531, "Controls the cursor style in insert input mode.")) }
|
|
3493
3519
|
))),
|
|
3494
3520
|
overtypeCursorStyle: register(( new EditorEnumOption(
|
|
3495
3521
|
EditorOption.overtypeCursorStyle,
|
|
@@ -3498,7 +3524,7 @@ const EditorOptions = {
|
|
|
3498
3524
|
'block',
|
|
3499
3525
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3500
3526
|
cursorStyleFromString,
|
|
3501
|
-
{ description: ( localize(
|
|
3527
|
+
{ description: ( localize(532, "Controls the cursor style in overtype input mode.")) }
|
|
3502
3528
|
))),
|
|
3503
3529
|
cursorSurroundingLines: register(( new EditorIntOption(
|
|
3504
3530
|
EditorOption.cursorSurroundingLines,
|
|
@@ -3507,7 +3533,7 @@ const EditorOptions = {
|
|
|
3507
3533
|
0,
|
|
3508
3534
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3509
3535
|
{ description: ( localize(
|
|
3510
|
-
|
|
3536
|
+
533,
|
|
3511
3537
|
"Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors."
|
|
3512
3538
|
)) }
|
|
3513
3539
|
))),
|
|
@@ -3519,12 +3545,12 @@ const EditorOptions = {
|
|
|
3519
3545
|
{
|
|
3520
3546
|
enumDescriptions: [
|
|
3521
3547
|
( localize(
|
|
3522
|
-
|
|
3548
|
+
534,
|
|
3523
3549
|
"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
|
|
3524
3550
|
)),
|
|
3525
|
-
( localize(
|
|
3551
|
+
( localize(535, "`cursorSurroundingLines` is enforced always."))
|
|
3526
3552
|
],
|
|
3527
|
-
markdownDescription: ( localize(
|
|
3553
|
+
markdownDescription: ( localize(536, "Controls when `#editor.cursorSurroundingLines#` should be enforced."))
|
|
3528
3554
|
}
|
|
3529
3555
|
))),
|
|
3530
3556
|
cursorWidth: register(( new EditorIntOption(
|
|
@@ -3534,7 +3560,7 @@ const EditorOptions = {
|
|
|
3534
3560
|
0,
|
|
3535
3561
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3536
3562
|
{ markdownDescription: ( localize(
|
|
3537
|
-
|
|
3563
|
+
537,
|
|
3538
3564
|
"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
|
|
3539
3565
|
)) }
|
|
3540
3566
|
))),
|
|
@@ -3550,7 +3576,7 @@ const EditorOptions = {
|
|
|
3550
3576
|
'dragAndDrop',
|
|
3551
3577
|
true,
|
|
3552
3578
|
{ description: ( localize(
|
|
3553
|
-
|
|
3579
|
+
538,
|
|
3554
3580
|
"Controls whether the editor should allow moving selections via drag and drop."
|
|
3555
3581
|
)) }
|
|
3556
3582
|
))),
|
|
@@ -3559,10 +3585,10 @@ const EditorOptions = {
|
|
|
3559
3585
|
experimentalEditContextEnabled: register(( new EditorBooleanOption(
|
|
3560
3586
|
EditorOption.experimentalEditContextEnabled,
|
|
3561
3587
|
'experimentalEditContextEnabled',
|
|
3562
|
-
|
|
3588
|
+
true,
|
|
3563
3589
|
{
|
|
3564
3590
|
description: ( localize(
|
|
3565
|
-
|
|
3591
|
+
539,
|
|
3566
3592
|
"Sets whether the new experimental edit context should be used instead of the text area."
|
|
3567
3593
|
)),
|
|
3568
3594
|
included: isChrome || isEdge || isNative
|
|
@@ -3577,11 +3603,11 @@ const EditorOptions = {
|
|
|
3577
3603
|
{
|
|
3578
3604
|
tags: ['experimental'],
|
|
3579
3605
|
enumDescriptions: [
|
|
3580
|
-
( localize(
|
|
3581
|
-
( localize(
|
|
3606
|
+
( localize(540, "Use regular DOM-based rendering.")),
|
|
3607
|
+
( localize(541, "Use GPU acceleration.")),
|
|
3582
3608
|
],
|
|
3583
3609
|
description: ( localize(
|
|
3584
|
-
|
|
3610
|
+
542,
|
|
3585
3611
|
"Controls whether to use the experimental GPU acceleration to render the editor."
|
|
3586
3612
|
))
|
|
3587
3613
|
}
|
|
@@ -3593,12 +3619,12 @@ const EditorOptions = {
|
|
|
3593
3619
|
['svg', 'font', 'off'],
|
|
3594
3620
|
{
|
|
3595
3621
|
enumDescriptions: [
|
|
3596
|
-
( localize(
|
|
3597
|
-
( localize(
|
|
3598
|
-
( localize(
|
|
3622
|
+
( localize(543, "Use a new rendering method with svgs.")),
|
|
3623
|
+
( localize(544, "Use a new rendering method with font characters.")),
|
|
3624
|
+
( localize(545, "Use the stable rendering method.")),
|
|
3599
3625
|
],
|
|
3600
3626
|
description: ( localize(
|
|
3601
|
-
|
|
3627
|
+
546,
|
|
3602
3628
|
"Controls whether whitespace is rendered with a new, experimental method."
|
|
3603
3629
|
))
|
|
3604
3630
|
}
|
|
@@ -3609,11 +3635,11 @@ const EditorOptions = {
|
|
|
3609
3635
|
'fastScrollSensitivity',
|
|
3610
3636
|
5,
|
|
3611
3637
|
x => (x <= 0 ? 5 : x),
|
|
3612
|
-
{ markdownDescription: ( localize(
|
|
3638
|
+
{ markdownDescription: ( localize(547, "Scrolling speed multiplier when pressing `Alt`.")) }
|
|
3613
3639
|
))),
|
|
3614
3640
|
find: register(( new EditorFind())),
|
|
3615
3641
|
fixedOverflowWidgets: register(( new EditorBooleanOption(EditorOption.fixedOverflowWidgets, 'fixedOverflowWidgets', false))),
|
|
3616
|
-
folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(
|
|
3642
|
+
folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(548, "Controls whether the editor has code folding enabled.")) }))),
|
|
3617
3643
|
foldingStrategy: register(( new EditorStringEnumOption(
|
|
3618
3644
|
EditorOption.foldingStrategy,
|
|
3619
3645
|
'foldingStrategy',
|
|
@@ -3622,25 +3648,25 @@ const EditorOptions = {
|
|
|
3622
3648
|
{
|
|
3623
3649
|
enumDescriptions: [
|
|
3624
3650
|
( localize(
|
|
3625
|
-
|
|
3651
|
+
549,
|
|
3626
3652
|
"Use a language-specific folding strategy if available, else the indentation-based one."
|
|
3627
3653
|
)),
|
|
3628
|
-
( localize(
|
|
3654
|
+
( localize(550, "Use the indentation-based folding strategy.")),
|
|
3629
3655
|
],
|
|
3630
|
-
description: ( localize(
|
|
3656
|
+
description: ( localize(551, "Controls the strategy for computing folding ranges."))
|
|
3631
3657
|
}
|
|
3632
3658
|
))),
|
|
3633
3659
|
foldingHighlight: register(( new EditorBooleanOption(
|
|
3634
3660
|
EditorOption.foldingHighlight,
|
|
3635
3661
|
'foldingHighlight',
|
|
3636
3662
|
true,
|
|
3637
|
-
{ description: ( localize(
|
|
3663
|
+
{ description: ( localize(552, "Controls whether the editor should highlight folded ranges.")) }
|
|
3638
3664
|
))),
|
|
3639
3665
|
foldingImportsByDefault: register(( new EditorBooleanOption(
|
|
3640
3666
|
EditorOption.foldingImportsByDefault,
|
|
3641
3667
|
'foldingImportsByDefault',
|
|
3642
3668
|
false,
|
|
3643
|
-
{ description: ( localize(
|
|
3669
|
+
{ description: ( localize(553, "Controls whether the editor automatically collapses import ranges.")) }
|
|
3644
3670
|
))),
|
|
3645
3671
|
foldingMaximumRegions: register(( new EditorIntOption(
|
|
3646
3672
|
EditorOption.foldingMaximumRegions,
|
|
@@ -3649,7 +3675,7 @@ const EditorOptions = {
|
|
|
3649
3675
|
10,
|
|
3650
3676
|
65000,
|
|
3651
3677
|
{ description: ( localize(
|
|
3652
|
-
|
|
3678
|
+
554,
|
|
3653
3679
|
"The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions."
|
|
3654
3680
|
)) }
|
|
3655
3681
|
))),
|
|
@@ -3658,7 +3684,7 @@ const EditorOptions = {
|
|
|
3658
3684
|
'unfoldOnClickAfterEndOfLine',
|
|
3659
3685
|
false,
|
|
3660
3686
|
{ description: ( localize(
|
|
3661
|
-
|
|
3687
|
+
555,
|
|
3662
3688
|
"Controls whether clicking on the empty content after a folded line will unfold the line."
|
|
3663
3689
|
)) }
|
|
3664
3690
|
))),
|
|
@@ -3666,7 +3692,7 @@ const EditorOptions = {
|
|
|
3666
3692
|
EditorOption.fontFamily,
|
|
3667
3693
|
'fontFamily',
|
|
3668
3694
|
EDITOR_FONT_DEFAULTS.fontFamily,
|
|
3669
|
-
{ description: ( localize(
|
|
3695
|
+
{ description: ( localize(556, "Controls the font family.")) }
|
|
3670
3696
|
))),
|
|
3671
3697
|
fontInfo: register(( new EditorFontInfo())),
|
|
3672
3698
|
fontLigatures2: register(( new EditorFontLigatures())),
|
|
@@ -3678,7 +3704,7 @@ const EditorOptions = {
|
|
|
3678
3704
|
'formatOnPaste',
|
|
3679
3705
|
false,
|
|
3680
3706
|
{ description: ( localize(
|
|
3681
|
-
|
|
3707
|
+
557,
|
|
3682
3708
|
"Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document."
|
|
3683
3709
|
)) }
|
|
3684
3710
|
))),
|
|
@@ -3687,7 +3713,7 @@ const EditorOptions = {
|
|
|
3687
3713
|
'formatOnType',
|
|
3688
3714
|
false,
|
|
3689
3715
|
{ description: ( localize(
|
|
3690
|
-
|
|
3716
|
+
558,
|
|
3691
3717
|
"Controls whether the editor should automatically format the line after typing."
|
|
3692
3718
|
)) }
|
|
3693
3719
|
))),
|
|
@@ -3696,7 +3722,7 @@ const EditorOptions = {
|
|
|
3696
3722
|
'glyphMargin',
|
|
3697
3723
|
true,
|
|
3698
3724
|
{ description: ( localize(
|
|
3699
|
-
|
|
3725
|
+
559,
|
|
3700
3726
|
"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
|
|
3701
3727
|
)) }
|
|
3702
3728
|
))),
|
|
@@ -3705,7 +3731,7 @@ const EditorOptions = {
|
|
|
3705
3731
|
EditorOption.hideCursorInOverviewRuler,
|
|
3706
3732
|
'hideCursorInOverviewRuler',
|
|
3707
3733
|
false,
|
|
3708
|
-
{ description: ( localize(
|
|
3734
|
+
{ description: ( localize(560, "Controls whether the cursor should be hidden in the overview ruler.")) }
|
|
3709
3735
|
))),
|
|
3710
3736
|
hover: register(( new EditorHover())),
|
|
3711
3737
|
inDiffEditor: register(( new EditorBooleanOption(EditorOption.inDiffEditor, 'inDiffEditor', false))),
|
|
@@ -3714,7 +3740,7 @@ const EditorOptions = {
|
|
|
3714
3740
|
'letterSpacing',
|
|
3715
3741
|
EDITOR_FONT_DEFAULTS.letterSpacing,
|
|
3716
3742
|
x => EditorFloatOption.clamp(x, -5, 20),
|
|
3717
|
-
{ description: ( localize(
|
|
3743
|
+
{ description: ( localize(561, "Controls the letter spacing in pixels.")) }
|
|
3718
3744
|
))),
|
|
3719
3745
|
lightbulb: register(( new EditorLightbulb())),
|
|
3720
3746
|
lineDecorationsWidth: register(( new EditorLineDecorationsWidth())),
|
|
@@ -3726,12 +3752,12 @@ const EditorOptions = {
|
|
|
3726
3752
|
'linkedEditing',
|
|
3727
3753
|
false,
|
|
3728
3754
|
{ description: ( localize(
|
|
3729
|
-
|
|
3755
|
+
562,
|
|
3730
3756
|
"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
|
|
3731
3757
|
)) }
|
|
3732
3758
|
))),
|
|
3733
3759
|
links: register(( new EditorBooleanOption(EditorOption.links, 'links', true, { description: ( localize(
|
|
3734
|
-
|
|
3760
|
+
563,
|
|
3735
3761
|
"Controls whether the editor should detect links and make them clickable."
|
|
3736
3762
|
)) }))),
|
|
3737
3763
|
matchBrackets: register(( new EditorStringEnumOption(
|
|
@@ -3739,7 +3765,7 @@ const EditorOptions = {
|
|
|
3739
3765
|
'matchBrackets',
|
|
3740
3766
|
'always',
|
|
3741
3767
|
['always', 'near', 'never'],
|
|
3742
|
-
{ description: ( localize(
|
|
3768
|
+
{ description: ( localize(564, "Highlight matching brackets.")) }
|
|
3743
3769
|
))),
|
|
3744
3770
|
minimap: register(( new EditorMinimap())),
|
|
3745
3771
|
mouseStyle: register(( new EditorStringEnumOption(EditorOption.mouseStyle, 'mouseStyle', 'text', ['text', 'default', 'copy']))),
|
|
@@ -3749,18 +3775,18 @@ const EditorOptions = {
|
|
|
3749
3775
|
1,
|
|
3750
3776
|
x => (x === 0 ? 1 : x),
|
|
3751
3777
|
{ markdownDescription: ( localize(
|
|
3752
|
-
|
|
3778
|
+
565,
|
|
3753
3779
|
"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
|
|
3754
3780
|
)) }
|
|
3755
3781
|
))),
|
|
3756
3782
|
mouseWheelZoom: register(( new EditorBooleanOption(EditorOption.mouseWheelZoom, 'mouseWheelZoom', false, {
|
|
3757
3783
|
markdownDescription: isMacintosh
|
|
3758
3784
|
? ( localize(
|
|
3759
|
-
|
|
3785
|
+
566,
|
|
3760
3786
|
"Zoom the font of the editor when using mouse wheel and holding `Cmd`."
|
|
3761
3787
|
))
|
|
3762
3788
|
: ( localize(
|
|
3763
|
-
|
|
3789
|
+
567,
|
|
3764
3790
|
"Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
|
|
3765
3791
|
))
|
|
3766
3792
|
}))),
|
|
@@ -3768,7 +3794,7 @@ const EditorOptions = {
|
|
|
3768
3794
|
EditorOption.multiCursorMergeOverlapping,
|
|
3769
3795
|
'multiCursorMergeOverlapping',
|
|
3770
3796
|
true,
|
|
3771
|
-
{ description: ( localize(
|
|
3797
|
+
{ description: ( localize(568, "Merge multiple cursors when they are overlapping.")) }
|
|
3772
3798
|
))),
|
|
3773
3799
|
multiCursorModifier: register(( new EditorEnumOption(
|
|
3774
3800
|
EditorOption.multiCursorModifier,
|
|
@@ -3779,11 +3805,11 @@ const EditorOptions = {
|
|
|
3779
3805
|
_multiCursorModifierFromString,
|
|
3780
3806
|
{
|
|
3781
3807
|
markdownEnumDescriptions: [
|
|
3782
|
-
( localize(
|
|
3783
|
-
( localize(
|
|
3808
|
+
( localize(569, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
|
|
3809
|
+
( localize(570, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
|
|
3784
3810
|
],
|
|
3785
3811
|
markdownDescription: ( localize(
|
|
3786
|
-
|
|
3812
|
+
571,
|
|
3787
3813
|
"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier)."
|
|
3788
3814
|
))
|
|
3789
3815
|
}
|
|
@@ -3795,18 +3821,18 @@ const EditorOptions = {
|
|
|
3795
3821
|
['spread', 'full'],
|
|
3796
3822
|
{
|
|
3797
3823
|
markdownEnumDescriptions: [
|
|
3798
|
-
( localize(
|
|
3799
|
-
( localize(
|
|
3824
|
+
( localize(572, "Each cursor pastes a single line of the text.")),
|
|
3825
|
+
( localize(573, "Each cursor pastes the full text."))
|
|
3800
3826
|
],
|
|
3801
3827
|
markdownDescription: ( localize(
|
|
3802
|
-
|
|
3828
|
+
574,
|
|
3803
3829
|
"Controls pasting when the line count of the pasted text matches the cursor count."
|
|
3804
3830
|
))
|
|
3805
3831
|
}
|
|
3806
3832
|
))),
|
|
3807
3833
|
multiCursorLimit: register(( new EditorIntOption(EditorOption.multiCursorLimit, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3808
3834
|
markdownDescription: ( localize(
|
|
3809
|
-
|
|
3835
|
+
575,
|
|
3810
3836
|
"Controls the max number of cursors that can be in an active editor at once."
|
|
3811
3837
|
))
|
|
3812
3838
|
}))),
|
|
@@ -3817,12 +3843,12 @@ const EditorOptions = {
|
|
|
3817
3843
|
['off', 'singleFile', 'multiFile'],
|
|
3818
3844
|
{
|
|
3819
3845
|
markdownEnumDescriptions: [
|
|
3820
|
-
( localize(
|
|
3821
|
-
( localize(
|
|
3822
|
-
( localize(
|
|
3846
|
+
( localize(576, "Does not highlight occurrences.")),
|
|
3847
|
+
( localize(577, "Highlights occurrences only in the current file.")),
|
|
3848
|
+
( localize(578, "Experimental: Highlights occurrences across all valid open files."))
|
|
3823
3849
|
],
|
|
3824
3850
|
markdownDescription: ( localize(
|
|
3825
|
-
|
|
3851
|
+
579,
|
|
3826
3852
|
"Controls whether occurrences should be highlighted across open files."
|
|
3827
3853
|
))
|
|
3828
3854
|
}
|
|
@@ -3835,7 +3861,7 @@ const EditorOptions = {
|
|
|
3835
3861
|
2000,
|
|
3836
3862
|
{
|
|
3837
3863
|
description: ( localize(
|
|
3838
|
-
|
|
3864
|
+
580,
|
|
3839
3865
|
"Controls the delay in milliseconds after which occurrences are highlighted."
|
|
3840
3866
|
)),
|
|
3841
3867
|
tags: ['preview']
|
|
@@ -3845,14 +3871,14 @@ const EditorOptions = {
|
|
|
3845
3871
|
EditorOption.overtypeOnPaste,
|
|
3846
3872
|
'overtypeOnPaste',
|
|
3847
3873
|
true,
|
|
3848
|
-
{ description: ( localize(
|
|
3874
|
+
{ description: ( localize(581, "Controls whether pasting should overtype.")) }
|
|
3849
3875
|
))),
|
|
3850
3876
|
overviewRulerBorder: register(( new EditorBooleanOption(
|
|
3851
3877
|
EditorOption.overviewRulerBorder,
|
|
3852
3878
|
'overviewRulerBorder',
|
|
3853
3879
|
true,
|
|
3854
3880
|
{ description: ( localize(
|
|
3855
|
-
|
|
3881
|
+
582,
|
|
3856
3882
|
"Controls whether a border should be drawn around the overview ruler."
|
|
3857
3883
|
)) }
|
|
3858
3884
|
))),
|
|
@@ -3867,11 +3893,11 @@ const EditorOptions = {
|
|
|
3867
3893
|
['tree', 'editor'],
|
|
3868
3894
|
{
|
|
3869
3895
|
enumDescriptions: [
|
|
3870
|
-
( localize(
|
|
3871
|
-
( localize(
|
|
3896
|
+
( localize(583, "Focus the tree when opening peek")),
|
|
3897
|
+
( localize(584, "Focus the editor when opening peek"))
|
|
3872
3898
|
],
|
|
3873
3899
|
description: ( localize(
|
|
3874
|
-
|
|
3900
|
+
585,
|
|
3875
3901
|
"Controls whether to focus the inline editor or the tree in the peek widget."
|
|
3876
3902
|
))
|
|
3877
3903
|
}
|
|
@@ -3882,7 +3908,7 @@ const EditorOptions = {
|
|
|
3882
3908
|
'definitionLinkOpensInPeek',
|
|
3883
3909
|
false,
|
|
3884
3910
|
{ description: ( localize(
|
|
3885
|
-
|
|
3911
|
+
586,
|
|
3886
3912
|
"Controls whether the Go to Definition mouse gesture always opens the peek widget."
|
|
3887
3913
|
)) }
|
|
3888
3914
|
))),
|
|
@@ -3894,7 +3920,7 @@ const EditorOptions = {
|
|
|
3894
3920
|
0,
|
|
3895
3921
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3896
3922
|
{ description: ( localize(
|
|
3897
|
-
|
|
3923
|
+
587,
|
|
3898
3924
|
"Controls the delay in milliseconds after which quick suggestions will show up."
|
|
3899
3925
|
)) }
|
|
3900
3926
|
))),
|
|
@@ -3904,20 +3930,20 @@ const EditorOptions = {
|
|
|
3904
3930
|
EditorOption.renameOnType,
|
|
3905
3931
|
'renameOnType',
|
|
3906
3932
|
false,
|
|
3907
|
-
{ description: ( localize(
|
|
3933
|
+
{ description: ( localize(588, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localize(589, "Deprecated, use `editor.linkedEditing` instead.")) }
|
|
3908
3934
|
))),
|
|
3909
3935
|
renderControlCharacters: register(( new EditorBooleanOption(
|
|
3910
3936
|
EditorOption.renderControlCharacters,
|
|
3911
3937
|
'renderControlCharacters',
|
|
3912
3938
|
true,
|
|
3913
|
-
{ description: ( localize(
|
|
3939
|
+
{ description: ( localize(590, "Controls whether the editor should render control characters.")), restricted: true }
|
|
3914
3940
|
))),
|
|
3915
3941
|
renderFinalNewline: register(( new EditorStringEnumOption(
|
|
3916
3942
|
EditorOption.renderFinalNewline,
|
|
3917
3943
|
'renderFinalNewline',
|
|
3918
3944
|
(isLinux ? 'dimmed' : 'on'),
|
|
3919
3945
|
['off', 'on', 'dimmed'],
|
|
3920
|
-
{ description: ( localize(
|
|
3946
|
+
{ description: ( localize(591, "Render last line number when the file ends with a newline.")) }
|
|
3921
3947
|
))),
|
|
3922
3948
|
renderLineHighlight: register(( new EditorStringEnumOption(
|
|
3923
3949
|
EditorOption.renderLineHighlight,
|
|
@@ -3929,9 +3955,9 @@ const EditorOptions = {
|
|
|
3929
3955
|
'',
|
|
3930
3956
|
'',
|
|
3931
3957
|
'',
|
|
3932
|
-
( localize(
|
|
3958
|
+
( localize(592, "Highlights both the gutter and the current line.")),
|
|
3933
3959
|
],
|
|
3934
|
-
description: ( localize(
|
|
3960
|
+
description: ( localize(593, "Controls how the editor should render the current line highlight."))
|
|
3935
3961
|
}
|
|
3936
3962
|
))),
|
|
3937
3963
|
renderLineHighlightOnlyWhenFocus: register(( new EditorBooleanOption(
|
|
@@ -3939,7 +3965,7 @@ const EditorOptions = {
|
|
|
3939
3965
|
'renderLineHighlightOnlyWhenFocus',
|
|
3940
3966
|
false,
|
|
3941
3967
|
{ description: ( localize(
|
|
3942
|
-
|
|
3968
|
+
594,
|
|
3943
3969
|
"Controls if the editor should render the current line highlight only when the editor is focused."
|
|
3944
3970
|
)) }
|
|
3945
3971
|
))),
|
|
@@ -3958,14 +3984,14 @@ const EditorOptions = {
|
|
|
3958
3984
|
enumDescriptions: [
|
|
3959
3985
|
'',
|
|
3960
3986
|
( localize(
|
|
3961
|
-
|
|
3987
|
+
595,
|
|
3962
3988
|
"Render whitespace characters except for single spaces between words."
|
|
3963
3989
|
)),
|
|
3964
|
-
( localize(
|
|
3965
|
-
( localize(
|
|
3990
|
+
( localize(596, "Render whitespace characters only on selected text.")),
|
|
3991
|
+
( localize(597, "Render only trailing whitespace characters.")),
|
|
3966
3992
|
''
|
|
3967
3993
|
],
|
|
3968
|
-
description: ( localize(
|
|
3994
|
+
description: ( localize(598, "Controls how the editor should render whitespace characters."))
|
|
3969
3995
|
}
|
|
3970
3996
|
))),
|
|
3971
3997
|
revealHorizontalRightPadding: register(( new EditorIntOption(
|
|
@@ -3979,7 +4005,7 @@ const EditorOptions = {
|
|
|
3979
4005
|
EditorOption.roundedSelection,
|
|
3980
4006
|
'roundedSelection',
|
|
3981
4007
|
true,
|
|
3982
|
-
{ description: ( localize(
|
|
4008
|
+
{ description: ( localize(599, "Controls whether selections should have rounded corners.")) }
|
|
3983
4009
|
))),
|
|
3984
4010
|
rulers: register(( new EditorRulers())),
|
|
3985
4011
|
scrollbar: register(( new EditorScrollbar())),
|
|
@@ -3990,7 +4016,7 @@ const EditorOptions = {
|
|
|
3990
4016
|
0,
|
|
3991
4017
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3992
4018
|
{ description: ( localize(
|
|
3993
|
-
|
|
4019
|
+
600,
|
|
3994
4020
|
"Controls the number of extra characters beyond which the editor will scroll horizontally."
|
|
3995
4021
|
)) }
|
|
3996
4022
|
))),
|
|
@@ -3998,19 +4024,19 @@ const EditorOptions = {
|
|
|
3998
4024
|
EditorOption.scrollBeyondLastLine,
|
|
3999
4025
|
'scrollBeyondLastLine',
|
|
4000
4026
|
true,
|
|
4001
|
-
{ description: ( localize(
|
|
4027
|
+
{ description: ( localize(601, "Controls whether the editor will scroll beyond the last line.")) }
|
|
4002
4028
|
))),
|
|
4003
4029
|
scrollPredominantAxis: register(( new EditorBooleanOption(
|
|
4004
4030
|
EditorOption.scrollPredominantAxis,
|
|
4005
4031
|
'scrollPredominantAxis',
|
|
4006
4032
|
true,
|
|
4007
4033
|
{ description: ( localize(
|
|
4008
|
-
|
|
4034
|
+
602,
|
|
4009
4035
|
"Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad."
|
|
4010
4036
|
)) }
|
|
4011
4037
|
))),
|
|
4012
4038
|
selectionClipboard: register(( new EditorBooleanOption(EditorOption.selectionClipboard, 'selectionClipboard', true, {
|
|
4013
|
-
description: ( localize(
|
|
4039
|
+
description: ( localize(603, "Controls whether the Linux primary clipboard should be supported.")),
|
|
4014
4040
|
included: isLinux
|
|
4015
4041
|
}))),
|
|
4016
4042
|
selectionHighlight: register(( new EditorBooleanOption(
|
|
@@ -4018,7 +4044,7 @@ const EditorOptions = {
|
|
|
4018
4044
|
'selectionHighlight',
|
|
4019
4045
|
true,
|
|
4020
4046
|
{ description: ( localize(
|
|
4021
|
-
|
|
4047
|
+
604,
|
|
4022
4048
|
"Controls whether the editor should highlight matches similar to the selection."
|
|
4023
4049
|
)) }
|
|
4024
4050
|
))),
|
|
@@ -4030,19 +4056,19 @@ const EditorOptions = {
|
|
|
4030
4056
|
['always', 'never', 'mouseover'],
|
|
4031
4057
|
{
|
|
4032
4058
|
enumDescriptions: [
|
|
4033
|
-
( localize(
|
|
4034
|
-
( localize(
|
|
4035
|
-
( localize(
|
|
4059
|
+
( localize(605, "Always show the folding controls.")),
|
|
4060
|
+
( localize(606, "Never show the folding controls and reduce the gutter size.")),
|
|
4061
|
+
( localize(607, "Only show the folding controls when the mouse is over the gutter.")),
|
|
4036
4062
|
],
|
|
4037
|
-
description: ( localize(
|
|
4063
|
+
description: ( localize(608, "Controls when the folding controls on the gutter are shown."))
|
|
4038
4064
|
}
|
|
4039
4065
|
))),
|
|
4040
|
-
showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(
|
|
4066
|
+
showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(609, "Controls fading out of unused code.")) }))),
|
|
4041
4067
|
showDeprecated: register(( new EditorBooleanOption(
|
|
4042
4068
|
EditorOption.showDeprecated,
|
|
4043
4069
|
'showDeprecated',
|
|
4044
4070
|
true,
|
|
4045
|
-
{ description: ( localize(
|
|
4071
|
+
{ description: ( localize(610, "Controls strikethrough deprecated variables.")) }
|
|
4046
4072
|
))),
|
|
4047
4073
|
inlayHints: register(( new EditorInlayHints())),
|
|
4048
4074
|
snippetSuggestions: register(( new EditorStringEnumOption(
|
|
@@ -4052,13 +4078,13 @@ const EditorOptions = {
|
|
|
4052
4078
|
['top', 'bottom', 'inline', 'none'],
|
|
4053
4079
|
{
|
|
4054
4080
|
enumDescriptions: [
|
|
4055
|
-
( localize(
|
|
4056
|
-
( localize(
|
|
4057
|
-
( localize(
|
|
4058
|
-
( localize(
|
|
4081
|
+
( localize(611, "Show snippet suggestions on top of other suggestions.")),
|
|
4082
|
+
( localize(612, "Show snippet suggestions below other suggestions.")),
|
|
4083
|
+
( localize(613, "Show snippets suggestions with other suggestions.")),
|
|
4084
|
+
( localize(614, "Do not show snippet suggestions.")),
|
|
4059
4085
|
],
|
|
4060
4086
|
description: ( localize(
|
|
4061
|
-
|
|
4087
|
+
615,
|
|
4062
4088
|
"Controls whether snippets are shown with other suggestions and how they are sorted."
|
|
4063
4089
|
))
|
|
4064
4090
|
}
|
|
@@ -4068,7 +4094,7 @@ const EditorOptions = {
|
|
|
4068
4094
|
EditorOption.smoothScrolling,
|
|
4069
4095
|
'smoothScrolling',
|
|
4070
4096
|
false,
|
|
4071
|
-
{ description: ( localize(
|
|
4097
|
+
{ description: ( localize(616, "Controls whether the editor will scroll using an animation.")) }
|
|
4072
4098
|
))),
|
|
4073
4099
|
stopRenderingLineAfter: register(( new EditorIntOption(
|
|
4074
4100
|
EditorOption.stopRenderingLineAfter,
|
|
@@ -4084,7 +4110,7 @@ const EditorOptions = {
|
|
|
4084
4110
|
'inlineCompletionsAccessibilityVerbose',
|
|
4085
4111
|
false,
|
|
4086
4112
|
{ description: ( localize(
|
|
4087
|
-
|
|
4113
|
+
617,
|
|
4088
4114
|
"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
|
|
4089
4115
|
)) }
|
|
4090
4116
|
))),
|
|
@@ -4095,7 +4121,7 @@ const EditorOptions = {
|
|
|
4095
4121
|
0,
|
|
4096
4122
|
1000,
|
|
4097
4123
|
{ markdownDescription: ( localize(
|
|
4098
|
-
|
|
4124
|
+
618,
|
|
4099
4125
|
"Font size for the suggest widget. When set to {0}, the value of {1} is used.",
|
|
4100
4126
|
'`0`',
|
|
4101
4127
|
'`#editor.fontSize#`'
|
|
@@ -4108,7 +4134,7 @@ const EditorOptions = {
|
|
|
4108
4134
|
0,
|
|
4109
4135
|
1000,
|
|
4110
4136
|
{ markdownDescription: ( localize(
|
|
4111
|
-
|
|
4137
|
+
619,
|
|
4112
4138
|
"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
|
|
4113
4139
|
'`0`',
|
|
4114
4140
|
'`#editor.lineHeight#`'
|
|
@@ -4119,7 +4145,7 @@ const EditorOptions = {
|
|
|
4119
4145
|
'suggestOnTriggerCharacters',
|
|
4120
4146
|
true,
|
|
4121
4147
|
{ description: ( localize(
|
|
4122
|
-
|
|
4148
|
+
620,
|
|
4123
4149
|
"Controls whether suggestions should automatically show up when typing trigger characters."
|
|
4124
4150
|
)) }
|
|
4125
4151
|
))),
|
|
@@ -4130,18 +4156,18 @@ const EditorOptions = {
|
|
|
4130
4156
|
['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
|
|
4131
4157
|
{
|
|
4132
4158
|
markdownEnumDescriptions: [
|
|
4133
|
-
( localize(
|
|
4159
|
+
( localize(621, "Always select the first suggestion.")),
|
|
4134
4160
|
( localize(
|
|
4135
|
-
|
|
4161
|
+
622,
|
|
4136
4162
|
"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
|
|
4137
4163
|
)),
|
|
4138
4164
|
( localize(
|
|
4139
|
-
|
|
4165
|
+
623,
|
|
4140
4166
|
"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
|
|
4141
4167
|
)),
|
|
4142
4168
|
],
|
|
4143
4169
|
description: ( localize(
|
|
4144
|
-
|
|
4170
|
+
624,
|
|
4145
4171
|
"Controls how suggestions are pre-selected when showing the suggest list."
|
|
4146
4172
|
))
|
|
4147
4173
|
}
|
|
@@ -4154,16 +4180,16 @@ const EditorOptions = {
|
|
|
4154
4180
|
{
|
|
4155
4181
|
enumDescriptions: [
|
|
4156
4182
|
( localize(
|
|
4157
|
-
|
|
4183
|
+
625,
|
|
4158
4184
|
"Tab complete will insert the best matching suggestion when pressing tab."
|
|
4159
4185
|
)),
|
|
4160
|
-
( localize(
|
|
4186
|
+
( localize(626, "Disable tab completions.")),
|
|
4161
4187
|
( localize(
|
|
4162
|
-
|
|
4188
|
+
627,
|
|
4163
4189
|
"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
|
|
4164
4190
|
)),
|
|
4165
4191
|
],
|
|
4166
|
-
description: ( localize(
|
|
4192
|
+
description: ( localize(628, "Enables tab completions."))
|
|
4167
4193
|
}
|
|
4168
4194
|
))),
|
|
4169
4195
|
tabIndex: register(( new EditorIntOption(EditorOption.tabIndex, 'tabIndex', 0, -1, Constants.MAX_SAFE_SMALL_INTEGER))),
|
|
@@ -4175,11 +4201,11 @@ const EditorOptions = {
|
|
|
4175
4201
|
['auto', 'off', 'prompt'],
|
|
4176
4202
|
{
|
|
4177
4203
|
enumDescriptions: [
|
|
4178
|
-
( localize(
|
|
4179
|
-
( localize(
|
|
4180
|
-
( localize(
|
|
4204
|
+
( localize(629, "Unusual line terminators are automatically removed.")),
|
|
4205
|
+
( localize(630, "Unusual line terminators are ignored.")),
|
|
4206
|
+
( localize(631, "Unusual line terminators prompt to be removed.")),
|
|
4181
4207
|
],
|
|
4182
|
-
description: ( localize(
|
|
4208
|
+
description: ( localize(632, "Remove unusual line terminators that might cause problems."))
|
|
4183
4209
|
}
|
|
4184
4210
|
))),
|
|
4185
4211
|
useShadowDOM: register(( new EditorBooleanOption(EditorOption.useShadowDOM, 'useShadowDOM', true))),
|
|
@@ -4188,20 +4214,20 @@ const EditorOptions = {
|
|
|
4188
4214
|
'useTabStops',
|
|
4189
4215
|
true,
|
|
4190
4216
|
{ description: ( localize(
|
|
4191
|
-
|
|
4217
|
+
633,
|
|
4192
4218
|
"Spaces and tabs are inserted and deleted in alignment with tab stops."
|
|
4193
4219
|
)) }
|
|
4194
4220
|
))),
|
|
4195
4221
|
wordBreak: register(( new EditorStringEnumOption(EditorOption.wordBreak, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
4196
4222
|
markdownEnumDescriptions: [
|
|
4197
|
-
( localize(
|
|
4223
|
+
( localize(634, "Use the default line break rule.")),
|
|
4198
4224
|
( localize(
|
|
4199
|
-
|
|
4225
|
+
635,
|
|
4200
4226
|
"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
|
|
4201
4227
|
)),
|
|
4202
4228
|
],
|
|
4203
4229
|
description: ( localize(
|
|
4204
|
-
|
|
4230
|
+
636,
|
|
4205
4231
|
"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
|
|
4206
4232
|
))
|
|
4207
4233
|
}))),
|
|
@@ -4211,7 +4237,7 @@ const EditorOptions = {
|
|
|
4211
4237
|
'wordSeparators',
|
|
4212
4238
|
USUAL_WORD_SEPARATORS,
|
|
4213
4239
|
{ description: ( localize(
|
|
4214
|
-
|
|
4240
|
+
637,
|
|
4215
4241
|
"Characters that will be used as word separators when doing word related navigations or operations."
|
|
4216
4242
|
)) }
|
|
4217
4243
|
))),
|
|
@@ -4222,15 +4248,15 @@ const EditorOptions = {
|
|
|
4222
4248
|
['off', 'on', 'wordWrapColumn', 'bounded'],
|
|
4223
4249
|
{
|
|
4224
4250
|
markdownEnumDescriptions: [
|
|
4225
|
-
( localize(
|
|
4226
|
-
( localize(
|
|
4227
|
-
( localize(
|
|
4251
|
+
( localize(638, "Lines will never wrap.")),
|
|
4252
|
+
( localize(639, "Lines will wrap at the viewport width.")),
|
|
4253
|
+
( localize(640, "Lines will wrap at `#editor.wordWrapColumn#`.")),
|
|
4228
4254
|
( localize(
|
|
4229
|
-
|
|
4255
|
+
641,
|
|
4230
4256
|
"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
|
|
4231
4257
|
)),
|
|
4232
4258
|
],
|
|
4233
|
-
description: ( localize(
|
|
4259
|
+
description: ( localize(642, "Controls how lines should wrap."))
|
|
4234
4260
|
}
|
|
4235
4261
|
))),
|
|
4236
4262
|
wordWrapBreakAfterCharacters: register(( new EditorStringOption(
|
|
@@ -4251,7 +4277,7 @@ const EditorOptions = {
|
|
|
4251
4277
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4252
4278
|
{
|
|
4253
4279
|
markdownDescription: ( localize(
|
|
4254
|
-
|
|
4280
|
+
643,
|
|
4255
4281
|
"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
|
|
4256
4282
|
))
|
|
4257
4283
|
}
|
|
@@ -4278,14 +4304,14 @@ const EditorOptions = {
|
|
|
4278
4304
|
{
|
|
4279
4305
|
enumDescriptions: [
|
|
4280
4306
|
( localize(
|
|
4281
|
-
|
|
4307
|
+
644,
|
|
4282
4308
|
"Show default color decorators only when no extension provides colors decorators."
|
|
4283
4309
|
)),
|
|
4284
|
-
( localize(
|
|
4285
|
-
( localize(
|
|
4310
|
+
( localize(645, "Always show default color decorators.")),
|
|
4311
|
+
( localize(646, "Never show default color decorators.")),
|
|
4286
4312
|
],
|
|
4287
4313
|
description: ( localize(
|
|
4288
|
-
|
|
4314
|
+
647,
|
|
4289
4315
|
"Controls whether inline color decorations should be shown using the default document color provider."
|
|
4290
4316
|
))
|
|
4291
4317
|
}
|
|
@@ -4296,7 +4322,7 @@ const EditorOptions = {
|
|
|
4296
4322
|
'tabFocusMode',
|
|
4297
4323
|
false,
|
|
4298
4324
|
{ markdownDescription: ( localize(
|
|
4299
|
-
|
|
4325
|
+
648,
|
|
4300
4326
|
"Controls whether the editor receives tabs or defers them to the workbench for navigation."
|
|
4301
4327
|
)) }
|
|
4302
4328
|
))),
|