@codingame/monaco-vscode-api 13.1.6 → 14.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions.d.ts +3 -2
- package/missing-services.js +177 -63
- package/monaco.d.ts +1 -1
- package/package.json +8 -8
- package/services.d.ts +2 -2
- package/services.js +2 -3
- package/vscode/src/vs/base/browser/cssValue.js +1 -1
- package/vscode/src/vs/base/browser/dom.js +4 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +12 -0
- package/vscode/src/vs/base/browser/touch.js +2 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/button/button.js +10 -6
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.d.ts +2 -1
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +2 -2
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/listView.d.ts +10 -0
- package/vscode/src/vs/base/browser/ui/list/listView.js +102 -6
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/menu/menu.js +4 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +1 -2
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +18 -8
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +2 -2
- package/vscode/src/vs/base/common/actions.d.ts +1 -1
- package/vscode/src/vs/base/common/arrays.d.ts +1 -2
- package/vscode/src/vs/base/common/arrays.js +2 -2
- package/vscode/src/vs/base/common/assert.d.ts +1 -1
- package/vscode/src/vs/base/common/assert.js +5 -2
- package/vscode/src/vs/base/common/async.js +16 -2
- package/vscode/src/vs/base/common/codicons.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +1 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +1 -0
- package/vscode/src/vs/base/common/color.d.ts +2 -2
- package/vscode/src/vs/base/common/color.js +4 -4
- package/vscode/src/vs/base/common/decorators.d.ts +1 -0
- package/vscode/src/vs/base/common/decorators.js +2 -0
- package/vscode/src/vs/base/common/errors.d.ts +2 -0
- package/vscode/src/vs/base/common/errors.js +10 -2
- package/vscode/src/vs/base/common/event.d.ts +3 -3
- package/vscode/src/vs/base/common/event.js +3 -3
- package/vscode/src/vs/base/common/filters.js +1 -1
- package/vscode/src/vs/base/common/iterator.d.ts +1 -1
- package/vscode/src/vs/base/common/iterator.js +8 -2
- package/vscode/src/vs/base/common/lifecycle.d.ts +7 -0
- package/vscode/src/vs/base/common/map.d.ts +8 -16
- package/vscode/src/vs/base/common/map.js +43 -30
- package/vscode/src/vs/base/common/network.d.ts +2 -2
- package/vscode/src/vs/base/common/network.js +4 -4
- package/vscode/src/vs/base/common/numbers.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/autorun.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/autorun.js +14 -1
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +13 -9
- package/vscode/src/vs/base/common/observableInternal/base.js +7 -1
- package/vscode/src/vs/base/common/observableInternal/derived.d.ts +5 -3
- package/vscode/src/vs/base/common/observableInternal/derived.js +31 -4
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/lazyObservableValue.js +5 -2
- package/vscode/src/vs/base/common/observableInternal/logging.d.ts +10 -4
- package/vscode/src/vs/base/common/observableInternal/logging.js +310 -1
- package/vscode/src/vs/base/common/observableInternal/utils.d.ts +9 -9
- package/vscode/src/vs/base/common/observableInternal/utils.js +13 -4
- package/vscode/src/vs/base/common/path.js +1 -2
- package/vscode/src/vs/base/common/product.d.ts +5 -0
- package/vscode/src/vs/base/common/stream.d.ts +1 -1
- package/vscode/src/vs/base/common/stream.js +13 -5
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +19 -9
- package/vscode/src/vs/base/common/types.d.ts +2 -1
- package/vscode/src/vs/base/common/types.js +9 -4
- package/vscode/src/vs/base/common/uuid.js +1 -50
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +2 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +26 -12
- package/vscode/src/vs/editor/browser/editorDom.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +15 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/atlas.d.ts +7 -2
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +34 -27
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.d.ts +1 -1
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.js +8 -8
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.js +3 -3
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.d.ts +7 -0
- package/vscode/src/vs/editor/browser/gpu/contentSegmenter.js +49 -0
- package/vscode/src/vs/editor/browser/gpu/{decorationCssRuleExtractor.d.ts → css/decorationCssRuleExtractor.d.ts} +1 -1
- package/vscode/src/vs/editor/browser/gpu/{decorationCssRuleExtractor.js → css/decorationCssRuleExtractor.js} +2 -2
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.d.ts +15 -0
- package/vscode/src/vs/editor/browser/gpu/css/decorationStyleCache.js +37 -0
- package/vscode/src/vs/editor/browser/gpu/{media → css/media}/decorationCssRuleExtractor.css.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/gpu.d.ts +6 -2
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.d.ts +5 -2
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +57 -14
- package/vscode/src/vs/editor/browser/gpu/raster/raster.d.ts +2 -1
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.d.ts +4 -1
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.js +5 -1
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/baseRenderStrategy.d.ts +25 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/baseRenderStrategy.js +16 -0
- package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.d.ts → renderStrategy/fullFileRenderStrategy.d.ts} +14 -13
- package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.js → renderStrategy/fullFileRenderStrategy.js} +100 -57
- package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.wgsl.js → renderStrategy/fullFileRenderStrategy.wgsl.js} +3 -3
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.d.ts +40 -0
- package/vscode/src/vs/editor/browser/gpu/renderStrategy/viewportRenderStrategy.js +287 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +4 -3
- package/vscode/src/vs/editor/browser/gpu/taskQueue.js +17 -2
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.d.ts +8 -9
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +45 -34
- package/vscode/src/vs/editor/browser/observableCodeEditor.d.ts +28 -21
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +68 -2
- package/vscode/src/vs/editor/browser/point.d.ts +9 -0
- package/vscode/src/vs/editor/browser/point.js +22 -0
- package/vscode/src/vs/editor/browser/rect.d.ts +30 -0
- package/vscode/src/vs/editor/browser/rect.js +131 -0
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +8 -1
- package/vscode/src/vs/editor/browser/view.d.ts +1 -0
- package/vscode/src/vs/editor/browser/view.js +9 -5
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.d.ts +7 -3
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +140 -56
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +5 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.d.ts +2 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +8 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +14 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.d.ts +12 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +12 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +4 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +29 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.d.ts +28 -28
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +0 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +3 -6
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +3 -10
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +8 -6
- package/vscode/src/vs/editor/common/config/editorOptions.js +409 -392
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/offsetEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/offsetEdit.js +9 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -0
- package/vscode/src/vs/editor/common/core/position.js +1 -1
- package/vscode/src/vs/editor/common/core/positionToOffset.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/positionToOffset.js +20 -1
- package/vscode/src/vs/editor/common/core/range.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/range.js +3 -0
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +0 -6
- package/vscode/src/vs/editor/common/core/textEdit.js +0 -1
- package/vscode/src/vs/editor/common/core/textLength.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +10 -7
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.d.ts +2 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +6 -6
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.d.ts +1 -0
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +20 -0
- package/vscode/src/vs/editor/common/diff/linesDiffComputer.d.ts +1 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +1 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +1 -22
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +1 -1
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +5 -5
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +21 -25
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/model/textModel.d.ts +1 -0
- package/vscode/src/vs/editor/common/model/textModel.js +6 -3
- package/vscode/src/vs/editor/common/model/textModelTokens.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/textModelTokens.js +11 -18
- package/vscode/src/vs/editor/common/model/tokenStore.d.ts +59 -0
- package/vscode/src/vs/editor/common/model/tokenStore.js +384 -0
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.d.ts +5 -5
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +10 -15
- package/vscode/src/vs/editor/common/model/tokens.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.d.ts +44 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokenStoreService.js +114 -0
- package/vscode/src/vs/editor/common/model/treeSitterTokens.d.ts +4 -5
- package/vscode/src/vs/editor/common/model/treeSitterTokens.js +18 -10
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.d.ts +1 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +0 -1
- package/vscode/src/vs/editor/common/services/treeSitterParserService.d.ts +18 -5
- package/vscode/src/vs/editor/common/standaloneStrings.d.ts +3 -0
- package/vscode/src/vs/editor/common/standaloneStrings.js +54 -38
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.d.ts +1 -13
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.js +1 -13
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +1 -0
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +3 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +5 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +24 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- 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 +1 -1
- 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/codeActionModel.js +1 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelens.js +7 -5
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.css.js +1 -1
- 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/hoverColorPicker.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPicker.js +12 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerContribution.js +2 -9
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +3 -5
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.d.ts +12 -8
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +41 -41
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerWidget.js +13 -8
- 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/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +32 -33
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- 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.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +20 -17
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.d.ts +2 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +32 -30
- package/vscode/src/vs/editor/contrib/find/browser/replaceWidgetHistory.d.ts +21 -0
- package/vscode/src/vs/editor/contrib/find/browser/replaceWidgetHistory.js +76 -0
- 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/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.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +40 -36
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +56 -30
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +43 -41
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +3 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +5 -4
- 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 +5 -5
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +1 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +54 -59
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +47 -16
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +27 -15
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +10 -1
- package/vscode/src/vs/editor/contrib/hover/browser/glyphHoverWidget.js +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +4 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.d.ts +4 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +38 -25
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +1 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +65 -33
- 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/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +38 -24
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +11 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.d.ts +7 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +50 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +8 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/computeGhostText.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +18 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +55 -27
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +22 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +199 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +5 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +38 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdapter.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +10 -10
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.d.ts +16 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +65 -30
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.d.ts +6 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineCompletionsView.js +7 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/deletionView.d.ts +29 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/deletionView.js +141 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.d.ts +19 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorMenu.js +143 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.d.ts +37 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/gutterIndicatorView.js +259 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsIndicatorView.d.ts → indicatorView.d.ts} +1 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsIndicatorView.js → indicatorView.js} +9 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.d.ts +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineDiffView.js +39 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/insertionView.js +204 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.d.ts +71 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/sideBySideDiff.js +584 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.d.ts +123 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.js +348 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css.js +6 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.d.ts +41 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.js +365 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/{inlineEditsViewAndDiffProducer.d.ts → viewAndDiffProducer.d.ts} +7 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/viewAndDiffProducer.js +92 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.d.ts +58 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/wordReplacementView.js +520 -0
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/links/browser/getLinks.js +16 -12
- package/vscode/src/vs/editor/contrib/links/browser/links.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/links/browser/links.js +13 -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 +5 -5
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -26
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- 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/stickyScroll.css.js +1 -1
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.d.ts +2 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +19 -15
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.d.ts +14 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +48 -19
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.d.ts +7 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +25 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css.js +1 -1
- 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 +20 -20
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +9 -7
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +3 -7
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +5 -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/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +8 -3
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +4 -0
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +2 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.d.ts +3 -7
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +1 -1
- package/vscode/src/vs/nls.js +1 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +3 -2
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleViewRegistry.d.ts +4 -4
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +52 -52
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +4 -4
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.d.ts +39 -0
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +145 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.d.ts +1 -0
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +6 -6
- package/vscode/src/vs/platform/actions/browser/toolbar.js +2 -2
- package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -1
- package/vscode/src/vs/platform/actions/common/actions.js +9 -6
- 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/commands/common/commands.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configuration.d.ts +4 -1
- package/vscode/src/vs/platform/configuration/common/configuration.js +3 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.d.ts +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +39 -21
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +9 -4
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +25 -15
- 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/contextview/browser/contextView.service.d.ts +2 -2
- 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/environment/common/argv.d.ts +2 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +5 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +17 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +5 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.d.ts +2 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +10 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.d.ts +3 -5
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +8 -13
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.service.d.ts +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.d.ts +20 -14
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +127 -125
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.service.d.ts +8 -9
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +56 -25
- package/vscode/src/vs/platform/extensions/common/extensions.js +8 -1
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +11 -8
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +12 -9
- 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/instantiation/common/extensions.d.ts +3 -2
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/label/common/label.service.d.ts +2 -1
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.d.ts +1 -0
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.d.ts +6 -0
- package/vscode/src/vs/platform/log/common/log.js +18 -9
- package/vscode/src/vs/platform/markers/common/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +5 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +19 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +11 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +241 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +4 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +3 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +4 -0
- package/vscode/src/vs/platform/request/common/request.d.ts +2 -2
- package/vscode/src/vs/platform/request/common/request.js +171 -112
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.d.ts +2 -0
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +3 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -2
- package/vscode/src/vs/platform/terminal/common/terminal.js +5 -1
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +1 -1
- 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 +96 -96
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- 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.d.ts +7 -0
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +17 -7
- package/vscode/src/vs/platform/theme/common/theme.d.ts +6 -0
- package/vscode/src/vs/platform/theme/common/theme.js +8 -1
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +12 -3
- package/vscode/src/vs/platform/theme/common/themeService.js +5 -5
- 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 +7 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +5 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +3 -3
- package/vscode/src/vs/platform/window/common/window.d.ts +6 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/platform/workspaces/common/workspaces.service.d.ts +2 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.d.ts +3 -2
- package/vscode/src/vs/workbench/api/browser/statusBarService.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +10 -14
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +18 -11
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +1 -20
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +37 -10
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +4 -18
- package/vscode/src/vs/workbench/api/common/extHostCommands.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostComments.js +3 -5
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.d.ts +16 -0
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +4 -0
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDialogs.d.ts +1 -2
- package/vscode/src/vs/workbench/api/common/extHostDialogs.js +1 -5
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLabelService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.d.ts +0 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +29 -65
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.d.ts +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +33 -13
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMemento.js +6 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.d.ts +10 -2
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +47 -7
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +12 -8
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +3 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +67 -6
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +18 -1
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +4 -13
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +7 -61
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +24 -3
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +37 -5
- package/vscode/src/vs/workbench/api/common/extHostVariableResolverService.js +22 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +3 -2
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +17 -8
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.d.ts +12 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/titlebarActions.js +247 -0
- package/vscode/src/vs/workbench/common/activity.d.ts +2 -0
- package/vscode/src/vs/workbench/common/activity.js +6 -0
- package/vscode/src/vs/workbench/common/configuration.js +12 -12
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +44 -0
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +166 -0
- package/vscode/src/vs/workbench/common/editor.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +159 -164
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +152 -142
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +16 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.d.ts +28 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +521 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatClear.js +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.d.ts +136 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +51 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditing.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.d.ts +23 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorActions.js +309 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.d.ts +81 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorController.js +681 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.d.ts +57 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +169 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorOverlay.js +296 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.d.ts +41 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.js +198 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatQuotasService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/screenshot.js +15 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorController.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatEditorOverlay.css.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.d.ts +20 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +134 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.d.ts +16 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +48 -5
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +15 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -29
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +19 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +17 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +3 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.d.ts +444 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +991 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.d.ts +112 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +181 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.d.ts +35 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +5 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +6 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +3 -3
- 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 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.d.ts +234 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +375 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatWordCounter.js +38 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.d.ts +12 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.js +42 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +10 -5
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +7 -7
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +27 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.d.ts +34 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/editFileTool.js +168 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +9 -19
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +14 -10
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +64 -64
- package/vscode/src/vs/workbench/contrib/editSessions/common/editSessions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +167 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +85 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -2
- 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 +2 -2
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +4 -3
- 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/logs/common/defaultLogLevels.service.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookChatEditContext.js +7 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/chatEdit/notebookSynchronizer.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.d.ts +602 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +143 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.d.ts +60 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +316 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.d.ts +13 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookRange.js +73 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.d.ts +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.js +11 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookSynchronizerService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffModel.service.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/{diff.service.js → quickDiffModel.service.js} +2 -2
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +5 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.d.ts +30 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.js +95 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.js +82 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.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.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +30 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +3 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +3 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testExplorerFilterState.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testId.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +3 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolver.js +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.d.ts +1 -0
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +26 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +5 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +10 -4
- 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/browser/extensionUrlHandler.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +3 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +83 -83
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +63 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +164 -0
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.d.ts +2 -0
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +3 -1
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/output/common/output.d.ts +51 -8
- package/vscode/src/vs/workbench/services/output/common/output.js +30 -4
- package/vscode/src/vs/workbench/services/output/common/output.service.d.ts +8 -1
- package/vscode/src/vs/workbench/services/panecomposite/browser/panecomposite.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +2 -2
- 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/statusbar/browser/statusbar.d.ts +9 -4
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +5 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.service.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 +15 -21
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.service.d.ts +21 -2
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +11 -11
- 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/src/vs/workbench/services/workspaces/common/workspaceEditing.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +375 -32
- package/vscode-dts/vscode.proposed.aiRelatedInformation.d.ts +1 -1
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +11 -0
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +9 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +4 -0
- package/vscode-dts/vscode.proposed.chatReadonlyPromptReference.d.ts +17 -0
- package/vscode-dts/vscode.proposed.chatReferenceBinaryData.d.ts +5 -0
- package/vscode-dts/vscode.proposed.d.ts +132 -131
- package/vscode-dts/vscode.proposed.externalUriOpener.d.ts +3 -3
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +2 -0
- package/vscode-dts/vscode.proposed.inlineEdit.d.ts +14 -3
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +21 -1
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +3 -3
- package/vscode-dts/vscode.proposed.quickDiffProvider.d.ts +1 -1
- package/vscode-dts/vscode.proposed.resolvers.d.ts +3 -3
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -2
- package/vscode-dts/vscode.proposed.statusBarItemTooltip.d.ts +19 -0
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +10 -0
- package/vscode-dts/vscode.proposed.terminalQuickFixProvider.d.ts +2 -2
- package/vscode-dts/vscode.proposed.terminalShellEnv.d.ts +18 -0
- package/vscode-dts/vscode.proposed.terminalShellType.d.ts +40 -0
- package/vscode/src/vs/base/common/observableInternal/index.js +0 -8
- package/vscode/src/vs/base/common/observableInternal/promise.d.ts +0 -28
- package/vscode/src/vs/base/common/observableInternal/promise.js +0 -65
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.css.js +0 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.d.ts +0 -45
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +0 -426
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewAndDiffProducer.js +0 -116
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSavingService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.d.ts +0 -1
- package/vscode/src/vs/workbench/contrib/mappedEdits/common/mappedEdits.contribution.js +0 -24
- package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.service.js +0 -6
- package/vscode/src/vs/workbench/contrib/scm/browser/diff.service.d.ts +0 -9
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.d.ts +0 -22
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +0 -66
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.d.ts +0 -155
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +0 -1454
- package/vscode/src/vs/workbench/contrib/scm/browser/media/dirtydiffDecorator.css.js +0 -6
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +0 -164
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +0 -74
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.d.ts +0 -8
- package/vscode/src/vs/workbench/services/themes/common/productIconThemeSchema.js +0 -93
- package/vscode-dts/vscode.proposed.documentPaste.d.ts +0 -316
- package/vscode-dts/vscode.proposed.fileComments.d.ts +0 -42
- package/vscode-dts/vscode.proposed.showLocal.d.ts +0 -19
- /package/vscode/src/vs/editor/browser/gpu/{fullFileRenderStrategy.wgsl.d.ts → renderStrategy/fullFileRenderStrategy.wgsl.d.ts} +0 -0
|
@@ -8,6 +8,7 @@ import { EDITOR_MODEL_DEFAULTS } from '../core/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$1 from '../../../platform/product/common/product.js';
|
|
11
12
|
|
|
12
13
|
var EditorAutoIndentStrategy;
|
|
13
14
|
(function (EditorAutoIndentStrategy) {
|
|
@@ -433,6 +434,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
433
434
|
addExtraSpaceOnTop: true,
|
|
434
435
|
loop: true,
|
|
435
436
|
history: 'workspace',
|
|
437
|
+
replaceHistory: 'workspace',
|
|
436
438
|
};
|
|
437
439
|
super(EditorOption.find, 'find', defaults, {
|
|
438
440
|
'editor.find.cursorMoveOnType': {
|
|
@@ -511,6 +513,16 @@ class EditorFind extends BaseEditorOption {
|
|
|
511
513
|
( localize(279, 'Store search history across the active workspace')),
|
|
512
514
|
],
|
|
513
515
|
description: ( localize(280, "Controls how the find widget history should be stored"))
|
|
516
|
+
},
|
|
517
|
+
'editor.find.replaceHistory': {
|
|
518
|
+
type: 'string',
|
|
519
|
+
enum: ['never', 'workspace'],
|
|
520
|
+
default: 'workspace',
|
|
521
|
+
enumDescriptions: [
|
|
522
|
+
( localize(281, 'Do not store history from the replace widget.')),
|
|
523
|
+
( localize(282, 'Store replace history across the active workspace')),
|
|
524
|
+
],
|
|
525
|
+
description: ( localize(283, "Controls how the replace widget history should be stored"))
|
|
514
526
|
}
|
|
515
527
|
});
|
|
516
528
|
}
|
|
@@ -531,6 +543,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
531
543
|
addExtraSpaceOnTop: boolean(input.addExtraSpaceOnTop, this.defaultValue.addExtraSpaceOnTop),
|
|
532
544
|
loop: boolean(input.loop, this.defaultValue.loop),
|
|
533
545
|
history: stringSet(input.history, this.defaultValue.history, ['never', 'workspace']),
|
|
546
|
+
replaceHistory: stringSet(input.replaceHistory, this.defaultValue.replaceHistory, ['never', 'workspace']),
|
|
534
547
|
};
|
|
535
548
|
}
|
|
536
549
|
}
|
|
@@ -543,20 +556,20 @@ class EditorFontLigatures extends BaseEditorOption {
|
|
|
543
556
|
{
|
|
544
557
|
type: 'boolean',
|
|
545
558
|
description: ( localize(
|
|
546
|
-
|
|
559
|
+
284,
|
|
547
560
|
"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."
|
|
548
561
|
)),
|
|
549
562
|
},
|
|
550
563
|
{
|
|
551
564
|
type: 'string',
|
|
552
565
|
description: ( localize(
|
|
553
|
-
|
|
566
|
+
285,
|
|
554
567
|
"Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures."
|
|
555
568
|
))
|
|
556
569
|
}
|
|
557
570
|
],
|
|
558
571
|
description: ( localize(
|
|
559
|
-
|
|
572
|
+
286,
|
|
560
573
|
"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."
|
|
561
574
|
)),
|
|
562
575
|
default: false
|
|
@@ -590,20 +603,20 @@ class EditorFontVariations extends BaseEditorOption {
|
|
|
590
603
|
{
|
|
591
604
|
type: 'boolean',
|
|
592
605
|
description: ( localize(
|
|
593
|
-
|
|
606
|
+
287,
|
|
594
607
|
"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."
|
|
595
608
|
)),
|
|
596
609
|
},
|
|
597
610
|
{
|
|
598
611
|
type: 'string',
|
|
599
612
|
description: ( localize(
|
|
600
|
-
|
|
613
|
+
288,
|
|
601
614
|
"Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings."
|
|
602
615
|
))
|
|
603
616
|
}
|
|
604
617
|
],
|
|
605
618
|
description: ( localize(
|
|
606
|
-
|
|
619
|
+
289,
|
|
607
620
|
"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."
|
|
608
621
|
)),
|
|
609
622
|
default: false
|
|
@@ -656,7 +669,7 @@ class EditorFontSize extends SimpleEditorOption {
|
|
|
656
669
|
minimum: 6,
|
|
657
670
|
maximum: 100,
|
|
658
671
|
default: EDITOR_FONT_DEFAULTS.fontSize,
|
|
659
|
-
description: ( localize(
|
|
672
|
+
description: ( localize(290, "Controls the font size in pixels."))
|
|
660
673
|
});
|
|
661
674
|
}
|
|
662
675
|
validate(input) {
|
|
@@ -682,7 +695,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
682
695
|
minimum: EditorFontWeight.MINIMUM_VALUE,
|
|
683
696
|
maximum: EditorFontWeight.MAXIMUM_VALUE,
|
|
684
697
|
errorMessage: ( localize(
|
|
685
|
-
|
|
698
|
+
291,
|
|
686
699
|
"Only \"normal\" and \"bold\" keywords or numbers between 1 and 1000 are allowed."
|
|
687
700
|
))
|
|
688
701
|
},
|
|
@@ -696,7 +709,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
696
709
|
],
|
|
697
710
|
default: EDITOR_FONT_DEFAULTS.fontWeight,
|
|
698
711
|
description: ( localize(
|
|
699
|
-
|
|
712
|
+
292,
|
|
700
713
|
"Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000."
|
|
701
714
|
))
|
|
702
715
|
});
|
|
@@ -730,50 +743,50 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
730
743
|
enum: ['peek', 'gotoAndPeek', 'goto'],
|
|
731
744
|
default: defaults.multiple,
|
|
732
745
|
enumDescriptions: [
|
|
733
|
-
( localize(
|
|
734
|
-
( localize(
|
|
735
|
-
( localize(
|
|
746
|
+
( localize(293, 'Show Peek view of the results (default)')),
|
|
747
|
+
( localize(294, 'Go to the primary result and show a Peek view')),
|
|
748
|
+
( localize(295, 'Go to the primary result and enable Peek-less navigation to others'))
|
|
736
749
|
]
|
|
737
750
|
};
|
|
738
751
|
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'];
|
|
739
752
|
super(EditorOption.gotoLocation, 'gotoLocation', defaults, {
|
|
740
753
|
'editor.gotoLocation.multiple': {
|
|
741
754
|
deprecationMessage: ( localize(
|
|
742
|
-
|
|
755
|
+
296,
|
|
743
756
|
"This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead."
|
|
744
757
|
)),
|
|
745
758
|
},
|
|
746
759
|
'editor.gotoLocation.multipleDefinitions': {
|
|
747
760
|
description: ( localize(
|
|
748
|
-
|
|
761
|
+
297,
|
|
749
762
|
"Controls the behavior the 'Go to Definition'-command when multiple target locations exist."
|
|
750
763
|
)),
|
|
751
764
|
...jsonSubset,
|
|
752
765
|
},
|
|
753
766
|
'editor.gotoLocation.multipleTypeDefinitions': {
|
|
754
767
|
description: ( localize(
|
|
755
|
-
|
|
768
|
+
298,
|
|
756
769
|
"Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."
|
|
757
770
|
)),
|
|
758
771
|
...jsonSubset,
|
|
759
772
|
},
|
|
760
773
|
'editor.gotoLocation.multipleDeclarations': {
|
|
761
774
|
description: ( localize(
|
|
762
|
-
|
|
775
|
+
299,
|
|
763
776
|
"Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."
|
|
764
777
|
)),
|
|
765
778
|
...jsonSubset,
|
|
766
779
|
},
|
|
767
780
|
'editor.gotoLocation.multipleImplementations': {
|
|
768
781
|
description: ( localize(
|
|
769
|
-
|
|
782
|
+
300,
|
|
770
783
|
"Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."
|
|
771
784
|
)),
|
|
772
785
|
...jsonSubset,
|
|
773
786
|
},
|
|
774
787
|
'editor.gotoLocation.multipleReferences': {
|
|
775
788
|
description: ( localize(
|
|
776
|
-
|
|
789
|
+
301,
|
|
777
790
|
"Controls the behavior the 'Go to References'-command when multiple target locations exist."
|
|
778
791
|
)),
|
|
779
792
|
...jsonSubset,
|
|
@@ -783,7 +796,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
783
796
|
default: defaults.alternativeDefinitionCommand,
|
|
784
797
|
enum: alternativeCommandOptions,
|
|
785
798
|
description: ( localize(
|
|
786
|
-
|
|
799
|
+
302,
|
|
787
800
|
"Alternative command id that is being executed when the result of 'Go to Definition' is the current location."
|
|
788
801
|
))
|
|
789
802
|
},
|
|
@@ -792,7 +805,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
792
805
|
default: defaults.alternativeTypeDefinitionCommand,
|
|
793
806
|
enum: alternativeCommandOptions,
|
|
794
807
|
description: ( localize(
|
|
795
|
-
|
|
808
|
+
303,
|
|
796
809
|
"Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location."
|
|
797
810
|
))
|
|
798
811
|
},
|
|
@@ -801,7 +814,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
801
814
|
default: defaults.alternativeDeclarationCommand,
|
|
802
815
|
enum: alternativeCommandOptions,
|
|
803
816
|
description: ( localize(
|
|
804
|
-
|
|
817
|
+
304,
|
|
805
818
|
"Alternative command id that is being executed when the result of 'Go to Declaration' is the current location."
|
|
806
819
|
))
|
|
807
820
|
},
|
|
@@ -810,7 +823,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
810
823
|
default: defaults.alternativeImplementationCommand,
|
|
811
824
|
enum: alternativeCommandOptions,
|
|
812
825
|
description: ( localize(
|
|
813
|
-
|
|
826
|
+
305,
|
|
814
827
|
"Alternative command id that is being executed when the result of 'Go to Implementation' is the current location."
|
|
815
828
|
))
|
|
816
829
|
},
|
|
@@ -819,7 +832,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
819
832
|
default: defaults.alternativeReferenceCommand,
|
|
820
833
|
enum: alternativeCommandOptions,
|
|
821
834
|
description: ( localize(
|
|
822
|
-
|
|
835
|
+
306,
|
|
823
836
|
"Alternative command id that is being executed when the result of 'Go to Reference' is the current location."
|
|
824
837
|
))
|
|
825
838
|
},
|
|
@@ -860,20 +873,20 @@ class EditorHover extends BaseEditorOption {
|
|
|
860
873
|
'editor.hover.enabled': {
|
|
861
874
|
type: 'boolean',
|
|
862
875
|
default: defaults.enabled,
|
|
863
|
-
description: ( localize(
|
|
876
|
+
description: ( localize(307, "Controls whether the hover is shown."))
|
|
864
877
|
},
|
|
865
878
|
'editor.hover.delay': {
|
|
866
879
|
type: 'number',
|
|
867
880
|
default: defaults.delay,
|
|
868
881
|
minimum: 0,
|
|
869
882
|
maximum: 10000,
|
|
870
|
-
description: ( localize(
|
|
883
|
+
description: ( localize(308, "Controls the delay in milliseconds after which the hover is shown."))
|
|
871
884
|
},
|
|
872
885
|
'editor.hover.sticky': {
|
|
873
886
|
type: 'boolean',
|
|
874
887
|
default: defaults.sticky,
|
|
875
888
|
description: ( localize(
|
|
876
|
-
|
|
889
|
+
309,
|
|
877
890
|
"Controls whether the hover should remain visible when mouse is moved over it."
|
|
878
891
|
))
|
|
879
892
|
},
|
|
@@ -882,14 +895,14 @@ class EditorHover extends BaseEditorOption {
|
|
|
882
895
|
minimum: 0,
|
|
883
896
|
default: defaults.hidingDelay,
|
|
884
897
|
description: ( localize(
|
|
885
|
-
|
|
898
|
+
310,
|
|
886
899
|
"Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled."
|
|
887
900
|
))
|
|
888
901
|
},
|
|
889
902
|
'editor.hover.above': {
|
|
890
903
|
type: 'boolean',
|
|
891
904
|
default: defaults.above,
|
|
892
|
-
description: ( localize(
|
|
905
|
+
description: ( localize(311, "Prefer showing hovers above the line, if there's space."))
|
|
893
906
|
},
|
|
894
907
|
});
|
|
895
908
|
}
|
|
@@ -1199,11 +1212,11 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1199
1212
|
'editor.wrappingStrategy': {
|
|
1200
1213
|
enumDescriptions: [
|
|
1201
1214
|
( localize(
|
|
1202
|
-
|
|
1215
|
+
312,
|
|
1203
1216
|
"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."
|
|
1204
1217
|
)),
|
|
1205
1218
|
( localize(
|
|
1206
|
-
|
|
1219
|
+
313,
|
|
1207
1220
|
"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."
|
|
1208
1221
|
))
|
|
1209
1222
|
],
|
|
@@ -1211,7 +1224,7 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1211
1224
|
enum: ['simple', 'advanced'],
|
|
1212
1225
|
default: 'simple',
|
|
1213
1226
|
description: ( localize(
|
|
1214
|
-
|
|
1227
|
+
314,
|
|
1215
1228
|
"Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience."
|
|
1216
1229
|
))
|
|
1217
1230
|
}
|
|
@@ -1243,14 +1256,14 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1243
1256
|
enum: [ShowLightbulbIconMode.Off, ShowLightbulbIconMode.OnCode, ShowLightbulbIconMode.On],
|
|
1244
1257
|
default: defaults.enabled,
|
|
1245
1258
|
enumDescriptions: [
|
|
1246
|
-
( localize(
|
|
1247
|
-
( localize(
|
|
1259
|
+
( localize(315, 'Disable the code action menu.')),
|
|
1260
|
+
( localize(316, 'Show the code action menu when the cursor is on lines with code.')),
|
|
1248
1261
|
( localize(
|
|
1249
|
-
|
|
1262
|
+
317,
|
|
1250
1263
|
'Show the code action menu when the cursor is on lines with code or on empty lines.'
|
|
1251
1264
|
)),
|
|
1252
1265
|
],
|
|
1253
|
-
description: ( localize(
|
|
1266
|
+
description: ( localize(318, "Enables the Code Action lightbulb in the editor."))
|
|
1254
1267
|
}
|
|
1255
1268
|
});
|
|
1256
1269
|
}
|
|
@@ -1272,7 +1285,7 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1272
1285
|
type: 'boolean',
|
|
1273
1286
|
default: defaults.enabled,
|
|
1274
1287
|
description: ( localize(
|
|
1275
|
-
|
|
1288
|
+
319,
|
|
1276
1289
|
"Shows the nested current scopes during the scroll at the top of the editor."
|
|
1277
1290
|
))
|
|
1278
1291
|
},
|
|
@@ -1281,14 +1294,14 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1281
1294
|
default: defaults.maxLineCount,
|
|
1282
1295
|
minimum: 1,
|
|
1283
1296
|
maximum: 20,
|
|
1284
|
-
description: ( localize(
|
|
1297
|
+
description: ( localize(320, "Defines the maximum number of sticky lines to show."))
|
|
1285
1298
|
},
|
|
1286
1299
|
'editor.stickyScroll.defaultModel': {
|
|
1287
1300
|
type: 'string',
|
|
1288
1301
|
enum: ['outlineModel', 'foldingProviderModel', 'indentationModel'],
|
|
1289
1302
|
default: defaults.defaultModel,
|
|
1290
1303
|
description: ( localize(
|
|
1291
|
-
|
|
1304
|
+
321,
|
|
1292
1305
|
"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."
|
|
1293
1306
|
))
|
|
1294
1307
|
},
|
|
@@ -1296,7 +1309,7 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1296
1309
|
type: 'boolean',
|
|
1297
1310
|
default: defaults.scrollWithEditor,
|
|
1298
1311
|
description: ( localize(
|
|
1299
|
-
|
|
1312
|
+
322,
|
|
1300
1313
|
"Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar."
|
|
1301
1314
|
))
|
|
1302
1315
|
},
|
|
@@ -1322,28 +1335,28 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1322
1335
|
'editor.inlayHints.enabled': {
|
|
1323
1336
|
type: 'string',
|
|
1324
1337
|
default: defaults.enabled,
|
|
1325
|
-
description: ( localize(
|
|
1338
|
+
description: ( localize(323, "Enables the inlay hints in the editor.")),
|
|
1326
1339
|
enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
|
|
1327
1340
|
markdownEnumDescriptions: [
|
|
1328
|
-
( localize(
|
|
1341
|
+
( localize(324, "Inlay hints are enabled")),
|
|
1329
1342
|
( localize(
|
|
1330
|
-
|
|
1343
|
+
325,
|
|
1331
1344
|
"Inlay hints are showing by default and hide when holding {0}",
|
|
1332
1345
|
isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
|
|
1333
1346
|
)),
|
|
1334
1347
|
( localize(
|
|
1335
|
-
|
|
1348
|
+
326,
|
|
1336
1349
|
"Inlay hints are hidden by default and show when holding {0}",
|
|
1337
1350
|
isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
|
|
1338
1351
|
)),
|
|
1339
|
-
( localize(
|
|
1352
|
+
( localize(327, "Inlay hints are disabled")),
|
|
1340
1353
|
],
|
|
1341
1354
|
},
|
|
1342
1355
|
'editor.inlayHints.fontSize': {
|
|
1343
1356
|
type: 'number',
|
|
1344
1357
|
default: defaults.fontSize,
|
|
1345
1358
|
markdownDescription: ( localize(
|
|
1346
|
-
|
|
1359
|
+
328,
|
|
1347
1360
|
"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.",
|
|
1348
1361
|
'`#editor.fontSize#`',
|
|
1349
1362
|
'`5`'
|
|
@@ -1353,7 +1366,7 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1353
1366
|
type: 'string',
|
|
1354
1367
|
default: defaults.fontFamily,
|
|
1355
1368
|
markdownDescription: ( localize(
|
|
1356
|
-
|
|
1369
|
+
329,
|
|
1357
1370
|
"Controls font family of inlay hints in the editor. When set to empty, the {0} is used.",
|
|
1358
1371
|
'`#editor.fontFamily#`'
|
|
1359
1372
|
))
|
|
@@ -1361,13 +1374,13 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1361
1374
|
'editor.inlayHints.padding': {
|
|
1362
1375
|
type: 'boolean',
|
|
1363
1376
|
default: defaults.padding,
|
|
1364
|
-
description: ( localize(
|
|
1377
|
+
description: ( localize(330, "Enables the padding around the inlay hints in the editor."))
|
|
1365
1378
|
},
|
|
1366
1379
|
'editor.inlayHints.maximumLength': {
|
|
1367
1380
|
type: 'number',
|
|
1368
1381
|
default: defaults.maximumLength,
|
|
1369
1382
|
markdownDescription: ( localize(
|
|
1370
|
-
|
|
1383
|
+
331,
|
|
1371
1384
|
"Maximum overall length of inlay hints, for a single line, before they get truncated by the editor. Set to `0` to never truncate"
|
|
1372
1385
|
))
|
|
1373
1386
|
}
|
|
@@ -1415,7 +1428,7 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
|
1415
1428
|
class EditorLineHeight extends EditorFloatOption {
|
|
1416
1429
|
constructor() {
|
|
1417
1430
|
super(EditorOption.lineHeight, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localize(
|
|
1418
|
-
|
|
1431
|
+
332,
|
|
1419
1432
|
"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."
|
|
1420
1433
|
)) });
|
|
1421
1434
|
}
|
|
@@ -1443,44 +1456,44 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1443
1456
|
'editor.minimap.enabled': {
|
|
1444
1457
|
type: 'boolean',
|
|
1445
1458
|
default: defaults.enabled,
|
|
1446
|
-
description: ( localize(
|
|
1459
|
+
description: ( localize(333, "Controls whether the minimap is shown."))
|
|
1447
1460
|
},
|
|
1448
1461
|
'editor.minimap.autohide': {
|
|
1449
1462
|
type: 'boolean',
|
|
1450
1463
|
default: defaults.autohide,
|
|
1451
|
-
description: ( localize(
|
|
1464
|
+
description: ( localize(334, "Controls whether the minimap is hidden automatically."))
|
|
1452
1465
|
},
|
|
1453
1466
|
'editor.minimap.size': {
|
|
1454
1467
|
type: 'string',
|
|
1455
1468
|
enum: ['proportional', 'fill', 'fit'],
|
|
1456
1469
|
enumDescriptions: [
|
|
1457
1470
|
( localize(
|
|
1458
|
-
|
|
1471
|
+
335,
|
|
1459
1472
|
"The minimap has the same size as the editor contents (and might scroll)."
|
|
1460
1473
|
)),
|
|
1461
1474
|
( localize(
|
|
1462
|
-
|
|
1475
|
+
336,
|
|
1463
1476
|
"The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."
|
|
1464
1477
|
)),
|
|
1465
1478
|
( localize(
|
|
1466
|
-
|
|
1479
|
+
337,
|
|
1467
1480
|
"The minimap will shrink as necessary to never be larger than the editor (no scrolling)."
|
|
1468
1481
|
)),
|
|
1469
1482
|
],
|
|
1470
1483
|
default: defaults.size,
|
|
1471
|
-
description: ( localize(
|
|
1484
|
+
description: ( localize(338, "Controls the size of the minimap."))
|
|
1472
1485
|
},
|
|
1473
1486
|
'editor.minimap.side': {
|
|
1474
1487
|
type: 'string',
|
|
1475
1488
|
enum: ['left', 'right'],
|
|
1476
1489
|
default: defaults.side,
|
|
1477
|
-
description: ( localize(
|
|
1490
|
+
description: ( localize(339, "Controls the side where to render the minimap."))
|
|
1478
1491
|
},
|
|
1479
1492
|
'editor.minimap.showSlider': {
|
|
1480
1493
|
type: 'string',
|
|
1481
1494
|
enum: ['always', 'mouseover'],
|
|
1482
1495
|
default: defaults.showSlider,
|
|
1483
|
-
description: ( localize(
|
|
1496
|
+
description: ( localize(340, "Controls when the minimap slider is shown."))
|
|
1484
1497
|
},
|
|
1485
1498
|
'editor.minimap.scale': {
|
|
1486
1499
|
type: 'number',
|
|
@@ -1488,18 +1501,18 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1488
1501
|
minimum: 1,
|
|
1489
1502
|
maximum: 3,
|
|
1490
1503
|
enum: [1, 2, 3],
|
|
1491
|
-
description: ( localize(
|
|
1504
|
+
description: ( localize(341, "Scale of content drawn in the minimap: 1, 2 or 3."))
|
|
1492
1505
|
},
|
|
1493
1506
|
'editor.minimap.renderCharacters': {
|
|
1494
1507
|
type: 'boolean',
|
|
1495
1508
|
default: defaults.renderCharacters,
|
|
1496
|
-
description: ( localize(
|
|
1509
|
+
description: ( localize(342, "Render the actual characters on a line as opposed to color blocks."))
|
|
1497
1510
|
},
|
|
1498
1511
|
'editor.minimap.maxColumn': {
|
|
1499
1512
|
type: 'number',
|
|
1500
1513
|
default: defaults.maxColumn,
|
|
1501
1514
|
description: ( localize(
|
|
1502
|
-
|
|
1515
|
+
343,
|
|
1503
1516
|
"Limit the width of the minimap to render at most a certain number of columns."
|
|
1504
1517
|
))
|
|
1505
1518
|
},
|
|
@@ -1507,7 +1520,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1507
1520
|
type: 'boolean',
|
|
1508
1521
|
default: defaults.showRegionSectionHeaders,
|
|
1509
1522
|
description: ( localize(
|
|
1510
|
-
|
|
1523
|
+
344,
|
|
1511
1524
|
"Controls whether named regions are shown as section headers in the minimap."
|
|
1512
1525
|
))
|
|
1513
1526
|
},
|
|
@@ -1515,20 +1528,20 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1515
1528
|
type: 'boolean',
|
|
1516
1529
|
default: defaults.showMarkSectionHeaders,
|
|
1517
1530
|
description: ( localize(
|
|
1518
|
-
|
|
1531
|
+
345,
|
|
1519
1532
|
"Controls whether MARK: comments are shown as section headers in the minimap."
|
|
1520
1533
|
))
|
|
1521
1534
|
},
|
|
1522
1535
|
'editor.minimap.sectionHeaderFontSize': {
|
|
1523
1536
|
type: 'number',
|
|
1524
1537
|
default: defaults.sectionHeaderFontSize,
|
|
1525
|
-
description: ( localize(
|
|
1538
|
+
description: ( localize(346, "Controls the font size of section headers in the minimap."))
|
|
1526
1539
|
},
|
|
1527
1540
|
'editor.minimap.sectionHeaderLetterSpacing': {
|
|
1528
1541
|
type: 'number',
|
|
1529
1542
|
default: defaults.sectionHeaderLetterSpacing,
|
|
1530
1543
|
description: ( localize(
|
|
1531
|
-
|
|
1544
|
+
347,
|
|
1532
1545
|
"Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes."
|
|
1533
1546
|
))
|
|
1534
1547
|
}
|
|
@@ -1570,7 +1583,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1570
1583
|
minimum: 0,
|
|
1571
1584
|
maximum: 1000,
|
|
1572
1585
|
description: ( localize(
|
|
1573
|
-
|
|
1586
|
+
348,
|
|
1574
1587
|
"Controls the amount of space between the top edge of the editor and the first line."
|
|
1575
1588
|
))
|
|
1576
1589
|
},
|
|
@@ -1580,7 +1593,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1580
1593
|
minimum: 0,
|
|
1581
1594
|
maximum: 1000,
|
|
1582
1595
|
description: ( localize(
|
|
1583
|
-
|
|
1596
|
+
349,
|
|
1584
1597
|
"Controls the amount of space between the bottom edge of the editor and the last line."
|
|
1585
1598
|
))
|
|
1586
1599
|
}
|
|
@@ -1608,7 +1621,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1608
1621
|
type: 'boolean',
|
|
1609
1622
|
default: defaults.enabled,
|
|
1610
1623
|
description: ( localize(
|
|
1611
|
-
|
|
1624
|
+
350,
|
|
1612
1625
|
"Enables a pop-up that shows parameter documentation and type information as you type."
|
|
1613
1626
|
))
|
|
1614
1627
|
},
|
|
@@ -1616,7 +1629,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1616
1629
|
type: 'boolean',
|
|
1617
1630
|
default: defaults.cycle,
|
|
1618
1631
|
description: ( localize(
|
|
1619
|
-
|
|
1632
|
+
351,
|
|
1620
1633
|
"Controls whether the parameter hints menu cycles or closes when reaching the end of the list."
|
|
1621
1634
|
))
|
|
1622
1635
|
},
|
|
@@ -1667,7 +1680,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1667
1680
|
{
|
|
1668
1681
|
type: 'string',
|
|
1669
1682
|
enum: ['on', 'inline', 'off'],
|
|
1670
|
-
enumDescriptions: [( localize(
|
|
1683
|
+
enumDescriptions: [( localize(352, "Quick suggestions show inside the suggest widget")), ( localize(353, "Quick suggestions show as ghost text")), ( localize(354, "Quick suggestions are disabled"))]
|
|
1671
1684
|
}
|
|
1672
1685
|
];
|
|
1673
1686
|
super(EditorOption.quickSuggestions, 'quickSuggestions', defaults, {
|
|
@@ -1677,22 +1690,22 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1677
1690
|
strings: {
|
|
1678
1691
|
anyOf: types,
|
|
1679
1692
|
default: defaults.strings,
|
|
1680
|
-
description: ( localize(
|
|
1693
|
+
description: ( localize(355, "Enable quick suggestions inside strings."))
|
|
1681
1694
|
},
|
|
1682
1695
|
comments: {
|
|
1683
1696
|
anyOf: types,
|
|
1684
1697
|
default: defaults.comments,
|
|
1685
|
-
description: ( localize(
|
|
1698
|
+
description: ( localize(356, "Enable quick suggestions inside comments."))
|
|
1686
1699
|
},
|
|
1687
1700
|
other: {
|
|
1688
1701
|
anyOf: types,
|
|
1689
1702
|
default: defaults.other,
|
|
1690
|
-
description: ( localize(
|
|
1703
|
+
description: ( localize(357, "Enable quick suggestions outside of strings and comments."))
|
|
1691
1704
|
},
|
|
1692
1705
|
},
|
|
1693
1706
|
default: defaults,
|
|
1694
1707
|
markdownDescription: ( localize(
|
|
1695
|
-
|
|
1708
|
+
358,
|
|
1696
1709
|
"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.",
|
|
1697
1710
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
1698
1711
|
))
|
|
@@ -1751,13 +1764,13 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1751
1764
|
type: 'string',
|
|
1752
1765
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1753
1766
|
enumDescriptions: [
|
|
1754
|
-
( localize(
|
|
1755
|
-
( localize(
|
|
1756
|
-
( localize(
|
|
1757
|
-
( localize(
|
|
1767
|
+
( localize(359, "Line numbers are not rendered.")),
|
|
1768
|
+
( localize(360, "Line numbers are rendered as absolute number.")),
|
|
1769
|
+
( localize(361, "Line numbers are rendered as distance in lines to cursor position.")),
|
|
1770
|
+
( localize(362, "Line numbers are rendered every 10 lines."))
|
|
1758
1771
|
],
|
|
1759
1772
|
default: 'on',
|
|
1760
|
-
description: ( localize(
|
|
1773
|
+
description: ( localize(363, "Controls the display of line numbers."))
|
|
1761
1774
|
});
|
|
1762
1775
|
}
|
|
1763
1776
|
validate(lineNumbers) {
|
|
@@ -1798,7 +1811,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1798
1811
|
constructor() {
|
|
1799
1812
|
const defaults = [];
|
|
1800
1813
|
const columnSchema = { type: 'number', description: ( localize(
|
|
1801
|
-
|
|
1814
|
+
364,
|
|
1802
1815
|
"Number of monospace characters at which this editor ruler will render."
|
|
1803
1816
|
)) };
|
|
1804
1817
|
super(EditorOption.rulers, 'rulers', defaults, {
|
|
@@ -1814,7 +1827,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1814
1827
|
column: columnSchema,
|
|
1815
1828
|
color: {
|
|
1816
1829
|
type: 'string',
|
|
1817
|
-
description: ( localize(
|
|
1830
|
+
description: ( localize(365, "Color of this editor ruler.")),
|
|
1818
1831
|
format: 'color-hex'
|
|
1819
1832
|
}
|
|
1820
1833
|
}
|
|
@@ -1823,7 +1836,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1823
1836
|
},
|
|
1824
1837
|
default: defaults,
|
|
1825
1838
|
description: ( localize(
|
|
1826
|
-
|
|
1839
|
+
366,
|
|
1827
1840
|
"Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."
|
|
1828
1841
|
))
|
|
1829
1842
|
});
|
|
@@ -1897,44 +1910,44 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1897
1910
|
type: 'string',
|
|
1898
1911
|
enum: ['auto', 'visible', 'hidden'],
|
|
1899
1912
|
enumDescriptions: [
|
|
1900
|
-
( localize(
|
|
1901
|
-
( localize(
|
|
1902
|
-
( localize(
|
|
1913
|
+
( localize(367, "The vertical scrollbar will be visible only when necessary.")),
|
|
1914
|
+
( localize(368, "The vertical scrollbar will always be visible.")),
|
|
1915
|
+
( localize(369, "The vertical scrollbar will always be hidden.")),
|
|
1903
1916
|
],
|
|
1904
1917
|
default: 'auto',
|
|
1905
|
-
description: ( localize(
|
|
1918
|
+
description: ( localize(370, "Controls the visibility of the vertical scrollbar."))
|
|
1906
1919
|
},
|
|
1907
1920
|
'editor.scrollbar.horizontal': {
|
|
1908
1921
|
type: 'string',
|
|
1909
1922
|
enum: ['auto', 'visible', 'hidden'],
|
|
1910
1923
|
enumDescriptions: [
|
|
1911
|
-
( localize(
|
|
1912
|
-
( localize(
|
|
1913
|
-
( localize(
|
|
1924
|
+
( localize(371, "The horizontal scrollbar will be visible only when necessary.")),
|
|
1925
|
+
( localize(372, "The horizontal scrollbar will always be visible.")),
|
|
1926
|
+
( localize(373, "The horizontal scrollbar will always be hidden.")),
|
|
1914
1927
|
],
|
|
1915
1928
|
default: 'auto',
|
|
1916
|
-
description: ( localize(
|
|
1929
|
+
description: ( localize(374, "Controls the visibility of the horizontal scrollbar."))
|
|
1917
1930
|
},
|
|
1918
1931
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
1919
1932
|
type: 'number',
|
|
1920
1933
|
default: defaults.verticalScrollbarSize,
|
|
1921
|
-
description: ( localize(
|
|
1934
|
+
description: ( localize(375, "The width of the vertical scrollbar."))
|
|
1922
1935
|
},
|
|
1923
1936
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
1924
1937
|
type: 'number',
|
|
1925
1938
|
default: defaults.horizontalScrollbarSize,
|
|
1926
|
-
description: ( localize(
|
|
1939
|
+
description: ( localize(376, "The height of the horizontal scrollbar."))
|
|
1927
1940
|
},
|
|
1928
1941
|
'editor.scrollbar.scrollByPage': {
|
|
1929
1942
|
type: 'boolean',
|
|
1930
1943
|
default: defaults.scrollByPage,
|
|
1931
|
-
description: ( localize(
|
|
1944
|
+
description: ( localize(377, "Controls whether clicks scroll by page or jump to click position."))
|
|
1932
1945
|
},
|
|
1933
1946
|
'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
|
|
1934
1947
|
type: 'boolean',
|
|
1935
1948
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
1936
1949
|
description: ( localize(
|
|
1937
|
-
|
|
1950
|
+
378,
|
|
1938
1951
|
"When set, the horizontal scrollbar will not increase the size of the editor's content."
|
|
1939
1952
|
))
|
|
1940
1953
|
}
|
|
@@ -1993,7 +2006,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1993
2006
|
enum: [true, false, inUntrustedWorkspace],
|
|
1994
2007
|
default: defaults.nonBasicASCII,
|
|
1995
2008
|
description: ( localize(
|
|
1996
|
-
|
|
2009
|
+
379,
|
|
1997
2010
|
"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."
|
|
1998
2011
|
))
|
|
1999
2012
|
},
|
|
@@ -2002,7 +2015,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2002
2015
|
type: 'boolean',
|
|
2003
2016
|
default: defaults.invisibleCharacters,
|
|
2004
2017
|
description: ( localize(
|
|
2005
|
-
|
|
2018
|
+
380,
|
|
2006
2019
|
"Controls whether characters that just reserve space or have no width at all are highlighted."
|
|
2007
2020
|
))
|
|
2008
2021
|
},
|
|
@@ -2011,7 +2024,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2011
2024
|
type: 'boolean',
|
|
2012
2025
|
default: defaults.ambiguousCharacters,
|
|
2013
2026
|
description: ( localize(
|
|
2014
|
-
|
|
2027
|
+
381,
|
|
2015
2028
|
"Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."
|
|
2016
2029
|
))
|
|
2017
2030
|
},
|
|
@@ -2021,7 +2034,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2021
2034
|
enum: [true, false, inUntrustedWorkspace],
|
|
2022
2035
|
default: defaults.includeComments,
|
|
2023
2036
|
description: ( localize(
|
|
2024
|
-
|
|
2037
|
+
382,
|
|
2025
2038
|
"Controls whether characters in comments should also be subject to Unicode highlighting."
|
|
2026
2039
|
))
|
|
2027
2040
|
},
|
|
@@ -2031,7 +2044,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2031
2044
|
enum: [true, false, inUntrustedWorkspace],
|
|
2032
2045
|
default: defaults.includeStrings,
|
|
2033
2046
|
description: ( localize(
|
|
2034
|
-
|
|
2047
|
+
383,
|
|
2035
2048
|
"Controls whether characters in strings should also be subject to Unicode highlighting."
|
|
2036
2049
|
))
|
|
2037
2050
|
},
|
|
@@ -2039,7 +2052,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2039
2052
|
restricted: true,
|
|
2040
2053
|
type: 'object',
|
|
2041
2054
|
default: defaults.allowedCharacters,
|
|
2042
|
-
description: ( localize(
|
|
2055
|
+
description: ( localize(384, "Defines allowed characters that are not being highlighted.")),
|
|
2043
2056
|
additionalProperties: {
|
|
2044
2057
|
type: 'boolean'
|
|
2045
2058
|
}
|
|
@@ -2052,7 +2065,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2052
2065
|
},
|
|
2053
2066
|
default: defaults.allowedLocales,
|
|
2054
2067
|
description: ( localize(
|
|
2055
|
-
|
|
2068
|
+
385,
|
|
2056
2069
|
"Unicode characters that are common in allowed locales are not being highlighted."
|
|
2057
2070
|
))
|
|
2058
2071
|
},
|
|
@@ -2117,12 +2130,13 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2117
2130
|
fontFamily: 'default',
|
|
2118
2131
|
syntaxHighlightingEnabled: false,
|
|
2119
2132
|
edits: {
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2133
|
+
enabled: true,
|
|
2134
|
+
useMixedLinesDiff: 'forStableInsertions',
|
|
2135
|
+
useInterleavedLinesDiff: 'never',
|
|
2136
|
+
renderSideBySide: 'auto',
|
|
2137
|
+
useGutterIndicator: true,
|
|
2138
|
+
codeShifting: true,
|
|
2139
|
+
useMultiLineGhostText: true
|
|
2126
2140
|
},
|
|
2127
2141
|
};
|
|
2128
2142
|
super(EditorOption.inlineSuggest, 'inlineSuggest', defaults, {
|
|
@@ -2130,7 +2144,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2130
2144
|
type: 'boolean',
|
|
2131
2145
|
default: defaults.enabled,
|
|
2132
2146
|
description: ( localize(
|
|
2133
|
-
|
|
2147
|
+
386,
|
|
2134
2148
|
"Controls whether to automatically show inline suggestions in the editor."
|
|
2135
2149
|
))
|
|
2136
2150
|
},
|
|
@@ -2140,22 +2154,22 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2140
2154
|
enum: ['always', 'onHover', 'never'],
|
|
2141
2155
|
enumDescriptions: [
|
|
2142
2156
|
( localize(
|
|
2143
|
-
|
|
2157
|
+
387,
|
|
2144
2158
|
"Show the inline suggestion toolbar whenever an inline suggestion is shown."
|
|
2145
2159
|
)),
|
|
2146
2160
|
( localize(
|
|
2147
|
-
|
|
2161
|
+
388,
|
|
2148
2162
|
"Show the inline suggestion toolbar when hovering over an inline suggestion."
|
|
2149
2163
|
)),
|
|
2150
|
-
( localize(
|
|
2164
|
+
( localize(389, "Never show the inline suggestion toolbar.")),
|
|
2151
2165
|
],
|
|
2152
|
-
description: ( localize(
|
|
2166
|
+
description: ( localize(390, "Controls when to show the inline suggestion toolbar.")),
|
|
2153
2167
|
},
|
|
2154
2168
|
'editor.inlineSuggest.syntaxHighlightingEnabled': {
|
|
2155
2169
|
type: 'boolean',
|
|
2156
2170
|
default: defaults.syntaxHighlightingEnabled,
|
|
2157
2171
|
description: ( localize(
|
|
2158
|
-
|
|
2172
|
+
391,
|
|
2159
2173
|
"Controls whether to show syntax highlighting for inline suggestions in the editor."
|
|
2160
2174
|
)),
|
|
2161
2175
|
},
|
|
@@ -2163,48 +2177,40 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2163
2177
|
type: 'boolean',
|
|
2164
2178
|
default: defaults.suppressSuggestions,
|
|
2165
2179
|
description: ( localize(
|
|
2166
|
-
|
|
2180
|
+
392,
|
|
2167
2181
|
"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
|
|
2168
2182
|
))
|
|
2169
2183
|
},
|
|
2170
2184
|
'editor.inlineSuggest.fontFamily': {
|
|
2171
2185
|
type: 'string',
|
|
2172
2186
|
default: defaults.fontFamily,
|
|
2173
|
-
description: ( localize(
|
|
2187
|
+
description: ( localize(393, "Controls the font family of the inline suggestions."))
|
|
2174
2188
|
},
|
|
2175
|
-
'editor.inlineSuggest.edits.
|
|
2189
|
+
'editor.inlineSuggest.edits.codeShifting': {
|
|
2176
2190
|
type: 'boolean',
|
|
2177
|
-
default: defaults.edits.
|
|
2191
|
+
default: defaults.edits.codeShifting,
|
|
2178
2192
|
description: ( localize(
|
|
2179
|
-
|
|
2180
|
-
"Controls whether to
|
|
2181
|
-
))
|
|
2182
|
-
},
|
|
2183
|
-
'editor.inlineSuggest.edits.experimental.useMixedLinesDiff': {
|
|
2184
|
-
type: 'string',
|
|
2185
|
-
default: defaults.edits.experimental.useMixedLinesDiff,
|
|
2186
|
-
description: ( localize(
|
|
2187
|
-
392,
|
|
2188
|
-
"Controls whether to enable experimental edits in inline suggestions."
|
|
2193
|
+
394,
|
|
2194
|
+
"Controls whether showing a suggestion will shift the code to make space for the suggestion inline."
|
|
2189
2195
|
)),
|
|
2190
|
-
|
|
2196
|
+
tags: ['nextEditSuggestions']
|
|
2191
2197
|
},
|
|
2192
|
-
'editor.inlineSuggest.edits.
|
|
2198
|
+
'editor.inlineSuggest.edits.renderSideBySide': {
|
|
2193
2199
|
type: 'string',
|
|
2194
|
-
default: defaults.edits.
|
|
2195
|
-
description: ( localize(
|
|
2196
|
-
|
|
2197
|
-
|
|
2200
|
+
default: defaults.edits.renderSideBySide,
|
|
2201
|
+
description: ( localize(395, "Controls whether larger suggestions can be shown side by side.")),
|
|
2202
|
+
enum: ['auto', 'never'],
|
|
2203
|
+
enumDescriptions: [
|
|
2204
|
+
( localize(
|
|
2205
|
+
396,
|
|
2206
|
+
"Larger suggestions will show side by side if there is enough space, otherwise they will be shown bellow."
|
|
2198
2207
|
)),
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
394,
|
|
2206
|
-
"Controls whether to only show inline suggestions when the cursor is close to the suggestion."
|
|
2207
|
-
))
|
|
2208
|
+
( localize(
|
|
2209
|
+
397,
|
|
2210
|
+
"Larger suggestions are never shown side by side and will always be shown bellow."
|
|
2211
|
+
)),
|
|
2212
|
+
],
|
|
2213
|
+
tags: ['nextEditSuggestions']
|
|
2208
2214
|
},
|
|
2209
2215
|
});
|
|
2210
2216
|
}
|
|
@@ -2222,12 +2228,13 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2222
2228
|
fontFamily: EditorStringOption.string(input.fontFamily, this.defaultValue.fontFamily),
|
|
2223
2229
|
syntaxHighlightingEnabled: boolean(input.syntaxHighlightingEnabled, this.defaultValue.syntaxHighlightingEnabled),
|
|
2224
2230
|
edits: {
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
+
enabled: boolean(input.edits?.enabled, this.defaultValue.edits.enabled),
|
|
2232
|
+
useMixedLinesDiff: stringSet(input.edits?.useMixedLinesDiff, this.defaultValue.edits.useMixedLinesDiff, ['never', 'whenPossible', 'forStableInsertions', 'afterJumpWhenPossible']),
|
|
2233
|
+
codeShifting: boolean(input.edits?.codeShifting, this.defaultValue.edits.codeShifting),
|
|
2234
|
+
renderSideBySide: stringSet(input.edits?.renderSideBySide, this.defaultValue.edits.renderSideBySide, ['never', 'auto']),
|
|
2235
|
+
useInterleavedLinesDiff: stringSet(input.edits?.useInterleavedLinesDiff, this.defaultValue.edits.useInterleavedLinesDiff, ['never', 'always', 'afterJump']),
|
|
2236
|
+
useGutterIndicator: boolean(input.edits?.useGutterIndicator, this.defaultValue.edits.useGutterIndicator),
|
|
2237
|
+
useMultiLineGhostText: boolean(input.edits?.useMultiLineGhostText, this.defaultValue.edits.useMultiLineGhostText),
|
|
2231
2238
|
},
|
|
2232
2239
|
};
|
|
2233
2240
|
}
|
|
@@ -2243,7 +2250,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2243
2250
|
type: 'boolean',
|
|
2244
2251
|
default: defaults.enabled,
|
|
2245
2252
|
markdownDescription: ( localize(
|
|
2246
|
-
|
|
2253
|
+
398,
|
|
2247
2254
|
"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
|
|
2248
2255
|
'`#workbench.colorCustomizations#`'
|
|
2249
2256
|
))
|
|
@@ -2252,7 +2259,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2252
2259
|
type: 'boolean',
|
|
2253
2260
|
default: defaults.independentColorPoolPerBracketType,
|
|
2254
2261
|
description: ( localize(
|
|
2255
|
-
|
|
2262
|
+
399,
|
|
2256
2263
|
"Controls whether each bracket type has its own independent color pool."
|
|
2257
2264
|
))
|
|
2258
2265
|
},
|
|
@@ -2283,54 +2290,54 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2283
2290
|
type: ['boolean', 'string'],
|
|
2284
2291
|
enum: [true, 'active', false],
|
|
2285
2292
|
enumDescriptions: [
|
|
2286
|
-
( localize(
|
|
2287
|
-
( localize(
|
|
2288
|
-
( localize(
|
|
2293
|
+
( localize(400, "Enables bracket pair guides.")),
|
|
2294
|
+
( localize(401, "Enables bracket pair guides only for the active bracket pair.")),
|
|
2295
|
+
( localize(402, "Disables bracket pair guides.")),
|
|
2289
2296
|
],
|
|
2290
2297
|
default: defaults.bracketPairs,
|
|
2291
|
-
description: ( localize(
|
|
2298
|
+
description: ( localize(403, "Controls whether bracket pair guides are enabled or not."))
|
|
2292
2299
|
},
|
|
2293
2300
|
'editor.guides.bracketPairsHorizontal': {
|
|
2294
2301
|
type: ['boolean', 'string'],
|
|
2295
2302
|
enum: [true, 'active', false],
|
|
2296
2303
|
enumDescriptions: [
|
|
2297
2304
|
( localize(
|
|
2298
|
-
|
|
2305
|
+
404,
|
|
2299
2306
|
"Enables horizontal guides as addition to vertical bracket pair guides."
|
|
2300
2307
|
)),
|
|
2301
|
-
( localize(
|
|
2302
|
-
( localize(
|
|
2308
|
+
( localize(405, "Enables horizontal guides only for the active bracket pair.")),
|
|
2309
|
+
( localize(406, "Disables horizontal bracket pair guides.")),
|
|
2303
2310
|
],
|
|
2304
2311
|
default: defaults.bracketPairsHorizontal,
|
|
2305
|
-
description: ( localize(
|
|
2312
|
+
description: ( localize(407, "Controls whether horizontal bracket pair guides are enabled or not."))
|
|
2306
2313
|
},
|
|
2307
2314
|
'editor.guides.highlightActiveBracketPair': {
|
|
2308
2315
|
type: 'boolean',
|
|
2309
2316
|
default: defaults.highlightActiveBracketPair,
|
|
2310
2317
|
description: ( localize(
|
|
2311
|
-
|
|
2318
|
+
408,
|
|
2312
2319
|
"Controls whether the editor should highlight the active bracket pair."
|
|
2313
2320
|
))
|
|
2314
2321
|
},
|
|
2315
2322
|
'editor.guides.indentation': {
|
|
2316
2323
|
type: 'boolean',
|
|
2317
2324
|
default: defaults.indentation,
|
|
2318
|
-
description: ( localize(
|
|
2325
|
+
description: ( localize(409, "Controls whether the editor should render indent guides."))
|
|
2319
2326
|
},
|
|
2320
2327
|
'editor.guides.highlightActiveIndentation': {
|
|
2321
2328
|
type: ['boolean', 'string'],
|
|
2322
2329
|
enum: [true, 'always', false],
|
|
2323
2330
|
enumDescriptions: [
|
|
2324
|
-
( localize(
|
|
2331
|
+
( localize(410, "Highlights the active indent guide.")),
|
|
2325
2332
|
( localize(
|
|
2326
|
-
|
|
2333
|
+
411,
|
|
2327
2334
|
"Highlights the active indent guide even if bracket guides are highlighted."
|
|
2328
2335
|
)),
|
|
2329
|
-
( localize(
|
|
2336
|
+
( localize(412, "Do not highlight the active indent guide.")),
|
|
2330
2337
|
],
|
|
2331
2338
|
default: defaults.highlightActiveIndentation,
|
|
2332
2339
|
description: ( localize(
|
|
2333
|
-
|
|
2340
|
+
413,
|
|
2334
2341
|
"Controls whether the editor should highlight the active indent guide."
|
|
2335
2342
|
))
|
|
2336
2343
|
}
|
|
@@ -2406,12 +2413,12 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2406
2413
|
type: 'string',
|
|
2407
2414
|
enum: ['insert', 'replace'],
|
|
2408
2415
|
enumDescriptions: [
|
|
2409
|
-
( localize(
|
|
2410
|
-
( localize(
|
|
2416
|
+
( localize(414, "Insert suggestion without overwriting text right of the cursor.")),
|
|
2417
|
+
( localize(415, "Insert suggestion and overwrite text right of the cursor.")),
|
|
2411
2418
|
],
|
|
2412
2419
|
default: defaults.insertMode,
|
|
2413
2420
|
description: ( localize(
|
|
2414
|
-
|
|
2421
|
+
416,
|
|
2415
2422
|
"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
|
|
2416
2423
|
))
|
|
2417
2424
|
},
|
|
@@ -2419,7 +2426,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2419
2426
|
type: 'boolean',
|
|
2420
2427
|
default: defaults.filterGraceful,
|
|
2421
2428
|
description: ( localize(
|
|
2422
|
-
|
|
2429
|
+
417,
|
|
2423
2430
|
"Controls whether filtering and sorting suggestions accounts for small typos."
|
|
2424
2431
|
))
|
|
2425
2432
|
},
|
|
@@ -2427,7 +2434,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2427
2434
|
type: 'boolean',
|
|
2428
2435
|
default: defaults.localityBonus,
|
|
2429
2436
|
description: ( localize(
|
|
2430
|
-
|
|
2437
|
+
418,
|
|
2431
2438
|
"Controls whether sorting favors words that appear close to the cursor."
|
|
2432
2439
|
))
|
|
2433
2440
|
},
|
|
@@ -2435,7 +2442,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2435
2442
|
type: 'boolean',
|
|
2436
2443
|
default: defaults.shareSuggestSelections,
|
|
2437
2444
|
markdownDescription: ( localize(
|
|
2438
|
-
|
|
2445
|
+
419,
|
|
2439
2446
|
"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
|
|
2440
2447
|
))
|
|
2441
2448
|
},
|
|
@@ -2444,22 +2451,22 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2444
2451
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2445
2452
|
enumDescriptions: [
|
|
2446
2453
|
( localize(
|
|
2447
|
-
|
|
2454
|
+
420,
|
|
2448
2455
|
"Always select a suggestion when automatically triggering IntelliSense."
|
|
2449
2456
|
)),
|
|
2450
2457
|
( localize(
|
|
2451
|
-
|
|
2458
|
+
421,
|
|
2452
2459
|
"Never select a suggestion when automatically triggering IntelliSense."
|
|
2453
2460
|
)),
|
|
2454
2461
|
( localize(
|
|
2455
|
-
|
|
2462
|
+
422,
|
|
2456
2463
|
"Select a suggestion only when triggering IntelliSense from a trigger character."
|
|
2457
2464
|
)),
|
|
2458
|
-
( localize(
|
|
2465
|
+
( localize(423, "Select a suggestion only when triggering IntelliSense as you type.")),
|
|
2459
2466
|
],
|
|
2460
2467
|
default: defaults.selectionMode,
|
|
2461
2468
|
markdownDescription: ( localize(
|
|
2462
|
-
|
|
2469
|
+
424,
|
|
2463
2470
|
"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`.",
|
|
2464
2471
|
'`#editor.quickSuggestions#`',
|
|
2465
2472
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
@@ -2468,197 +2475,197 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2468
2475
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
2469
2476
|
type: 'boolean',
|
|
2470
2477
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2471
|
-
description: ( localize(
|
|
2478
|
+
description: ( localize(425, "Controls whether an active snippet prevents quick suggestions."))
|
|
2472
2479
|
},
|
|
2473
2480
|
'editor.suggest.showIcons': {
|
|
2474
2481
|
type: 'boolean',
|
|
2475
2482
|
default: defaults.showIcons,
|
|
2476
|
-
description: ( localize(
|
|
2483
|
+
description: ( localize(426, "Controls whether to show or hide icons in suggestions."))
|
|
2477
2484
|
},
|
|
2478
2485
|
'editor.suggest.showStatusBar': {
|
|
2479
2486
|
type: 'boolean',
|
|
2480
2487
|
default: defaults.showStatusBar,
|
|
2481
2488
|
description: ( localize(
|
|
2482
|
-
|
|
2489
|
+
427,
|
|
2483
2490
|
"Controls the visibility of the status bar at the bottom of the suggest widget."
|
|
2484
2491
|
))
|
|
2485
2492
|
},
|
|
2486
2493
|
'editor.suggest.preview': {
|
|
2487
2494
|
type: 'boolean',
|
|
2488
2495
|
default: defaults.preview,
|
|
2489
|
-
description: ( localize(
|
|
2496
|
+
description: ( localize(428, "Controls whether to preview the suggestion outcome in the editor."))
|
|
2490
2497
|
},
|
|
2491
2498
|
'editor.suggest.showInlineDetails': {
|
|
2492
2499
|
type: 'boolean',
|
|
2493
2500
|
default: defaults.showInlineDetails,
|
|
2494
2501
|
description: ( localize(
|
|
2495
|
-
|
|
2502
|
+
429,
|
|
2496
2503
|
"Controls whether suggest details show inline with the label or only in the details widget."
|
|
2497
2504
|
))
|
|
2498
2505
|
},
|
|
2499
2506
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2500
2507
|
type: 'number',
|
|
2501
|
-
deprecationMessage: ( localize(
|
|
2508
|
+
deprecationMessage: ( localize(430, "This setting is deprecated. The suggest widget can now be resized.")),
|
|
2502
2509
|
},
|
|
2503
2510
|
'editor.suggest.filteredTypes': {
|
|
2504
2511
|
type: 'object',
|
|
2505
2512
|
deprecationMessage: ( localize(
|
|
2506
|
-
|
|
2513
|
+
431,
|
|
2507
2514
|
"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
|
|
2508
2515
|
))
|
|
2509
2516
|
},
|
|
2510
2517
|
'editor.suggest.showMethods': {
|
|
2511
2518
|
type: 'boolean',
|
|
2512
2519
|
default: true,
|
|
2513
|
-
markdownDescription: ( localize(
|
|
2520
|
+
markdownDescription: ( localize(432, "When enabled IntelliSense shows `method`-suggestions."))
|
|
2514
2521
|
},
|
|
2515
2522
|
'editor.suggest.showFunctions': {
|
|
2516
2523
|
type: 'boolean',
|
|
2517
2524
|
default: true,
|
|
2518
|
-
markdownDescription: ( localize(
|
|
2525
|
+
markdownDescription: ( localize(433, "When enabled IntelliSense shows `function`-suggestions."))
|
|
2519
2526
|
},
|
|
2520
2527
|
'editor.suggest.showConstructors': {
|
|
2521
2528
|
type: 'boolean',
|
|
2522
2529
|
default: true,
|
|
2523
|
-
markdownDescription: ( localize(
|
|
2530
|
+
markdownDescription: ( localize(434, "When enabled IntelliSense shows `constructor`-suggestions."))
|
|
2524
2531
|
},
|
|
2525
2532
|
'editor.suggest.showDeprecated': {
|
|
2526
2533
|
type: 'boolean',
|
|
2527
2534
|
default: true,
|
|
2528
|
-
markdownDescription: ( localize(
|
|
2535
|
+
markdownDescription: ( localize(435, "When enabled IntelliSense shows `deprecated`-suggestions."))
|
|
2529
2536
|
},
|
|
2530
2537
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2531
2538
|
type: 'boolean',
|
|
2532
2539
|
default: true,
|
|
2533
2540
|
markdownDescription: ( localize(
|
|
2534
|
-
|
|
2541
|
+
436,
|
|
2535
2542
|
"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."
|
|
2536
2543
|
))
|
|
2537
2544
|
},
|
|
2538
2545
|
'editor.suggest.showFields': {
|
|
2539
2546
|
type: 'boolean',
|
|
2540
2547
|
default: true,
|
|
2541
|
-
markdownDescription: ( localize(
|
|
2548
|
+
markdownDescription: ( localize(437, "When enabled IntelliSense shows `field`-suggestions."))
|
|
2542
2549
|
},
|
|
2543
2550
|
'editor.suggest.showVariables': {
|
|
2544
2551
|
type: 'boolean',
|
|
2545
2552
|
default: true,
|
|
2546
|
-
markdownDescription: ( localize(
|
|
2553
|
+
markdownDescription: ( localize(438, "When enabled IntelliSense shows `variable`-suggestions."))
|
|
2547
2554
|
},
|
|
2548
2555
|
'editor.suggest.showClasses': {
|
|
2549
2556
|
type: 'boolean',
|
|
2550
2557
|
default: true,
|
|
2551
|
-
markdownDescription: ( localize(
|
|
2558
|
+
markdownDescription: ( localize(439, "When enabled IntelliSense shows `class`-suggestions."))
|
|
2552
2559
|
},
|
|
2553
2560
|
'editor.suggest.showStructs': {
|
|
2554
2561
|
type: 'boolean',
|
|
2555
2562
|
default: true,
|
|
2556
|
-
markdownDescription: ( localize(
|
|
2563
|
+
markdownDescription: ( localize(440, "When enabled IntelliSense shows `struct`-suggestions."))
|
|
2557
2564
|
},
|
|
2558
2565
|
'editor.suggest.showInterfaces': {
|
|
2559
2566
|
type: 'boolean',
|
|
2560
2567
|
default: true,
|
|
2561
|
-
markdownDescription: ( localize(
|
|
2568
|
+
markdownDescription: ( localize(441, "When enabled IntelliSense shows `interface`-suggestions."))
|
|
2562
2569
|
},
|
|
2563
2570
|
'editor.suggest.showModules': {
|
|
2564
2571
|
type: 'boolean',
|
|
2565
2572
|
default: true,
|
|
2566
|
-
markdownDescription: ( localize(
|
|
2573
|
+
markdownDescription: ( localize(442, "When enabled IntelliSense shows `module`-suggestions."))
|
|
2567
2574
|
},
|
|
2568
2575
|
'editor.suggest.showProperties': {
|
|
2569
2576
|
type: 'boolean',
|
|
2570
2577
|
default: true,
|
|
2571
|
-
markdownDescription: ( localize(
|
|
2578
|
+
markdownDescription: ( localize(443, "When enabled IntelliSense shows `property`-suggestions."))
|
|
2572
2579
|
},
|
|
2573
2580
|
'editor.suggest.showEvents': {
|
|
2574
2581
|
type: 'boolean',
|
|
2575
2582
|
default: true,
|
|
2576
|
-
markdownDescription: ( localize(
|
|
2583
|
+
markdownDescription: ( localize(444, "When enabled IntelliSense shows `event`-suggestions."))
|
|
2577
2584
|
},
|
|
2578
2585
|
'editor.suggest.showOperators': {
|
|
2579
2586
|
type: 'boolean',
|
|
2580
2587
|
default: true,
|
|
2581
|
-
markdownDescription: ( localize(
|
|
2588
|
+
markdownDescription: ( localize(445, "When enabled IntelliSense shows `operator`-suggestions."))
|
|
2582
2589
|
},
|
|
2583
2590
|
'editor.suggest.showUnits': {
|
|
2584
2591
|
type: 'boolean',
|
|
2585
2592
|
default: true,
|
|
2586
|
-
markdownDescription: ( localize(
|
|
2593
|
+
markdownDescription: ( localize(446, "When enabled IntelliSense shows `unit`-suggestions."))
|
|
2587
2594
|
},
|
|
2588
2595
|
'editor.suggest.showValues': {
|
|
2589
2596
|
type: 'boolean',
|
|
2590
2597
|
default: true,
|
|
2591
|
-
markdownDescription: ( localize(
|
|
2598
|
+
markdownDescription: ( localize(447, "When enabled IntelliSense shows `value`-suggestions."))
|
|
2592
2599
|
},
|
|
2593
2600
|
'editor.suggest.showConstants': {
|
|
2594
2601
|
type: 'boolean',
|
|
2595
2602
|
default: true,
|
|
2596
|
-
markdownDescription: ( localize(
|
|
2603
|
+
markdownDescription: ( localize(448, "When enabled IntelliSense shows `constant`-suggestions."))
|
|
2597
2604
|
},
|
|
2598
2605
|
'editor.suggest.showEnums': {
|
|
2599
2606
|
type: 'boolean',
|
|
2600
2607
|
default: true,
|
|
2601
|
-
markdownDescription: ( localize(
|
|
2608
|
+
markdownDescription: ( localize(449, "When enabled IntelliSense shows `enum`-suggestions."))
|
|
2602
2609
|
},
|
|
2603
2610
|
'editor.suggest.showEnumMembers': {
|
|
2604
2611
|
type: 'boolean',
|
|
2605
2612
|
default: true,
|
|
2606
|
-
markdownDescription: ( localize(
|
|
2613
|
+
markdownDescription: ( localize(450, "When enabled IntelliSense shows `enumMember`-suggestions."))
|
|
2607
2614
|
},
|
|
2608
2615
|
'editor.suggest.showKeywords': {
|
|
2609
2616
|
type: 'boolean',
|
|
2610
2617
|
default: true,
|
|
2611
|
-
markdownDescription: ( localize(
|
|
2618
|
+
markdownDescription: ( localize(451, "When enabled IntelliSense shows `keyword`-suggestions."))
|
|
2612
2619
|
},
|
|
2613
2620
|
'editor.suggest.showWords': {
|
|
2614
2621
|
type: 'boolean',
|
|
2615
2622
|
default: true,
|
|
2616
|
-
markdownDescription: ( localize(
|
|
2623
|
+
markdownDescription: ( localize(452, "When enabled IntelliSense shows `text`-suggestions."))
|
|
2617
2624
|
},
|
|
2618
2625
|
'editor.suggest.showColors': {
|
|
2619
2626
|
type: 'boolean',
|
|
2620
2627
|
default: true,
|
|
2621
|
-
markdownDescription: ( localize(
|
|
2628
|
+
markdownDescription: ( localize(453, "When enabled IntelliSense shows `color`-suggestions."))
|
|
2622
2629
|
},
|
|
2623
2630
|
'editor.suggest.showFiles': {
|
|
2624
2631
|
type: 'boolean',
|
|
2625
2632
|
default: true,
|
|
2626
|
-
markdownDescription: ( localize(
|
|
2633
|
+
markdownDescription: ( localize(454, "When enabled IntelliSense shows `file`-suggestions."))
|
|
2627
2634
|
},
|
|
2628
2635
|
'editor.suggest.showReferences': {
|
|
2629
2636
|
type: 'boolean',
|
|
2630
2637
|
default: true,
|
|
2631
|
-
markdownDescription: ( localize(
|
|
2638
|
+
markdownDescription: ( localize(455, "When enabled IntelliSense shows `reference`-suggestions."))
|
|
2632
2639
|
},
|
|
2633
2640
|
'editor.suggest.showCustomcolors': {
|
|
2634
2641
|
type: 'boolean',
|
|
2635
2642
|
default: true,
|
|
2636
|
-
markdownDescription: ( localize(
|
|
2643
|
+
markdownDescription: ( localize(456, "When enabled IntelliSense shows `customcolor`-suggestions."))
|
|
2637
2644
|
},
|
|
2638
2645
|
'editor.suggest.showFolders': {
|
|
2639
2646
|
type: 'boolean',
|
|
2640
2647
|
default: true,
|
|
2641
|
-
markdownDescription: ( localize(
|
|
2648
|
+
markdownDescription: ( localize(457, "When enabled IntelliSense shows `folder`-suggestions."))
|
|
2642
2649
|
},
|
|
2643
2650
|
'editor.suggest.showTypeParameters': {
|
|
2644
2651
|
type: 'boolean',
|
|
2645
2652
|
default: true,
|
|
2646
|
-
markdownDescription: ( localize(
|
|
2653
|
+
markdownDescription: ( localize(458, "When enabled IntelliSense shows `typeParameter`-suggestions."))
|
|
2647
2654
|
},
|
|
2648
2655
|
'editor.suggest.showSnippets': {
|
|
2649
2656
|
type: 'boolean',
|
|
2650
2657
|
default: true,
|
|
2651
|
-
markdownDescription: ( localize(
|
|
2658
|
+
markdownDescription: ( localize(459, "When enabled IntelliSense shows `snippet`-suggestions."))
|
|
2652
2659
|
},
|
|
2653
2660
|
'editor.suggest.showUsers': {
|
|
2654
2661
|
type: 'boolean',
|
|
2655
2662
|
default: true,
|
|
2656
|
-
markdownDescription: ( localize(
|
|
2663
|
+
markdownDescription: ( localize(460, "When enabled IntelliSense shows `user`-suggestions."))
|
|
2657
2664
|
},
|
|
2658
2665
|
'editor.suggest.showIssues': {
|
|
2659
2666
|
type: 'boolean',
|
|
2660
2667
|
default: true,
|
|
2661
|
-
markdownDescription: ( localize(
|
|
2668
|
+
markdownDescription: ( localize(461, "When enabled IntelliSense shows `issues`-suggestions."))
|
|
2662
2669
|
}
|
|
2663
2670
|
});
|
|
2664
2671
|
}
|
|
@@ -2718,13 +2725,13 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2718
2725
|
selectSubwords: true,
|
|
2719
2726
|
}, {
|
|
2720
2727
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2721
|
-
description: ( localize(
|
|
2728
|
+
description: ( localize(462, "Whether leading and trailing whitespace should always be selected.")),
|
|
2722
2729
|
default: true,
|
|
2723
2730
|
type: 'boolean'
|
|
2724
2731
|
},
|
|
2725
2732
|
'editor.smartSelect.selectSubwords': {
|
|
2726
2733
|
description: ( localize(
|
|
2727
|
-
|
|
2734
|
+
463,
|
|
2728
2735
|
"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
|
|
2729
2736
|
)),
|
|
2730
2737
|
default: true,
|
|
@@ -2749,13 +2756,13 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2749
2756
|
anyOf: [
|
|
2750
2757
|
{
|
|
2751
2758
|
description: ( localize(
|
|
2752
|
-
|
|
2759
|
+
464,
|
|
2753
2760
|
"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.)."
|
|
2754
2761
|
)),
|
|
2755
2762
|
type: 'string',
|
|
2756
2763
|
}, {
|
|
2757
2764
|
description: ( localize(
|
|
2758
|
-
|
|
2765
|
+
464,
|
|
2759
2766
|
"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.)."
|
|
2760
2767
|
)),
|
|
2761
2768
|
type: 'array',
|
|
@@ -2802,12 +2809,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2802
2809
|
type: 'string',
|
|
2803
2810
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2804
2811
|
enumDescriptions: [
|
|
2805
|
-
( localize(
|
|
2806
|
-
( localize(
|
|
2807
|
-
( localize(
|
|
2808
|
-
( localize(
|
|
2812
|
+
( localize(465, "No indentation. Wrapped lines begin at column 1.")),
|
|
2813
|
+
( localize(466, "Wrapped lines get the same indentation as the parent.")),
|
|
2814
|
+
( localize(467, "Wrapped lines get +1 indentation toward the parent.")),
|
|
2815
|
+
( localize(468, "Wrapped lines get +2 indentation toward the parent.")),
|
|
2809
2816
|
],
|
|
2810
|
-
description: ( localize(
|
|
2817
|
+
description: ( localize(469, "Controls the indentation of wrapped lines.")),
|
|
2811
2818
|
default: 'same'
|
|
2812
2819
|
}
|
|
2813
2820
|
});
|
|
@@ -2851,14 +2858,14 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2851
2858
|
type: 'boolean',
|
|
2852
2859
|
default: defaults.enabled,
|
|
2853
2860
|
markdownDescription: ( localize(
|
|
2854
|
-
|
|
2861
|
+
470,
|
|
2855
2862
|
"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)."
|
|
2856
2863
|
)),
|
|
2857
2864
|
},
|
|
2858
2865
|
'editor.dropIntoEditor.showDropSelector': {
|
|
2859
2866
|
type: 'string',
|
|
2860
2867
|
markdownDescription: ( localize(
|
|
2861
|
-
|
|
2868
|
+
471,
|
|
2862
2869
|
"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
|
|
2863
2870
|
)),
|
|
2864
2871
|
enum: [
|
|
@@ -2867,11 +2874,11 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2867
2874
|
],
|
|
2868
2875
|
enumDescriptions: [
|
|
2869
2876
|
( localize(
|
|
2870
|
-
|
|
2877
|
+
472,
|
|
2871
2878
|
"Show the drop selector widget after a file is dropped into the editor."
|
|
2872
2879
|
)),
|
|
2873
2880
|
( localize(
|
|
2874
|
-
|
|
2881
|
+
473,
|
|
2875
2882
|
"Never show the drop selector widget. Instead the default drop provider is always used."
|
|
2876
2883
|
)),
|
|
2877
2884
|
],
|
|
@@ -2897,12 +2904,12 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2897
2904
|
'editor.pasteAs.enabled': {
|
|
2898
2905
|
type: 'boolean',
|
|
2899
2906
|
default: defaults.enabled,
|
|
2900
|
-
markdownDescription: ( localize(
|
|
2907
|
+
markdownDescription: ( localize(474, "Controls whether you can paste content in different ways.")),
|
|
2901
2908
|
},
|
|
2902
2909
|
'editor.pasteAs.showPasteSelector': {
|
|
2903
2910
|
type: 'string',
|
|
2904
2911
|
markdownDescription: ( localize(
|
|
2905
|
-
|
|
2912
|
+
475,
|
|
2906
2913
|
"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
|
|
2907
2914
|
)),
|
|
2908
2915
|
enum: [
|
|
@@ -2911,11 +2918,11 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2911
2918
|
],
|
|
2912
2919
|
enumDescriptions: [
|
|
2913
2920
|
( localize(
|
|
2914
|
-
|
|
2921
|
+
476,
|
|
2915
2922
|
"Show the paste selector widget after content is pasted into the editor."
|
|
2916
2923
|
)),
|
|
2917
2924
|
( localize(
|
|
2918
|
-
|
|
2925
|
+
477,
|
|
2919
2926
|
"Never show the paste selector widget. Instead the default pasting behavior is always used."
|
|
2920
2927
|
)),
|
|
2921
2928
|
],
|
|
@@ -3114,7 +3121,7 @@ const EditorOptions = {
|
|
|
3114
3121
|
'acceptSuggestionOnCommitCharacter',
|
|
3115
3122
|
true,
|
|
3116
3123
|
{ markdownDescription: ( localize(
|
|
3117
|
-
|
|
3124
|
+
478,
|
|
3118
3125
|
"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."
|
|
3119
3126
|
)) }
|
|
3120
3127
|
))),
|
|
@@ -3127,13 +3134,13 @@ const EditorOptions = {
|
|
|
3127
3134
|
markdownEnumDescriptions: [
|
|
3128
3135
|
'',
|
|
3129
3136
|
( localize(
|
|
3130
|
-
|
|
3137
|
+
479,
|
|
3131
3138
|
"Only accept a suggestion with `Enter` when it makes a textual change."
|
|
3132
3139
|
)),
|
|
3133
3140
|
''
|
|
3134
3141
|
],
|
|
3135
3142
|
markdownDescription: ( localize(
|
|
3136
|
-
|
|
3143
|
+
480,
|
|
3137
3144
|
"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
|
|
3138
3145
|
))
|
|
3139
3146
|
}
|
|
@@ -3142,18 +3149,18 @@ const EditorOptions = {
|
|
|
3142
3149
|
accessibilityPageSize: register(( new EditorIntOption(
|
|
3143
3150
|
EditorOption.accessibilityPageSize,
|
|
3144
3151
|
'accessibilityPageSize',
|
|
3145
|
-
|
|
3152
|
+
500,
|
|
3146
3153
|
1,
|
|
3147
3154
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3148
3155
|
{
|
|
3149
3156
|
description: ( localize(
|
|
3150
|
-
|
|
3157
|
+
481,
|
|
3151
3158
|
"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."
|
|
3152
3159
|
)),
|
|
3153
3160
|
tags: ['accessibility']
|
|
3154
3161
|
}
|
|
3155
3162
|
))),
|
|
3156
|
-
ariaLabel: register(( new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(
|
|
3163
|
+
ariaLabel: register(( new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(482, "Editor content"))))),
|
|
3157
3164
|
ariaRequired: register(( new EditorBooleanOption(EditorOption.ariaRequired, 'ariaRequired', false, undefined))),
|
|
3158
3165
|
screenReaderAnnounceInlineSuggestion: register(( new EditorBooleanOption(
|
|
3159
3166
|
EditorOption.screenReaderAnnounceInlineSuggestion,
|
|
@@ -3161,7 +3168,7 @@ const EditorOptions = {
|
|
|
3161
3168
|
true,
|
|
3162
3169
|
{
|
|
3163
3170
|
description: ( localize(
|
|
3164
|
-
|
|
3171
|
+
483,
|
|
3165
3172
|
"Control whether inline suggestions are announced by a screen reader."
|
|
3166
3173
|
)),
|
|
3167
3174
|
tags: ['accessibility']
|
|
@@ -3176,17 +3183,17 @@ const EditorOptions = {
|
|
|
3176
3183
|
enumDescriptions: [
|
|
3177
3184
|
'',
|
|
3178
3185
|
( localize(
|
|
3179
|
-
|
|
3186
|
+
484,
|
|
3180
3187
|
"Use language configurations to determine when to autoclose brackets."
|
|
3181
3188
|
)),
|
|
3182
3189
|
( localize(
|
|
3183
|
-
|
|
3190
|
+
485,
|
|
3184
3191
|
"Autoclose brackets only when the cursor is to the left of whitespace."
|
|
3185
3192
|
)),
|
|
3186
3193
|
'',
|
|
3187
3194
|
],
|
|
3188
3195
|
description: ( localize(
|
|
3189
|
-
|
|
3196
|
+
486,
|
|
3190
3197
|
"Controls whether the editor should automatically close brackets after the user adds an opening bracket."
|
|
3191
3198
|
))
|
|
3192
3199
|
}
|
|
@@ -3200,17 +3207,17 @@ const EditorOptions = {
|
|
|
3200
3207
|
enumDescriptions: [
|
|
3201
3208
|
'',
|
|
3202
3209
|
( localize(
|
|
3203
|
-
|
|
3210
|
+
487,
|
|
3204
3211
|
"Use language configurations to determine when to autoclose comments."
|
|
3205
3212
|
)),
|
|
3206
3213
|
( localize(
|
|
3207
|
-
|
|
3214
|
+
488,
|
|
3208
3215
|
"Autoclose comments only when the cursor is to the left of whitespace."
|
|
3209
3216
|
)),
|
|
3210
3217
|
'',
|
|
3211
3218
|
],
|
|
3212
3219
|
description: ( localize(
|
|
3213
|
-
|
|
3220
|
+
489,
|
|
3214
3221
|
"Controls whether the editor should automatically close comments after the user adds an opening comment."
|
|
3215
3222
|
))
|
|
3216
3223
|
}
|
|
@@ -3224,13 +3231,13 @@ const EditorOptions = {
|
|
|
3224
3231
|
enumDescriptions: [
|
|
3225
3232
|
'',
|
|
3226
3233
|
( localize(
|
|
3227
|
-
|
|
3234
|
+
490,
|
|
3228
3235
|
"Remove adjacent closing quotes or brackets only if they were automatically inserted."
|
|
3229
3236
|
)),
|
|
3230
3237
|
'',
|
|
3231
3238
|
],
|
|
3232
3239
|
description: ( localize(
|
|
3233
|
-
|
|
3240
|
+
491,
|
|
3234
3241
|
"Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
|
|
3235
3242
|
))
|
|
3236
3243
|
}
|
|
@@ -3244,13 +3251,13 @@ const EditorOptions = {
|
|
|
3244
3251
|
enumDescriptions: [
|
|
3245
3252
|
'',
|
|
3246
3253
|
( localize(
|
|
3247
|
-
|
|
3254
|
+
492,
|
|
3248
3255
|
"Type over closing quotes or brackets only if they were automatically inserted."
|
|
3249
3256
|
)),
|
|
3250
3257
|
'',
|
|
3251
3258
|
],
|
|
3252
3259
|
description: ( localize(
|
|
3253
|
-
|
|
3260
|
+
493,
|
|
3254
3261
|
"Controls whether the editor should type over closing quotes or brackets."
|
|
3255
3262
|
))
|
|
3256
3263
|
}
|
|
@@ -3263,12 +3270,12 @@ const EditorOptions = {
|
|
|
3263
3270
|
{
|
|
3264
3271
|
enumDescriptions: [
|
|
3265
3272
|
'',
|
|
3266
|
-
( localize(
|
|
3267
|
-
( localize(
|
|
3273
|
+
( localize(494, "Use language configurations to determine when to autoclose quotes.")),
|
|
3274
|
+
( localize(495, "Autoclose quotes only when the cursor is to the left of whitespace.")),
|
|
3268
3275
|
'',
|
|
3269
3276
|
],
|
|
3270
3277
|
description: ( localize(
|
|
3271
|
-
|
|
3278
|
+
496,
|
|
3272
3279
|
"Controls whether the editor should automatically close quotes after the user adds an opening quote."
|
|
3273
3280
|
))
|
|
3274
3281
|
}
|
|
@@ -3282,23 +3289,23 @@ const EditorOptions = {
|
|
|
3282
3289
|
_autoIndentFromString,
|
|
3283
3290
|
{
|
|
3284
3291
|
enumDescriptions: [
|
|
3285
|
-
( localize(
|
|
3286
|
-
( localize(
|
|
3292
|
+
( localize(497, "The editor will not insert indentation automatically.")),
|
|
3293
|
+
( localize(498, "The editor will keep the current line's indentation.")),
|
|
3287
3294
|
( localize(
|
|
3288
|
-
|
|
3295
|
+
499,
|
|
3289
3296
|
"The editor will keep the current line's indentation and honor language defined brackets."
|
|
3290
3297
|
)),
|
|
3291
3298
|
( localize(
|
|
3292
|
-
|
|
3299
|
+
500,
|
|
3293
3300
|
"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
|
|
3294
3301
|
)),
|
|
3295
3302
|
( localize(
|
|
3296
|
-
|
|
3303
|
+
501,
|
|
3297
3304
|
"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."
|
|
3298
3305
|
)),
|
|
3299
3306
|
],
|
|
3300
3307
|
description: ( localize(
|
|
3301
|
-
|
|
3308
|
+
502,
|
|
3302
3309
|
"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
|
|
3303
3310
|
))
|
|
3304
3311
|
}
|
|
@@ -3312,15 +3319,15 @@ const EditorOptions = {
|
|
|
3312
3319
|
{
|
|
3313
3320
|
enumDescriptions: [
|
|
3314
3321
|
( localize(
|
|
3315
|
-
|
|
3322
|
+
503,
|
|
3316
3323
|
"Use language configurations to determine when to automatically surround selections."
|
|
3317
3324
|
)),
|
|
3318
|
-
( localize(
|
|
3319
|
-
( localize(
|
|
3325
|
+
( localize(504, "Surround with quotes but not brackets.")),
|
|
3326
|
+
( localize(505, "Surround with brackets but not quotes.")),
|
|
3320
3327
|
''
|
|
3321
3328
|
],
|
|
3322
3329
|
description: ( localize(
|
|
3323
|
-
|
|
3330
|
+
506,
|
|
3324
3331
|
"Controls whether the editor should automatically surround selections when typing quotes or brackets."
|
|
3325
3332
|
))
|
|
3326
3333
|
}
|
|
@@ -3332,16 +3339,16 @@ const EditorOptions = {
|
|
|
3332
3339
|
'stickyTabStops',
|
|
3333
3340
|
false,
|
|
3334
3341
|
{ description: ( localize(
|
|
3335
|
-
|
|
3342
|
+
507,
|
|
3336
3343
|
"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
|
|
3337
3344
|
)) }
|
|
3338
3345
|
))),
|
|
3339
|
-
codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(
|
|
3346
|
+
codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(508, "Controls whether the editor shows CodeLens.")) }))),
|
|
3340
3347
|
codeLensFontFamily: register(( new EditorStringOption(
|
|
3341
3348
|
EditorOption.codeLensFontFamily,
|
|
3342
3349
|
'codeLensFontFamily',
|
|
3343
3350
|
'',
|
|
3344
|
-
{ description: ( localize(
|
|
3351
|
+
{ description: ( localize(509, "Controls the font family for CodeLens.")) }
|
|
3345
3352
|
))),
|
|
3346
3353
|
codeLensFontSize: register(( new EditorIntOption(EditorOption.codeLensFontSize, 'codeLensFontSize', 0, 0, 100, {
|
|
3347
3354
|
type: 'number',
|
|
@@ -3349,7 +3356,7 @@ const EditorOptions = {
|
|
|
3349
3356
|
minimum: 0,
|
|
3350
3357
|
maximum: 100,
|
|
3351
3358
|
markdownDescription: ( localize(
|
|
3352
|
-
|
|
3359
|
+
510,
|
|
3353
3360
|
"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
|
|
3354
3361
|
))
|
|
3355
3362
|
}))),
|
|
@@ -3358,7 +3365,7 @@ const EditorOptions = {
|
|
|
3358
3365
|
'colorDecorators',
|
|
3359
3366
|
true,
|
|
3360
3367
|
{ description: ( localize(
|
|
3361
|
-
|
|
3368
|
+
511,
|
|
3362
3369
|
"Controls whether the editor should render the inline color decorators and color picker."
|
|
3363
3370
|
)) }
|
|
3364
3371
|
))),
|
|
@@ -3370,15 +3377,15 @@ const EditorOptions = {
|
|
|
3370
3377
|
{
|
|
3371
3378
|
enumDescriptions: [
|
|
3372
3379
|
( localize(
|
|
3373
|
-
|
|
3380
|
+
512,
|
|
3374
3381
|
"Make the color picker appear both on click and hover of the color decorator"
|
|
3375
3382
|
)),
|
|
3376
|
-
( localize(
|
|
3377
|
-
( localize(
|
|
3383
|
+
( localize(513, "Make the color picker appear on hover of the color decorator")),
|
|
3384
|
+
( localize(514, "Make the color picker appear on click of the color decorator"))
|
|
3378
3385
|
],
|
|
3379
3386
|
description: ( localize(
|
|
3380
|
-
|
|
3381
|
-
"Controls the condition to make a color picker appear from a color decorator"
|
|
3387
|
+
515,
|
|
3388
|
+
"Controls the condition to make a color picker appear from a color decorator."
|
|
3382
3389
|
))
|
|
3383
3390
|
}
|
|
3384
3391
|
))),
|
|
@@ -3390,7 +3397,7 @@ const EditorOptions = {
|
|
|
3390
3397
|
1000000,
|
|
3391
3398
|
{
|
|
3392
3399
|
markdownDescription: ( localize(
|
|
3393
|
-
|
|
3400
|
+
516,
|
|
3394
3401
|
"Controls the max number of color decorators that can be rendered in an editor at once."
|
|
3395
3402
|
))
|
|
3396
3403
|
}
|
|
@@ -3400,7 +3407,7 @@ const EditorOptions = {
|
|
|
3400
3407
|
'columnSelection',
|
|
3401
3408
|
false,
|
|
3402
3409
|
{ description: ( localize(
|
|
3403
|
-
|
|
3410
|
+
517,
|
|
3404
3411
|
"Enable that the selection with the mouse and keys is doing column selection."
|
|
3405
3412
|
)) }
|
|
3406
3413
|
))),
|
|
@@ -3411,7 +3418,7 @@ const EditorOptions = {
|
|
|
3411
3418
|
'copyWithSyntaxHighlighting',
|
|
3412
3419
|
true,
|
|
3413
3420
|
{ description: ( localize(
|
|
3414
|
-
|
|
3421
|
+
518,
|
|
3415
3422
|
"Controls whether syntax highlighting should be copied into the clipboard."
|
|
3416
3423
|
)) }
|
|
3417
3424
|
))),
|
|
@@ -3422,7 +3429,7 @@ const EditorOptions = {
|
|
|
3422
3429
|
'blink',
|
|
3423
3430
|
['blink', 'smooth', 'phase', 'expand', 'solid'],
|
|
3424
3431
|
cursorBlinkingStyleFromString,
|
|
3425
|
-
{ description: ( localize(
|
|
3432
|
+
{ description: ( localize(519, "Control the cursor animation style.")) }
|
|
3426
3433
|
))),
|
|
3427
3434
|
cursorSmoothCaretAnimation: register(( new EditorStringEnumOption(
|
|
3428
3435
|
EditorOption.cursorSmoothCaretAnimation,
|
|
@@ -3431,14 +3438,14 @@ const EditorOptions = {
|
|
|
3431
3438
|
['off', 'explicit', 'on'],
|
|
3432
3439
|
{
|
|
3433
3440
|
enumDescriptions: [
|
|
3434
|
-
( localize(
|
|
3441
|
+
( localize(520, "Smooth caret animation is disabled.")),
|
|
3435
3442
|
( localize(
|
|
3436
|
-
|
|
3443
|
+
521,
|
|
3437
3444
|
"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
|
|
3438
3445
|
)),
|
|
3439
|
-
( localize(
|
|
3446
|
+
( localize(522, "Smooth caret animation is always enabled."))
|
|
3440
3447
|
],
|
|
3441
|
-
description: ( localize(
|
|
3448
|
+
description: ( localize(523, "Controls whether the smooth caret animation should be enabled."))
|
|
3442
3449
|
}
|
|
3443
3450
|
))),
|
|
3444
3451
|
cursorStyle: register(( new EditorEnumOption(
|
|
@@ -3448,7 +3455,7 @@ const EditorOptions = {
|
|
|
3448
3455
|
'line',
|
|
3449
3456
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3450
3457
|
cursorStyleFromString,
|
|
3451
|
-
{ description: ( localize(
|
|
3458
|
+
{ description: ( localize(524, "Controls the cursor style in insert input mode.")) }
|
|
3452
3459
|
))),
|
|
3453
3460
|
overtypeCursorStyle: register(( new EditorEnumOption(
|
|
3454
3461
|
EditorOption.overtypeCursorStyle,
|
|
@@ -3457,7 +3464,7 @@ const EditorOptions = {
|
|
|
3457
3464
|
'block',
|
|
3458
3465
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3459
3466
|
cursorStyleFromString,
|
|
3460
|
-
{ description: ( localize(
|
|
3467
|
+
{ description: ( localize(525, "Controls the cursor style in overtype input mode.")) }
|
|
3461
3468
|
))),
|
|
3462
3469
|
cursorSurroundingLines: register(( new EditorIntOption(
|
|
3463
3470
|
EditorOption.cursorSurroundingLines,
|
|
@@ -3466,7 +3473,7 @@ const EditorOptions = {
|
|
|
3466
3473
|
0,
|
|
3467
3474
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3468
3475
|
{ description: ( localize(
|
|
3469
|
-
|
|
3476
|
+
526,
|
|
3470
3477
|
"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."
|
|
3471
3478
|
)) }
|
|
3472
3479
|
))),
|
|
@@ -3478,12 +3485,12 @@ const EditorOptions = {
|
|
|
3478
3485
|
{
|
|
3479
3486
|
enumDescriptions: [
|
|
3480
3487
|
( localize(
|
|
3481
|
-
|
|
3488
|
+
527,
|
|
3482
3489
|
"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
|
|
3483
3490
|
)),
|
|
3484
|
-
( localize(
|
|
3491
|
+
( localize(528, "`cursorSurroundingLines` is enforced always."))
|
|
3485
3492
|
],
|
|
3486
|
-
markdownDescription: ( localize(
|
|
3493
|
+
markdownDescription: ( localize(529, "Controls when `#editor.cursorSurroundingLines#` should be enforced."))
|
|
3487
3494
|
}
|
|
3488
3495
|
))),
|
|
3489
3496
|
cursorWidth: register(( new EditorIntOption(
|
|
@@ -3493,7 +3500,7 @@ const EditorOptions = {
|
|
|
3493
3500
|
0,
|
|
3494
3501
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3495
3502
|
{ markdownDescription: ( localize(
|
|
3496
|
-
|
|
3503
|
+
530,
|
|
3497
3504
|
"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
|
|
3498
3505
|
)) }
|
|
3499
3506
|
))),
|
|
@@ -3509,7 +3516,7 @@ const EditorOptions = {
|
|
|
3509
3516
|
'dragAndDrop',
|
|
3510
3517
|
true,
|
|
3511
3518
|
{ description: ( localize(
|
|
3512
|
-
|
|
3519
|
+
531,
|
|
3513
3520
|
"Controls whether the editor should allow moving selections via drag and drop."
|
|
3514
3521
|
)) }
|
|
3515
3522
|
))),
|
|
@@ -3518,10 +3525,10 @@ const EditorOptions = {
|
|
|
3518
3525
|
experimentalEditContextEnabled: register(( new EditorBooleanOption(
|
|
3519
3526
|
EditorOption.experimentalEditContextEnabled,
|
|
3520
3527
|
'experimentalEditContextEnabled',
|
|
3521
|
-
|
|
3528
|
+
product$1.quality !== 'stable',
|
|
3522
3529
|
{
|
|
3523
3530
|
description: ( localize(
|
|
3524
|
-
|
|
3531
|
+
532,
|
|
3525
3532
|
"Sets whether the new experimental edit context should be used instead of the text area."
|
|
3526
3533
|
)),
|
|
3527
3534
|
included: isChrome || isEdge || isNative
|
|
@@ -3533,7 +3540,17 @@ const EditorOptions = {
|
|
|
3533
3540
|
'experimentalGpuAcceleration',
|
|
3534
3541
|
'off',
|
|
3535
3542
|
['off', 'on'],
|
|
3536
|
-
|
|
3543
|
+
{
|
|
3544
|
+
tags: ['experimental'],
|
|
3545
|
+
enumDescriptions: [
|
|
3546
|
+
( localize(533, "Use regular DOM-based rendering.")),
|
|
3547
|
+
( localize(534, "Use GPU acceleration.")),
|
|
3548
|
+
],
|
|
3549
|
+
description: ( localize(
|
|
3550
|
+
535,
|
|
3551
|
+
"Controls whether to use the experimental GPU acceleration to render the editor."
|
|
3552
|
+
))
|
|
3553
|
+
}
|
|
3537
3554
|
))),
|
|
3538
3555
|
experimentalWhitespaceRendering: register(( new EditorStringEnumOption(
|
|
3539
3556
|
EditorOption.experimentalWhitespaceRendering,
|
|
@@ -3542,12 +3559,12 @@ const EditorOptions = {
|
|
|
3542
3559
|
['svg', 'font', 'off'],
|
|
3543
3560
|
{
|
|
3544
3561
|
enumDescriptions: [
|
|
3545
|
-
( localize(
|
|
3546
|
-
( localize(
|
|
3547
|
-
( localize(
|
|
3562
|
+
( localize(536, "Use a new rendering method with svgs.")),
|
|
3563
|
+
( localize(537, "Use a new rendering method with font characters.")),
|
|
3564
|
+
( localize(538, "Use the stable rendering method.")),
|
|
3548
3565
|
],
|
|
3549
3566
|
description: ( localize(
|
|
3550
|
-
|
|
3567
|
+
539,
|
|
3551
3568
|
"Controls whether whitespace is rendered with a new, experimental method."
|
|
3552
3569
|
))
|
|
3553
3570
|
}
|
|
@@ -3558,11 +3575,11 @@ const EditorOptions = {
|
|
|
3558
3575
|
'fastScrollSensitivity',
|
|
3559
3576
|
5,
|
|
3560
3577
|
x => (x <= 0 ? 5 : x),
|
|
3561
|
-
{ markdownDescription: ( localize(
|
|
3578
|
+
{ markdownDescription: ( localize(540, "Scrolling speed multiplier when pressing `Alt`.")) }
|
|
3562
3579
|
))),
|
|
3563
3580
|
find: register(( new EditorFind())),
|
|
3564
3581
|
fixedOverflowWidgets: register(( new EditorBooleanOption(EditorOption.fixedOverflowWidgets, 'fixedOverflowWidgets', false))),
|
|
3565
|
-
folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(
|
|
3582
|
+
folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(541, "Controls whether the editor has code folding enabled.")) }))),
|
|
3566
3583
|
foldingStrategy: register(( new EditorStringEnumOption(
|
|
3567
3584
|
EditorOption.foldingStrategy,
|
|
3568
3585
|
'foldingStrategy',
|
|
@@ -3571,25 +3588,25 @@ const EditorOptions = {
|
|
|
3571
3588
|
{
|
|
3572
3589
|
enumDescriptions: [
|
|
3573
3590
|
( localize(
|
|
3574
|
-
|
|
3591
|
+
542,
|
|
3575
3592
|
"Use a language-specific folding strategy if available, else the indentation-based one."
|
|
3576
3593
|
)),
|
|
3577
|
-
( localize(
|
|
3594
|
+
( localize(543, "Use the indentation-based folding strategy.")),
|
|
3578
3595
|
],
|
|
3579
|
-
description: ( localize(
|
|
3596
|
+
description: ( localize(544, "Controls the strategy for computing folding ranges."))
|
|
3580
3597
|
}
|
|
3581
3598
|
))),
|
|
3582
3599
|
foldingHighlight: register(( new EditorBooleanOption(
|
|
3583
3600
|
EditorOption.foldingHighlight,
|
|
3584
3601
|
'foldingHighlight',
|
|
3585
3602
|
true,
|
|
3586
|
-
{ description: ( localize(
|
|
3603
|
+
{ description: ( localize(545, "Controls whether the editor should highlight folded ranges.")) }
|
|
3587
3604
|
))),
|
|
3588
3605
|
foldingImportsByDefault: register(( new EditorBooleanOption(
|
|
3589
3606
|
EditorOption.foldingImportsByDefault,
|
|
3590
3607
|
'foldingImportsByDefault',
|
|
3591
3608
|
false,
|
|
3592
|
-
{ description: ( localize(
|
|
3609
|
+
{ description: ( localize(546, "Controls whether the editor automatically collapses import ranges.")) }
|
|
3593
3610
|
))),
|
|
3594
3611
|
foldingMaximumRegions: register(( new EditorIntOption(
|
|
3595
3612
|
EditorOption.foldingMaximumRegions,
|
|
@@ -3598,7 +3615,7 @@ const EditorOptions = {
|
|
|
3598
3615
|
10,
|
|
3599
3616
|
65000,
|
|
3600
3617
|
{ description: ( localize(
|
|
3601
|
-
|
|
3618
|
+
547,
|
|
3602
3619
|
"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."
|
|
3603
3620
|
)) }
|
|
3604
3621
|
))),
|
|
@@ -3607,7 +3624,7 @@ const EditorOptions = {
|
|
|
3607
3624
|
'unfoldOnClickAfterEndOfLine',
|
|
3608
3625
|
false,
|
|
3609
3626
|
{ description: ( localize(
|
|
3610
|
-
|
|
3627
|
+
548,
|
|
3611
3628
|
"Controls whether clicking on the empty content after a folded line will unfold the line."
|
|
3612
3629
|
)) }
|
|
3613
3630
|
))),
|
|
@@ -3615,7 +3632,7 @@ const EditorOptions = {
|
|
|
3615
3632
|
EditorOption.fontFamily,
|
|
3616
3633
|
'fontFamily',
|
|
3617
3634
|
EDITOR_FONT_DEFAULTS.fontFamily,
|
|
3618
|
-
{ description: ( localize(
|
|
3635
|
+
{ description: ( localize(549, "Controls the font family.")) }
|
|
3619
3636
|
))),
|
|
3620
3637
|
fontInfo: register(( new EditorFontInfo())),
|
|
3621
3638
|
fontLigatures2: register(( new EditorFontLigatures())),
|
|
@@ -3627,7 +3644,7 @@ const EditorOptions = {
|
|
|
3627
3644
|
'formatOnPaste',
|
|
3628
3645
|
false,
|
|
3629
3646
|
{ description: ( localize(
|
|
3630
|
-
|
|
3647
|
+
550,
|
|
3631
3648
|
"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."
|
|
3632
3649
|
)) }
|
|
3633
3650
|
))),
|
|
@@ -3636,7 +3653,7 @@ const EditorOptions = {
|
|
|
3636
3653
|
'formatOnType',
|
|
3637
3654
|
false,
|
|
3638
3655
|
{ description: ( localize(
|
|
3639
|
-
|
|
3656
|
+
551,
|
|
3640
3657
|
"Controls whether the editor should automatically format the line after typing."
|
|
3641
3658
|
)) }
|
|
3642
3659
|
))),
|
|
@@ -3645,7 +3662,7 @@ const EditorOptions = {
|
|
|
3645
3662
|
'glyphMargin',
|
|
3646
3663
|
true,
|
|
3647
3664
|
{ description: ( localize(
|
|
3648
|
-
|
|
3665
|
+
552,
|
|
3649
3666
|
"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
|
|
3650
3667
|
)) }
|
|
3651
3668
|
))),
|
|
@@ -3654,7 +3671,7 @@ const EditorOptions = {
|
|
|
3654
3671
|
EditorOption.hideCursorInOverviewRuler,
|
|
3655
3672
|
'hideCursorInOverviewRuler',
|
|
3656
3673
|
false,
|
|
3657
|
-
{ description: ( localize(
|
|
3674
|
+
{ description: ( localize(553, "Controls whether the cursor should be hidden in the overview ruler.")) }
|
|
3658
3675
|
))),
|
|
3659
3676
|
hover: register(( new EditorHover())),
|
|
3660
3677
|
inDiffEditor: register(( new EditorBooleanOption(EditorOption.inDiffEditor, 'inDiffEditor', false))),
|
|
@@ -3663,7 +3680,7 @@ const EditorOptions = {
|
|
|
3663
3680
|
'letterSpacing',
|
|
3664
3681
|
EDITOR_FONT_DEFAULTS.letterSpacing,
|
|
3665
3682
|
x => EditorFloatOption.clamp(x, -5, 20),
|
|
3666
|
-
{ description: ( localize(
|
|
3683
|
+
{ description: ( localize(554, "Controls the letter spacing in pixels.")) }
|
|
3667
3684
|
))),
|
|
3668
3685
|
lightbulb: register(( new EditorLightbulb())),
|
|
3669
3686
|
lineDecorationsWidth: register(( new EditorLineDecorationsWidth())),
|
|
@@ -3675,12 +3692,12 @@ const EditorOptions = {
|
|
|
3675
3692
|
'linkedEditing',
|
|
3676
3693
|
false,
|
|
3677
3694
|
{ description: ( localize(
|
|
3678
|
-
|
|
3695
|
+
555,
|
|
3679
3696
|
"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
|
|
3680
3697
|
)) }
|
|
3681
3698
|
))),
|
|
3682
3699
|
links: register(( new EditorBooleanOption(EditorOption.links, 'links', true, { description: ( localize(
|
|
3683
|
-
|
|
3700
|
+
556,
|
|
3684
3701
|
"Controls whether the editor should detect links and make them clickable."
|
|
3685
3702
|
)) }))),
|
|
3686
3703
|
matchBrackets: register(( new EditorStringEnumOption(
|
|
@@ -3688,7 +3705,7 @@ const EditorOptions = {
|
|
|
3688
3705
|
'matchBrackets',
|
|
3689
3706
|
'always',
|
|
3690
3707
|
['always', 'near', 'never'],
|
|
3691
|
-
{ description: ( localize(
|
|
3708
|
+
{ description: ( localize(557, "Highlight matching brackets.")) }
|
|
3692
3709
|
))),
|
|
3693
3710
|
minimap: register(( new EditorMinimap())),
|
|
3694
3711
|
mouseStyle: register(( new EditorStringEnumOption(EditorOption.mouseStyle, 'mouseStyle', 'text', ['text', 'default', 'copy']))),
|
|
@@ -3698,18 +3715,18 @@ const EditorOptions = {
|
|
|
3698
3715
|
1,
|
|
3699
3716
|
x => (x === 0 ? 1 : x),
|
|
3700
3717
|
{ markdownDescription: ( localize(
|
|
3701
|
-
|
|
3718
|
+
558,
|
|
3702
3719
|
"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
|
|
3703
3720
|
)) }
|
|
3704
3721
|
))),
|
|
3705
3722
|
mouseWheelZoom: register(( new EditorBooleanOption(EditorOption.mouseWheelZoom, 'mouseWheelZoom', false, {
|
|
3706
3723
|
markdownDescription: isMacintosh
|
|
3707
3724
|
? ( localize(
|
|
3708
|
-
|
|
3725
|
+
559,
|
|
3709
3726
|
"Zoom the font of the editor when using mouse wheel and holding `Cmd`."
|
|
3710
3727
|
))
|
|
3711
3728
|
: ( localize(
|
|
3712
|
-
|
|
3729
|
+
560,
|
|
3713
3730
|
"Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
|
|
3714
3731
|
))
|
|
3715
3732
|
}))),
|
|
@@ -3717,7 +3734,7 @@ const EditorOptions = {
|
|
|
3717
3734
|
EditorOption.multiCursorMergeOverlapping,
|
|
3718
3735
|
'multiCursorMergeOverlapping',
|
|
3719
3736
|
true,
|
|
3720
|
-
{ description: ( localize(
|
|
3737
|
+
{ description: ( localize(561, "Merge multiple cursors when they are overlapping.")) }
|
|
3721
3738
|
))),
|
|
3722
3739
|
multiCursorModifier: register(( new EditorEnumOption(
|
|
3723
3740
|
EditorOption.multiCursorModifier,
|
|
@@ -3728,11 +3745,11 @@ const EditorOptions = {
|
|
|
3728
3745
|
_multiCursorModifierFromString,
|
|
3729
3746
|
{
|
|
3730
3747
|
markdownEnumDescriptions: [
|
|
3731
|
-
( localize(
|
|
3732
|
-
( localize(
|
|
3748
|
+
( localize(562, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
|
|
3749
|
+
( localize(563, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
|
|
3733
3750
|
],
|
|
3734
3751
|
markdownDescription: ( localize(
|
|
3735
|
-
|
|
3752
|
+
564,
|
|
3736
3753
|
"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)."
|
|
3737
3754
|
))
|
|
3738
3755
|
}
|
|
@@ -3744,18 +3761,18 @@ const EditorOptions = {
|
|
|
3744
3761
|
['spread', 'full'],
|
|
3745
3762
|
{
|
|
3746
3763
|
markdownEnumDescriptions: [
|
|
3747
|
-
( localize(
|
|
3748
|
-
( localize(
|
|
3764
|
+
( localize(565, "Each cursor pastes a single line of the text.")),
|
|
3765
|
+
( localize(566, "Each cursor pastes the full text."))
|
|
3749
3766
|
],
|
|
3750
3767
|
markdownDescription: ( localize(
|
|
3751
|
-
|
|
3768
|
+
567,
|
|
3752
3769
|
"Controls pasting when the line count of the pasted text matches the cursor count."
|
|
3753
3770
|
))
|
|
3754
3771
|
}
|
|
3755
3772
|
))),
|
|
3756
3773
|
multiCursorLimit: register(( new EditorIntOption(EditorOption.multiCursorLimit, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3757
3774
|
markdownDescription: ( localize(
|
|
3758
|
-
|
|
3775
|
+
568,
|
|
3759
3776
|
"Controls the max number of cursors that can be in an active editor at once."
|
|
3760
3777
|
))
|
|
3761
3778
|
}))),
|
|
@@ -3766,12 +3783,12 @@ const EditorOptions = {
|
|
|
3766
3783
|
['off', 'singleFile', 'multiFile'],
|
|
3767
3784
|
{
|
|
3768
3785
|
markdownEnumDescriptions: [
|
|
3769
|
-
( localize(
|
|
3770
|
-
( localize(
|
|
3771
|
-
( localize(
|
|
3786
|
+
( localize(569, "Does not highlight occurrences.")),
|
|
3787
|
+
( localize(570, "Highlights occurrences only in the current file.")),
|
|
3788
|
+
( localize(571, "Experimental: Highlights occurrences across all valid open files."))
|
|
3772
3789
|
],
|
|
3773
3790
|
markdownDescription: ( localize(
|
|
3774
|
-
|
|
3791
|
+
572,
|
|
3775
3792
|
"Controls whether occurrences should be highlighted across open files."
|
|
3776
3793
|
))
|
|
3777
3794
|
}
|
|
@@ -3784,7 +3801,7 @@ const EditorOptions = {
|
|
|
3784
3801
|
2000,
|
|
3785
3802
|
{
|
|
3786
3803
|
description: ( localize(
|
|
3787
|
-
|
|
3804
|
+
573,
|
|
3788
3805
|
"Controls the delay in milliseconds after which occurrences are highlighted."
|
|
3789
3806
|
)),
|
|
3790
3807
|
tags: ['preview']
|
|
@@ -3794,14 +3811,14 @@ const EditorOptions = {
|
|
|
3794
3811
|
EditorOption.overtypeOnPaste,
|
|
3795
3812
|
'overtypeOnPaste',
|
|
3796
3813
|
true,
|
|
3797
|
-
{ description: ( localize(
|
|
3814
|
+
{ description: ( localize(574, "Controls whether pasting should overtype.")) }
|
|
3798
3815
|
))),
|
|
3799
3816
|
overviewRulerBorder: register(( new EditorBooleanOption(
|
|
3800
3817
|
EditorOption.overviewRulerBorder,
|
|
3801
3818
|
'overviewRulerBorder',
|
|
3802
3819
|
true,
|
|
3803
3820
|
{ description: ( localize(
|
|
3804
|
-
|
|
3821
|
+
575,
|
|
3805
3822
|
"Controls whether a border should be drawn around the overview ruler."
|
|
3806
3823
|
)) }
|
|
3807
3824
|
))),
|
|
@@ -3816,11 +3833,11 @@ const EditorOptions = {
|
|
|
3816
3833
|
['tree', 'editor'],
|
|
3817
3834
|
{
|
|
3818
3835
|
enumDescriptions: [
|
|
3819
|
-
( localize(
|
|
3820
|
-
( localize(
|
|
3836
|
+
( localize(576, "Focus the tree when opening peek")),
|
|
3837
|
+
( localize(577, "Focus the editor when opening peek"))
|
|
3821
3838
|
],
|
|
3822
3839
|
description: ( localize(
|
|
3823
|
-
|
|
3840
|
+
578,
|
|
3824
3841
|
"Controls whether to focus the inline editor or the tree in the peek widget."
|
|
3825
3842
|
))
|
|
3826
3843
|
}
|
|
@@ -3831,7 +3848,7 @@ const EditorOptions = {
|
|
|
3831
3848
|
'definitionLinkOpensInPeek',
|
|
3832
3849
|
false,
|
|
3833
3850
|
{ description: ( localize(
|
|
3834
|
-
|
|
3851
|
+
579,
|
|
3835
3852
|
"Controls whether the Go to Definition mouse gesture always opens the peek widget."
|
|
3836
3853
|
)) }
|
|
3837
3854
|
))),
|
|
@@ -3843,7 +3860,7 @@ const EditorOptions = {
|
|
|
3843
3860
|
0,
|
|
3844
3861
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3845
3862
|
{ description: ( localize(
|
|
3846
|
-
|
|
3863
|
+
580,
|
|
3847
3864
|
"Controls the delay in milliseconds after which quick suggestions will show up."
|
|
3848
3865
|
)) }
|
|
3849
3866
|
))),
|
|
@@ -3853,20 +3870,20 @@ const EditorOptions = {
|
|
|
3853
3870
|
EditorOption.renameOnType,
|
|
3854
3871
|
'renameOnType',
|
|
3855
3872
|
false,
|
|
3856
|
-
{ description: ( localize(
|
|
3873
|
+
{ description: ( localize(581, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localize(582, "Deprecated, use `editor.linkedEditing` instead.")) }
|
|
3857
3874
|
))),
|
|
3858
3875
|
renderControlCharacters: register(( new EditorBooleanOption(
|
|
3859
3876
|
EditorOption.renderControlCharacters,
|
|
3860
3877
|
'renderControlCharacters',
|
|
3861
3878
|
true,
|
|
3862
|
-
{ description: ( localize(
|
|
3879
|
+
{ description: ( localize(583, "Controls whether the editor should render control characters.")), restricted: true }
|
|
3863
3880
|
))),
|
|
3864
3881
|
renderFinalNewline: register(( new EditorStringEnumOption(
|
|
3865
3882
|
EditorOption.renderFinalNewline,
|
|
3866
3883
|
'renderFinalNewline',
|
|
3867
3884
|
(isLinux ? 'dimmed' : 'on'),
|
|
3868
3885
|
['off', 'on', 'dimmed'],
|
|
3869
|
-
{ description: ( localize(
|
|
3886
|
+
{ description: ( localize(584, "Render last line number when the file ends with a newline.")) }
|
|
3870
3887
|
))),
|
|
3871
3888
|
renderLineHighlight: register(( new EditorStringEnumOption(
|
|
3872
3889
|
EditorOption.renderLineHighlight,
|
|
@@ -3878,9 +3895,9 @@ const EditorOptions = {
|
|
|
3878
3895
|
'',
|
|
3879
3896
|
'',
|
|
3880
3897
|
'',
|
|
3881
|
-
( localize(
|
|
3898
|
+
( localize(585, "Highlights both the gutter and the current line.")),
|
|
3882
3899
|
],
|
|
3883
|
-
description: ( localize(
|
|
3900
|
+
description: ( localize(586, "Controls how the editor should render the current line highlight."))
|
|
3884
3901
|
}
|
|
3885
3902
|
))),
|
|
3886
3903
|
renderLineHighlightOnlyWhenFocus: register(( new EditorBooleanOption(
|
|
@@ -3888,7 +3905,7 @@ const EditorOptions = {
|
|
|
3888
3905
|
'renderLineHighlightOnlyWhenFocus',
|
|
3889
3906
|
false,
|
|
3890
3907
|
{ description: ( localize(
|
|
3891
|
-
|
|
3908
|
+
587,
|
|
3892
3909
|
"Controls if the editor should render the current line highlight only when the editor is focused."
|
|
3893
3910
|
)) }
|
|
3894
3911
|
))),
|
|
@@ -3907,14 +3924,14 @@ const EditorOptions = {
|
|
|
3907
3924
|
enumDescriptions: [
|
|
3908
3925
|
'',
|
|
3909
3926
|
( localize(
|
|
3910
|
-
|
|
3927
|
+
588,
|
|
3911
3928
|
"Render whitespace characters except for single spaces between words."
|
|
3912
3929
|
)),
|
|
3913
|
-
( localize(
|
|
3914
|
-
( localize(
|
|
3930
|
+
( localize(589, "Render whitespace characters only on selected text.")),
|
|
3931
|
+
( localize(590, "Render only trailing whitespace characters.")),
|
|
3915
3932
|
''
|
|
3916
3933
|
],
|
|
3917
|
-
description: ( localize(
|
|
3934
|
+
description: ( localize(591, "Controls how the editor should render whitespace characters."))
|
|
3918
3935
|
}
|
|
3919
3936
|
))),
|
|
3920
3937
|
revealHorizontalRightPadding: register(( new EditorIntOption(
|
|
@@ -3928,7 +3945,7 @@ const EditorOptions = {
|
|
|
3928
3945
|
EditorOption.roundedSelection,
|
|
3929
3946
|
'roundedSelection',
|
|
3930
3947
|
true,
|
|
3931
|
-
{ description: ( localize(
|
|
3948
|
+
{ description: ( localize(592, "Controls whether selections should have rounded corners.")) }
|
|
3932
3949
|
))),
|
|
3933
3950
|
rulers: register(( new EditorRulers())),
|
|
3934
3951
|
scrollbar: register(( new EditorScrollbar())),
|
|
@@ -3939,7 +3956,7 @@ const EditorOptions = {
|
|
|
3939
3956
|
0,
|
|
3940
3957
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3941
3958
|
{ description: ( localize(
|
|
3942
|
-
|
|
3959
|
+
593,
|
|
3943
3960
|
"Controls the number of extra characters beyond which the editor will scroll horizontally."
|
|
3944
3961
|
)) }
|
|
3945
3962
|
))),
|
|
@@ -3947,19 +3964,19 @@ const EditorOptions = {
|
|
|
3947
3964
|
EditorOption.scrollBeyondLastLine,
|
|
3948
3965
|
'scrollBeyondLastLine',
|
|
3949
3966
|
true,
|
|
3950
|
-
{ description: ( localize(
|
|
3967
|
+
{ description: ( localize(594, "Controls whether the editor will scroll beyond the last line.")) }
|
|
3951
3968
|
))),
|
|
3952
3969
|
scrollPredominantAxis: register(( new EditorBooleanOption(
|
|
3953
3970
|
EditorOption.scrollPredominantAxis,
|
|
3954
3971
|
'scrollPredominantAxis',
|
|
3955
3972
|
true,
|
|
3956
3973
|
{ description: ( localize(
|
|
3957
|
-
|
|
3974
|
+
595,
|
|
3958
3975
|
"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."
|
|
3959
3976
|
)) }
|
|
3960
3977
|
))),
|
|
3961
3978
|
selectionClipboard: register(( new EditorBooleanOption(EditorOption.selectionClipboard, 'selectionClipboard', true, {
|
|
3962
|
-
description: ( localize(
|
|
3979
|
+
description: ( localize(596, "Controls whether the Linux primary clipboard should be supported.")),
|
|
3963
3980
|
included: isLinux
|
|
3964
3981
|
}))),
|
|
3965
3982
|
selectionHighlight: register(( new EditorBooleanOption(
|
|
@@ -3967,7 +3984,7 @@ const EditorOptions = {
|
|
|
3967
3984
|
'selectionHighlight',
|
|
3968
3985
|
true,
|
|
3969
3986
|
{ description: ( localize(
|
|
3970
|
-
|
|
3987
|
+
597,
|
|
3971
3988
|
"Controls whether the editor should highlight matches similar to the selection."
|
|
3972
3989
|
)) }
|
|
3973
3990
|
))),
|
|
@@ -3979,19 +3996,19 @@ const EditorOptions = {
|
|
|
3979
3996
|
['always', 'never', 'mouseover'],
|
|
3980
3997
|
{
|
|
3981
3998
|
enumDescriptions: [
|
|
3982
|
-
( localize(
|
|
3983
|
-
( localize(
|
|
3984
|
-
( localize(
|
|
3999
|
+
( localize(598, "Always show the folding controls.")),
|
|
4000
|
+
( localize(599, "Never show the folding controls and reduce the gutter size.")),
|
|
4001
|
+
( localize(600, "Only show the folding controls when the mouse is over the gutter.")),
|
|
3985
4002
|
],
|
|
3986
|
-
description: ( localize(
|
|
4003
|
+
description: ( localize(601, "Controls when the folding controls on the gutter are shown."))
|
|
3987
4004
|
}
|
|
3988
4005
|
))),
|
|
3989
|
-
showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(
|
|
4006
|
+
showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(602, "Controls fading out of unused code.")) }))),
|
|
3990
4007
|
showDeprecated: register(( new EditorBooleanOption(
|
|
3991
4008
|
EditorOption.showDeprecated,
|
|
3992
4009
|
'showDeprecated',
|
|
3993
4010
|
true,
|
|
3994
|
-
{ description: ( localize(
|
|
4011
|
+
{ description: ( localize(603, "Controls strikethrough deprecated variables.")) }
|
|
3995
4012
|
))),
|
|
3996
4013
|
inlayHints: register(( new EditorInlayHints())),
|
|
3997
4014
|
snippetSuggestions: register(( new EditorStringEnumOption(
|
|
@@ -4001,13 +4018,13 @@ const EditorOptions = {
|
|
|
4001
4018
|
['top', 'bottom', 'inline', 'none'],
|
|
4002
4019
|
{
|
|
4003
4020
|
enumDescriptions: [
|
|
4004
|
-
( localize(
|
|
4005
|
-
( localize(
|
|
4006
|
-
( localize(
|
|
4007
|
-
( localize(
|
|
4021
|
+
( localize(604, "Show snippet suggestions on top of other suggestions.")),
|
|
4022
|
+
( localize(605, "Show snippet suggestions below other suggestions.")),
|
|
4023
|
+
( localize(606, "Show snippets suggestions with other suggestions.")),
|
|
4024
|
+
( localize(607, "Do not show snippet suggestions.")),
|
|
4008
4025
|
],
|
|
4009
4026
|
description: ( localize(
|
|
4010
|
-
|
|
4027
|
+
608,
|
|
4011
4028
|
"Controls whether snippets are shown with other suggestions and how they are sorted."
|
|
4012
4029
|
))
|
|
4013
4030
|
}
|
|
@@ -4017,7 +4034,7 @@ const EditorOptions = {
|
|
|
4017
4034
|
EditorOption.smoothScrolling,
|
|
4018
4035
|
'smoothScrolling',
|
|
4019
4036
|
false,
|
|
4020
|
-
{ description: ( localize(
|
|
4037
|
+
{ description: ( localize(609, "Controls whether the editor will scroll using an animation.")) }
|
|
4021
4038
|
))),
|
|
4022
4039
|
stopRenderingLineAfter: register(( new EditorIntOption(
|
|
4023
4040
|
EditorOption.stopRenderingLineAfter,
|
|
@@ -4033,7 +4050,7 @@ const EditorOptions = {
|
|
|
4033
4050
|
'inlineCompletionsAccessibilityVerbose',
|
|
4034
4051
|
false,
|
|
4035
4052
|
{ description: ( localize(
|
|
4036
|
-
|
|
4053
|
+
610,
|
|
4037
4054
|
"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
|
|
4038
4055
|
)) }
|
|
4039
4056
|
))),
|
|
@@ -4044,7 +4061,7 @@ const EditorOptions = {
|
|
|
4044
4061
|
0,
|
|
4045
4062
|
1000,
|
|
4046
4063
|
{ markdownDescription: ( localize(
|
|
4047
|
-
|
|
4064
|
+
611,
|
|
4048
4065
|
"Font size for the suggest widget. When set to {0}, the value of {1} is used.",
|
|
4049
4066
|
'`0`',
|
|
4050
4067
|
'`#editor.fontSize#`'
|
|
@@ -4057,7 +4074,7 @@ const EditorOptions = {
|
|
|
4057
4074
|
0,
|
|
4058
4075
|
1000,
|
|
4059
4076
|
{ markdownDescription: ( localize(
|
|
4060
|
-
|
|
4077
|
+
612,
|
|
4061
4078
|
"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
|
|
4062
4079
|
'`0`',
|
|
4063
4080
|
'`#editor.lineHeight#`'
|
|
@@ -4068,7 +4085,7 @@ const EditorOptions = {
|
|
|
4068
4085
|
'suggestOnTriggerCharacters',
|
|
4069
4086
|
true,
|
|
4070
4087
|
{ description: ( localize(
|
|
4071
|
-
|
|
4088
|
+
613,
|
|
4072
4089
|
"Controls whether suggestions should automatically show up when typing trigger characters."
|
|
4073
4090
|
)) }
|
|
4074
4091
|
))),
|
|
@@ -4079,18 +4096,18 @@ const EditorOptions = {
|
|
|
4079
4096
|
['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
|
|
4080
4097
|
{
|
|
4081
4098
|
markdownEnumDescriptions: [
|
|
4082
|
-
( localize(
|
|
4099
|
+
( localize(614, "Always select the first suggestion.")),
|
|
4083
4100
|
( localize(
|
|
4084
|
-
|
|
4101
|
+
615,
|
|
4085
4102
|
"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
|
|
4086
4103
|
)),
|
|
4087
4104
|
( localize(
|
|
4088
|
-
|
|
4105
|
+
616,
|
|
4089
4106
|
"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
|
|
4090
4107
|
)),
|
|
4091
4108
|
],
|
|
4092
4109
|
description: ( localize(
|
|
4093
|
-
|
|
4110
|
+
617,
|
|
4094
4111
|
"Controls how suggestions are pre-selected when showing the suggest list."
|
|
4095
4112
|
))
|
|
4096
4113
|
}
|
|
@@ -4103,16 +4120,16 @@ const EditorOptions = {
|
|
|
4103
4120
|
{
|
|
4104
4121
|
enumDescriptions: [
|
|
4105
4122
|
( localize(
|
|
4106
|
-
|
|
4123
|
+
618,
|
|
4107
4124
|
"Tab complete will insert the best matching suggestion when pressing tab."
|
|
4108
4125
|
)),
|
|
4109
|
-
( localize(
|
|
4126
|
+
( localize(619, "Disable tab completions.")),
|
|
4110
4127
|
( localize(
|
|
4111
|
-
|
|
4128
|
+
620,
|
|
4112
4129
|
"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
|
|
4113
4130
|
)),
|
|
4114
4131
|
],
|
|
4115
|
-
description: ( localize(
|
|
4132
|
+
description: ( localize(621, "Enables tab completions."))
|
|
4116
4133
|
}
|
|
4117
4134
|
))),
|
|
4118
4135
|
tabIndex: register(( new EditorIntOption(EditorOption.tabIndex, 'tabIndex', 0, -1, Constants.MAX_SAFE_SMALL_INTEGER))),
|
|
@@ -4124,11 +4141,11 @@ const EditorOptions = {
|
|
|
4124
4141
|
['auto', 'off', 'prompt'],
|
|
4125
4142
|
{
|
|
4126
4143
|
enumDescriptions: [
|
|
4127
|
-
( localize(
|
|
4128
|
-
( localize(
|
|
4129
|
-
( localize(
|
|
4144
|
+
( localize(622, "Unusual line terminators are automatically removed.")),
|
|
4145
|
+
( localize(623, "Unusual line terminators are ignored.")),
|
|
4146
|
+
( localize(624, "Unusual line terminators prompt to be removed.")),
|
|
4130
4147
|
],
|
|
4131
|
-
description: ( localize(
|
|
4148
|
+
description: ( localize(625, "Remove unusual line terminators that might cause problems."))
|
|
4132
4149
|
}
|
|
4133
4150
|
))),
|
|
4134
4151
|
useShadowDOM: register(( new EditorBooleanOption(EditorOption.useShadowDOM, 'useShadowDOM', true))),
|
|
@@ -4137,20 +4154,20 @@ const EditorOptions = {
|
|
|
4137
4154
|
'useTabStops',
|
|
4138
4155
|
true,
|
|
4139
4156
|
{ description: ( localize(
|
|
4140
|
-
|
|
4157
|
+
626,
|
|
4141
4158
|
"Spaces and tabs are inserted and deleted in alignment with tab stops."
|
|
4142
4159
|
)) }
|
|
4143
4160
|
))),
|
|
4144
4161
|
wordBreak: register(( new EditorStringEnumOption(EditorOption.wordBreak, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
4145
4162
|
markdownEnumDescriptions: [
|
|
4146
|
-
( localize(
|
|
4163
|
+
( localize(627, "Use the default line break rule.")),
|
|
4147
4164
|
( localize(
|
|
4148
|
-
|
|
4165
|
+
628,
|
|
4149
4166
|
"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
|
|
4150
4167
|
)),
|
|
4151
4168
|
],
|
|
4152
4169
|
description: ( localize(
|
|
4153
|
-
|
|
4170
|
+
629,
|
|
4154
4171
|
"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
|
|
4155
4172
|
))
|
|
4156
4173
|
}))),
|
|
@@ -4160,7 +4177,7 @@ const EditorOptions = {
|
|
|
4160
4177
|
'wordSeparators',
|
|
4161
4178
|
USUAL_WORD_SEPARATORS,
|
|
4162
4179
|
{ description: ( localize(
|
|
4163
|
-
|
|
4180
|
+
630,
|
|
4164
4181
|
"Characters that will be used as word separators when doing word related navigations or operations."
|
|
4165
4182
|
)) }
|
|
4166
4183
|
))),
|
|
@@ -4171,15 +4188,15 @@ const EditorOptions = {
|
|
|
4171
4188
|
['off', 'on', 'wordWrapColumn', 'bounded'],
|
|
4172
4189
|
{
|
|
4173
4190
|
markdownEnumDescriptions: [
|
|
4174
|
-
( localize(
|
|
4175
|
-
( localize(
|
|
4176
|
-
( localize(
|
|
4191
|
+
( localize(631, "Lines will never wrap.")),
|
|
4192
|
+
( localize(632, "Lines will wrap at the viewport width.")),
|
|
4193
|
+
( localize(633, "Lines will wrap at `#editor.wordWrapColumn#`.")),
|
|
4177
4194
|
( localize(
|
|
4178
|
-
|
|
4195
|
+
634,
|
|
4179
4196
|
"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
|
|
4180
4197
|
)),
|
|
4181
4198
|
],
|
|
4182
|
-
description: ( localize(
|
|
4199
|
+
description: ( localize(635, "Controls how lines should wrap."))
|
|
4183
4200
|
}
|
|
4184
4201
|
))),
|
|
4185
4202
|
wordWrapBreakAfterCharacters: register(( new EditorStringOption(
|
|
@@ -4200,7 +4217,7 @@ const EditorOptions = {
|
|
|
4200
4217
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4201
4218
|
{
|
|
4202
4219
|
markdownDescription: ( localize(
|
|
4203
|
-
|
|
4220
|
+
636,
|
|
4204
4221
|
"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
|
|
4205
4222
|
))
|
|
4206
4223
|
}
|
|
@@ -4227,14 +4244,14 @@ const EditorOptions = {
|
|
|
4227
4244
|
{
|
|
4228
4245
|
enumDescriptions: [
|
|
4229
4246
|
( localize(
|
|
4230
|
-
|
|
4247
|
+
637,
|
|
4231
4248
|
"Show default color decorators only when no extension provides colors decorators."
|
|
4232
4249
|
)),
|
|
4233
|
-
( localize(
|
|
4234
|
-
( localize(
|
|
4250
|
+
( localize(638, "Always show default color decorators.")),
|
|
4251
|
+
( localize(639, "Never show default color decorators.")),
|
|
4235
4252
|
],
|
|
4236
4253
|
description: ( localize(
|
|
4237
|
-
|
|
4254
|
+
640,
|
|
4238
4255
|
"Controls whether inline color decorations should be shown using the default document color provider."
|
|
4239
4256
|
))
|
|
4240
4257
|
}
|
|
@@ -4245,7 +4262,7 @@ const EditorOptions = {
|
|
|
4245
4262
|
'tabFocusMode',
|
|
4246
4263
|
false,
|
|
4247
4264
|
{ markdownDescription: ( localize(
|
|
4248
|
-
|
|
4265
|
+
641,
|
|
4249
4266
|
"Controls whether the editor receives tabs or defers them to the workbench for navigation."
|
|
4250
4267
|
)) }
|
|
4251
4268
|
))),
|