@codingame/monaco-vscode-api 19.1.4 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +141 -54
- package/package.json +8 -8
- package/services.d.ts +5 -5
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/dom.d.ts +7 -5
- package/vscode/src/vs/base/browser/dom.js +21 -132
- package/vscode/src/vs/base/browser/domSanitize.d.ts +28 -0
- package/vscode/src/vs/base/browser/domSanitize.js +175 -0
- package/vscode/src/vs/base/browser/formattedTextRenderer.d.ts +2 -5
- package/vscode/src/vs/base/browser/formattedTextRenderer.js +13 -20
- package/vscode/src/vs/base/browser/markdownRenderer.d.ts +23 -13
- package/vscode/src/vs/base/browser/markdownRenderer.js +155 -126
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +9 -11
- package/vscode/src/vs/base/browser/ui/button/button.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/button/button.js +24 -15
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +5 -10
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css +9 -0
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +3 -21
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +7 -7
- package/vscode/src/vs/base/browser/ui/list/listPaging.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/abstractScrollbar.js +9 -5
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +48 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElementOptions.d.ts +2 -0
- package/vscode/src/vs/base/browser/ui/toggle/toggle.css +0 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.d.ts +22 -12
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +93 -33
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.d.ts +3 -0
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +3 -0
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.d.ts +3 -1
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +19 -17
- package/vscode/src/vs/base/browser/webWorkerFactory.d.ts +1 -1
- package/vscode/src/vs/base/browser/webWorkerFactory.js +3 -2
- package/vscode/src/vs/base/common/arrays.js +4 -1
- package/vscode/src/vs/base/common/arraysFind.d.ts +1 -0
- package/vscode/src/vs/base/common/async.d.ts +26 -0
- package/vscode/src/vs/base/common/async.js +103 -1
- 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/lifecycle.js +4 -0
- package/vscode/src/vs/base/common/marshallingIds.d.ts +3 -1
- package/vscode/src/vs/base/common/marshallingIds.js +2 -0
- package/vscode/src/vs/base/common/network.d.ts +2 -1
- package/vscode/src/vs/base/common/network.js +2 -1
- package/vscode/src/vs/base/common/oauth.d.ts +2 -8
- package/vscode/src/vs/base/common/oauth.js +6 -27
- package/vscode/src/vs/base/common/observableInternal/changeTracker.d.ts +10 -0
- package/vscode/src/vs/base/common/observableInternal/changeTracker.js +33 -1
- package/vscode/src/vs/base/common/observableInternal/index.d.ts +2 -2
- package/vscode/src/vs/base/common/observableInternal/logging/debugger/devToolsLogger.js +22 -1
- package/vscode/src/vs/base/common/observableInternal/map.d.ts +24 -0
- package/vscode/src/vs/base/common/observableInternal/map.js +63 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +8 -0
- package/vscode/src/vs/base/common/platform.js +1 -1
- package/vscode/src/vs/base/common/product.d.ts +19 -7
- package/vscode/src/vs/base/common/strings.d.ts +1 -0
- package/vscode/src/vs/base/common/strings.js +16 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +4 -4
- package/vscode/src/vs/editor/browser/config/migrateOptions.js +1 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.d.ts +48 -0
- package/vscode/src/vs/editor/browser/controller/dragScrolling.js +182 -0
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.d.ts +3 -5
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +30 -73
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.d.ts +35 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +329 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.d.ts +31 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +176 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.d.ts +12 -12
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +50 -88
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderUtils.d.ts +11 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.d.ts +9 -12
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +22 -11
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +5 -21
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextInput.js +23 -2
- package/vscode/src/vs/editor/browser/controller/editContext/textArea/textAreaEditContextState.d.ts +2 -2
- package/vscode/src/vs/editor/browser/controller/mouseHandler.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +31 -114
- package/vscode/src/vs/editor/browser/controller/mouseTarget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +26 -7
- package/vscode/src/vs/editor/browser/coreCommands.d.ts +3 -3
- package/vscode/src/vs/editor/browser/editorBrowser.d.ts +1 -1
- package/vscode/src/vs/editor/browser/editorExtensions.d.ts +2 -2
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +1 -1
- package/vscode/src/vs/editor/browser/gpu/taskQueue.d.ts +5 -2
- package/vscode/src/vs/editor/browser/gpu/taskQueue.js +11 -4
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/vscode/src/vs/editor/browser/services/bulkEditService.d.ts +2 -2
- package/vscode/src/vs/editor/browser/services/editorWorkerService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +33 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +6 -0
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.d.ts +4 -1
- package/vscode/src/vs/editor/browser/services/inlineCompletionsService.js +13 -2
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.d.ts +1 -1
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +1 -1
- package/vscode/src/vs/editor/browser/view/renderingContext.d.ts +2 -1
- package/vscode/src/vs/editor/browser/view/viewUserInputEvents.d.ts +1 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +4 -3
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +2 -0
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.css +8 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.d.ts +3 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +44 -13
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +7 -2
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +9 -4
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLine.js +43 -35
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +2 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.css +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.d.ts +1 -0
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLines.js +21 -4
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.d.ts +3 -3
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +4 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.d.ts +3 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +9 -3
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.d.ts +2 -2
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +4 -4
- package/vscode/src/vs/editor/common/commands/surroundSelectionCommand.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +21 -6
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +178 -162
- package/vscode/src/vs/editor/common/config/editorOptions.js +592 -495
- package/vscode/src/vs/editor/common/coordinatesConverter.d.ts +30 -0
- package/vscode/src/vs/editor/common/coordinatesConverter.js +56 -0
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/edits/edit.d.ts +3 -3
- package/vscode/src/vs/editor/common/core/edits/lineEdit.d.ts +2 -2
- package/vscode/src/vs/editor/common/core/edits/lineEdit.js +14 -14
- package/vscode/src/vs/editor/common/core/edits/stringEdit.d.ts +11 -4
- package/vscode/src/vs/editor/common/core/edits/stringEdit.js +36 -12
- package/vscode/src/vs/editor/common/core/edits/textEdit.d.ts +3 -0
- package/vscode/src/vs/editor/common/core/edits/textEdit.js +20 -0
- package/vscode/src/vs/editor/common/core/text/abstractText.d.ts +2 -0
- package/vscode/src/vs/editor/common/core/text/abstractText.js +3 -0
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.d.ts +1 -1
- package/vscode/src/vs/editor/common/core/text/positionToOffsetImpl.js +2 -2
- package/vscode/src/vs/editor/common/cursor/cursor.d.ts +4 -4
- package/vscode/src/vs/editor/common/cursor/cursor.js +9 -9
- package/vscode/src/vs/editor/common/cursor/cursorContext.d.ts +1 -1
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.d.ts +2 -1
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.js +28 -13
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +15 -6
- package/vscode/src/vs/editor/common/cursorCommon.d.ts +1 -0
- package/vscode/src/vs/editor/common/cursorCommon.js +2 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/defaultDocumentColorsComputer.js +3 -3
- package/vscode/src/vs/editor/common/languages/linkComputer.js +1 -4
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +19 -0
- package/vscode/src/vs/editor/common/languages.js +83 -57
- package/vscode/src/vs/editor/common/model/editStack.d.ts +2 -2
- package/vscode/src/vs/editor/common/model/editStack.js +3 -3
- package/vscode/src/vs/editor/common/model/textModel.d.ts +7 -6
- package/vscode/src/vs/editor/common/model/textModel.js +5 -4
- package/vscode/src/vs/editor/common/model.d.ts +6 -1
- package/vscode/src/vs/editor/common/model.js +6 -1
- package/vscode/src/vs/editor/common/modelLineProjectionData.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/editorWebWorker.d.ts +1 -1
- package/vscode/src/vs/editor/common/services/model.service.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/modelService.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/modelService.js +2 -2
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +172 -160
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +174 -161
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +151 -0
- package/vscode/src/vs/editor/common/{textModelEditReason.js → textModelEditSource.js} +44 -23
- package/vscode/src/vs/editor/common/textModelEvents.d.ts +2 -2
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.d.ts +8 -5
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +29 -29
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.d.ts +2 -1
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.d.ts +21 -0
- package/vscode/src/vs/editor/common/viewModel/inlineDecorations.js +30 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +2 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.d.ts +1 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +11 -3
- package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +10 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecoration.d.ts +11 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecoration.js +49 -0
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.d.ts +7 -11
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +5 -43
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.d.ts +7 -4
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +32 -9
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.d.ts +4 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +5 -55
- package/vscode/src/vs/editor/common/viewModel.d.ts +8 -34
- package/vscode/src/vs/editor/common/viewModel.js +3 -35
- 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 +44 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +8 -7
- 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 +5 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.d.ts +0 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +0 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +4 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -19
- 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.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +54 -29
- 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 +4 -4
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
- 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.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +31 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +6 -3
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +7 -2
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +6 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.d.ts +4 -4
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.d.ts +1 -2
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +18 -19
- 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 +17 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.d.ts +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -20
- 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 +12 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +22 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/ghostText.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.d.ts +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +107 -83
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +31 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +27 -16
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +6 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +11 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.d.ts +32 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/typingSpeed.js +145 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +2 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +14 -9
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +3 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsCustomView.js +42 -20
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsInsertionView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsLineReplacementView.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/vscode/src/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.d.ts +5 -0
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +105 -33
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.d.ts +2 -0
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +34 -28
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +13 -13
- 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.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.d.ts +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +2 -2
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +5 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +13 -13
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.d.ts +6 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +30 -30
- 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 +9 -6
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/vscode/src/vs/editor/editor.worker.start.d.ts +1 -1
- package/vscode/src/vs/editor/editor.worker.start.js +26 -18
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.d.ts +2 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -0
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +1 -0
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.d.ts +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.d.ts +3 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +45 -8
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +20 -1
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.d.ts +5 -5
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.js +6 -3
- package/vscode/src/vs/platform/actions/common/actions.d.ts +4 -3
- package/vscode/src/vs/platform/actions/common/actions.js +4 -3
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.d.ts +1 -1
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +12 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.d.ts +5 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +20 -10
- package/vscode/src/vs/platform/configuration/common/configurations.js +2 -2
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/diagnostics/common/diagnostics.d.ts +1 -1
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.d.ts +1 -0
- package/vscode/src/vs/platform/dnd/browser/dnd.js +2 -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 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.d.ts +62 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.js +55 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionGalleryManifest.service.d.ts +3 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +21 -0
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +21 -0
- 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/imageResize/common/imageResizeService.service.d.ts +5 -0
- package/vscode/src/vs/platform/imageResize/common/imageResizeService.service.js +6 -0
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.service.d.ts +1 -1
- package/vscode/src/vs/platform/list/browser/listService.js +27 -27
- package/vscode/src/vs/platform/log/common/log.js +6 -6
- package/vscode/src/vs/platform/markers/common/markerService.js +2 -2
- package/vscode/src/vs/platform/markers/common/markers.js +6 -6
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +8 -0
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.js +2 -1
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.d.ts +1 -0
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +20 -9
- package/vscode/src/vs/platform/opener/browser/link.js +1 -4
- package/vscode/src/vs/platform/policy/common/policy.d.ts +2 -2
- package/vscode/src/vs/platform/policy/common/policy.service.d.ts +1 -1
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css +81 -14
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +10 -7
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +19 -14
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +38 -11
- package/vscode/src/vs/platform/quickinput/browser/{quickInputTree.d.ts → quickInputList.d.ts} +1 -1
- package/vscode/src/vs/platform/quickinput/browser/{quickInputTree.js → quickInputList.js} +9 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.d.ts +2 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +3 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputDelegate.js +13 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.d.ts +9 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTree.js +35 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.d.ts +13 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +33 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +42 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +296 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.d.ts +10 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeFilter.js +39 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.d.ts +33 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +148 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.d.ts +53 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +189 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +46 -2
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +1 -0
- package/vscode/src/vs/platform/quickinput/common/quickInput.service.d.ts +2 -1
- package/vscode/src/vs/platform/request/common/request.js +18 -18
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/environmentVariableShared.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -5
- package/vscode/src/vs/platform/terminal/common/terminal.service.d.ts +2 -4
- package/vscode/src/vs/platform/terminal/common/terminalProcess.d.ts +1 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.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 +95 -95
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +15 -15
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +6 -6
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +1 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.d.ts +12 -2
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +14 -6
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.service.d.ts +2 -1
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +64 -9
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +102 -41
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -2
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +98 -27
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +22 -4
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +24 -5
- package/vscode/src/vs/workbench/api/common/extHostChatOutputRenderer.d.ts +14 -0
- package/vscode/src/vs/workbench/api/common/extHostChatOutputRenderer.js +32 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +35 -0
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +222 -0
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDataChannels.d.ts +15 -0
- package/vscode/src/vs/workbench/api/common/extHostDataChannels.js +44 -0
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +32 -34
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.d.ts +12 -15
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +127 -120
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +40 -25
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +1 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +28 -10
- package/vscode/src/vs/workbench/api/common/extHostSecretState.d.ts +1 -0
- package/vscode/src/vs/workbench/api/common/extHostSecretState.js +3 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTask.d.ts +3 -0
- package/vscode/src/vs/workbench/api/common/extHostTask.js +12 -1
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.d.ts +8 -8
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +203 -198
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +19 -8
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +211 -33
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +77 -13
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +69 -11
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- 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.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +24 -10
- package/vscode/src/vs/workbench/browser/contextkeys.js +10 -5
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.service.d.ts +1 -1
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +87 -78
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.d.ts +32 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +180 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.d.ts +12 -0
- package/vscode/src/vs/workbench/common/editor/diffEditorModel.js +26 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/editorModel.d.ts +10 -0
- package/vscode/src/vs/workbench/common/editor/editorModel.js +27 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.d.ts +51 -0
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +303 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.d.ts +18 -0
- package/vscode/src/vs/workbench/common/editor/textDiffEditorModel.js +45 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.d.ts +47 -0
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +181 -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.d.ts +2 -2
- package/vscode/src/vs/workbench/common/theme.js +161 -161
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +164 -156
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +4 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatContentParts.d.ts +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownAnchorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContextPickService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +5 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.service.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatOutputItemRenderer.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +5 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +59 -48
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEntitlementService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +81 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.js +7 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +6 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +48 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +22 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.d.ts +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatTodoListService.service.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatWidgetHistoryService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +4 -1
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +32 -11
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +8 -5
- 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 +47 -17
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +147 -65
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.service.d.ts +9 -7
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.d.ts +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +6 -0
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +17 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +203 -0
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -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.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.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +12 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +11 -11
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +65 -65
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +4 -2
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +5 -5
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.d.ts +7 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpRegistryTypes.service.d.ts +5 -4
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -9
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +28 -10
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiff.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/quickDiffService.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +3 -3
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +9 -9
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +29 -29
- package/vscode/src/vs/workbench/contrib/tasks/common/constants.js +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +9 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/quickFix/browser/quickFix.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/browser/terminalCompletionService.service.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.service.d.ts +2 -2
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.d.ts +2 -0
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +8 -10
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.service.js +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/dynamicAuthenticationProviderStorage.service.d.ts +5 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/coreExperimentation/common/coreExperimentationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.d.ts +7 -0
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.service.d.ts +8 -0
- package/vscode/src/vs/workbench/services/dataChannel/common/dataChannel.service.js +6 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/editor/common/editorService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +10 -13
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +2 -5
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +100 -84
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/host/browser/host.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.d.ts +61 -0
- package/vscode/src/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.js +7 -0
- package/vscode/src/vs/workbench/services/localization/common/locale.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +1 -1
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.d.ts +11 -8
- package/vscode/src/vs/workbench/services/mcp/common/mcpWorkbenchManagementService.service.js +3 -2
- package/vscode/src/vs/workbench/services/outline/browser/outline.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/preferences/common/preferences.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +8 -8
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +6 -6
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +1 -1
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +1 -0
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +22 -22
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +13 -13
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +13 -13
- 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 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyEditorService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.service.d.ts +1 -1
- package/vscode-dts/vscode.d.ts +5 -5
- package/vscode-dts/vscode.proposed.chatOutputRenderer.d.ts +86 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +142 -5
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +25 -19
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +2 -103
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +129 -0
- package/vscode-dts/vscode.proposed.d.ts +7 -0
- package/vscode-dts/vscode.proposed.dataChannels.d.ts +19 -0
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +2 -0
- package/vscode-dts/vscode.proposed.languageModelToolResultAudience.d.ts +25 -0
- package/vscode-dts/vscode.proposed.scmProviderOptions.d.ts +39 -0
- package/vscode-dts/vscode.proposed.secretStorageKeys.d.ts +16 -0
- package/vscode-dts/vscode.proposed.taskExecutionTerminal.d.ts +15 -0
- package/workbench.d.ts +1 -1
- package/workers/editor.worker.js +17 -16
- package/vscode/src/vs/base/common/policy.d.ts +0 -8
- package/vscode/src/vs/editor/common/textModelEditReason.d.ts +0 -98
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +0 -33
|
@@ -186,13 +186,17 @@ class EditorFloatOption extends SimpleEditorOption {
|
|
|
186
186
|
const r = parseFloat(value);
|
|
187
187
|
return (isNaN(r) ? defaultValue : r);
|
|
188
188
|
}
|
|
189
|
-
constructor(id, name, defaultValue, validationFn, schema) {
|
|
189
|
+
constructor(id, name, defaultValue, validationFn, schema, minimum, maximum) {
|
|
190
190
|
if (typeof schema !== 'undefined') {
|
|
191
191
|
schema.type = 'number';
|
|
192
192
|
schema.default = defaultValue;
|
|
193
|
+
schema.minimum = minimum;
|
|
194
|
+
schema.maximum = maximum;
|
|
193
195
|
}
|
|
194
196
|
super(id, name, defaultValue, schema);
|
|
195
197
|
this.validationFn = validationFn;
|
|
198
|
+
this.minimum = minimum;
|
|
199
|
+
this.maximum = maximum;
|
|
196
200
|
}
|
|
197
201
|
validate(input) {
|
|
198
202
|
return this.validationFn(EditorFloatOption.float(input, this.defaultValue));
|
|
@@ -1166,7 +1170,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1166
1170
|
let isWordWrapMinified = false;
|
|
1167
1171
|
let isViewportWrapping = false;
|
|
1168
1172
|
let wrappingColumn = -1;
|
|
1169
|
-
if (wordWrapOverride1 === 'inherit' && isDominatedByLongLines) {
|
|
1173
|
+
if (options.get(EditorOption.accessibilitySupport) === AccessibilitySupport.Enabled && wordWrapOverride1 === 'inherit' && isDominatedByLongLines) {
|
|
1170
1174
|
isWordWrapMinified = true;
|
|
1171
1175
|
isViewportWrapping = true;
|
|
1172
1176
|
}
|
|
@@ -1458,7 +1462,7 @@ class EditorLineHeight extends EditorFloatOption {
|
|
|
1458
1462
|
super(EditorOption.lineHeight, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localize(
|
|
1459
1463
|
340,
|
|
1460
1464
|
"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."
|
|
1461
|
-
)) });
|
|
1465
|
+
)) }, 0, 150);
|
|
1462
1466
|
}
|
|
1463
1467
|
compute(env, options, value) {
|
|
1464
1468
|
return env.fontInfo.lineHeight;
|
|
@@ -1471,7 +1475,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1471
1475
|
size: 'proportional',
|
|
1472
1476
|
side: 'right',
|
|
1473
1477
|
showSlider: 'mouseover',
|
|
1474
|
-
autohide:
|
|
1478
|
+
autohide: 'none',
|
|
1475
1479
|
renderCharacters: true,
|
|
1476
1480
|
maxColumn: 120,
|
|
1477
1481
|
scale: 1,
|
|
@@ -1488,41 +1492,50 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1488
1492
|
description: ( localize(341, "Controls whether the minimap is shown."))
|
|
1489
1493
|
},
|
|
1490
1494
|
'editor.minimap.autohide': {
|
|
1491
|
-
type: '
|
|
1495
|
+
type: 'string',
|
|
1496
|
+
enum: ['none', 'mouseover', 'scroll'],
|
|
1497
|
+
enumDescriptions: [
|
|
1498
|
+
( localize(342, "The minimap is always shown.")),
|
|
1499
|
+
( localize(
|
|
1500
|
+
343,
|
|
1501
|
+
"The minimap is hidden when mouse is not over the minimap and shown when mouse is over the minimap."
|
|
1502
|
+
)),
|
|
1503
|
+
( localize(344, "The minimap is only shown when the editor is scrolled")),
|
|
1504
|
+
],
|
|
1492
1505
|
default: defaults.autohide,
|
|
1493
|
-
description: ( localize(
|
|
1506
|
+
description: ( localize(345, "Controls whether the minimap is hidden automatically."))
|
|
1494
1507
|
},
|
|
1495
1508
|
'editor.minimap.size': {
|
|
1496
1509
|
type: 'string',
|
|
1497
1510
|
enum: ['proportional', 'fill', 'fit'],
|
|
1498
1511
|
enumDescriptions: [
|
|
1499
1512
|
( localize(
|
|
1500
|
-
|
|
1513
|
+
346,
|
|
1501
1514
|
"The minimap has the same size as the editor contents (and might scroll)."
|
|
1502
1515
|
)),
|
|
1503
1516
|
( localize(
|
|
1504
|
-
|
|
1517
|
+
347,
|
|
1505
1518
|
"The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."
|
|
1506
1519
|
)),
|
|
1507
1520
|
( localize(
|
|
1508
|
-
|
|
1521
|
+
348,
|
|
1509
1522
|
"The minimap will shrink as necessary to never be larger than the editor (no scrolling)."
|
|
1510
1523
|
)),
|
|
1511
1524
|
],
|
|
1512
1525
|
default: defaults.size,
|
|
1513
|
-
description: ( localize(
|
|
1526
|
+
description: ( localize(349, "Controls the size of the minimap."))
|
|
1514
1527
|
},
|
|
1515
1528
|
'editor.minimap.side': {
|
|
1516
1529
|
type: 'string',
|
|
1517
1530
|
enum: ['left', 'right'],
|
|
1518
1531
|
default: defaults.side,
|
|
1519
|
-
description: ( localize(
|
|
1532
|
+
description: ( localize(350, "Controls the side where to render the minimap."))
|
|
1520
1533
|
},
|
|
1521
1534
|
'editor.minimap.showSlider': {
|
|
1522
1535
|
type: 'string',
|
|
1523
1536
|
enum: ['always', 'mouseover'],
|
|
1524
1537
|
default: defaults.showSlider,
|
|
1525
|
-
description: ( localize(
|
|
1538
|
+
description: ( localize(351, "Controls when the minimap slider is shown."))
|
|
1526
1539
|
},
|
|
1527
1540
|
'editor.minimap.scale': {
|
|
1528
1541
|
type: 'number',
|
|
@@ -1530,18 +1543,18 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1530
1543
|
minimum: 1,
|
|
1531
1544
|
maximum: 3,
|
|
1532
1545
|
enum: [1, 2, 3],
|
|
1533
|
-
description: ( localize(
|
|
1546
|
+
description: ( localize(352, "Scale of content drawn in the minimap: 1, 2 or 3."))
|
|
1534
1547
|
},
|
|
1535
1548
|
'editor.minimap.renderCharacters': {
|
|
1536
1549
|
type: 'boolean',
|
|
1537
1550
|
default: defaults.renderCharacters,
|
|
1538
|
-
description: ( localize(
|
|
1551
|
+
description: ( localize(353, "Render the actual characters on a line as opposed to color blocks."))
|
|
1539
1552
|
},
|
|
1540
1553
|
'editor.minimap.maxColumn': {
|
|
1541
1554
|
type: 'number',
|
|
1542
1555
|
default: defaults.maxColumn,
|
|
1543
1556
|
description: ( localize(
|
|
1544
|
-
|
|
1557
|
+
354,
|
|
1545
1558
|
"Limit the width of the minimap to render at most a certain number of columns."
|
|
1546
1559
|
))
|
|
1547
1560
|
},
|
|
@@ -1549,7 +1562,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1549
1562
|
type: 'boolean',
|
|
1550
1563
|
default: defaults.showRegionSectionHeaders,
|
|
1551
1564
|
description: ( localize(
|
|
1552
|
-
|
|
1565
|
+
355,
|
|
1553
1566
|
"Controls whether named regions are shown as section headers in the minimap."
|
|
1554
1567
|
))
|
|
1555
1568
|
},
|
|
@@ -1557,7 +1570,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1557
1570
|
type: 'boolean',
|
|
1558
1571
|
default: defaults.showMarkSectionHeaders,
|
|
1559
1572
|
description: ( localize(
|
|
1560
|
-
|
|
1573
|
+
356,
|
|
1561
1574
|
"Controls whether MARK: comments are shown as section headers in the minimap."
|
|
1562
1575
|
))
|
|
1563
1576
|
},
|
|
@@ -1565,20 +1578,20 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1565
1578
|
type: 'string',
|
|
1566
1579
|
default: defaults.markSectionHeaderRegex,
|
|
1567
1580
|
description: ( localize(
|
|
1568
|
-
|
|
1581
|
+
357,
|
|
1569
1582
|
"Defines the regular expression used to find section headers in comments. The regex must contain a named match group `label` (written as `(?<label>.+)`) that encapsulates the section header, otherwise it will not work. Optionally you can include another match group named `separator`. Use \\n in the pattern to match multi-line headers."
|
|
1570
1583
|
)),
|
|
1571
1584
|
},
|
|
1572
1585
|
'editor.minimap.sectionHeaderFontSize': {
|
|
1573
1586
|
type: 'number',
|
|
1574
1587
|
default: defaults.sectionHeaderFontSize,
|
|
1575
|
-
description: ( localize(
|
|
1588
|
+
description: ( localize(358, "Controls the font size of section headers in the minimap."))
|
|
1576
1589
|
},
|
|
1577
1590
|
'editor.minimap.sectionHeaderLetterSpacing': {
|
|
1578
1591
|
type: 'number',
|
|
1579
1592
|
default: defaults.sectionHeaderLetterSpacing,
|
|
1580
1593
|
description: ( localize(
|
|
1581
|
-
|
|
1594
|
+
359,
|
|
1582
1595
|
"Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes."
|
|
1583
1596
|
))
|
|
1584
1597
|
}
|
|
@@ -1600,7 +1613,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1600
1613
|
}
|
|
1601
1614
|
return {
|
|
1602
1615
|
enabled: boolean(input.enabled, this.defaultValue.enabled),
|
|
1603
|
-
autohide:
|
|
1616
|
+
autohide: stringSet(input.autohide, this.defaultValue.autohide, ['none', 'mouseover', 'scroll']),
|
|
1604
1617
|
size: stringSet(input.size, this.defaultValue.size, ['proportional', 'fill', 'fit']),
|
|
1605
1618
|
side: stringSet(input.side, this.defaultValue.side, ['right', 'left']),
|
|
1606
1619
|
showSlider: stringSet(input.showSlider, this.defaultValue.showSlider, ['always', 'mouseover']),
|
|
@@ -1630,7 +1643,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1630
1643
|
minimum: 0,
|
|
1631
1644
|
maximum: 1000,
|
|
1632
1645
|
description: ( localize(
|
|
1633
|
-
|
|
1646
|
+
360,
|
|
1634
1647
|
"Controls the amount of space between the top edge of the editor and the first line."
|
|
1635
1648
|
))
|
|
1636
1649
|
},
|
|
@@ -1640,7 +1653,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1640
1653
|
minimum: 0,
|
|
1641
1654
|
maximum: 1000,
|
|
1642
1655
|
description: ( localize(
|
|
1643
|
-
|
|
1656
|
+
361,
|
|
1644
1657
|
"Controls the amount of space between the bottom edge of the editor and the last line."
|
|
1645
1658
|
))
|
|
1646
1659
|
}
|
|
@@ -1668,7 +1681,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1668
1681
|
type: 'boolean',
|
|
1669
1682
|
default: defaults.enabled,
|
|
1670
1683
|
description: ( localize(
|
|
1671
|
-
|
|
1684
|
+
362,
|
|
1672
1685
|
"Enables a pop-up that shows parameter documentation and type information as you type."
|
|
1673
1686
|
))
|
|
1674
1687
|
},
|
|
@@ -1676,7 +1689,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1676
1689
|
type: 'boolean',
|
|
1677
1690
|
default: defaults.cycle,
|
|
1678
1691
|
description: ( localize(
|
|
1679
|
-
|
|
1692
|
+
363,
|
|
1680
1693
|
"Controls whether the parameter hints menu cycles or closes when reaching the end of the list."
|
|
1681
1694
|
))
|
|
1682
1695
|
},
|
|
@@ -1727,7 +1740,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1727
1740
|
{
|
|
1728
1741
|
type: 'string',
|
|
1729
1742
|
enum: ['on', 'inline', 'off'],
|
|
1730
|
-
enumDescriptions: [( localize(
|
|
1743
|
+
enumDescriptions: [( localize(364, "Quick suggestions show inside the suggest widget")), ( localize(365, "Quick suggestions show as ghost text")), ( localize(366, "Quick suggestions are disabled"))]
|
|
1731
1744
|
}
|
|
1732
1745
|
];
|
|
1733
1746
|
super(EditorOption.quickSuggestions, 'quickSuggestions', defaults, {
|
|
@@ -1737,22 +1750,22 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1737
1750
|
strings: {
|
|
1738
1751
|
anyOf: types,
|
|
1739
1752
|
default: defaults.strings,
|
|
1740
|
-
description: ( localize(
|
|
1753
|
+
description: ( localize(367, "Enable quick suggestions inside strings."))
|
|
1741
1754
|
},
|
|
1742
1755
|
comments: {
|
|
1743
1756
|
anyOf: types,
|
|
1744
1757
|
default: defaults.comments,
|
|
1745
|
-
description: ( localize(
|
|
1758
|
+
description: ( localize(368, "Enable quick suggestions inside comments."))
|
|
1746
1759
|
},
|
|
1747
1760
|
other: {
|
|
1748
1761
|
anyOf: types,
|
|
1749
1762
|
default: defaults.other,
|
|
1750
|
-
description: ( localize(
|
|
1763
|
+
description: ( localize(369, "Enable quick suggestions outside of strings and comments."))
|
|
1751
1764
|
},
|
|
1752
1765
|
},
|
|
1753
1766
|
default: defaults,
|
|
1754
1767
|
markdownDescription: ( localize(
|
|
1755
|
-
|
|
1768
|
+
370,
|
|
1756
1769
|
"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.",
|
|
1757
1770
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
1758
1771
|
))
|
|
@@ -1811,13 +1824,13 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1811
1824
|
type: 'string',
|
|
1812
1825
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1813
1826
|
enumDescriptions: [
|
|
1814
|
-
( localize(
|
|
1815
|
-
( localize(
|
|
1816
|
-
( localize(
|
|
1817
|
-
( localize(
|
|
1827
|
+
( localize(371, "Line numbers are not rendered.")),
|
|
1828
|
+
( localize(372, "Line numbers are rendered as absolute number.")),
|
|
1829
|
+
( localize(373, "Line numbers are rendered as distance in lines to cursor position.")),
|
|
1830
|
+
( localize(374, "Line numbers are rendered every 10 lines."))
|
|
1818
1831
|
],
|
|
1819
1832
|
default: 'on',
|
|
1820
|
-
description: ( localize(
|
|
1833
|
+
description: ( localize(375, "Controls the display of line numbers."))
|
|
1821
1834
|
});
|
|
1822
1835
|
}
|
|
1823
1836
|
validate(lineNumbers) {
|
|
@@ -1861,7 +1874,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1861
1874
|
constructor() {
|
|
1862
1875
|
const defaults = [];
|
|
1863
1876
|
const columnSchema = { type: 'number', description: ( localize(
|
|
1864
|
-
|
|
1877
|
+
376,
|
|
1865
1878
|
"Number of monospace characters at which this editor ruler will render."
|
|
1866
1879
|
)) };
|
|
1867
1880
|
super(EditorOption.rulers, 'rulers', defaults, {
|
|
@@ -1877,7 +1890,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1877
1890
|
column: columnSchema,
|
|
1878
1891
|
color: {
|
|
1879
1892
|
type: 'string',
|
|
1880
|
-
description: ( localize(
|
|
1893
|
+
description: ( localize(377, "Color of this editor ruler.")),
|
|
1881
1894
|
format: 'color-hex'
|
|
1882
1895
|
}
|
|
1883
1896
|
}
|
|
@@ -1886,7 +1899,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1886
1899
|
},
|
|
1887
1900
|
default: defaults,
|
|
1888
1901
|
description: ( localize(
|
|
1889
|
-
|
|
1902
|
+
378,
|
|
1890
1903
|
"Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."
|
|
1891
1904
|
))
|
|
1892
1905
|
});
|
|
@@ -1960,44 +1973,44 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1960
1973
|
type: 'string',
|
|
1961
1974
|
enum: ['auto', 'visible', 'hidden'],
|
|
1962
1975
|
enumDescriptions: [
|
|
1963
|
-
( localize(
|
|
1964
|
-
( localize(
|
|
1965
|
-
( localize(
|
|
1976
|
+
( localize(379, "The vertical scrollbar will be visible only when necessary.")),
|
|
1977
|
+
( localize(380, "The vertical scrollbar will always be visible.")),
|
|
1978
|
+
( localize(381, "The vertical scrollbar will always be hidden.")),
|
|
1966
1979
|
],
|
|
1967
1980
|
default: 'auto',
|
|
1968
|
-
description: ( localize(
|
|
1981
|
+
description: ( localize(382, "Controls the visibility of the vertical scrollbar."))
|
|
1969
1982
|
},
|
|
1970
1983
|
'editor.scrollbar.horizontal': {
|
|
1971
1984
|
type: 'string',
|
|
1972
1985
|
enum: ['auto', 'visible', 'hidden'],
|
|
1973
1986
|
enumDescriptions: [
|
|
1974
|
-
( localize(
|
|
1975
|
-
( localize(
|
|
1976
|
-
( localize(
|
|
1987
|
+
( localize(383, "The horizontal scrollbar will be visible only when necessary.")),
|
|
1988
|
+
( localize(384, "The horizontal scrollbar will always be visible.")),
|
|
1989
|
+
( localize(385, "The horizontal scrollbar will always be hidden.")),
|
|
1977
1990
|
],
|
|
1978
1991
|
default: 'auto',
|
|
1979
|
-
description: ( localize(
|
|
1992
|
+
description: ( localize(386, "Controls the visibility of the horizontal scrollbar."))
|
|
1980
1993
|
},
|
|
1981
1994
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
1982
1995
|
type: 'number',
|
|
1983
1996
|
default: defaults.verticalScrollbarSize,
|
|
1984
|
-
description: ( localize(
|
|
1997
|
+
description: ( localize(387, "The width of the vertical scrollbar."))
|
|
1985
1998
|
},
|
|
1986
1999
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
1987
2000
|
type: 'number',
|
|
1988
2001
|
default: defaults.horizontalScrollbarSize,
|
|
1989
|
-
description: ( localize(
|
|
2002
|
+
description: ( localize(388, "The height of the horizontal scrollbar."))
|
|
1990
2003
|
},
|
|
1991
2004
|
'editor.scrollbar.scrollByPage': {
|
|
1992
2005
|
type: 'boolean',
|
|
1993
2006
|
default: defaults.scrollByPage,
|
|
1994
|
-
description: ( localize(
|
|
2007
|
+
description: ( localize(389, "Controls whether clicks scroll by page or jump to click position."))
|
|
1995
2008
|
},
|
|
1996
2009
|
'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
|
|
1997
2010
|
type: 'boolean',
|
|
1998
2011
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
1999
2012
|
description: ( localize(
|
|
2000
|
-
|
|
2013
|
+
390,
|
|
2001
2014
|
"When set, the horizontal scrollbar will not increase the size of the editor's content."
|
|
2002
2015
|
))
|
|
2003
2016
|
}
|
|
@@ -2056,7 +2069,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2056
2069
|
enum: [true, false, inUntrustedWorkspace],
|
|
2057
2070
|
default: defaults.nonBasicASCII,
|
|
2058
2071
|
description: ( localize(
|
|
2059
|
-
|
|
2072
|
+
391,
|
|
2060
2073
|
"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."
|
|
2061
2074
|
))
|
|
2062
2075
|
},
|
|
@@ -2065,7 +2078,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2065
2078
|
type: 'boolean',
|
|
2066
2079
|
default: defaults.invisibleCharacters,
|
|
2067
2080
|
description: ( localize(
|
|
2068
|
-
|
|
2081
|
+
392,
|
|
2069
2082
|
"Controls whether characters that just reserve space or have no width at all are highlighted."
|
|
2070
2083
|
))
|
|
2071
2084
|
},
|
|
@@ -2074,7 +2087,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2074
2087
|
type: 'boolean',
|
|
2075
2088
|
default: defaults.ambiguousCharacters,
|
|
2076
2089
|
description: ( localize(
|
|
2077
|
-
|
|
2090
|
+
393,
|
|
2078
2091
|
"Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."
|
|
2079
2092
|
))
|
|
2080
2093
|
},
|
|
@@ -2084,7 +2097,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2084
2097
|
enum: [true, false, inUntrustedWorkspace],
|
|
2085
2098
|
default: defaults.includeComments,
|
|
2086
2099
|
description: ( localize(
|
|
2087
|
-
|
|
2100
|
+
394,
|
|
2088
2101
|
"Controls whether characters in comments should also be subject to Unicode highlighting."
|
|
2089
2102
|
))
|
|
2090
2103
|
},
|
|
@@ -2094,7 +2107,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2094
2107
|
enum: [true, false, inUntrustedWorkspace],
|
|
2095
2108
|
default: defaults.includeStrings,
|
|
2096
2109
|
description: ( localize(
|
|
2097
|
-
|
|
2110
|
+
395,
|
|
2098
2111
|
"Controls whether characters in strings should also be subject to Unicode highlighting."
|
|
2099
2112
|
))
|
|
2100
2113
|
},
|
|
@@ -2102,7 +2115,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2102
2115
|
restricted: true,
|
|
2103
2116
|
type: 'object',
|
|
2104
2117
|
default: defaults.allowedCharacters,
|
|
2105
|
-
description: ( localize(
|
|
2118
|
+
description: ( localize(396, "Defines allowed characters that are not being highlighted.")),
|
|
2106
2119
|
additionalProperties: {
|
|
2107
2120
|
type: 'boolean'
|
|
2108
2121
|
}
|
|
@@ -2115,7 +2128,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2115
2128
|
},
|
|
2116
2129
|
default: defaults.allowedLocales,
|
|
2117
2130
|
description: ( localize(
|
|
2118
|
-
|
|
2131
|
+
397,
|
|
2119
2132
|
"Unicode characters that are common in allowed locales are not being highlighted."
|
|
2120
2133
|
))
|
|
2121
2134
|
},
|
|
@@ -2187,7 +2200,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2187
2200
|
},
|
|
2188
2201
|
experimental: {
|
|
2189
2202
|
suppressInlineSuggestions: '',
|
|
2190
|
-
triggerCommandOnProviderChange:
|
|
2203
|
+
triggerCommandOnProviderChange: false,
|
|
2191
2204
|
},
|
|
2192
2205
|
};
|
|
2193
2206
|
super(EditorOption.inlineSuggest, 'inlineSuggest', defaults, {
|
|
@@ -2195,7 +2208,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2195
2208
|
type: 'boolean',
|
|
2196
2209
|
default: defaults.enabled,
|
|
2197
2210
|
description: ( localize(
|
|
2198
|
-
|
|
2211
|
+
398,
|
|
2199
2212
|
"Controls whether to automatically show inline suggestions in the editor."
|
|
2200
2213
|
))
|
|
2201
2214
|
},
|
|
@@ -2205,22 +2218,22 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2205
2218
|
enum: ['always', 'onHover', 'never'],
|
|
2206
2219
|
enumDescriptions: [
|
|
2207
2220
|
( localize(
|
|
2208
|
-
|
|
2221
|
+
399,
|
|
2209
2222
|
"Show the inline suggestion toolbar whenever an inline suggestion is shown."
|
|
2210
2223
|
)),
|
|
2211
2224
|
( localize(
|
|
2212
|
-
|
|
2225
|
+
400,
|
|
2213
2226
|
"Show the inline suggestion toolbar when hovering over an inline suggestion."
|
|
2214
2227
|
)),
|
|
2215
|
-
( localize(
|
|
2228
|
+
( localize(401, "Never show the inline suggestion toolbar.")),
|
|
2216
2229
|
],
|
|
2217
|
-
description: ( localize(
|
|
2230
|
+
description: ( localize(402, "Controls when to show the inline suggestion toolbar.")),
|
|
2218
2231
|
},
|
|
2219
2232
|
'editor.inlineSuggest.syntaxHighlightingEnabled': {
|
|
2220
2233
|
type: 'boolean',
|
|
2221
2234
|
default: defaults.syntaxHighlightingEnabled,
|
|
2222
2235
|
description: ( localize(
|
|
2223
|
-
|
|
2236
|
+
403,
|
|
2224
2237
|
"Controls whether to show syntax highlighting for inline suggestions in the editor."
|
|
2225
2238
|
)),
|
|
2226
2239
|
},
|
|
@@ -2228,38 +2241,44 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2228
2241
|
type: 'boolean',
|
|
2229
2242
|
default: defaults.suppressSuggestions,
|
|
2230
2243
|
description: ( localize(
|
|
2231
|
-
|
|
2244
|
+
404,
|
|
2232
2245
|
"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
|
|
2233
2246
|
))
|
|
2234
2247
|
},
|
|
2235
2248
|
'editor.inlineSuggest.experimental.suppressInlineSuggestions': {
|
|
2236
2249
|
type: 'string',
|
|
2237
2250
|
default: defaults.experimental.suppressInlineSuggestions,
|
|
2238
|
-
tags: ['experimental'
|
|
2251
|
+
tags: ['experimental'],
|
|
2239
2252
|
description: ( localize(
|
|
2240
|
-
|
|
2253
|
+
405,
|
|
2241
2254
|
"Suppresses inline completions for specified extension IDs -- comma separated."
|
|
2242
|
-
))
|
|
2255
|
+
)),
|
|
2256
|
+
experiment: {
|
|
2257
|
+
mode: 'startup'
|
|
2258
|
+
}
|
|
2243
2259
|
},
|
|
2244
2260
|
'editor.inlineSuggest.experimental.triggerCommandOnProviderChange': {
|
|
2245
2261
|
type: 'boolean',
|
|
2246
2262
|
default: defaults.experimental.triggerCommandOnProviderChange,
|
|
2247
|
-
tags: ['experimental'
|
|
2263
|
+
tags: ['experimental'],
|
|
2248
2264
|
description: ( localize(
|
|
2249
|
-
|
|
2265
|
+
406,
|
|
2250
2266
|
"Controls whether to trigger a command when the inline suggestion provider changes."
|
|
2251
|
-
))
|
|
2267
|
+
)),
|
|
2268
|
+
experiment: {
|
|
2269
|
+
mode: 'startup'
|
|
2270
|
+
}
|
|
2252
2271
|
},
|
|
2253
2272
|
'editor.inlineSuggest.fontFamily': {
|
|
2254
2273
|
type: 'string',
|
|
2255
2274
|
default: defaults.fontFamily,
|
|
2256
|
-
description: ( localize(
|
|
2275
|
+
description: ( localize(407, "Controls the font family of the inline suggestions."))
|
|
2257
2276
|
},
|
|
2258
2277
|
'editor.inlineSuggest.edits.allowCodeShifting': {
|
|
2259
2278
|
type: 'string',
|
|
2260
2279
|
default: defaults.edits.allowCodeShifting,
|
|
2261
2280
|
description: ( localize(
|
|
2262
|
-
|
|
2281
|
+
408,
|
|
2263
2282
|
"Controls whether showing a suggestion will shift the code to make space for the suggestion inline."
|
|
2264
2283
|
)),
|
|
2265
2284
|
enum: ['always', 'horizontal', 'never'],
|
|
@@ -2268,15 +2287,15 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2268
2287
|
'editor.inlineSuggest.edits.renderSideBySide': {
|
|
2269
2288
|
type: 'string',
|
|
2270
2289
|
default: defaults.edits.renderSideBySide,
|
|
2271
|
-
description: ( localize(
|
|
2290
|
+
description: ( localize(409, "Controls whether larger suggestions can be shown side by side.")),
|
|
2272
2291
|
enum: ['auto', 'never'],
|
|
2273
2292
|
enumDescriptions: [
|
|
2274
2293
|
( localize(
|
|
2275
|
-
|
|
2294
|
+
410,
|
|
2276
2295
|
"Larger suggestions will show side by side if there is enough space, otherwise they will be shown below."
|
|
2277
2296
|
)),
|
|
2278
2297
|
( localize(
|
|
2279
|
-
|
|
2298
|
+
411,
|
|
2280
2299
|
"Larger suggestions are never shown side by side and will always be shown below."
|
|
2281
2300
|
)),
|
|
2282
2301
|
],
|
|
@@ -2286,7 +2305,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2286
2305
|
type: 'boolean',
|
|
2287
2306
|
default: defaults.edits.showCollapsed,
|
|
2288
2307
|
description: ( localize(
|
|
2289
|
-
|
|
2308
|
+
412,
|
|
2290
2309
|
"Controls whether the suggestion will show as collapsed until jumping to it."
|
|
2291
2310
|
)),
|
|
2292
2311
|
tags: ['nextEditSuggestions']
|
|
@@ -2330,7 +2349,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2330
2349
|
type: 'boolean',
|
|
2331
2350
|
default: defaults.enabled,
|
|
2332
2351
|
markdownDescription: ( localize(
|
|
2333
|
-
|
|
2352
|
+
413,
|
|
2334
2353
|
"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
|
|
2335
2354
|
'`#workbench.colorCustomizations#`'
|
|
2336
2355
|
))
|
|
@@ -2339,7 +2358,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2339
2358
|
type: 'boolean',
|
|
2340
2359
|
default: defaults.independentColorPoolPerBracketType,
|
|
2341
2360
|
description: ( localize(
|
|
2342
|
-
|
|
2361
|
+
414,
|
|
2343
2362
|
"Controls whether each bracket type has its own independent color pool."
|
|
2344
2363
|
))
|
|
2345
2364
|
},
|
|
@@ -2370,54 +2389,54 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2370
2389
|
type: ['boolean', 'string'],
|
|
2371
2390
|
enum: [true, 'active', false],
|
|
2372
2391
|
enumDescriptions: [
|
|
2373
|
-
( localize(
|
|
2374
|
-
( localize(
|
|
2375
|
-
( localize(
|
|
2392
|
+
( localize(415, "Enables bracket pair guides.")),
|
|
2393
|
+
( localize(416, "Enables bracket pair guides only for the active bracket pair.")),
|
|
2394
|
+
( localize(417, "Disables bracket pair guides.")),
|
|
2376
2395
|
],
|
|
2377
2396
|
default: defaults.bracketPairs,
|
|
2378
|
-
description: ( localize(
|
|
2397
|
+
description: ( localize(418, "Controls whether bracket pair guides are enabled or not."))
|
|
2379
2398
|
},
|
|
2380
2399
|
'editor.guides.bracketPairsHorizontal': {
|
|
2381
2400
|
type: ['boolean', 'string'],
|
|
2382
2401
|
enum: [true, 'active', false],
|
|
2383
2402
|
enumDescriptions: [
|
|
2384
2403
|
( localize(
|
|
2385
|
-
|
|
2404
|
+
419,
|
|
2386
2405
|
"Enables horizontal guides as addition to vertical bracket pair guides."
|
|
2387
2406
|
)),
|
|
2388
|
-
( localize(
|
|
2389
|
-
( localize(
|
|
2407
|
+
( localize(420, "Enables horizontal guides only for the active bracket pair.")),
|
|
2408
|
+
( localize(421, "Disables horizontal bracket pair guides.")),
|
|
2390
2409
|
],
|
|
2391
2410
|
default: defaults.bracketPairsHorizontal,
|
|
2392
|
-
description: ( localize(
|
|
2411
|
+
description: ( localize(422, "Controls whether horizontal bracket pair guides are enabled or not."))
|
|
2393
2412
|
},
|
|
2394
2413
|
'editor.guides.highlightActiveBracketPair': {
|
|
2395
2414
|
type: 'boolean',
|
|
2396
2415
|
default: defaults.highlightActiveBracketPair,
|
|
2397
2416
|
description: ( localize(
|
|
2398
|
-
|
|
2417
|
+
423,
|
|
2399
2418
|
"Controls whether the editor should highlight the active bracket pair."
|
|
2400
2419
|
))
|
|
2401
2420
|
},
|
|
2402
2421
|
'editor.guides.indentation': {
|
|
2403
2422
|
type: 'boolean',
|
|
2404
2423
|
default: defaults.indentation,
|
|
2405
|
-
description: ( localize(
|
|
2424
|
+
description: ( localize(424, "Controls whether the editor should render indent guides."))
|
|
2406
2425
|
},
|
|
2407
2426
|
'editor.guides.highlightActiveIndentation': {
|
|
2408
2427
|
type: ['boolean', 'string'],
|
|
2409
2428
|
enum: [true, 'always', false],
|
|
2410
2429
|
enumDescriptions: [
|
|
2411
|
-
( localize(
|
|
2430
|
+
( localize(425, "Highlights the active indent guide.")),
|
|
2412
2431
|
( localize(
|
|
2413
|
-
|
|
2432
|
+
426,
|
|
2414
2433
|
"Highlights the active indent guide even if bracket guides are highlighted."
|
|
2415
2434
|
)),
|
|
2416
|
-
( localize(
|
|
2435
|
+
( localize(427, "Do not highlight the active indent guide.")),
|
|
2417
2436
|
],
|
|
2418
2437
|
default: defaults.highlightActiveIndentation,
|
|
2419
2438
|
description: ( localize(
|
|
2420
|
-
|
|
2439
|
+
428,
|
|
2421
2440
|
"Controls whether the editor should highlight the active indent guide."
|
|
2422
2441
|
))
|
|
2423
2442
|
}
|
|
@@ -2493,12 +2512,12 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2493
2512
|
type: 'string',
|
|
2494
2513
|
enum: ['insert', 'replace'],
|
|
2495
2514
|
enumDescriptions: [
|
|
2496
|
-
( localize(
|
|
2497
|
-
( localize(
|
|
2515
|
+
( localize(429, "Insert suggestion without overwriting text right of the cursor.")),
|
|
2516
|
+
( localize(430, "Insert suggestion and overwrite text right of the cursor.")),
|
|
2498
2517
|
],
|
|
2499
2518
|
default: defaults.insertMode,
|
|
2500
2519
|
description: ( localize(
|
|
2501
|
-
|
|
2520
|
+
431,
|
|
2502
2521
|
"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
|
|
2503
2522
|
))
|
|
2504
2523
|
},
|
|
@@ -2506,7 +2525,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2506
2525
|
type: 'boolean',
|
|
2507
2526
|
default: defaults.filterGraceful,
|
|
2508
2527
|
description: ( localize(
|
|
2509
|
-
|
|
2528
|
+
432,
|
|
2510
2529
|
"Controls whether filtering and sorting suggestions accounts for small typos."
|
|
2511
2530
|
))
|
|
2512
2531
|
},
|
|
@@ -2514,7 +2533,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2514
2533
|
type: 'boolean',
|
|
2515
2534
|
default: defaults.localityBonus,
|
|
2516
2535
|
description: ( localize(
|
|
2517
|
-
|
|
2536
|
+
433,
|
|
2518
2537
|
"Controls whether sorting favors words that appear close to the cursor."
|
|
2519
2538
|
))
|
|
2520
2539
|
},
|
|
@@ -2522,7 +2541,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2522
2541
|
type: 'boolean',
|
|
2523
2542
|
default: defaults.shareSuggestSelections,
|
|
2524
2543
|
markdownDescription: ( localize(
|
|
2525
|
-
|
|
2544
|
+
434,
|
|
2526
2545
|
"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
|
|
2527
2546
|
))
|
|
2528
2547
|
},
|
|
@@ -2531,22 +2550,22 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2531
2550
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2532
2551
|
enumDescriptions: [
|
|
2533
2552
|
( localize(
|
|
2534
|
-
|
|
2553
|
+
435,
|
|
2535
2554
|
"Always select a suggestion when automatically triggering IntelliSense."
|
|
2536
2555
|
)),
|
|
2537
2556
|
( localize(
|
|
2538
|
-
|
|
2557
|
+
436,
|
|
2539
2558
|
"Never select a suggestion when automatically triggering IntelliSense."
|
|
2540
2559
|
)),
|
|
2541
2560
|
( localize(
|
|
2542
|
-
|
|
2561
|
+
437,
|
|
2543
2562
|
"Select a suggestion only when triggering IntelliSense from a trigger character."
|
|
2544
2563
|
)),
|
|
2545
|
-
( localize(
|
|
2564
|
+
( localize(438, "Select a suggestion only when triggering IntelliSense as you type.")),
|
|
2546
2565
|
],
|
|
2547
2566
|
default: defaults.selectionMode,
|
|
2548
2567
|
markdownDescription: ( localize(
|
|
2549
|
-
|
|
2568
|
+
439,
|
|
2550
2569
|
"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`.",
|
|
2551
2570
|
'`#editor.quickSuggestions#`',
|
|
2552
2571
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
@@ -2555,197 +2574,197 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2555
2574
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
2556
2575
|
type: 'boolean',
|
|
2557
2576
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2558
|
-
description: ( localize(
|
|
2577
|
+
description: ( localize(440, "Controls whether an active snippet prevents quick suggestions."))
|
|
2559
2578
|
},
|
|
2560
2579
|
'editor.suggest.showIcons': {
|
|
2561
2580
|
type: 'boolean',
|
|
2562
2581
|
default: defaults.showIcons,
|
|
2563
|
-
description: ( localize(
|
|
2582
|
+
description: ( localize(441, "Controls whether to show or hide icons in suggestions."))
|
|
2564
2583
|
},
|
|
2565
2584
|
'editor.suggest.showStatusBar': {
|
|
2566
2585
|
type: 'boolean',
|
|
2567
2586
|
default: defaults.showStatusBar,
|
|
2568
2587
|
description: ( localize(
|
|
2569
|
-
|
|
2588
|
+
442,
|
|
2570
2589
|
"Controls the visibility of the status bar at the bottom of the suggest widget."
|
|
2571
2590
|
))
|
|
2572
2591
|
},
|
|
2573
2592
|
'editor.suggest.preview': {
|
|
2574
2593
|
type: 'boolean',
|
|
2575
2594
|
default: defaults.preview,
|
|
2576
|
-
description: ( localize(
|
|
2595
|
+
description: ( localize(443, "Controls whether to preview the suggestion outcome in the editor."))
|
|
2577
2596
|
},
|
|
2578
2597
|
'editor.suggest.showInlineDetails': {
|
|
2579
2598
|
type: 'boolean',
|
|
2580
2599
|
default: defaults.showInlineDetails,
|
|
2581
2600
|
description: ( localize(
|
|
2582
|
-
|
|
2601
|
+
444,
|
|
2583
2602
|
"Controls whether suggest details show inline with the label or only in the details widget."
|
|
2584
2603
|
))
|
|
2585
2604
|
},
|
|
2586
2605
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2587
2606
|
type: 'number',
|
|
2588
|
-
deprecationMessage: ( localize(
|
|
2607
|
+
deprecationMessage: ( localize(445, "This setting is deprecated. The suggest widget can now be resized.")),
|
|
2589
2608
|
},
|
|
2590
2609
|
'editor.suggest.filteredTypes': {
|
|
2591
2610
|
type: 'object',
|
|
2592
2611
|
deprecationMessage: ( localize(
|
|
2593
|
-
|
|
2612
|
+
446,
|
|
2594
2613
|
"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
|
|
2595
2614
|
))
|
|
2596
2615
|
},
|
|
2597
2616
|
'editor.suggest.showMethods': {
|
|
2598
2617
|
type: 'boolean',
|
|
2599
2618
|
default: true,
|
|
2600
|
-
markdownDescription: ( localize(
|
|
2619
|
+
markdownDescription: ( localize(447, "When enabled IntelliSense shows `method`-suggestions."))
|
|
2601
2620
|
},
|
|
2602
2621
|
'editor.suggest.showFunctions': {
|
|
2603
2622
|
type: 'boolean',
|
|
2604
2623
|
default: true,
|
|
2605
|
-
markdownDescription: ( localize(
|
|
2624
|
+
markdownDescription: ( localize(448, "When enabled IntelliSense shows `function`-suggestions."))
|
|
2606
2625
|
},
|
|
2607
2626
|
'editor.suggest.showConstructors': {
|
|
2608
2627
|
type: 'boolean',
|
|
2609
2628
|
default: true,
|
|
2610
|
-
markdownDescription: ( localize(
|
|
2629
|
+
markdownDescription: ( localize(449, "When enabled IntelliSense shows `constructor`-suggestions."))
|
|
2611
2630
|
},
|
|
2612
2631
|
'editor.suggest.showDeprecated': {
|
|
2613
2632
|
type: 'boolean',
|
|
2614
2633
|
default: true,
|
|
2615
|
-
markdownDescription: ( localize(
|
|
2634
|
+
markdownDescription: ( localize(450, "When enabled IntelliSense shows `deprecated`-suggestions."))
|
|
2616
2635
|
},
|
|
2617
2636
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2618
2637
|
type: 'boolean',
|
|
2619
2638
|
default: true,
|
|
2620
2639
|
markdownDescription: ( localize(
|
|
2621
|
-
|
|
2640
|
+
451,
|
|
2622
2641
|
"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."
|
|
2623
2642
|
))
|
|
2624
2643
|
},
|
|
2625
2644
|
'editor.suggest.showFields': {
|
|
2626
2645
|
type: 'boolean',
|
|
2627
2646
|
default: true,
|
|
2628
|
-
markdownDescription: ( localize(
|
|
2647
|
+
markdownDescription: ( localize(452, "When enabled IntelliSense shows `field`-suggestions."))
|
|
2629
2648
|
},
|
|
2630
2649
|
'editor.suggest.showVariables': {
|
|
2631
2650
|
type: 'boolean',
|
|
2632
2651
|
default: true,
|
|
2633
|
-
markdownDescription: ( localize(
|
|
2652
|
+
markdownDescription: ( localize(453, "When enabled IntelliSense shows `variable`-suggestions."))
|
|
2634
2653
|
},
|
|
2635
2654
|
'editor.suggest.showClasses': {
|
|
2636
2655
|
type: 'boolean',
|
|
2637
2656
|
default: true,
|
|
2638
|
-
markdownDescription: ( localize(
|
|
2657
|
+
markdownDescription: ( localize(454, "When enabled IntelliSense shows `class`-suggestions."))
|
|
2639
2658
|
},
|
|
2640
2659
|
'editor.suggest.showStructs': {
|
|
2641
2660
|
type: 'boolean',
|
|
2642
2661
|
default: true,
|
|
2643
|
-
markdownDescription: ( localize(
|
|
2662
|
+
markdownDescription: ( localize(455, "When enabled IntelliSense shows `struct`-suggestions."))
|
|
2644
2663
|
},
|
|
2645
2664
|
'editor.suggest.showInterfaces': {
|
|
2646
2665
|
type: 'boolean',
|
|
2647
2666
|
default: true,
|
|
2648
|
-
markdownDescription: ( localize(
|
|
2667
|
+
markdownDescription: ( localize(456, "When enabled IntelliSense shows `interface`-suggestions."))
|
|
2649
2668
|
},
|
|
2650
2669
|
'editor.suggest.showModules': {
|
|
2651
2670
|
type: 'boolean',
|
|
2652
2671
|
default: true,
|
|
2653
|
-
markdownDescription: ( localize(
|
|
2672
|
+
markdownDescription: ( localize(457, "When enabled IntelliSense shows `module`-suggestions."))
|
|
2654
2673
|
},
|
|
2655
2674
|
'editor.suggest.showProperties': {
|
|
2656
2675
|
type: 'boolean',
|
|
2657
2676
|
default: true,
|
|
2658
|
-
markdownDescription: ( localize(
|
|
2677
|
+
markdownDescription: ( localize(458, "When enabled IntelliSense shows `property`-suggestions."))
|
|
2659
2678
|
},
|
|
2660
2679
|
'editor.suggest.showEvents': {
|
|
2661
2680
|
type: 'boolean',
|
|
2662
2681
|
default: true,
|
|
2663
|
-
markdownDescription: ( localize(
|
|
2682
|
+
markdownDescription: ( localize(459, "When enabled IntelliSense shows `event`-suggestions."))
|
|
2664
2683
|
},
|
|
2665
2684
|
'editor.suggest.showOperators': {
|
|
2666
2685
|
type: 'boolean',
|
|
2667
2686
|
default: true,
|
|
2668
|
-
markdownDescription: ( localize(
|
|
2687
|
+
markdownDescription: ( localize(460, "When enabled IntelliSense shows `operator`-suggestions."))
|
|
2669
2688
|
},
|
|
2670
2689
|
'editor.suggest.showUnits': {
|
|
2671
2690
|
type: 'boolean',
|
|
2672
2691
|
default: true,
|
|
2673
|
-
markdownDescription: ( localize(
|
|
2692
|
+
markdownDescription: ( localize(461, "When enabled IntelliSense shows `unit`-suggestions."))
|
|
2674
2693
|
},
|
|
2675
2694
|
'editor.suggest.showValues': {
|
|
2676
2695
|
type: 'boolean',
|
|
2677
2696
|
default: true,
|
|
2678
|
-
markdownDescription: ( localize(
|
|
2697
|
+
markdownDescription: ( localize(462, "When enabled IntelliSense shows `value`-suggestions."))
|
|
2679
2698
|
},
|
|
2680
2699
|
'editor.suggest.showConstants': {
|
|
2681
2700
|
type: 'boolean',
|
|
2682
2701
|
default: true,
|
|
2683
|
-
markdownDescription: ( localize(
|
|
2702
|
+
markdownDescription: ( localize(463, "When enabled IntelliSense shows `constant`-suggestions."))
|
|
2684
2703
|
},
|
|
2685
2704
|
'editor.suggest.showEnums': {
|
|
2686
2705
|
type: 'boolean',
|
|
2687
2706
|
default: true,
|
|
2688
|
-
markdownDescription: ( localize(
|
|
2707
|
+
markdownDescription: ( localize(464, "When enabled IntelliSense shows `enum`-suggestions."))
|
|
2689
2708
|
},
|
|
2690
2709
|
'editor.suggest.showEnumMembers': {
|
|
2691
2710
|
type: 'boolean',
|
|
2692
2711
|
default: true,
|
|
2693
|
-
markdownDescription: ( localize(
|
|
2712
|
+
markdownDescription: ( localize(465, "When enabled IntelliSense shows `enumMember`-suggestions."))
|
|
2694
2713
|
},
|
|
2695
2714
|
'editor.suggest.showKeywords': {
|
|
2696
2715
|
type: 'boolean',
|
|
2697
2716
|
default: true,
|
|
2698
|
-
markdownDescription: ( localize(
|
|
2717
|
+
markdownDescription: ( localize(466, "When enabled IntelliSense shows `keyword`-suggestions."))
|
|
2699
2718
|
},
|
|
2700
2719
|
'editor.suggest.showWords': {
|
|
2701
2720
|
type: 'boolean',
|
|
2702
2721
|
default: true,
|
|
2703
|
-
markdownDescription: ( localize(
|
|
2722
|
+
markdownDescription: ( localize(467, "When enabled IntelliSense shows `text`-suggestions."))
|
|
2704
2723
|
},
|
|
2705
2724
|
'editor.suggest.showColors': {
|
|
2706
2725
|
type: 'boolean',
|
|
2707
2726
|
default: true,
|
|
2708
|
-
markdownDescription: ( localize(
|
|
2727
|
+
markdownDescription: ( localize(468, "When enabled IntelliSense shows `color`-suggestions."))
|
|
2709
2728
|
},
|
|
2710
2729
|
'editor.suggest.showFiles': {
|
|
2711
2730
|
type: 'boolean',
|
|
2712
2731
|
default: true,
|
|
2713
|
-
markdownDescription: ( localize(
|
|
2732
|
+
markdownDescription: ( localize(469, "When enabled IntelliSense shows `file`-suggestions."))
|
|
2714
2733
|
},
|
|
2715
2734
|
'editor.suggest.showReferences': {
|
|
2716
2735
|
type: 'boolean',
|
|
2717
2736
|
default: true,
|
|
2718
|
-
markdownDescription: ( localize(
|
|
2737
|
+
markdownDescription: ( localize(470, "When enabled IntelliSense shows `reference`-suggestions."))
|
|
2719
2738
|
},
|
|
2720
2739
|
'editor.suggest.showCustomcolors': {
|
|
2721
2740
|
type: 'boolean',
|
|
2722
2741
|
default: true,
|
|
2723
|
-
markdownDescription: ( localize(
|
|
2742
|
+
markdownDescription: ( localize(471, "When enabled IntelliSense shows `customcolor`-suggestions."))
|
|
2724
2743
|
},
|
|
2725
2744
|
'editor.suggest.showFolders': {
|
|
2726
2745
|
type: 'boolean',
|
|
2727
2746
|
default: true,
|
|
2728
|
-
markdownDescription: ( localize(
|
|
2747
|
+
markdownDescription: ( localize(472, "When enabled IntelliSense shows `folder`-suggestions."))
|
|
2729
2748
|
},
|
|
2730
2749
|
'editor.suggest.showTypeParameters': {
|
|
2731
2750
|
type: 'boolean',
|
|
2732
2751
|
default: true,
|
|
2733
|
-
markdownDescription: ( localize(
|
|
2752
|
+
markdownDescription: ( localize(473, "When enabled IntelliSense shows `typeParameter`-suggestions."))
|
|
2734
2753
|
},
|
|
2735
2754
|
'editor.suggest.showSnippets': {
|
|
2736
2755
|
type: 'boolean',
|
|
2737
2756
|
default: true,
|
|
2738
|
-
markdownDescription: ( localize(
|
|
2757
|
+
markdownDescription: ( localize(474, "When enabled IntelliSense shows `snippet`-suggestions."))
|
|
2739
2758
|
},
|
|
2740
2759
|
'editor.suggest.showUsers': {
|
|
2741
2760
|
type: 'boolean',
|
|
2742
2761
|
default: true,
|
|
2743
|
-
markdownDescription: ( localize(
|
|
2762
|
+
markdownDescription: ( localize(475, "When enabled IntelliSense shows `user`-suggestions."))
|
|
2744
2763
|
},
|
|
2745
2764
|
'editor.suggest.showIssues': {
|
|
2746
2765
|
type: 'boolean',
|
|
2747
2766
|
default: true,
|
|
2748
|
-
markdownDescription: ( localize(
|
|
2767
|
+
markdownDescription: ( localize(476, "When enabled IntelliSense shows `issues`-suggestions."))
|
|
2749
2768
|
}
|
|
2750
2769
|
});
|
|
2751
2770
|
}
|
|
@@ -2805,13 +2824,13 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2805
2824
|
selectSubwords: true,
|
|
2806
2825
|
}, {
|
|
2807
2826
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2808
|
-
description: ( localize(
|
|
2827
|
+
description: ( localize(477, "Whether leading and trailing whitespace should always be selected.")),
|
|
2809
2828
|
default: true,
|
|
2810
2829
|
type: 'boolean'
|
|
2811
2830
|
},
|
|
2812
2831
|
'editor.smartSelect.selectSubwords': {
|
|
2813
2832
|
description: ( localize(
|
|
2814
|
-
|
|
2833
|
+
478,
|
|
2815
2834
|
"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
|
|
2816
2835
|
)),
|
|
2817
2836
|
default: true,
|
|
@@ -2835,22 +2854,23 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2835
2854
|
super(EditorOption.wordSegmenterLocales, 'wordSegmenterLocales', defaults, {
|
|
2836
2855
|
anyOf: [
|
|
2837
2856
|
{
|
|
2838
|
-
description: ( localize(
|
|
2839
|
-
476,
|
|
2840
|
-
"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.)."
|
|
2841
|
-
)),
|
|
2842
2857
|
type: 'string',
|
|
2843
2858
|
}, {
|
|
2844
|
-
description: ( localize(
|
|
2845
|
-
476,
|
|
2846
|
-
"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.)."
|
|
2847
|
-
)),
|
|
2848
2859
|
type: 'array',
|
|
2849
2860
|
items: {
|
|
2850
2861
|
type: 'string'
|
|
2851
2862
|
}
|
|
2852
2863
|
}
|
|
2853
|
-
]
|
|
2864
|
+
],
|
|
2865
|
+
description: ( localize(
|
|
2866
|
+
479,
|
|
2867
|
+
"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.)."
|
|
2868
|
+
)),
|
|
2869
|
+
type: 'array',
|
|
2870
|
+
items: {
|
|
2871
|
+
type: 'string',
|
|
2872
|
+
},
|
|
2873
|
+
default: defaults,
|
|
2854
2874
|
});
|
|
2855
2875
|
}
|
|
2856
2876
|
validate(input) {
|
|
@@ -2889,12 +2909,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2889
2909
|
type: 'string',
|
|
2890
2910
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2891
2911
|
enumDescriptions: [
|
|
2892
|
-
( localize(
|
|
2893
|
-
( localize(
|
|
2894
|
-
( localize(
|
|
2895
|
-
( localize(
|
|
2912
|
+
( localize(480, "No indentation. Wrapped lines begin at column 1.")),
|
|
2913
|
+
( localize(481, "Wrapped lines get the same indentation as the parent.")),
|
|
2914
|
+
( localize(482, "Wrapped lines get +1 indentation toward the parent.")),
|
|
2915
|
+
( localize(483, "Wrapped lines get +2 indentation toward the parent.")),
|
|
2896
2916
|
],
|
|
2897
|
-
description: ( localize(
|
|
2917
|
+
description: ( localize(484, "Controls the indentation of wrapped lines.")),
|
|
2898
2918
|
default: 'same'
|
|
2899
2919
|
}
|
|
2900
2920
|
});
|
|
@@ -2938,14 +2958,14 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2938
2958
|
type: 'boolean',
|
|
2939
2959
|
default: defaults.enabled,
|
|
2940
2960
|
markdownDescription: ( localize(
|
|
2941
|
-
|
|
2961
|
+
485,
|
|
2942
2962
|
"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)."
|
|
2943
2963
|
)),
|
|
2944
2964
|
},
|
|
2945
2965
|
'editor.dropIntoEditor.showDropSelector': {
|
|
2946
2966
|
type: 'string',
|
|
2947
2967
|
markdownDescription: ( localize(
|
|
2948
|
-
|
|
2968
|
+
486,
|
|
2949
2969
|
"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
|
|
2950
2970
|
)),
|
|
2951
2971
|
enum: [
|
|
@@ -2954,11 +2974,11 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2954
2974
|
],
|
|
2955
2975
|
enumDescriptions: [
|
|
2956
2976
|
( localize(
|
|
2957
|
-
|
|
2977
|
+
487,
|
|
2958
2978
|
"Show the drop selector widget after a file is dropped into the editor."
|
|
2959
2979
|
)),
|
|
2960
2980
|
( localize(
|
|
2961
|
-
|
|
2981
|
+
488,
|
|
2962
2982
|
"Never show the drop selector widget. Instead the default drop provider is always used."
|
|
2963
2983
|
)),
|
|
2964
2984
|
],
|
|
@@ -2984,12 +3004,12 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2984
3004
|
'editor.pasteAs.enabled': {
|
|
2985
3005
|
type: 'boolean',
|
|
2986
3006
|
default: defaults.enabled,
|
|
2987
|
-
markdownDescription: ( localize(
|
|
3007
|
+
markdownDescription: ( localize(489, "Controls whether you can paste content in different ways.")),
|
|
2988
3008
|
},
|
|
2989
3009
|
'editor.pasteAs.showPasteSelector': {
|
|
2990
3010
|
type: 'string',
|
|
2991
3011
|
markdownDescription: ( localize(
|
|
2992
|
-
|
|
3012
|
+
490,
|
|
2993
3013
|
"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
|
|
2994
3014
|
)),
|
|
2995
3015
|
enum: [
|
|
@@ -2998,11 +3018,11 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2998
3018
|
],
|
|
2999
3019
|
enumDescriptions: [
|
|
3000
3020
|
( localize(
|
|
3001
|
-
|
|
3021
|
+
491,
|
|
3002
3022
|
"Show the paste selector widget after content is pasted into the editor."
|
|
3003
3023
|
)),
|
|
3004
3024
|
( localize(
|
|
3005
|
-
|
|
3025
|
+
492,
|
|
3006
3026
|
"Never show the paste selector widget. Instead the default pasting behavior is always used."
|
|
3007
3027
|
)),
|
|
3008
3028
|
],
|
|
@@ -3042,166 +3062,174 @@ var EditorOption;
|
|
|
3042
3062
|
EditorOption[EditorOption["acceptSuggestionOnEnter"] = 1] = "acceptSuggestionOnEnter";
|
|
3043
3063
|
EditorOption[EditorOption["accessibilitySupport"] = 2] = "accessibilitySupport";
|
|
3044
3064
|
EditorOption[EditorOption["accessibilityPageSize"] = 3] = "accessibilityPageSize";
|
|
3045
|
-
EditorOption[EditorOption["
|
|
3046
|
-
EditorOption[EditorOption["
|
|
3047
|
-
EditorOption[EditorOption["
|
|
3048
|
-
EditorOption[EditorOption["
|
|
3049
|
-
EditorOption[EditorOption["
|
|
3050
|
-
EditorOption[EditorOption["
|
|
3051
|
-
EditorOption[EditorOption["
|
|
3052
|
-
EditorOption[EditorOption["
|
|
3053
|
-
EditorOption[EditorOption["
|
|
3054
|
-
EditorOption[EditorOption["
|
|
3055
|
-
EditorOption[EditorOption["
|
|
3056
|
-
EditorOption[EditorOption["
|
|
3057
|
-
EditorOption[EditorOption["
|
|
3058
|
-
EditorOption[EditorOption["
|
|
3059
|
-
EditorOption[EditorOption["
|
|
3060
|
-
EditorOption[EditorOption["
|
|
3061
|
-
EditorOption[EditorOption["
|
|
3062
|
-
EditorOption[EditorOption["
|
|
3063
|
-
EditorOption[EditorOption["
|
|
3064
|
-
EditorOption[EditorOption["
|
|
3065
|
-
EditorOption[EditorOption["
|
|
3066
|
-
EditorOption[EditorOption["
|
|
3067
|
-
EditorOption[EditorOption["
|
|
3068
|
-
EditorOption[EditorOption["
|
|
3069
|
-
EditorOption[EditorOption["
|
|
3070
|
-
EditorOption[EditorOption["
|
|
3071
|
-
EditorOption[EditorOption["
|
|
3072
|
-
EditorOption[EditorOption["
|
|
3073
|
-
EditorOption[EditorOption["
|
|
3074
|
-
EditorOption[EditorOption["
|
|
3075
|
-
EditorOption[EditorOption["
|
|
3076
|
-
EditorOption[EditorOption["
|
|
3077
|
-
EditorOption[EditorOption["
|
|
3078
|
-
EditorOption[EditorOption["
|
|
3079
|
-
EditorOption[EditorOption["
|
|
3080
|
-
EditorOption[EditorOption["
|
|
3081
|
-
EditorOption[EditorOption["
|
|
3082
|
-
EditorOption[EditorOption["
|
|
3083
|
-
EditorOption[EditorOption["
|
|
3084
|
-
EditorOption[EditorOption["
|
|
3085
|
-
EditorOption[EditorOption["
|
|
3086
|
-
EditorOption[EditorOption["
|
|
3087
|
-
EditorOption[EditorOption["
|
|
3088
|
-
EditorOption[EditorOption["
|
|
3089
|
-
EditorOption[EditorOption["
|
|
3090
|
-
EditorOption[EditorOption["
|
|
3091
|
-
EditorOption[EditorOption["
|
|
3092
|
-
EditorOption[EditorOption["
|
|
3093
|
-
EditorOption[EditorOption["
|
|
3094
|
-
EditorOption[EditorOption["
|
|
3095
|
-
EditorOption[EditorOption["
|
|
3096
|
-
EditorOption[EditorOption["
|
|
3097
|
-
EditorOption[EditorOption["
|
|
3098
|
-
EditorOption[EditorOption["
|
|
3099
|
-
EditorOption[EditorOption["
|
|
3100
|
-
EditorOption[EditorOption["
|
|
3101
|
-
EditorOption[EditorOption["
|
|
3102
|
-
EditorOption[EditorOption["
|
|
3103
|
-
EditorOption[EditorOption["
|
|
3104
|
-
EditorOption[EditorOption["
|
|
3105
|
-
EditorOption[EditorOption["
|
|
3106
|
-
EditorOption[EditorOption["
|
|
3107
|
-
EditorOption[EditorOption["
|
|
3108
|
-
EditorOption[EditorOption["
|
|
3109
|
-
EditorOption[EditorOption["
|
|
3110
|
-
EditorOption[EditorOption["
|
|
3111
|
-
EditorOption[EditorOption["
|
|
3112
|
-
EditorOption[EditorOption["
|
|
3113
|
-
EditorOption[EditorOption["
|
|
3114
|
-
EditorOption[EditorOption["
|
|
3115
|
-
EditorOption[EditorOption["
|
|
3116
|
-
EditorOption[EditorOption["
|
|
3117
|
-
EditorOption[EditorOption["
|
|
3118
|
-
EditorOption[EditorOption["
|
|
3119
|
-
EditorOption[EditorOption["
|
|
3120
|
-
EditorOption[EditorOption["
|
|
3121
|
-
EditorOption[EditorOption["
|
|
3122
|
-
EditorOption[EditorOption["
|
|
3123
|
-
EditorOption[EditorOption["
|
|
3124
|
-
EditorOption[EditorOption["
|
|
3125
|
-
EditorOption[EditorOption["
|
|
3126
|
-
EditorOption[EditorOption["
|
|
3127
|
-
EditorOption[EditorOption["
|
|
3128
|
-
EditorOption[EditorOption["
|
|
3129
|
-
EditorOption[EditorOption["
|
|
3130
|
-
EditorOption[EditorOption["
|
|
3131
|
-
EditorOption[EditorOption["
|
|
3132
|
-
EditorOption[EditorOption["
|
|
3133
|
-
EditorOption[EditorOption["
|
|
3134
|
-
EditorOption[EditorOption["
|
|
3135
|
-
EditorOption[EditorOption["
|
|
3136
|
-
EditorOption[EditorOption["
|
|
3137
|
-
EditorOption[EditorOption["
|
|
3138
|
-
EditorOption[EditorOption["
|
|
3139
|
-
EditorOption[EditorOption["
|
|
3140
|
-
EditorOption[EditorOption["
|
|
3141
|
-
EditorOption[EditorOption["
|
|
3142
|
-
EditorOption[EditorOption["
|
|
3143
|
-
EditorOption[EditorOption["
|
|
3144
|
-
EditorOption[EditorOption["
|
|
3145
|
-
EditorOption[EditorOption["
|
|
3146
|
-
EditorOption[EditorOption["
|
|
3147
|
-
EditorOption[EditorOption["
|
|
3148
|
-
EditorOption[EditorOption["
|
|
3149
|
-
EditorOption[EditorOption["
|
|
3150
|
-
EditorOption[EditorOption["
|
|
3151
|
-
EditorOption[EditorOption["
|
|
3152
|
-
EditorOption[EditorOption["
|
|
3153
|
-
EditorOption[EditorOption["
|
|
3154
|
-
EditorOption[EditorOption["
|
|
3155
|
-
EditorOption[EditorOption["
|
|
3156
|
-
EditorOption[EditorOption["
|
|
3157
|
-
EditorOption[EditorOption["
|
|
3158
|
-
EditorOption[EditorOption["
|
|
3159
|
-
EditorOption[EditorOption["
|
|
3160
|
-
EditorOption[EditorOption["
|
|
3161
|
-
EditorOption[EditorOption["
|
|
3162
|
-
EditorOption[EditorOption["
|
|
3163
|
-
EditorOption[EditorOption["
|
|
3164
|
-
EditorOption[EditorOption["
|
|
3165
|
-
EditorOption[EditorOption["
|
|
3166
|
-
EditorOption[EditorOption["
|
|
3167
|
-
EditorOption[EditorOption["
|
|
3168
|
-
EditorOption[EditorOption["
|
|
3169
|
-
EditorOption[EditorOption["
|
|
3170
|
-
EditorOption[EditorOption["
|
|
3171
|
-
EditorOption[EditorOption["
|
|
3172
|
-
EditorOption[EditorOption["
|
|
3173
|
-
EditorOption[EditorOption["
|
|
3174
|
-
EditorOption[EditorOption["
|
|
3175
|
-
EditorOption[EditorOption["
|
|
3176
|
-
EditorOption[EditorOption["
|
|
3177
|
-
EditorOption[EditorOption["
|
|
3178
|
-
EditorOption[EditorOption["
|
|
3179
|
-
EditorOption[EditorOption["
|
|
3180
|
-
EditorOption[EditorOption["
|
|
3181
|
-
EditorOption[EditorOption["
|
|
3182
|
-
EditorOption[EditorOption["
|
|
3183
|
-
EditorOption[EditorOption["
|
|
3184
|
-
EditorOption[EditorOption["
|
|
3185
|
-
EditorOption[EditorOption["
|
|
3186
|
-
EditorOption[EditorOption["
|
|
3187
|
-
EditorOption[EditorOption["
|
|
3188
|
-
EditorOption[EditorOption["
|
|
3189
|
-
EditorOption[EditorOption["
|
|
3190
|
-
EditorOption[EditorOption["
|
|
3191
|
-
EditorOption[EditorOption["
|
|
3192
|
-
EditorOption[EditorOption["
|
|
3193
|
-
EditorOption[EditorOption["
|
|
3194
|
-
EditorOption[EditorOption["
|
|
3195
|
-
EditorOption[EditorOption["
|
|
3196
|
-
EditorOption[EditorOption["
|
|
3197
|
-
EditorOption[EditorOption["
|
|
3198
|
-
EditorOption[EditorOption["
|
|
3199
|
-
EditorOption[EditorOption["
|
|
3200
|
-
EditorOption[EditorOption["
|
|
3201
|
-
EditorOption[EditorOption["
|
|
3202
|
-
EditorOption[EditorOption["
|
|
3203
|
-
EditorOption[EditorOption["
|
|
3204
|
-
EditorOption[EditorOption["
|
|
3065
|
+
EditorOption[EditorOption["allowOverflow"] = 4] = "allowOverflow";
|
|
3066
|
+
EditorOption[EditorOption["allowVariableLineHeights"] = 5] = "allowVariableLineHeights";
|
|
3067
|
+
EditorOption[EditorOption["allowVariableFonts"] = 6] = "allowVariableFonts";
|
|
3068
|
+
EditorOption[EditorOption["allowVariableFontsInAccessibilityMode"] = 7] = "allowVariableFontsInAccessibilityMode";
|
|
3069
|
+
EditorOption[EditorOption["ariaLabel"] = 8] = "ariaLabel";
|
|
3070
|
+
EditorOption[EditorOption["ariaRequired"] = 9] = "ariaRequired";
|
|
3071
|
+
EditorOption[EditorOption["autoClosingBrackets"] = 10] = "autoClosingBrackets";
|
|
3072
|
+
EditorOption[EditorOption["autoClosingComments"] = 11] = "autoClosingComments";
|
|
3073
|
+
EditorOption[EditorOption["screenReaderAnnounceInlineSuggestion"] = 12] = "screenReaderAnnounceInlineSuggestion";
|
|
3074
|
+
EditorOption[EditorOption["autoClosingDelete"] = 13] = "autoClosingDelete";
|
|
3075
|
+
EditorOption[EditorOption["autoClosingOvertype"] = 14] = "autoClosingOvertype";
|
|
3076
|
+
EditorOption[EditorOption["autoClosingQuotes"] = 15] = "autoClosingQuotes";
|
|
3077
|
+
EditorOption[EditorOption["autoIndent"] = 16] = "autoIndent";
|
|
3078
|
+
EditorOption[EditorOption["autoIndentOnPaste"] = 17] = "autoIndentOnPaste";
|
|
3079
|
+
EditorOption[EditorOption["autoIndentOnPasteWithinString"] = 18] = "autoIndentOnPasteWithinString";
|
|
3080
|
+
EditorOption[EditorOption["automaticLayout"] = 19] = "automaticLayout";
|
|
3081
|
+
EditorOption[EditorOption["autoSurround"] = 20] = "autoSurround";
|
|
3082
|
+
EditorOption[EditorOption["bracketPairColorization"] = 21] = "bracketPairColorization";
|
|
3083
|
+
EditorOption[EditorOption["guides"] = 22] = "guides";
|
|
3084
|
+
EditorOption[EditorOption["codeLens"] = 23] = "codeLens";
|
|
3085
|
+
EditorOption[EditorOption["codeLensFontFamily"] = 24] = "codeLensFontFamily";
|
|
3086
|
+
EditorOption[EditorOption["codeLensFontSize"] = 25] = "codeLensFontSize";
|
|
3087
|
+
EditorOption[EditorOption["colorDecorators"] = 26] = "colorDecorators";
|
|
3088
|
+
EditorOption[EditorOption["colorDecoratorsLimit"] = 27] = "colorDecoratorsLimit";
|
|
3089
|
+
EditorOption[EditorOption["columnSelection"] = 28] = "columnSelection";
|
|
3090
|
+
EditorOption[EditorOption["comments"] = 29] = "comments";
|
|
3091
|
+
EditorOption[EditorOption["contextmenu"] = 30] = "contextmenu";
|
|
3092
|
+
EditorOption[EditorOption["copyWithSyntaxHighlighting"] = 31] = "copyWithSyntaxHighlighting";
|
|
3093
|
+
EditorOption[EditorOption["cursorBlinking"] = 32] = "cursorBlinking";
|
|
3094
|
+
EditorOption[EditorOption["cursorSmoothCaretAnimation"] = 33] = "cursorSmoothCaretAnimation";
|
|
3095
|
+
EditorOption[EditorOption["cursorStyle"] = 34] = "cursorStyle";
|
|
3096
|
+
EditorOption[EditorOption["cursorSurroundingLines"] = 35] = "cursorSurroundingLines";
|
|
3097
|
+
EditorOption[EditorOption["cursorSurroundingLinesStyle"] = 36] = "cursorSurroundingLinesStyle";
|
|
3098
|
+
EditorOption[EditorOption["cursorWidth"] = 37] = "cursorWidth";
|
|
3099
|
+
EditorOption[EditorOption["cursorHeight"] = 38] = "cursorHeight";
|
|
3100
|
+
EditorOption[EditorOption["disableLayerHinting"] = 39] = "disableLayerHinting";
|
|
3101
|
+
EditorOption[EditorOption["disableMonospaceOptimizations"] = 40] = "disableMonospaceOptimizations";
|
|
3102
|
+
EditorOption[EditorOption["domReadOnly"] = 41] = "domReadOnly";
|
|
3103
|
+
EditorOption[EditorOption["dragAndDrop"] = 42] = "dragAndDrop";
|
|
3104
|
+
EditorOption[EditorOption["dropIntoEditor"] = 43] = "dropIntoEditor";
|
|
3105
|
+
EditorOption[EditorOption["editContext"] = 44] = "editContext";
|
|
3106
|
+
EditorOption[EditorOption["emptySelectionClipboard"] = 45] = "emptySelectionClipboard";
|
|
3107
|
+
EditorOption[EditorOption["experimentalGpuAcceleration"] = 46] = "experimentalGpuAcceleration";
|
|
3108
|
+
EditorOption[EditorOption["experimentalWhitespaceRendering"] = 47] = "experimentalWhitespaceRendering";
|
|
3109
|
+
EditorOption[EditorOption["extraEditorClassName"] = 48] = "extraEditorClassName";
|
|
3110
|
+
EditorOption[EditorOption["fastScrollSensitivity"] = 49] = "fastScrollSensitivity";
|
|
3111
|
+
EditorOption[EditorOption["find"] = 50] = "find";
|
|
3112
|
+
EditorOption[EditorOption["fixedOverflowWidgets"] = 51] = "fixedOverflowWidgets";
|
|
3113
|
+
EditorOption[EditorOption["folding"] = 52] = "folding";
|
|
3114
|
+
EditorOption[EditorOption["foldingStrategy"] = 53] = "foldingStrategy";
|
|
3115
|
+
EditorOption[EditorOption["foldingHighlight"] = 54] = "foldingHighlight";
|
|
3116
|
+
EditorOption[EditorOption["foldingImportsByDefault"] = 55] = "foldingImportsByDefault";
|
|
3117
|
+
EditorOption[EditorOption["foldingMaximumRegions"] = 56] = "foldingMaximumRegions";
|
|
3118
|
+
EditorOption[EditorOption["unfoldOnClickAfterEndOfLine"] = 57] = "unfoldOnClickAfterEndOfLine";
|
|
3119
|
+
EditorOption[EditorOption["fontFamily"] = 58] = "fontFamily";
|
|
3120
|
+
EditorOption[EditorOption["fontInfo"] = 59] = "fontInfo";
|
|
3121
|
+
EditorOption[EditorOption["fontLigatures"] = 60] = "fontLigatures";
|
|
3122
|
+
EditorOption[EditorOption["fontSize"] = 61] = "fontSize";
|
|
3123
|
+
EditorOption[EditorOption["fontWeight"] = 62] = "fontWeight";
|
|
3124
|
+
EditorOption[EditorOption["fontVariations"] = 63] = "fontVariations";
|
|
3125
|
+
EditorOption[EditorOption["formatOnPaste"] = 64] = "formatOnPaste";
|
|
3126
|
+
EditorOption[EditorOption["formatOnType"] = 65] = "formatOnType";
|
|
3127
|
+
EditorOption[EditorOption["glyphMargin"] = 66] = "glyphMargin";
|
|
3128
|
+
EditorOption[EditorOption["gotoLocation"] = 67] = "gotoLocation";
|
|
3129
|
+
EditorOption[EditorOption["hideCursorInOverviewRuler"] = 68] = "hideCursorInOverviewRuler";
|
|
3130
|
+
EditorOption[EditorOption["hover"] = 69] = "hover";
|
|
3131
|
+
EditorOption[EditorOption["inDiffEditor"] = 70] = "inDiffEditor";
|
|
3132
|
+
EditorOption[EditorOption["inlineSuggest"] = 71] = "inlineSuggest";
|
|
3133
|
+
EditorOption[EditorOption["letterSpacing"] = 72] = "letterSpacing";
|
|
3134
|
+
EditorOption[EditorOption["lightbulb"] = 73] = "lightbulb";
|
|
3135
|
+
EditorOption[EditorOption["lineDecorationsWidth"] = 74] = "lineDecorationsWidth";
|
|
3136
|
+
EditorOption[EditorOption["lineHeight"] = 75] = "lineHeight";
|
|
3137
|
+
EditorOption[EditorOption["lineNumbers"] = 76] = "lineNumbers";
|
|
3138
|
+
EditorOption[EditorOption["lineNumbersMinChars"] = 77] = "lineNumbersMinChars";
|
|
3139
|
+
EditorOption[EditorOption["linkedEditing"] = 78] = "linkedEditing";
|
|
3140
|
+
EditorOption[EditorOption["links"] = 79] = "links";
|
|
3141
|
+
EditorOption[EditorOption["matchBrackets"] = 80] = "matchBrackets";
|
|
3142
|
+
EditorOption[EditorOption["minimap"] = 81] = "minimap";
|
|
3143
|
+
EditorOption[EditorOption["mouseStyle"] = 82] = "mouseStyle";
|
|
3144
|
+
EditorOption[EditorOption["mouseWheelScrollSensitivity"] = 83] = "mouseWheelScrollSensitivity";
|
|
3145
|
+
EditorOption[EditorOption["mouseWheelZoom"] = 84] = "mouseWheelZoom";
|
|
3146
|
+
EditorOption[EditorOption["multiCursorMergeOverlapping"] = 85] = "multiCursorMergeOverlapping";
|
|
3147
|
+
EditorOption[EditorOption["multiCursorModifier"] = 86] = "multiCursorModifier";
|
|
3148
|
+
EditorOption[EditorOption["multiCursorPaste"] = 87] = "multiCursorPaste";
|
|
3149
|
+
EditorOption[EditorOption["multiCursorLimit"] = 88] = "multiCursorLimit";
|
|
3150
|
+
EditorOption[EditorOption["occurrencesHighlight"] = 89] = "occurrencesHighlight";
|
|
3151
|
+
EditorOption[EditorOption["occurrencesHighlightDelay"] = 90] = "occurrencesHighlightDelay";
|
|
3152
|
+
EditorOption[EditorOption["overtypeCursorStyle"] = 91] = "overtypeCursorStyle";
|
|
3153
|
+
EditorOption[EditorOption["overtypeOnPaste"] = 92] = "overtypeOnPaste";
|
|
3154
|
+
EditorOption[EditorOption["overviewRulerBorder"] = 93] = "overviewRulerBorder";
|
|
3155
|
+
EditorOption[EditorOption["overviewRulerLanes"] = 94] = "overviewRulerLanes";
|
|
3156
|
+
EditorOption[EditorOption["padding"] = 95] = "padding";
|
|
3157
|
+
EditorOption[EditorOption["pasteAs"] = 96] = "pasteAs";
|
|
3158
|
+
EditorOption[EditorOption["parameterHints"] = 97] = "parameterHints";
|
|
3159
|
+
EditorOption[EditorOption["peekWidgetDefaultFocus"] = 98] = "peekWidgetDefaultFocus";
|
|
3160
|
+
EditorOption[EditorOption["placeholder"] = 99] = "placeholder";
|
|
3161
|
+
EditorOption[EditorOption["definitionLinkOpensInPeek"] = 100] = "definitionLinkOpensInPeek";
|
|
3162
|
+
EditorOption[EditorOption["quickSuggestions"] = 101] = "quickSuggestions";
|
|
3163
|
+
EditorOption[EditorOption["quickSuggestionsDelay"] = 102] = "quickSuggestionsDelay";
|
|
3164
|
+
EditorOption[EditorOption["readOnly"] = 103] = "readOnly";
|
|
3165
|
+
EditorOption[EditorOption["readOnlyMessage"] = 104] = "readOnlyMessage";
|
|
3166
|
+
EditorOption[EditorOption["renameOnType"] = 105] = "renameOnType";
|
|
3167
|
+
EditorOption[EditorOption["renderRichScreenReaderContent"] = 106] = "renderRichScreenReaderContent";
|
|
3168
|
+
EditorOption[EditorOption["renderControlCharacters"] = 107] = "renderControlCharacters";
|
|
3169
|
+
EditorOption[EditorOption["renderFinalNewline"] = 108] = "renderFinalNewline";
|
|
3170
|
+
EditorOption[EditorOption["renderLineHighlight"] = 109] = "renderLineHighlight";
|
|
3171
|
+
EditorOption[EditorOption["renderLineHighlightOnlyWhenFocus"] = 110] = "renderLineHighlightOnlyWhenFocus";
|
|
3172
|
+
EditorOption[EditorOption["renderValidationDecorations"] = 111] = "renderValidationDecorations";
|
|
3173
|
+
EditorOption[EditorOption["renderWhitespace"] = 112] = "renderWhitespace";
|
|
3174
|
+
EditorOption[EditorOption["revealHorizontalRightPadding"] = 113] = "revealHorizontalRightPadding";
|
|
3175
|
+
EditorOption[EditorOption["roundedSelection"] = 114] = "roundedSelection";
|
|
3176
|
+
EditorOption[EditorOption["rulers"] = 115] = "rulers";
|
|
3177
|
+
EditorOption[EditorOption["scrollbar"] = 116] = "scrollbar";
|
|
3178
|
+
EditorOption[EditorOption["scrollBeyondLastColumn"] = 117] = "scrollBeyondLastColumn";
|
|
3179
|
+
EditorOption[EditorOption["scrollBeyondLastLine"] = 118] = "scrollBeyondLastLine";
|
|
3180
|
+
EditorOption[EditorOption["scrollPredominantAxis"] = 119] = "scrollPredominantAxis";
|
|
3181
|
+
EditorOption[EditorOption["selectionClipboard"] = 120] = "selectionClipboard";
|
|
3182
|
+
EditorOption[EditorOption["selectionHighlight"] = 121] = "selectionHighlight";
|
|
3183
|
+
EditorOption[EditorOption["selectionHighlightMaxLength"] = 122] = "selectionHighlightMaxLength";
|
|
3184
|
+
EditorOption[EditorOption["selectionHighlightMultiline"] = 123] = "selectionHighlightMultiline";
|
|
3185
|
+
EditorOption[EditorOption["selectOnLineNumbers"] = 124] = "selectOnLineNumbers";
|
|
3186
|
+
EditorOption[EditorOption["showFoldingControls"] = 125] = "showFoldingControls";
|
|
3187
|
+
EditorOption[EditorOption["showUnused"] = 126] = "showUnused";
|
|
3188
|
+
EditorOption[EditorOption["snippetSuggestions"] = 127] = "snippetSuggestions";
|
|
3189
|
+
EditorOption[EditorOption["smartSelect"] = 128] = "smartSelect";
|
|
3190
|
+
EditorOption[EditorOption["smoothScrolling"] = 129] = "smoothScrolling";
|
|
3191
|
+
EditorOption[EditorOption["stickyScroll"] = 130] = "stickyScroll";
|
|
3192
|
+
EditorOption[EditorOption["stickyTabStops"] = 131] = "stickyTabStops";
|
|
3193
|
+
EditorOption[EditorOption["stopRenderingLineAfter"] = 132] = "stopRenderingLineAfter";
|
|
3194
|
+
EditorOption[EditorOption["suggest"] = 133] = "suggest";
|
|
3195
|
+
EditorOption[EditorOption["suggestFontSize"] = 134] = "suggestFontSize";
|
|
3196
|
+
EditorOption[EditorOption["suggestLineHeight"] = 135] = "suggestLineHeight";
|
|
3197
|
+
EditorOption[EditorOption["suggestOnTriggerCharacters"] = 136] = "suggestOnTriggerCharacters";
|
|
3198
|
+
EditorOption[EditorOption["suggestSelection"] = 137] = "suggestSelection";
|
|
3199
|
+
EditorOption[EditorOption["tabCompletion"] = 138] = "tabCompletion";
|
|
3200
|
+
EditorOption[EditorOption["tabIndex"] = 139] = "tabIndex";
|
|
3201
|
+
EditorOption[EditorOption["trimWhitespaceOnDelete"] = 140] = "trimWhitespaceOnDelete";
|
|
3202
|
+
EditorOption[EditorOption["unicodeHighlighting"] = 141] = "unicodeHighlighting";
|
|
3203
|
+
EditorOption[EditorOption["unusualLineTerminators"] = 142] = "unusualLineTerminators";
|
|
3204
|
+
EditorOption[EditorOption["useShadowDOM"] = 143] = "useShadowDOM";
|
|
3205
|
+
EditorOption[EditorOption["useTabStops"] = 144] = "useTabStops";
|
|
3206
|
+
EditorOption[EditorOption["wordBreak"] = 145] = "wordBreak";
|
|
3207
|
+
EditorOption[EditorOption["wordSegmenterLocales"] = 146] = "wordSegmenterLocales";
|
|
3208
|
+
EditorOption[EditorOption["wordSeparators"] = 147] = "wordSeparators";
|
|
3209
|
+
EditorOption[EditorOption["wordWrap"] = 148] = "wordWrap";
|
|
3210
|
+
EditorOption[EditorOption["wordWrapBreakAfterCharacters"] = 149] = "wordWrapBreakAfterCharacters";
|
|
3211
|
+
EditorOption[EditorOption["wordWrapBreakBeforeCharacters"] = 150] = "wordWrapBreakBeforeCharacters";
|
|
3212
|
+
EditorOption[EditorOption["wordWrapColumn"] = 151] = "wordWrapColumn";
|
|
3213
|
+
EditorOption[EditorOption["wordWrapOverride1"] = 152] = "wordWrapOverride1";
|
|
3214
|
+
EditorOption[EditorOption["wordWrapOverride2"] = 153] = "wordWrapOverride2";
|
|
3215
|
+
EditorOption[EditorOption["wrappingIndent"] = 154] = "wrappingIndent";
|
|
3216
|
+
EditorOption[EditorOption["wrappingStrategy"] = 155] = "wrappingStrategy";
|
|
3217
|
+
EditorOption[EditorOption["showDeprecated"] = 156] = "showDeprecated";
|
|
3218
|
+
EditorOption[EditorOption["inertialScroll"] = 157] = "inertialScroll";
|
|
3219
|
+
EditorOption[EditorOption["inlayHints"] = 158] = "inlayHints";
|
|
3220
|
+
EditorOption[EditorOption["wrapOnEscapedLineFeeds"] = 159] = "wrapOnEscapedLineFeeds";
|
|
3221
|
+
EditorOption[EditorOption["effectiveCursorStyle"] = 160] = "effectiveCursorStyle";
|
|
3222
|
+
EditorOption[EditorOption["editorClassName"] = 161] = "editorClassName";
|
|
3223
|
+
EditorOption[EditorOption["pixelRatio"] = 162] = "pixelRatio";
|
|
3224
|
+
EditorOption[EditorOption["tabFocusMode"] = 163] = "tabFocusMode";
|
|
3225
|
+
EditorOption[EditorOption["layoutInfo"] = 164] = "layoutInfo";
|
|
3226
|
+
EditorOption[EditorOption["wrappingInfo"] = 165] = "wrappingInfo";
|
|
3227
|
+
EditorOption[EditorOption["defaultColorDecorators"] = 166] = "defaultColorDecorators";
|
|
3228
|
+
EditorOption[EditorOption["colorDecoratorsActivatedOn"] = 167] = "colorDecoratorsActivatedOn";
|
|
3229
|
+
EditorOption[EditorOption["inlineCompletionsAccessibilityVerbose"] = 168] = "inlineCompletionsAccessibilityVerbose";
|
|
3230
|
+
EditorOption[EditorOption["effectiveEditContext"] = 169] = "effectiveEditContext";
|
|
3231
|
+
EditorOption[EditorOption["scrollOnMiddleClick"] = 170] = "scrollOnMiddleClick";
|
|
3232
|
+
EditorOption[EditorOption["effectiveAllowVariableFonts"] = 171] = "effectiveAllowVariableFonts";
|
|
3205
3233
|
})(EditorOption || (EditorOption = {}));
|
|
3206
3234
|
const EditorOptions = {
|
|
3207
3235
|
acceptSuggestionOnCommitCharacter: register(( new EditorBooleanOption(
|
|
@@ -3209,7 +3237,7 @@ const EditorOptions = {
|
|
|
3209
3237
|
'acceptSuggestionOnCommitCharacter',
|
|
3210
3238
|
true,
|
|
3211
3239
|
{ markdownDescription: ( localize(
|
|
3212
|
-
|
|
3240
|
+
493,
|
|
3213
3241
|
"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."
|
|
3214
3242
|
)) }
|
|
3215
3243
|
))),
|
|
@@ -3222,13 +3250,13 @@ const EditorOptions = {
|
|
|
3222
3250
|
markdownEnumDescriptions: [
|
|
3223
3251
|
'',
|
|
3224
3252
|
( localize(
|
|
3225
|
-
|
|
3253
|
+
494,
|
|
3226
3254
|
"Only accept a suggestion with `Enter` when it makes a textual change."
|
|
3227
3255
|
)),
|
|
3228
3256
|
''
|
|
3229
3257
|
],
|
|
3230
3258
|
markdownDescription: ( localize(
|
|
3231
|
-
|
|
3259
|
+
495,
|
|
3232
3260
|
"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
|
|
3233
3261
|
))
|
|
3234
3262
|
}
|
|
@@ -3242,20 +3270,21 @@ const EditorOptions = {
|
|
|
3242
3270
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3243
3271
|
{
|
|
3244
3272
|
description: ( localize(
|
|
3245
|
-
|
|
3273
|
+
496,
|
|
3246
3274
|
"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."
|
|
3247
3275
|
)),
|
|
3248
3276
|
tags: ['accessibility']
|
|
3249
3277
|
}
|
|
3250
3278
|
))),
|
|
3279
|
+
allowOverflow: register(( new EditorBooleanOption(EditorOption.allowOverflow, 'allowOverflow', true))),
|
|
3251
3280
|
allowVariableLineHeights: register(( new EditorBooleanOption(EditorOption.allowVariableLineHeights, 'allowVariableLineHeights', true, {
|
|
3252
3281
|
description: ( localize(
|
|
3253
|
-
|
|
3282
|
+
497,
|
|
3254
3283
|
"Controls whether to allow using variable line heights in the editor."
|
|
3255
3284
|
))
|
|
3256
3285
|
}))),
|
|
3257
3286
|
allowVariableFonts: register(( new EditorBooleanOption(EditorOption.allowVariableFonts, 'allowVariableFonts', true, {
|
|
3258
|
-
description: ( localize(
|
|
3287
|
+
description: ( localize(498, "Controls whether to allow using variable fonts in the editor."))
|
|
3259
3288
|
}))),
|
|
3260
3289
|
allowVariableFontsInAccessibilityMode: register(( new EditorBooleanOption(
|
|
3261
3290
|
EditorOption.allowVariableFontsInAccessibilityMode,
|
|
@@ -3263,13 +3292,13 @@ const EditorOptions = {
|
|
|
3263
3292
|
false,
|
|
3264
3293
|
{
|
|
3265
3294
|
description: ( localize(
|
|
3266
|
-
|
|
3295
|
+
499,
|
|
3267
3296
|
"Controls whether to allow using variable fonts in the editor in the accessibility mode."
|
|
3268
3297
|
)),
|
|
3269
3298
|
tags: ['accessibility']
|
|
3270
3299
|
}
|
|
3271
3300
|
))),
|
|
3272
|
-
ariaLabel: register(( new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(
|
|
3301
|
+
ariaLabel: register(( new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(500, "Editor content"))))),
|
|
3273
3302
|
ariaRequired: register(( new EditorBooleanOption(EditorOption.ariaRequired, 'ariaRequired', false, undefined))),
|
|
3274
3303
|
screenReaderAnnounceInlineSuggestion: register(( new EditorBooleanOption(
|
|
3275
3304
|
EditorOption.screenReaderAnnounceInlineSuggestion,
|
|
@@ -3277,7 +3306,7 @@ const EditorOptions = {
|
|
|
3277
3306
|
true,
|
|
3278
3307
|
{
|
|
3279
3308
|
description: ( localize(
|
|
3280
|
-
|
|
3309
|
+
501,
|
|
3281
3310
|
"Control whether inline suggestions are announced by a screen reader."
|
|
3282
3311
|
)),
|
|
3283
3312
|
tags: ['accessibility']
|
|
@@ -3292,17 +3321,17 @@ const EditorOptions = {
|
|
|
3292
3321
|
enumDescriptions: [
|
|
3293
3322
|
'',
|
|
3294
3323
|
( localize(
|
|
3295
|
-
|
|
3324
|
+
502,
|
|
3296
3325
|
"Use language configurations to determine when to autoclose brackets."
|
|
3297
3326
|
)),
|
|
3298
3327
|
( localize(
|
|
3299
|
-
|
|
3328
|
+
503,
|
|
3300
3329
|
"Autoclose brackets only when the cursor is to the left of whitespace."
|
|
3301
3330
|
)),
|
|
3302
3331
|
'',
|
|
3303
3332
|
],
|
|
3304
3333
|
description: ( localize(
|
|
3305
|
-
|
|
3334
|
+
504,
|
|
3306
3335
|
"Controls whether the editor should automatically close brackets after the user adds an opening bracket."
|
|
3307
3336
|
))
|
|
3308
3337
|
}
|
|
@@ -3316,17 +3345,17 @@ const EditorOptions = {
|
|
|
3316
3345
|
enumDescriptions: [
|
|
3317
3346
|
'',
|
|
3318
3347
|
( localize(
|
|
3319
|
-
|
|
3348
|
+
505,
|
|
3320
3349
|
"Use language configurations to determine when to autoclose comments."
|
|
3321
3350
|
)),
|
|
3322
3351
|
( localize(
|
|
3323
|
-
|
|
3352
|
+
506,
|
|
3324
3353
|
"Autoclose comments only when the cursor is to the left of whitespace."
|
|
3325
3354
|
)),
|
|
3326
3355
|
'',
|
|
3327
3356
|
],
|
|
3328
3357
|
description: ( localize(
|
|
3329
|
-
|
|
3358
|
+
507,
|
|
3330
3359
|
"Controls whether the editor should automatically close comments after the user adds an opening comment."
|
|
3331
3360
|
))
|
|
3332
3361
|
}
|
|
@@ -3340,13 +3369,13 @@ const EditorOptions = {
|
|
|
3340
3369
|
enumDescriptions: [
|
|
3341
3370
|
'',
|
|
3342
3371
|
( localize(
|
|
3343
|
-
|
|
3372
|
+
508,
|
|
3344
3373
|
"Remove adjacent closing quotes or brackets only if they were automatically inserted."
|
|
3345
3374
|
)),
|
|
3346
3375
|
'',
|
|
3347
3376
|
],
|
|
3348
3377
|
description: ( localize(
|
|
3349
|
-
|
|
3378
|
+
509,
|
|
3350
3379
|
"Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
|
|
3351
3380
|
))
|
|
3352
3381
|
}
|
|
@@ -3360,13 +3389,13 @@ const EditorOptions = {
|
|
|
3360
3389
|
enumDescriptions: [
|
|
3361
3390
|
'',
|
|
3362
3391
|
( localize(
|
|
3363
|
-
|
|
3392
|
+
510,
|
|
3364
3393
|
"Type over closing quotes or brackets only if they were automatically inserted."
|
|
3365
3394
|
)),
|
|
3366
3395
|
'',
|
|
3367
3396
|
],
|
|
3368
3397
|
description: ( localize(
|
|
3369
|
-
|
|
3398
|
+
511,
|
|
3370
3399
|
"Controls whether the editor should type over closing quotes or brackets."
|
|
3371
3400
|
))
|
|
3372
3401
|
}
|
|
@@ -3379,12 +3408,12 @@ const EditorOptions = {
|
|
|
3379
3408
|
{
|
|
3380
3409
|
enumDescriptions: [
|
|
3381
3410
|
'',
|
|
3382
|
-
( localize(
|
|
3383
|
-
( localize(
|
|
3411
|
+
( localize(512, "Use language configurations to determine when to autoclose quotes.")),
|
|
3412
|
+
( localize(513, "Autoclose quotes only when the cursor is to the left of whitespace.")),
|
|
3384
3413
|
'',
|
|
3385
3414
|
],
|
|
3386
3415
|
description: ( localize(
|
|
3387
|
-
|
|
3416
|
+
514,
|
|
3388
3417
|
"Controls whether the editor should automatically close quotes after the user adds an opening quote."
|
|
3389
3418
|
))
|
|
3390
3419
|
}
|
|
@@ -3398,23 +3427,23 @@ const EditorOptions = {
|
|
|
3398
3427
|
_autoIndentFromString,
|
|
3399
3428
|
{
|
|
3400
3429
|
enumDescriptions: [
|
|
3401
|
-
( localize(
|
|
3402
|
-
( localize(
|
|
3430
|
+
( localize(515, "The editor will not insert indentation automatically.")),
|
|
3431
|
+
( localize(516, "The editor will keep the current line's indentation.")),
|
|
3403
3432
|
( localize(
|
|
3404
|
-
|
|
3433
|
+
517,
|
|
3405
3434
|
"The editor will keep the current line's indentation and honor language defined brackets."
|
|
3406
3435
|
)),
|
|
3407
3436
|
( localize(
|
|
3408
|
-
|
|
3437
|
+
518,
|
|
3409
3438
|
"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
|
|
3410
3439
|
)),
|
|
3411
3440
|
( localize(
|
|
3412
|
-
|
|
3441
|
+
519,
|
|
3413
3442
|
"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."
|
|
3414
3443
|
)),
|
|
3415
3444
|
],
|
|
3416
3445
|
description: ( localize(
|
|
3417
|
-
|
|
3446
|
+
520,
|
|
3418
3447
|
"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
|
|
3419
3448
|
))
|
|
3420
3449
|
}
|
|
@@ -3424,7 +3453,7 @@ const EditorOptions = {
|
|
|
3424
3453
|
'autoIndentOnPaste',
|
|
3425
3454
|
false,
|
|
3426
3455
|
{ description: ( localize(
|
|
3427
|
-
|
|
3456
|
+
521,
|
|
3428
3457
|
"Controls whether the editor should automatically auto-indent the pasted content."
|
|
3429
3458
|
)) }
|
|
3430
3459
|
))),
|
|
@@ -3433,7 +3462,7 @@ const EditorOptions = {
|
|
|
3433
3462
|
'autoIndentOnPasteWithinString',
|
|
3434
3463
|
true,
|
|
3435
3464
|
{ description: ( localize(
|
|
3436
|
-
|
|
3465
|
+
522,
|
|
3437
3466
|
"Controls whether the editor should automatically auto-indent the pasted content when pasted within a string. This takes effect when autoIndentOnPaste is true."
|
|
3438
3467
|
)) }
|
|
3439
3468
|
))),
|
|
@@ -3446,15 +3475,15 @@ const EditorOptions = {
|
|
|
3446
3475
|
{
|
|
3447
3476
|
enumDescriptions: [
|
|
3448
3477
|
( localize(
|
|
3449
|
-
|
|
3478
|
+
523,
|
|
3450
3479
|
"Use language configurations to determine when to automatically surround selections."
|
|
3451
3480
|
)),
|
|
3452
|
-
( localize(
|
|
3453
|
-
( localize(
|
|
3481
|
+
( localize(524, "Surround with quotes but not brackets.")),
|
|
3482
|
+
( localize(525, "Surround with brackets but not quotes.")),
|
|
3454
3483
|
''
|
|
3455
3484
|
],
|
|
3456
3485
|
description: ( localize(
|
|
3457
|
-
|
|
3486
|
+
526,
|
|
3458
3487
|
"Controls whether the editor should automatically surround selections when typing quotes or brackets."
|
|
3459
3488
|
))
|
|
3460
3489
|
}
|
|
@@ -3466,16 +3495,16 @@ const EditorOptions = {
|
|
|
3466
3495
|
'stickyTabStops',
|
|
3467
3496
|
false,
|
|
3468
3497
|
{ description: ( localize(
|
|
3469
|
-
|
|
3498
|
+
527,
|
|
3470
3499
|
"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
|
|
3471
3500
|
)) }
|
|
3472
3501
|
))),
|
|
3473
|
-
codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(
|
|
3502
|
+
codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(528, "Controls whether the editor shows CodeLens.")) }))),
|
|
3474
3503
|
codeLensFontFamily: register(( new EditorStringOption(
|
|
3475
3504
|
EditorOption.codeLensFontFamily,
|
|
3476
3505
|
'codeLensFontFamily',
|
|
3477
3506
|
'',
|
|
3478
|
-
{ description: ( localize(
|
|
3507
|
+
{ description: ( localize(529, "Controls the font family for CodeLens.")) }
|
|
3479
3508
|
))),
|
|
3480
3509
|
codeLensFontSize: register(( new EditorIntOption(EditorOption.codeLensFontSize, 'codeLensFontSize', 0, 0, 100, {
|
|
3481
3510
|
type: 'number',
|
|
@@ -3483,7 +3512,7 @@ const EditorOptions = {
|
|
|
3483
3512
|
minimum: 0,
|
|
3484
3513
|
maximum: 100,
|
|
3485
3514
|
markdownDescription: ( localize(
|
|
3486
|
-
|
|
3515
|
+
530,
|
|
3487
3516
|
"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
|
|
3488
3517
|
))
|
|
3489
3518
|
}))),
|
|
@@ -3492,7 +3521,7 @@ const EditorOptions = {
|
|
|
3492
3521
|
'colorDecorators',
|
|
3493
3522
|
true,
|
|
3494
3523
|
{ description: ( localize(
|
|
3495
|
-
|
|
3524
|
+
531,
|
|
3496
3525
|
"Controls whether the editor should render the inline color decorators and color picker."
|
|
3497
3526
|
)) }
|
|
3498
3527
|
))),
|
|
@@ -3504,14 +3533,14 @@ const EditorOptions = {
|
|
|
3504
3533
|
{
|
|
3505
3534
|
enumDescriptions: [
|
|
3506
3535
|
( localize(
|
|
3507
|
-
|
|
3536
|
+
532,
|
|
3508
3537
|
"Make the color picker appear both on click and hover of the color decorator"
|
|
3509
3538
|
)),
|
|
3510
|
-
( localize(
|
|
3511
|
-
( localize(
|
|
3539
|
+
( localize(533, "Make the color picker appear on hover of the color decorator")),
|
|
3540
|
+
( localize(534, "Make the color picker appear on click of the color decorator"))
|
|
3512
3541
|
],
|
|
3513
3542
|
description: ( localize(
|
|
3514
|
-
|
|
3543
|
+
535,
|
|
3515
3544
|
"Controls the condition to make a color picker appear from a color decorator."
|
|
3516
3545
|
))
|
|
3517
3546
|
}
|
|
@@ -3524,7 +3553,7 @@ const EditorOptions = {
|
|
|
3524
3553
|
1000000,
|
|
3525
3554
|
{
|
|
3526
3555
|
markdownDescription: ( localize(
|
|
3527
|
-
|
|
3556
|
+
536,
|
|
3528
3557
|
"Controls the max number of color decorators that can be rendered in an editor at once."
|
|
3529
3558
|
))
|
|
3530
3559
|
}
|
|
@@ -3534,7 +3563,7 @@ const EditorOptions = {
|
|
|
3534
3563
|
'columnSelection',
|
|
3535
3564
|
false,
|
|
3536
3565
|
{ description: ( localize(
|
|
3537
|
-
|
|
3566
|
+
537,
|
|
3538
3567
|
"Enable that the selection with the mouse and keys is doing column selection."
|
|
3539
3568
|
)) }
|
|
3540
3569
|
))),
|
|
@@ -3545,7 +3574,7 @@ const EditorOptions = {
|
|
|
3545
3574
|
'copyWithSyntaxHighlighting',
|
|
3546
3575
|
true,
|
|
3547
3576
|
{ description: ( localize(
|
|
3548
|
-
|
|
3577
|
+
538,
|
|
3549
3578
|
"Controls whether syntax highlighting should be copied into the clipboard."
|
|
3550
3579
|
)) }
|
|
3551
3580
|
))),
|
|
@@ -3556,7 +3585,7 @@ const EditorOptions = {
|
|
|
3556
3585
|
'blink',
|
|
3557
3586
|
['blink', 'smooth', 'phase', 'expand', 'solid'],
|
|
3558
3587
|
cursorBlinkingStyleFromString,
|
|
3559
|
-
{ description: ( localize(
|
|
3588
|
+
{ description: ( localize(539, "Control the cursor animation style.")) }
|
|
3560
3589
|
))),
|
|
3561
3590
|
cursorSmoothCaretAnimation: register(( new EditorStringEnumOption(
|
|
3562
3591
|
EditorOption.cursorSmoothCaretAnimation,
|
|
@@ -3565,14 +3594,14 @@ const EditorOptions = {
|
|
|
3565
3594
|
['off', 'explicit', 'on'],
|
|
3566
3595
|
{
|
|
3567
3596
|
enumDescriptions: [
|
|
3568
|
-
( localize(
|
|
3597
|
+
( localize(540, "Smooth caret animation is disabled.")),
|
|
3569
3598
|
( localize(
|
|
3570
|
-
|
|
3599
|
+
541,
|
|
3571
3600
|
"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
|
|
3572
3601
|
)),
|
|
3573
|
-
( localize(
|
|
3602
|
+
( localize(542, "Smooth caret animation is always enabled."))
|
|
3574
3603
|
],
|
|
3575
|
-
description: ( localize(
|
|
3604
|
+
description: ( localize(543, "Controls whether the smooth caret animation should be enabled."))
|
|
3576
3605
|
}
|
|
3577
3606
|
))),
|
|
3578
3607
|
cursorStyle: register(( new EditorEnumOption(
|
|
@@ -3582,7 +3611,7 @@ const EditorOptions = {
|
|
|
3582
3611
|
'line',
|
|
3583
3612
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3584
3613
|
cursorStyleFromString,
|
|
3585
|
-
{ description: ( localize(
|
|
3614
|
+
{ description: ( localize(544, "Controls the cursor style in insert input mode.")) }
|
|
3586
3615
|
))),
|
|
3587
3616
|
overtypeCursorStyle: register(( new EditorEnumOption(
|
|
3588
3617
|
EditorOption.overtypeCursorStyle,
|
|
@@ -3591,7 +3620,7 @@ const EditorOptions = {
|
|
|
3591
3620
|
'block',
|
|
3592
3621
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3593
3622
|
cursorStyleFromString,
|
|
3594
|
-
{ description: ( localize(
|
|
3623
|
+
{ description: ( localize(545, "Controls the cursor style in overtype input mode.")) }
|
|
3595
3624
|
))),
|
|
3596
3625
|
cursorSurroundingLines: register(( new EditorIntOption(
|
|
3597
3626
|
EditorOption.cursorSurroundingLines,
|
|
@@ -3600,7 +3629,7 @@ const EditorOptions = {
|
|
|
3600
3629
|
0,
|
|
3601
3630
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3602
3631
|
{ description: ( localize(
|
|
3603
|
-
|
|
3632
|
+
546,
|
|
3604
3633
|
"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."
|
|
3605
3634
|
)) }
|
|
3606
3635
|
))),
|
|
@@ -3612,12 +3641,12 @@ const EditorOptions = {
|
|
|
3612
3641
|
{
|
|
3613
3642
|
enumDescriptions: [
|
|
3614
3643
|
( localize(
|
|
3615
|
-
|
|
3644
|
+
547,
|
|
3616
3645
|
"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
|
|
3617
3646
|
)),
|
|
3618
|
-
( localize(
|
|
3647
|
+
( localize(548, "`cursorSurroundingLines` is enforced always."))
|
|
3619
3648
|
],
|
|
3620
|
-
markdownDescription: ( localize(
|
|
3649
|
+
markdownDescription: ( localize(549, "Controls when `#editor.cursorSurroundingLines#` should be enforced."))
|
|
3621
3650
|
}
|
|
3622
3651
|
))),
|
|
3623
3652
|
cursorWidth: register(( new EditorIntOption(
|
|
@@ -3627,10 +3656,21 @@ const EditorOptions = {
|
|
|
3627
3656
|
0,
|
|
3628
3657
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3629
3658
|
{ markdownDescription: ( localize(
|
|
3630
|
-
|
|
3659
|
+
550,
|
|
3631
3660
|
"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
|
|
3632
3661
|
)) }
|
|
3633
3662
|
))),
|
|
3663
|
+
cursorHeight: register(( new EditorIntOption(
|
|
3664
|
+
EditorOption.cursorHeight,
|
|
3665
|
+
'cursorHeight',
|
|
3666
|
+
0,
|
|
3667
|
+
0,
|
|
3668
|
+
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3669
|
+
{ markdownDescription: ( localize(
|
|
3670
|
+
551,
|
|
3671
|
+
"Controls the height of the cursor when `#editor.cursorStyle#` is set to `line`. Cursor's max height depends on line height."
|
|
3672
|
+
)) }
|
|
3673
|
+
))),
|
|
3634
3674
|
disableLayerHinting: register(( new EditorBooleanOption(EditorOption.disableLayerHinting, 'disableLayerHinting', false))),
|
|
3635
3675
|
disableMonospaceOptimizations: register(( new EditorBooleanOption(
|
|
3636
3676
|
EditorOption.disableMonospaceOptimizations,
|
|
@@ -3643,7 +3683,7 @@ const EditorOptions = {
|
|
|
3643
3683
|
'dragAndDrop',
|
|
3644
3684
|
true,
|
|
3645
3685
|
{ description: ( localize(
|
|
3646
|
-
|
|
3686
|
+
552,
|
|
3647
3687
|
"Controls whether the editor should allow moving selections via drag and drop."
|
|
3648
3688
|
)) }
|
|
3649
3689
|
))),
|
|
@@ -3651,11 +3691,22 @@ const EditorOptions = {
|
|
|
3651
3691
|
dropIntoEditor: register(( new EditorDropIntoEditor())),
|
|
3652
3692
|
editContext: register(( new EditorBooleanOption(EditorOption.editContext, 'editContext', true, {
|
|
3653
3693
|
description: ( localize(
|
|
3654
|
-
|
|
3694
|
+
553,
|
|
3655
3695
|
"Sets whether the EditContext API should be used instead of the text area to power input in the editor."
|
|
3656
3696
|
)),
|
|
3657
3697
|
included: isChrome || isEdge || isNative
|
|
3658
3698
|
}))),
|
|
3699
|
+
renderRichScreenReaderContent: register(( new EditorBooleanOption(
|
|
3700
|
+
EditorOption.renderRichScreenReaderContent,
|
|
3701
|
+
'renderRichScreenReaderContent',
|
|
3702
|
+
false,
|
|
3703
|
+
{
|
|
3704
|
+
description: ( localize(
|
|
3705
|
+
554,
|
|
3706
|
+
"Whether to render rich screen reader content when the `editor.editContext` is enabled."
|
|
3707
|
+
)),
|
|
3708
|
+
}
|
|
3709
|
+
))),
|
|
3659
3710
|
stickyScroll: register(( new EditorStickyScroll())),
|
|
3660
3711
|
experimentalGpuAcceleration: register(( new EditorStringEnumOption(
|
|
3661
3712
|
EditorOption.experimentalGpuAcceleration,
|
|
@@ -3665,11 +3716,11 @@ const EditorOptions = {
|
|
|
3665
3716
|
{
|
|
3666
3717
|
tags: ['experimental'],
|
|
3667
3718
|
enumDescriptions: [
|
|
3668
|
-
( localize(
|
|
3669
|
-
( localize(
|
|
3719
|
+
( localize(555, "Use regular DOM-based rendering.")),
|
|
3720
|
+
( localize(556, "Use GPU acceleration.")),
|
|
3670
3721
|
],
|
|
3671
3722
|
description: ( localize(
|
|
3672
|
-
|
|
3723
|
+
557,
|
|
3673
3724
|
"Controls whether to use the experimental GPU acceleration to render the editor."
|
|
3674
3725
|
))
|
|
3675
3726
|
}
|
|
@@ -3681,12 +3732,12 @@ const EditorOptions = {
|
|
|
3681
3732
|
['svg', 'font', 'off'],
|
|
3682
3733
|
{
|
|
3683
3734
|
enumDescriptions: [
|
|
3684
|
-
( localize(
|
|
3685
|
-
( localize(
|
|
3686
|
-
( localize(
|
|
3735
|
+
( localize(558, "Use a new rendering method with svgs.")),
|
|
3736
|
+
( localize(559, "Use a new rendering method with font characters.")),
|
|
3737
|
+
( localize(560, "Use the stable rendering method.")),
|
|
3687
3738
|
],
|
|
3688
3739
|
description: ( localize(
|
|
3689
|
-
|
|
3740
|
+
561,
|
|
3690
3741
|
"Controls whether whitespace is rendered with a new, experimental method."
|
|
3691
3742
|
))
|
|
3692
3743
|
}
|
|
@@ -3697,11 +3748,11 @@ const EditorOptions = {
|
|
|
3697
3748
|
'fastScrollSensitivity',
|
|
3698
3749
|
5,
|
|
3699
3750
|
x => (x <= 0 ? 5 : x),
|
|
3700
|
-
{ markdownDescription: ( localize(
|
|
3751
|
+
{ markdownDescription: ( localize(562, "Scrolling speed multiplier when pressing `Alt`.")) }
|
|
3701
3752
|
))),
|
|
3702
3753
|
find: register(( new EditorFind())),
|
|
3703
3754
|
fixedOverflowWidgets: register(( new EditorBooleanOption(EditorOption.fixedOverflowWidgets, 'fixedOverflowWidgets', false))),
|
|
3704
|
-
folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(
|
|
3755
|
+
folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(563, "Controls whether the editor has code folding enabled.")) }))),
|
|
3705
3756
|
foldingStrategy: register(( new EditorStringEnumOption(
|
|
3706
3757
|
EditorOption.foldingStrategy,
|
|
3707
3758
|
'foldingStrategy',
|
|
@@ -3710,25 +3761,25 @@ const EditorOptions = {
|
|
|
3710
3761
|
{
|
|
3711
3762
|
enumDescriptions: [
|
|
3712
3763
|
( localize(
|
|
3713
|
-
|
|
3764
|
+
564,
|
|
3714
3765
|
"Use a language-specific folding strategy if available, else the indentation-based one."
|
|
3715
3766
|
)),
|
|
3716
|
-
( localize(
|
|
3767
|
+
( localize(565, "Use the indentation-based folding strategy.")),
|
|
3717
3768
|
],
|
|
3718
|
-
description: ( localize(
|
|
3769
|
+
description: ( localize(566, "Controls the strategy for computing folding ranges."))
|
|
3719
3770
|
}
|
|
3720
3771
|
))),
|
|
3721
3772
|
foldingHighlight: register(( new EditorBooleanOption(
|
|
3722
3773
|
EditorOption.foldingHighlight,
|
|
3723
3774
|
'foldingHighlight',
|
|
3724
3775
|
true,
|
|
3725
|
-
{ description: ( localize(
|
|
3776
|
+
{ description: ( localize(567, "Controls whether the editor should highlight folded ranges.")) }
|
|
3726
3777
|
))),
|
|
3727
3778
|
foldingImportsByDefault: register(( new EditorBooleanOption(
|
|
3728
3779
|
EditorOption.foldingImportsByDefault,
|
|
3729
3780
|
'foldingImportsByDefault',
|
|
3730
3781
|
false,
|
|
3731
|
-
{ description: ( localize(
|
|
3782
|
+
{ description: ( localize(568, "Controls whether the editor automatically collapses import ranges.")) }
|
|
3732
3783
|
))),
|
|
3733
3784
|
foldingMaximumRegions: register(( new EditorIntOption(
|
|
3734
3785
|
EditorOption.foldingMaximumRegions,
|
|
@@ -3737,7 +3788,7 @@ const EditorOptions = {
|
|
|
3737
3788
|
10,
|
|
3738
3789
|
65000,
|
|
3739
3790
|
{ description: ( localize(
|
|
3740
|
-
|
|
3791
|
+
569,
|
|
3741
3792
|
"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."
|
|
3742
3793
|
)) }
|
|
3743
3794
|
))),
|
|
@@ -3746,7 +3797,7 @@ const EditorOptions = {
|
|
|
3746
3797
|
'unfoldOnClickAfterEndOfLine',
|
|
3747
3798
|
false,
|
|
3748
3799
|
{ description: ( localize(
|
|
3749
|
-
|
|
3800
|
+
570,
|
|
3750
3801
|
"Controls whether clicking on the empty content after a folded line will unfold the line."
|
|
3751
3802
|
)) }
|
|
3752
3803
|
))),
|
|
@@ -3754,7 +3805,7 @@ const EditorOptions = {
|
|
|
3754
3805
|
EditorOption.fontFamily,
|
|
3755
3806
|
'fontFamily',
|
|
3756
3807
|
EDITOR_FONT_DEFAULTS.fontFamily,
|
|
3757
|
-
{ description: ( localize(
|
|
3808
|
+
{ description: ( localize(571, "Controls the font family.")) }
|
|
3758
3809
|
))),
|
|
3759
3810
|
fontInfo: register(( new EditorFontInfo())),
|
|
3760
3811
|
fontLigatures2: register(( new EditorFontLigatures())),
|
|
@@ -3766,7 +3817,7 @@ const EditorOptions = {
|
|
|
3766
3817
|
'formatOnPaste',
|
|
3767
3818
|
false,
|
|
3768
3819
|
{ description: ( localize(
|
|
3769
|
-
|
|
3820
|
+
572,
|
|
3770
3821
|
"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."
|
|
3771
3822
|
)) }
|
|
3772
3823
|
))),
|
|
@@ -3775,7 +3826,7 @@ const EditorOptions = {
|
|
|
3775
3826
|
'formatOnType',
|
|
3776
3827
|
false,
|
|
3777
3828
|
{ description: ( localize(
|
|
3778
|
-
|
|
3829
|
+
573,
|
|
3779
3830
|
"Controls whether the editor should automatically format the line after typing."
|
|
3780
3831
|
)) }
|
|
3781
3832
|
))),
|
|
@@ -3784,7 +3835,7 @@ const EditorOptions = {
|
|
|
3784
3835
|
'glyphMargin',
|
|
3785
3836
|
true,
|
|
3786
3837
|
{ description: ( localize(
|
|
3787
|
-
|
|
3838
|
+
574,
|
|
3788
3839
|
"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
|
|
3789
3840
|
)) }
|
|
3790
3841
|
))),
|
|
@@ -3793,16 +3844,22 @@ const EditorOptions = {
|
|
|
3793
3844
|
EditorOption.hideCursorInOverviewRuler,
|
|
3794
3845
|
'hideCursorInOverviewRuler',
|
|
3795
3846
|
false,
|
|
3796
|
-
{ description: ( localize(
|
|
3847
|
+
{ description: ( localize(575, "Controls whether the cursor should be hidden in the overview ruler.")) }
|
|
3797
3848
|
))),
|
|
3798
3849
|
hover: register(( new EditorHover())),
|
|
3799
3850
|
inDiffEditor: register(( new EditorBooleanOption(EditorOption.inDiffEditor, 'inDiffEditor', false))),
|
|
3851
|
+
inertialScroll: register(( new EditorBooleanOption(
|
|
3852
|
+
EditorOption.inertialScroll,
|
|
3853
|
+
'inertialScroll',
|
|
3854
|
+
false,
|
|
3855
|
+
{ description: ( localize(576, "Make scrolling inertial - mostly useful with touchpad on linux.")) }
|
|
3856
|
+
))),
|
|
3800
3857
|
letterSpacing: register(( new EditorFloatOption(
|
|
3801
3858
|
EditorOption.letterSpacing,
|
|
3802
3859
|
'letterSpacing',
|
|
3803
3860
|
EDITOR_FONT_DEFAULTS.letterSpacing,
|
|
3804
3861
|
x => EditorFloatOption.clamp(x, -5, 20),
|
|
3805
|
-
{ description: ( localize(
|
|
3862
|
+
{ description: ( localize(577, "Controls the letter spacing in pixels.")) }
|
|
3806
3863
|
))),
|
|
3807
3864
|
lightbulb: register(( new EditorLightbulb())),
|
|
3808
3865
|
lineDecorationsWidth: register(( new EditorLineDecorationsWidth())),
|
|
@@ -3814,12 +3871,12 @@ const EditorOptions = {
|
|
|
3814
3871
|
'linkedEditing',
|
|
3815
3872
|
false,
|
|
3816
3873
|
{ description: ( localize(
|
|
3817
|
-
|
|
3874
|
+
578,
|
|
3818
3875
|
"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
|
|
3819
3876
|
)) }
|
|
3820
3877
|
))),
|
|
3821
3878
|
links: register(( new EditorBooleanOption(EditorOption.links, 'links', true, { description: ( localize(
|
|
3822
|
-
|
|
3879
|
+
579,
|
|
3823
3880
|
"Controls whether the editor should detect links and make them clickable."
|
|
3824
3881
|
)) }))),
|
|
3825
3882
|
matchBrackets: register(( new EditorStringEnumOption(
|
|
@@ -3827,7 +3884,7 @@ const EditorOptions = {
|
|
|
3827
3884
|
'matchBrackets',
|
|
3828
3885
|
'always',
|
|
3829
3886
|
['always', 'near', 'never'],
|
|
3830
|
-
{ description: ( localize(
|
|
3887
|
+
{ description: ( localize(580, "Highlight matching brackets.")) }
|
|
3831
3888
|
))),
|
|
3832
3889
|
minimap: register(( new EditorMinimap())),
|
|
3833
3890
|
mouseStyle: register(( new EditorStringEnumOption(EditorOption.mouseStyle, 'mouseStyle', 'text', ['text', 'default', 'copy']))),
|
|
@@ -3837,18 +3894,18 @@ const EditorOptions = {
|
|
|
3837
3894
|
1,
|
|
3838
3895
|
x => (x === 0 ? 1 : x),
|
|
3839
3896
|
{ markdownDescription: ( localize(
|
|
3840
|
-
|
|
3897
|
+
581,
|
|
3841
3898
|
"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
|
|
3842
3899
|
)) }
|
|
3843
3900
|
))),
|
|
3844
3901
|
mouseWheelZoom: register(( new EditorBooleanOption(EditorOption.mouseWheelZoom, 'mouseWheelZoom', false, {
|
|
3845
3902
|
markdownDescription: isMacintosh
|
|
3846
3903
|
? ( localize(
|
|
3847
|
-
|
|
3904
|
+
582,
|
|
3848
3905
|
"Zoom the font of the editor when using mouse wheel and holding `Cmd`."
|
|
3849
3906
|
))
|
|
3850
3907
|
: ( localize(
|
|
3851
|
-
|
|
3908
|
+
583,
|
|
3852
3909
|
"Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
|
|
3853
3910
|
))
|
|
3854
3911
|
}))),
|
|
@@ -3856,7 +3913,7 @@ const EditorOptions = {
|
|
|
3856
3913
|
EditorOption.multiCursorMergeOverlapping,
|
|
3857
3914
|
'multiCursorMergeOverlapping',
|
|
3858
3915
|
true,
|
|
3859
|
-
{ description: ( localize(
|
|
3916
|
+
{ description: ( localize(584, "Merge multiple cursors when they are overlapping.")) }
|
|
3860
3917
|
))),
|
|
3861
3918
|
multiCursorModifier: register(( new EditorEnumOption(
|
|
3862
3919
|
EditorOption.multiCursorModifier,
|
|
@@ -3867,11 +3924,11 @@ const EditorOptions = {
|
|
|
3867
3924
|
_multiCursorModifierFromString,
|
|
3868
3925
|
{
|
|
3869
3926
|
markdownEnumDescriptions: [
|
|
3870
|
-
( localize(
|
|
3871
|
-
( localize(
|
|
3927
|
+
( localize(585, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
|
|
3928
|
+
( localize(586, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
|
|
3872
3929
|
],
|
|
3873
3930
|
markdownDescription: ( localize(
|
|
3874
|
-
|
|
3931
|
+
587,
|
|
3875
3932
|
"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)."
|
|
3876
3933
|
))
|
|
3877
3934
|
}
|
|
@@ -3883,18 +3940,18 @@ const EditorOptions = {
|
|
|
3883
3940
|
['spread', 'full'],
|
|
3884
3941
|
{
|
|
3885
3942
|
markdownEnumDescriptions: [
|
|
3886
|
-
( localize(
|
|
3887
|
-
( localize(
|
|
3943
|
+
( localize(588, "Each cursor pastes a single line of the text.")),
|
|
3944
|
+
( localize(589, "Each cursor pastes the full text."))
|
|
3888
3945
|
],
|
|
3889
3946
|
markdownDescription: ( localize(
|
|
3890
|
-
|
|
3947
|
+
590,
|
|
3891
3948
|
"Controls pasting when the line count of the pasted text matches the cursor count."
|
|
3892
3949
|
))
|
|
3893
3950
|
}
|
|
3894
3951
|
))),
|
|
3895
3952
|
multiCursorLimit: register(( new EditorIntOption(EditorOption.multiCursorLimit, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3896
3953
|
markdownDescription: ( localize(
|
|
3897
|
-
|
|
3954
|
+
591,
|
|
3898
3955
|
"Controls the max number of cursors that can be in an active editor at once."
|
|
3899
3956
|
))
|
|
3900
3957
|
}))),
|
|
@@ -3905,12 +3962,12 @@ const EditorOptions = {
|
|
|
3905
3962
|
['off', 'singleFile', 'multiFile'],
|
|
3906
3963
|
{
|
|
3907
3964
|
markdownEnumDescriptions: [
|
|
3908
|
-
( localize(
|
|
3909
|
-
( localize(
|
|
3910
|
-
( localize(
|
|
3965
|
+
( localize(592, "Does not highlight occurrences.")),
|
|
3966
|
+
( localize(593, "Highlights occurrences only in the current file.")),
|
|
3967
|
+
( localize(594, "Experimental: Highlights occurrences across all valid open files."))
|
|
3911
3968
|
],
|
|
3912
3969
|
markdownDescription: ( localize(
|
|
3913
|
-
|
|
3970
|
+
595,
|
|
3914
3971
|
"Controls whether occurrences should be highlighted across open files."
|
|
3915
3972
|
))
|
|
3916
3973
|
}
|
|
@@ -3923,7 +3980,7 @@ const EditorOptions = {
|
|
|
3923
3980
|
2000,
|
|
3924
3981
|
{
|
|
3925
3982
|
description: ( localize(
|
|
3926
|
-
|
|
3983
|
+
596,
|
|
3927
3984
|
"Controls the delay in milliseconds after which occurrences are highlighted."
|
|
3928
3985
|
)),
|
|
3929
3986
|
tags: ['preview']
|
|
@@ -3933,14 +3990,14 @@ const EditorOptions = {
|
|
|
3933
3990
|
EditorOption.overtypeOnPaste,
|
|
3934
3991
|
'overtypeOnPaste',
|
|
3935
3992
|
true,
|
|
3936
|
-
{ description: ( localize(
|
|
3993
|
+
{ description: ( localize(597, "Controls whether pasting should overtype.")) }
|
|
3937
3994
|
))),
|
|
3938
3995
|
overviewRulerBorder: register(( new EditorBooleanOption(
|
|
3939
3996
|
EditorOption.overviewRulerBorder,
|
|
3940
3997
|
'overviewRulerBorder',
|
|
3941
3998
|
true,
|
|
3942
3999
|
{ description: ( localize(
|
|
3943
|
-
|
|
4000
|
+
598,
|
|
3944
4001
|
"Controls whether a border should be drawn around the overview ruler."
|
|
3945
4002
|
)) }
|
|
3946
4003
|
))),
|
|
@@ -3955,11 +4012,11 @@ const EditorOptions = {
|
|
|
3955
4012
|
['tree', 'editor'],
|
|
3956
4013
|
{
|
|
3957
4014
|
enumDescriptions: [
|
|
3958
|
-
( localize(
|
|
3959
|
-
( localize(
|
|
4015
|
+
( localize(599, "Focus the tree when opening peek")),
|
|
4016
|
+
( localize(600, "Focus the editor when opening peek"))
|
|
3960
4017
|
],
|
|
3961
4018
|
description: ( localize(
|
|
3962
|
-
|
|
4019
|
+
601,
|
|
3963
4020
|
"Controls whether to focus the inline editor or the tree in the peek widget."
|
|
3964
4021
|
))
|
|
3965
4022
|
}
|
|
@@ -3970,7 +4027,7 @@ const EditorOptions = {
|
|
|
3970
4027
|
'definitionLinkOpensInPeek',
|
|
3971
4028
|
false,
|
|
3972
4029
|
{ description: ( localize(
|
|
3973
|
-
|
|
4030
|
+
602,
|
|
3974
4031
|
"Controls whether the Go to Definition mouse gesture always opens the peek widget."
|
|
3975
4032
|
)) }
|
|
3976
4033
|
))),
|
|
@@ -3983,10 +4040,12 @@ const EditorOptions = {
|
|
|
3983
4040
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3984
4041
|
{
|
|
3985
4042
|
description: ( localize(
|
|
3986
|
-
|
|
4043
|
+
603,
|
|
3987
4044
|
"Controls the delay in milliseconds after which quick suggestions will show up."
|
|
3988
4045
|
)),
|
|
3989
|
-
|
|
4046
|
+
experiment: {
|
|
4047
|
+
mode: 'startup'
|
|
4048
|
+
}
|
|
3990
4049
|
}
|
|
3991
4050
|
))),
|
|
3992
4051
|
readOnly: register(( new EditorBooleanOption(EditorOption.readOnly, 'readOnly', false))),
|
|
@@ -3995,20 +4054,20 @@ const EditorOptions = {
|
|
|
3995
4054
|
EditorOption.renameOnType,
|
|
3996
4055
|
'renameOnType',
|
|
3997
4056
|
false,
|
|
3998
|
-
{ description: ( localize(
|
|
4057
|
+
{ description: ( localize(604, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localize(605, "Deprecated, use `editor.linkedEditing` instead.")) }
|
|
3999
4058
|
))),
|
|
4000
4059
|
renderControlCharacters: register(( new EditorBooleanOption(
|
|
4001
4060
|
EditorOption.renderControlCharacters,
|
|
4002
4061
|
'renderControlCharacters',
|
|
4003
4062
|
true,
|
|
4004
|
-
{ description: ( localize(
|
|
4063
|
+
{ description: ( localize(606, "Controls whether the editor should render control characters.")), restricted: true }
|
|
4005
4064
|
))),
|
|
4006
4065
|
renderFinalNewline: register(( new EditorStringEnumOption(
|
|
4007
4066
|
EditorOption.renderFinalNewline,
|
|
4008
4067
|
'renderFinalNewline',
|
|
4009
4068
|
(isLinux ? 'dimmed' : 'on'),
|
|
4010
4069
|
['off', 'on', 'dimmed'],
|
|
4011
|
-
{ description: ( localize(
|
|
4070
|
+
{ description: ( localize(607, "Render last line number when the file ends with a newline.")) }
|
|
4012
4071
|
))),
|
|
4013
4072
|
renderLineHighlight: register(( new EditorStringEnumOption(
|
|
4014
4073
|
EditorOption.renderLineHighlight,
|
|
@@ -4020,9 +4079,9 @@ const EditorOptions = {
|
|
|
4020
4079
|
'',
|
|
4021
4080
|
'',
|
|
4022
4081
|
'',
|
|
4023
|
-
( localize(
|
|
4082
|
+
( localize(608, "Highlights both the gutter and the current line.")),
|
|
4024
4083
|
],
|
|
4025
|
-
description: ( localize(
|
|
4084
|
+
description: ( localize(609, "Controls how the editor should render the current line highlight."))
|
|
4026
4085
|
}
|
|
4027
4086
|
))),
|
|
4028
4087
|
renderLineHighlightOnlyWhenFocus: register(( new EditorBooleanOption(
|
|
@@ -4030,7 +4089,7 @@ const EditorOptions = {
|
|
|
4030
4089
|
'renderLineHighlightOnlyWhenFocus',
|
|
4031
4090
|
false,
|
|
4032
4091
|
{ description: ( localize(
|
|
4033
|
-
|
|
4092
|
+
610,
|
|
4034
4093
|
"Controls if the editor should render the current line highlight only when the editor is focused."
|
|
4035
4094
|
)) }
|
|
4036
4095
|
))),
|
|
@@ -4049,14 +4108,14 @@ const EditorOptions = {
|
|
|
4049
4108
|
enumDescriptions: [
|
|
4050
4109
|
'',
|
|
4051
4110
|
( localize(
|
|
4052
|
-
|
|
4111
|
+
611,
|
|
4053
4112
|
"Render whitespace characters except for single spaces between words."
|
|
4054
4113
|
)),
|
|
4055
|
-
( localize(
|
|
4056
|
-
( localize(
|
|
4114
|
+
( localize(612, "Render whitespace characters only on selected text.")),
|
|
4115
|
+
( localize(613, "Render only trailing whitespace characters.")),
|
|
4057
4116
|
''
|
|
4058
4117
|
],
|
|
4059
|
-
description: ( localize(
|
|
4118
|
+
description: ( localize(614, "Controls how the editor should render whitespace characters."))
|
|
4060
4119
|
}
|
|
4061
4120
|
))),
|
|
4062
4121
|
revealHorizontalRightPadding: register(( new EditorIntOption(
|
|
@@ -4070,7 +4129,7 @@ const EditorOptions = {
|
|
|
4070
4129
|
EditorOption.roundedSelection,
|
|
4071
4130
|
'roundedSelection',
|
|
4072
4131
|
true,
|
|
4073
|
-
{ description: ( localize(
|
|
4132
|
+
{ description: ( localize(615, "Controls whether selections should have rounded corners.")) }
|
|
4074
4133
|
))),
|
|
4075
4134
|
rulers: register(( new EditorRulers())),
|
|
4076
4135
|
scrollbar: register(( new EditorScrollbar())),
|
|
@@ -4081,7 +4140,7 @@ const EditorOptions = {
|
|
|
4081
4140
|
0,
|
|
4082
4141
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4083
4142
|
{ description: ( localize(
|
|
4084
|
-
|
|
4143
|
+
616,
|
|
4085
4144
|
"Controls the number of extra characters beyond which the editor will scroll horizontally."
|
|
4086
4145
|
)) }
|
|
4087
4146
|
))),
|
|
@@ -4089,14 +4148,14 @@ const EditorOptions = {
|
|
|
4089
4148
|
EditorOption.scrollBeyondLastLine,
|
|
4090
4149
|
'scrollBeyondLastLine',
|
|
4091
4150
|
true,
|
|
4092
|
-
{ description: ( localize(
|
|
4151
|
+
{ description: ( localize(617, "Controls whether the editor will scroll beyond the last line.")) }
|
|
4093
4152
|
))),
|
|
4094
4153
|
scrollOnMiddleClick: register(( new EditorBooleanOption(
|
|
4095
4154
|
EditorOption.scrollOnMiddleClick,
|
|
4096
4155
|
'scrollOnMiddleClick',
|
|
4097
4156
|
false,
|
|
4098
4157
|
{ description: ( localize(
|
|
4099
|
-
|
|
4158
|
+
618,
|
|
4100
4159
|
"Controls whether the editor will scroll when the middle button is pressed."
|
|
4101
4160
|
)) }
|
|
4102
4161
|
))),
|
|
@@ -4105,12 +4164,12 @@ const EditorOptions = {
|
|
|
4105
4164
|
'scrollPredominantAxis',
|
|
4106
4165
|
true,
|
|
4107
4166
|
{ description: ( localize(
|
|
4108
|
-
|
|
4167
|
+
619,
|
|
4109
4168
|
"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."
|
|
4110
4169
|
)) }
|
|
4111
4170
|
))),
|
|
4112
4171
|
selectionClipboard: register(( new EditorBooleanOption(EditorOption.selectionClipboard, 'selectionClipboard', true, {
|
|
4113
|
-
description: ( localize(
|
|
4172
|
+
description: ( localize(620, "Controls whether the Linux primary clipboard should be supported.")),
|
|
4114
4173
|
included: isLinux
|
|
4115
4174
|
}))),
|
|
4116
4175
|
selectionHighlight: register(( new EditorBooleanOption(
|
|
@@ -4118,10 +4177,30 @@ const EditorOptions = {
|
|
|
4118
4177
|
'selectionHighlight',
|
|
4119
4178
|
true,
|
|
4120
4179
|
{ description: ( localize(
|
|
4121
|
-
|
|
4180
|
+
621,
|
|
4122
4181
|
"Controls whether the editor should highlight matches similar to the selection."
|
|
4123
4182
|
)) }
|
|
4124
4183
|
))),
|
|
4184
|
+
selectionHighlightMaxLength: register(( new EditorIntOption(
|
|
4185
|
+
EditorOption.selectionHighlightMaxLength,
|
|
4186
|
+
'selectionHighlightMaxLength',
|
|
4187
|
+
200,
|
|
4188
|
+
0,
|
|
4189
|
+
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4190
|
+
{ description: ( localize(
|
|
4191
|
+
622,
|
|
4192
|
+
"Controls how many characters can be in the selection before similiar matches are not highlighted. Set to zero for unlimited."
|
|
4193
|
+
)) }
|
|
4194
|
+
))),
|
|
4195
|
+
selectionHighlightMultiline: register(( new EditorBooleanOption(
|
|
4196
|
+
EditorOption.selectionHighlightMultiline,
|
|
4197
|
+
'selectionHighlightMultiline',
|
|
4198
|
+
false,
|
|
4199
|
+
{ description: ( localize(
|
|
4200
|
+
623,
|
|
4201
|
+
"Controls whether the editor should highlight selection matches that span multiple lines."
|
|
4202
|
+
)) }
|
|
4203
|
+
))),
|
|
4125
4204
|
selectOnLineNumbers: register(( new EditorBooleanOption(EditorOption.selectOnLineNumbers, 'selectOnLineNumbers', true))),
|
|
4126
4205
|
showFoldingControls: register(( new EditorStringEnumOption(
|
|
4127
4206
|
EditorOption.showFoldingControls,
|
|
@@ -4130,19 +4209,19 @@ const EditorOptions = {
|
|
|
4130
4209
|
['always', 'never', 'mouseover'],
|
|
4131
4210
|
{
|
|
4132
4211
|
enumDescriptions: [
|
|
4133
|
-
( localize(
|
|
4134
|
-
( localize(
|
|
4135
|
-
( localize(
|
|
4212
|
+
( localize(624, "Always show the folding controls.")),
|
|
4213
|
+
( localize(625, "Never show the folding controls and reduce the gutter size.")),
|
|
4214
|
+
( localize(626, "Only show the folding controls when the mouse is over the gutter.")),
|
|
4136
4215
|
],
|
|
4137
|
-
description: ( localize(
|
|
4216
|
+
description: ( localize(627, "Controls when the folding controls on the gutter are shown."))
|
|
4138
4217
|
}
|
|
4139
4218
|
))),
|
|
4140
|
-
showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(
|
|
4219
|
+
showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(628, "Controls fading out of unused code.")) }))),
|
|
4141
4220
|
showDeprecated: register(( new EditorBooleanOption(
|
|
4142
4221
|
EditorOption.showDeprecated,
|
|
4143
4222
|
'showDeprecated',
|
|
4144
4223
|
true,
|
|
4145
|
-
{ description: ( localize(
|
|
4224
|
+
{ description: ( localize(629, "Controls strikethrough deprecated variables.")) }
|
|
4146
4225
|
))),
|
|
4147
4226
|
inlayHints: register(( new EditorInlayHints())),
|
|
4148
4227
|
snippetSuggestions: register(( new EditorStringEnumOption(
|
|
@@ -4152,13 +4231,13 @@ const EditorOptions = {
|
|
|
4152
4231
|
['top', 'bottom', 'inline', 'none'],
|
|
4153
4232
|
{
|
|
4154
4233
|
enumDescriptions: [
|
|
4155
|
-
( localize(
|
|
4156
|
-
( localize(
|
|
4157
|
-
( localize(
|
|
4158
|
-
( localize(
|
|
4234
|
+
( localize(630, "Show snippet suggestions on top of other suggestions.")),
|
|
4235
|
+
( localize(631, "Show snippet suggestions below other suggestions.")),
|
|
4236
|
+
( localize(632, "Show snippets suggestions with other suggestions.")),
|
|
4237
|
+
( localize(633, "Do not show snippet suggestions.")),
|
|
4159
4238
|
],
|
|
4160
4239
|
description: ( localize(
|
|
4161
|
-
|
|
4240
|
+
634,
|
|
4162
4241
|
"Controls whether snippets are shown with other suggestions and how they are sorted."
|
|
4163
4242
|
))
|
|
4164
4243
|
}
|
|
@@ -4168,7 +4247,7 @@ const EditorOptions = {
|
|
|
4168
4247
|
EditorOption.smoothScrolling,
|
|
4169
4248
|
'smoothScrolling',
|
|
4170
4249
|
false,
|
|
4171
|
-
{ description: ( localize(
|
|
4250
|
+
{ description: ( localize(635, "Controls whether the editor will scroll using an animation.")) }
|
|
4172
4251
|
))),
|
|
4173
4252
|
stopRenderingLineAfter: register(( new EditorIntOption(
|
|
4174
4253
|
EditorOption.stopRenderingLineAfter,
|
|
@@ -4184,7 +4263,7 @@ const EditorOptions = {
|
|
|
4184
4263
|
'inlineCompletionsAccessibilityVerbose',
|
|
4185
4264
|
false,
|
|
4186
4265
|
{ description: ( localize(
|
|
4187
|
-
|
|
4266
|
+
636,
|
|
4188
4267
|
"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
|
|
4189
4268
|
)) }
|
|
4190
4269
|
))),
|
|
@@ -4195,7 +4274,7 @@ const EditorOptions = {
|
|
|
4195
4274
|
0,
|
|
4196
4275
|
1000,
|
|
4197
4276
|
{ markdownDescription: ( localize(
|
|
4198
|
-
|
|
4277
|
+
637,
|
|
4199
4278
|
"Font size for the suggest widget. When set to {0}, the value of {1} is used.",
|
|
4200
4279
|
'`0`',
|
|
4201
4280
|
'`#editor.fontSize#`'
|
|
@@ -4208,7 +4287,7 @@ const EditorOptions = {
|
|
|
4208
4287
|
0,
|
|
4209
4288
|
1000,
|
|
4210
4289
|
{ markdownDescription: ( localize(
|
|
4211
|
-
|
|
4290
|
+
638,
|
|
4212
4291
|
"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
|
|
4213
4292
|
'`0`',
|
|
4214
4293
|
'`#editor.lineHeight#`'
|
|
@@ -4219,7 +4298,7 @@ const EditorOptions = {
|
|
|
4219
4298
|
'suggestOnTriggerCharacters',
|
|
4220
4299
|
true,
|
|
4221
4300
|
{ description: ( localize(
|
|
4222
|
-
|
|
4301
|
+
639,
|
|
4223
4302
|
"Controls whether suggestions should automatically show up when typing trigger characters."
|
|
4224
4303
|
)) }
|
|
4225
4304
|
))),
|
|
@@ -4230,18 +4309,18 @@ const EditorOptions = {
|
|
|
4230
4309
|
['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
|
|
4231
4310
|
{
|
|
4232
4311
|
markdownEnumDescriptions: [
|
|
4233
|
-
( localize(
|
|
4312
|
+
( localize(640, "Always select the first suggestion.")),
|
|
4234
4313
|
( localize(
|
|
4235
|
-
|
|
4314
|
+
641,
|
|
4236
4315
|
"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
|
|
4237
4316
|
)),
|
|
4238
4317
|
( localize(
|
|
4239
|
-
|
|
4318
|
+
642,
|
|
4240
4319
|
"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
|
|
4241
4320
|
)),
|
|
4242
4321
|
],
|
|
4243
4322
|
description: ( localize(
|
|
4244
|
-
|
|
4323
|
+
643,
|
|
4245
4324
|
"Controls how suggestions are pre-selected when showing the suggest list."
|
|
4246
4325
|
))
|
|
4247
4326
|
}
|
|
@@ -4254,19 +4333,28 @@ const EditorOptions = {
|
|
|
4254
4333
|
{
|
|
4255
4334
|
enumDescriptions: [
|
|
4256
4335
|
( localize(
|
|
4257
|
-
|
|
4336
|
+
644,
|
|
4258
4337
|
"Tab complete will insert the best matching suggestion when pressing tab."
|
|
4259
4338
|
)),
|
|
4260
|
-
( localize(
|
|
4339
|
+
( localize(645, "Disable tab completions.")),
|
|
4261
4340
|
( localize(
|
|
4262
|
-
|
|
4341
|
+
646,
|
|
4263
4342
|
"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
|
|
4264
4343
|
)),
|
|
4265
4344
|
],
|
|
4266
|
-
description: ( localize(
|
|
4345
|
+
description: ( localize(647, "Enables tab completions."))
|
|
4267
4346
|
}
|
|
4268
4347
|
))),
|
|
4269
4348
|
tabIndex: register(( new EditorIntOption(EditorOption.tabIndex, 'tabIndex', 0, -1, Constants.MAX_SAFE_SMALL_INTEGER))),
|
|
4349
|
+
trimWhitespaceOnDelete: register(( new EditorBooleanOption(
|
|
4350
|
+
EditorOption.trimWhitespaceOnDelete,
|
|
4351
|
+
'trimWhitespaceOnDelete',
|
|
4352
|
+
false,
|
|
4353
|
+
{ description: ( localize(
|
|
4354
|
+
648,
|
|
4355
|
+
"Controls whether the editor will also delete the next line's indentation whitespace when deleting a newline."
|
|
4356
|
+
)) }
|
|
4357
|
+
))),
|
|
4270
4358
|
unicodeHighlight: register(( new UnicodeHighlight())),
|
|
4271
4359
|
unusualLineTerminators: register(( new EditorStringEnumOption(
|
|
4272
4360
|
EditorOption.unusualLineTerminators,
|
|
@@ -4275,11 +4363,11 @@ const EditorOptions = {
|
|
|
4275
4363
|
['auto', 'off', 'prompt'],
|
|
4276
4364
|
{
|
|
4277
4365
|
enumDescriptions: [
|
|
4278
|
-
( localize(
|
|
4279
|
-
( localize(
|
|
4280
|
-
( localize(
|
|
4366
|
+
( localize(649, "Unusual line terminators are automatically removed.")),
|
|
4367
|
+
( localize(650, "Unusual line terminators are ignored.")),
|
|
4368
|
+
( localize(651, "Unusual line terminators prompt to be removed.")),
|
|
4281
4369
|
],
|
|
4282
|
-
description: ( localize(
|
|
4370
|
+
description: ( localize(652, "Remove unusual line terminators that might cause problems."))
|
|
4283
4371
|
}
|
|
4284
4372
|
))),
|
|
4285
4373
|
useShadowDOM: register(( new EditorBooleanOption(EditorOption.useShadowDOM, 'useShadowDOM', true))),
|
|
@@ -4288,20 +4376,20 @@ const EditorOptions = {
|
|
|
4288
4376
|
'useTabStops',
|
|
4289
4377
|
true,
|
|
4290
4378
|
{ description: ( localize(
|
|
4291
|
-
|
|
4379
|
+
653,
|
|
4292
4380
|
"Spaces and tabs are inserted and deleted in alignment with tab stops."
|
|
4293
4381
|
)) }
|
|
4294
4382
|
))),
|
|
4295
4383
|
wordBreak: register(( new EditorStringEnumOption(EditorOption.wordBreak, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
4296
4384
|
markdownEnumDescriptions: [
|
|
4297
|
-
( localize(
|
|
4385
|
+
( localize(654, "Use the default line break rule.")),
|
|
4298
4386
|
( localize(
|
|
4299
|
-
|
|
4387
|
+
655,
|
|
4300
4388
|
"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
|
|
4301
4389
|
)),
|
|
4302
4390
|
],
|
|
4303
4391
|
description: ( localize(
|
|
4304
|
-
|
|
4392
|
+
656,
|
|
4305
4393
|
"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
|
|
4306
4394
|
))
|
|
4307
4395
|
}))),
|
|
@@ -4311,7 +4399,7 @@ const EditorOptions = {
|
|
|
4311
4399
|
'wordSeparators',
|
|
4312
4400
|
USUAL_WORD_SEPARATORS,
|
|
4313
4401
|
{ description: ( localize(
|
|
4314
|
-
|
|
4402
|
+
657,
|
|
4315
4403
|
"Characters that will be used as word separators when doing word related navigations or operations."
|
|
4316
4404
|
)) }
|
|
4317
4405
|
))),
|
|
@@ -4322,15 +4410,15 @@ const EditorOptions = {
|
|
|
4322
4410
|
['off', 'on', 'wordWrapColumn', 'bounded'],
|
|
4323
4411
|
{
|
|
4324
4412
|
markdownEnumDescriptions: [
|
|
4325
|
-
( localize(
|
|
4326
|
-
( localize(
|
|
4327
|
-
( localize(
|
|
4413
|
+
( localize(658, "Lines will never wrap.")),
|
|
4414
|
+
( localize(659, "Lines will wrap at the viewport width.")),
|
|
4415
|
+
( localize(660, "Lines will wrap at `#editor.wordWrapColumn#`.")),
|
|
4328
4416
|
( localize(
|
|
4329
|
-
|
|
4417
|
+
661,
|
|
4330
4418
|
"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
|
|
4331
4419
|
)),
|
|
4332
4420
|
],
|
|
4333
|
-
description: ( localize(
|
|
4421
|
+
description: ( localize(662, "Controls how lines should wrap."))
|
|
4334
4422
|
}
|
|
4335
4423
|
))),
|
|
4336
4424
|
wordWrapBreakAfterCharacters: register(( new EditorStringOption(
|
|
@@ -4351,7 +4439,7 @@ const EditorOptions = {
|
|
|
4351
4439
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4352
4440
|
{
|
|
4353
4441
|
markdownDescription: ( localize(
|
|
4354
|
-
|
|
4442
|
+
663,
|
|
4355
4443
|
"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
|
|
4356
4444
|
))
|
|
4357
4445
|
}
|
|
@@ -4368,6 +4456,15 @@ const EditorOptions = {
|
|
|
4368
4456
|
'inherit',
|
|
4369
4457
|
['off', 'on', 'inherit']
|
|
4370
4458
|
))),
|
|
4459
|
+
wrapOnEscapedLineFeeds: register(( new EditorBooleanOption(
|
|
4460
|
+
EditorOption.wrapOnEscapedLineFeeds,
|
|
4461
|
+
'wrapOnEscapedLineFeeds',
|
|
4462
|
+
false,
|
|
4463
|
+
{ markdownDescription: ( localize(
|
|
4464
|
+
664,
|
|
4465
|
+
"Controls whether literal `\\n` shall trigger a wordWrap when `#editor.wordWrap#` is enabled.\n\nFor example:\n```c\nchar* str=\"hello\\nworld\"\n```\nwill be displayed as\n```c\nchar* str=\"hello\\n\n world\"\n```"
|
|
4466
|
+
)) }
|
|
4467
|
+
))),
|
|
4371
4468
|
effectiveCursorStyle: register(( new EffectiveCursorStyle())),
|
|
4372
4469
|
editorClassName: register(( new EditorClassName())),
|
|
4373
4470
|
defaultColorDecorators: register(( new EditorStringEnumOption(
|
|
@@ -4378,14 +4475,14 @@ const EditorOptions = {
|
|
|
4378
4475
|
{
|
|
4379
4476
|
enumDescriptions: [
|
|
4380
4477
|
( localize(
|
|
4381
|
-
|
|
4478
|
+
665,
|
|
4382
4479
|
"Show default color decorators only when no extension provides colors decorators."
|
|
4383
4480
|
)),
|
|
4384
|
-
( localize(
|
|
4385
|
-
( localize(
|
|
4481
|
+
( localize(666, "Always show default color decorators.")),
|
|
4482
|
+
( localize(667, "Never show default color decorators.")),
|
|
4386
4483
|
],
|
|
4387
4484
|
description: ( localize(
|
|
4388
|
-
|
|
4485
|
+
668,
|
|
4389
4486
|
"Controls whether inline color decorations should be shown using the default document color provider."
|
|
4390
4487
|
))
|
|
4391
4488
|
}
|
|
@@ -4396,7 +4493,7 @@ const EditorOptions = {
|
|
|
4396
4493
|
'tabFocusMode',
|
|
4397
4494
|
false,
|
|
4398
4495
|
{ markdownDescription: ( localize(
|
|
4399
|
-
|
|
4496
|
+
669,
|
|
4400
4497
|
"Controls whether the editor receives tabs or defers them to the workbench for navigation."
|
|
4401
4498
|
)) }
|
|
4402
4499
|
))),
|