@codingame/monaco-vscode-api 21.5.1 → 22.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/README.md +0 -5
- package/missing-services.js +68 -78
- package/package.json +8 -8
- package/services.d.ts +4 -4
- package/services.js +5 -4
- package/vscode/product.json.js +1 -1
- package/vscode/src/vs/base/browser/dom.js +6 -3
- package/vscode/src/vs/base/browser/domSanitize.d.ts +8 -0
- package/vscode/src/vs/base/browser/domSanitize.js +49 -27
- package/vscode/src/vs/base/browser/domStylesheets.js +5 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +7 -5
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +2 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.d.ts +1 -1
- package/vscode/src/vs/base/common/async.js +6 -0
- package/vscode/src/vs/base/common/cancellation.d.ts +21 -0
- package/vscode/src/vs/base/common/cancellation.js +42 -1
- package/vscode/src/vs/base/common/codicons.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
- package/vscode/src/vs/base/common/decorators/cancelPreviousCalls.d.ts +84 -0
- package/vscode/src/vs/base/common/decorators.d.ts +1 -1
- package/vscode/src/vs/base/common/htmlContent.d.ts +2 -0
- package/vscode/src/vs/base/common/htmlContent.js +9 -6
- package/vscode/src/vs/base/common/lifecycle.js +21 -7
- package/vscode/src/vs/base/common/numbers.d.ts +0 -45
- package/vscode/src/vs/base/common/oauth.d.ts +33 -0
- package/vscode/src/vs/base/common/oauth.js +79 -3
- package/vscode/src/vs/base/common/observableInternal/base.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/index.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/logging/debugGetDependencyGraph.js +98 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/observables/baseObservable.js +8 -1
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/observables/derivedImpl.js +10 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.d.ts +4 -0
- package/vscode/src/vs/base/common/observableInternal/observables/observableFromEvent.js +3 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.d.ts +1 -0
- package/vscode/src/vs/base/common/observableInternal/reactions/autorunImpl.js +9 -0
- package/vscode/src/vs/base/common/product.d.ts +7 -1
- package/vscode/src/vs/base/common/strings.d.ts +0 -1
- package/vscode/src/vs/base/common/strings.js +9 -4
- package/vscode/src/vs/base/common/uriIpc.js +24 -1
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentRich.js +26 -16
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderContentSimple.js +3 -3
- package/vscode/src/vs/editor/browser/services/hoverService/hover.css +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.d.ts +3 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +8 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.d.ts +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +26 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +1 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +93 -85
- package/vscode/src/vs/editor/common/config/editorOptions.js +386 -351
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/core/ranges/lineRange.d.ts +3 -3
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -46
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.d.ts +5 -1
- package/vscode/src/vs/editor/common/languages.js +56 -56
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.d.ts +86 -85
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +86 -85
- package/vscode/src/vs/editor/common/standaloneStrings.js +47 -47
- package/vscode/src/vs/editor/common/textModelEditSource.d.ts +1 -0
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +9 -7
- package/vscode/src/vs/editor/common/viewModel/screenReaderSimpleModel.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +29 -29
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- 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.js +16 -16
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.contribution.js +8 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +44 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.d.ts +10 -0
- package/vscode/src/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +81 -0
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +21 -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/format.js +3 -0
- 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/clickLinkGesture.d.ts +4 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +20 -11
- 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.js +2 -1
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +3 -3
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +9 -9
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +2 -7
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +19 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +12 -12
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +18 -13
- 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/inlineCompletionsModel.d.ts +3 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +14 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.d.ts +7 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +154 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.d.ts +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineSuggestionItem.js +3 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.d.ts +7 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +18 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.d.ts +45 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/telemetry.js +7 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +16 -15
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +5 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsModel.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViewProducer.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +24 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/view.css +13 -4
- 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 +2 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +36 -35
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +11 -11
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/middleScroll/browser/middleScrollController.js +3 -3
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.d.ts +3 -0
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +13 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +12 -19
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +10 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +8 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +10 -10
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +18 -18
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +26 -26
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +0 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.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.js +9 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.css +13 -14
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +5 -5
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +1 -1
- package/vscode/src/vs/platform/actions/browser/toolbar.js +5 -5
- package/vscode/src/vs/platform/actions/common/actions.d.ts +2 -0
- package/vscode/src/vs/platform/actions/common/actions.js +2 -0
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/assignment/common/assignment.d.ts +6 -1
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.d.ts +2 -0
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +32 -3
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.d.ts +0 -1
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -11
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.d.ts +32 -0
- package/vscode/src/vs/platform/dataChannel/browser/forwardingTelemetryService.js +86 -0
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/environment/common/argv.d.ts +1 -0
- package/vscode/src/vs/platform/environment/common/environment.service.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +19 -19
- 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/extensionManagement/common/implicitActivationEvents.d.ts +1 -3
- package/vscode/src/vs/platform/extensionManagement/common/implicitActivationEvents.js +1 -1
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +20 -20
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +2 -1
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.d.ts +4 -3
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +4 -3
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +2 -2
- package/vscode/src/vs/platform/files/common/files.js +6 -6
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +4 -4
- package/vscode/src/vs/platform/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/mcpGalleryManifest.d.ts +10 -2
- package/vscode/src/vs/platform/mcp/common/mcpGalleryManifest.js +10 -2
- package/vscode/src/vs/platform/mcp/common/mcpManagement.service.d.ts +3 -3
- package/vscode/src/vs/platform/notification/common/notification.js +3 -3
- package/vscode/src/vs/platform/product/common/product.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.d.ts +1 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +23 -15
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +47 -13
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -61
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.d.ts +6 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeController.js +10 -0
- package/vscode/src/vs/platform/quickinput/browser/tree/quickInputTreeRenderer.js +10 -5
- package/vscode/src/vs/platform/quickinput/browser/tree/quickTree.js +4 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +10 -1
- package/vscode/src/vs/platform/request/common/request.js +34 -18
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -1
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +2 -3
- package/vscode/src/vs/platform/terminal/common/terminal.js +6 -7
- 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.js +5 -5
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +11 -10
- package/vscode/src/vs/workbench/api/common/extHost.protocol.d.ts +25 -24
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.d.ts +4 -4
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +10 -18
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.d.ts +5 -0
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +16 -4
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.d.ts +1 -3
- package/vscode/src/vs/workbench/api/common/extHostChatSessions.js +9 -5
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +0 -3
- 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 +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +9 -4
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +7 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostMcp.d.ts +97 -9
- package/vscode/src/vs/workbench/api/common/extHostMcp.js +66 -62
- package/vscode/src/vs/workbench/api/common/extHostNotebook.d.ts +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostSCM.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +22 -0
- package/vscode/src/vs/workbench/api/common/extHostSecrets.d.ts +0 -1
- package/vscode/src/vs/workbench/api/common/extHostSecrets.js +0 -3
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.d.ts +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +8 -8
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +53 -3
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.d.ts +2 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.d.ts +6 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +60 -9
- package/vscode/src/vs/workbench/api/common/extHostTypes.d.ts +18 -14
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +7 -7
- 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 +262 -31
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/contextkeys.d.ts +5 -7
- package/vscode/src/vs/workbench/browser/contextkeys.js +15 -43
- package/vscode/src/vs/workbench/common/configuration.js +9 -9
- package/vscode/src/vs/workbench/common/contextkeys.js +73 -73
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +1 -1
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +4 -4
- package/vscode/src/vs/workbench/common/theme.js +167 -167
- package/vscode/src/vs/workbench/common/views.js +4 -4
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.d.ts +3 -2
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +175 -158
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +12 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.service.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAttachmentResolveService.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.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingEditorContextKeys.js +15 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.d.ts +7 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +61 -66
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.d.ts +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.service.d.ts +1 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.d.ts +24 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatService.service.d.ts +8 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.d.ts +6 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatSessionsService.service.d.ts +0 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.d.ts +28 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatVariableEntries.js +35 -6
- package/vscode/src/vs/workbench/contrib/chat/common/constants.d.ts +16 -6
- package/vscode/src/vs/workbench/contrib/chat/common/constants.js +11 -8
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.d.ts +9 -2
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelToolsService.service.d.ts +10 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.d.ts +8 -4
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +50 -42
- package/vscode/src/vs/workbench/contrib/chat/common/modelPicker/modelPickerWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service.d.ts +23 -8
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.d.ts +4 -3
- package/vscode/src/vs/workbench/contrib/chat/common/tools/manageTodoListTool.js +29 -29
- package/vscode/src/vs/workbench/contrib/chat/common/tools/tools.js +4 -3
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +13 -13
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +7 -6
- 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/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/dropOrPasteInto/browser/commands.js +2 -2
- package/vscode/src/vs/workbench/contrib/dropOrPasteInto/browser/configurationSchema.js +4 -4
- package/vscode/src/vs/workbench/contrib/editTelemetry/browser/telemetry/aiEditTelemetry/aiEditTelemetryService.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/common/searchExtensionsTool.js +4 -4
- 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/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 +6 -1
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.d.ts +33 -0
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.js +16 -5
- package/vscode/src/vs/workbench/contrib/mcp/common/mcpTypes.service.d.ts +2 -2
- package/vscode/src/vs/workbench/contrib/mcp/common/modelContextProtocol.d.ts +217 -60
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/scm/common/history.d.ts +2 -0
- 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 +7 -7
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.service.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.d.ts +16 -3
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +18 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +42 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/testing/common/constants.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +12 -11
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +3 -3
- package/vscode/src/vs/workbench/services/accounts/common/defaultAccount.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.service.d.ts +1 -1
- package/vscode/src/vs/workbench/services/authentication/common/authentication.d.ts +4 -4
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -2
- package/vscode/src/vs/workbench/services/authentication/common/authentication.service.d.ts +6 -6
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.d.ts +286 -0
- package/vscode/src/vs/workbench/services/chat/common/chatEntitlementService.js +861 -0
- package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.d.ts +8 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +16 -16
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +87 -87
- package/vscode/src/vs/workbench/services/language/common/languageService.js +30 -30
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.d.ts +1 -0
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +4 -1
- package/vscode/src/vs/workbench/services/log/common/logConstants.js +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/textfile/common/encoding.js +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-dts/vscode.d.ts +92 -47
- package/vscode-dts/vscode.proposed.authenticationChallenges.d.ts +7 -80
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +14 -1
- package/vscode-dts/vscode.proposed.chatParticipantPrivate.d.ts +12 -0
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +19 -0
- package/vscode-dts/vscode.proposed.chatSessionsProvider.d.ts +19 -11
- package/vscode-dts/vscode.proposed.d.ts +1 -1
- package/vscode-dts/{vscode.proposed.secretStorageKeys.d.ts → vscode.proposed.devDeviceId.d.ts} +3 -4
- package/vscode-dts/vscode.proposed.languageModelCapabilities.d.ts +5 -0
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +2 -0
- package/vscode-dts/vscode.proposed.terminalCompletionProvider.d.ts +70 -16
- package/vscode/src/vs/workbench/contrib/chat/common/chatLayoutService.d.ts +0 -8
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/frontMatterCodec/tokens/index.d.ts +0 -5
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/codecs/base/simpleCodec/tokens/tokens.d.ts +0 -20
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/contentProviders/types.d.ts +0 -55
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/parsers/types.d.ts +0 -91
- package/vscode/src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.d.ts +0 -125
- /package/vscode/src/vs/workbench/{contrib → services}/chat/common/chatEntitlementService.service.js +0 -0
|
@@ -2193,6 +2193,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2193
2193
|
fontFamily: 'default',
|
|
2194
2194
|
syntaxHighlightingEnabled: true,
|
|
2195
2195
|
minShowDelay: 0,
|
|
2196
|
+
suppressInSnippetMode: true,
|
|
2196
2197
|
edits: {
|
|
2197
2198
|
enabled: true,
|
|
2198
2199
|
showCollapsed: false,
|
|
@@ -2203,6 +2204,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2203
2204
|
experimental: {
|
|
2204
2205
|
suppressInlineSuggestions: '',
|
|
2205
2206
|
showOnSuggestConflict: 'never',
|
|
2207
|
+
emptyResponseInformation: true,
|
|
2206
2208
|
},
|
|
2207
2209
|
};
|
|
2208
2210
|
super(EditorOption.inlineSuggest, 'inlineSuggest', defaults, {
|
|
@@ -2247,13 +2249,21 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2247
2249
|
"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
|
|
2248
2250
|
))
|
|
2249
2251
|
},
|
|
2252
|
+
'editor.inlineSuggest.suppressInSnippetMode': {
|
|
2253
|
+
type: 'boolean',
|
|
2254
|
+
default: defaults.suppressInSnippetMode,
|
|
2255
|
+
description: ( localize(
|
|
2256
|
+
405,
|
|
2257
|
+
"Controls whether inline suggestions are suppressed when in snippet mode."
|
|
2258
|
+
)),
|
|
2259
|
+
},
|
|
2250
2260
|
'editor.inlineSuggest.minShowDelay': {
|
|
2251
2261
|
type: 'number',
|
|
2252
2262
|
default: 0,
|
|
2253
2263
|
minimum: 0,
|
|
2254
2264
|
maximum: 10000,
|
|
2255
2265
|
description: ( localize(
|
|
2256
|
-
|
|
2266
|
+
406,
|
|
2257
2267
|
"Controls the minimal delay in milliseconds after which inline suggestions are shown after typing."
|
|
2258
2268
|
)),
|
|
2259
2269
|
},
|
|
@@ -2262,19 +2272,31 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2262
2272
|
default: defaults.experimental.suppressInlineSuggestions,
|
|
2263
2273
|
tags: ['experimental'],
|
|
2264
2274
|
description: ( localize(
|
|
2265
|
-
|
|
2275
|
+
407,
|
|
2266
2276
|
"Suppresses inline completions for specified extension IDs -- comma separated."
|
|
2267
2277
|
)),
|
|
2268
2278
|
experiment: {
|
|
2269
2279
|
mode: 'auto'
|
|
2270
2280
|
}
|
|
2271
2281
|
},
|
|
2282
|
+
'editor.inlineSuggest.experimental.emptyResponseInformation': {
|
|
2283
|
+
type: 'boolean',
|
|
2284
|
+
default: defaults.experimental.emptyResponseInformation,
|
|
2285
|
+
tags: ['experimental'],
|
|
2286
|
+
description: ( localize(
|
|
2287
|
+
408,
|
|
2288
|
+
"Controls whether to send request information from the inline suggestion provider."
|
|
2289
|
+
)),
|
|
2290
|
+
experiment: {
|
|
2291
|
+
mode: 'auto'
|
|
2292
|
+
}
|
|
2293
|
+
},
|
|
2272
2294
|
'editor.inlineSuggest.triggerCommandOnProviderChange': {
|
|
2273
2295
|
type: 'boolean',
|
|
2274
2296
|
default: defaults.triggerCommandOnProviderChange,
|
|
2275
2297
|
tags: ['experimental'],
|
|
2276
2298
|
description: ( localize(
|
|
2277
|
-
|
|
2299
|
+
409,
|
|
2278
2300
|
"Controls whether to trigger a command when the inline suggestion provider changes."
|
|
2279
2301
|
)),
|
|
2280
2302
|
experiment: {
|
|
@@ -2287,7 +2309,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2287
2309
|
tags: ['experimental'],
|
|
2288
2310
|
enum: ['always', 'never', 'whenSuggestListIsIncomplete'],
|
|
2289
2311
|
description: ( localize(
|
|
2290
|
-
|
|
2312
|
+
410,
|
|
2291
2313
|
"Controls whether to show inline suggestions when there is a suggest conflict."
|
|
2292
2314
|
)),
|
|
2293
2315
|
experiment: {
|
|
@@ -2297,13 +2319,13 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2297
2319
|
'editor.inlineSuggest.fontFamily': {
|
|
2298
2320
|
type: 'string',
|
|
2299
2321
|
default: defaults.fontFamily,
|
|
2300
|
-
description: ( localize(
|
|
2322
|
+
description: ( localize(411, "Controls the font family of the inline suggestions."))
|
|
2301
2323
|
},
|
|
2302
2324
|
'editor.inlineSuggest.edits.allowCodeShifting': {
|
|
2303
2325
|
type: 'string',
|
|
2304
2326
|
default: defaults.edits.allowCodeShifting,
|
|
2305
2327
|
description: ( localize(
|
|
2306
|
-
|
|
2328
|
+
412,
|
|
2307
2329
|
"Controls whether showing a suggestion will shift the code to make space for the suggestion inline."
|
|
2308
2330
|
)),
|
|
2309
2331
|
enum: ['always', 'horizontal', 'never'],
|
|
@@ -2312,15 +2334,15 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2312
2334
|
'editor.inlineSuggest.edits.renderSideBySide': {
|
|
2313
2335
|
type: 'string',
|
|
2314
2336
|
default: defaults.edits.renderSideBySide,
|
|
2315
|
-
description: ( localize(
|
|
2337
|
+
description: ( localize(413, "Controls whether larger suggestions can be shown side by side.")),
|
|
2316
2338
|
enum: ['auto', 'never'],
|
|
2317
2339
|
enumDescriptions: [
|
|
2318
2340
|
( localize(
|
|
2319
|
-
|
|
2341
|
+
414,
|
|
2320
2342
|
"Larger suggestions will show side by side if there is enough space, otherwise they will be shown below."
|
|
2321
2343
|
)),
|
|
2322
2344
|
( localize(
|
|
2323
|
-
|
|
2345
|
+
415,
|
|
2324
2346
|
"Larger suggestions are never shown side by side and will always be shown below."
|
|
2325
2347
|
)),
|
|
2326
2348
|
],
|
|
@@ -2330,7 +2352,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2330
2352
|
type: 'boolean',
|
|
2331
2353
|
default: defaults.edits.showCollapsed,
|
|
2332
2354
|
description: ( localize(
|
|
2333
|
-
|
|
2355
|
+
416,
|
|
2334
2356
|
"Controls whether the suggestion will show as collapsed until jumping to it."
|
|
2335
2357
|
)),
|
|
2336
2358
|
tags: ['nextEditSuggestions']
|
|
@@ -2351,6 +2373,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2351
2373
|
fontFamily: EditorStringOption.string(input.fontFamily, this.defaultValue.fontFamily),
|
|
2352
2374
|
syntaxHighlightingEnabled: boolean(input.syntaxHighlightingEnabled, this.defaultValue.syntaxHighlightingEnabled),
|
|
2353
2375
|
minShowDelay: EditorIntOption.clampedInt(input.minShowDelay, 0, 0, 10000),
|
|
2376
|
+
suppressInSnippetMode: boolean(input.suppressInSnippetMode, this.defaultValue.suppressInSnippetMode),
|
|
2354
2377
|
edits: {
|
|
2355
2378
|
enabled: boolean(input.edits?.enabled, this.defaultValue.edits.enabled),
|
|
2356
2379
|
showCollapsed: boolean(input.edits?.showCollapsed, this.defaultValue.edits.showCollapsed),
|
|
@@ -2361,6 +2384,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2361
2384
|
experimental: {
|
|
2362
2385
|
suppressInlineSuggestions: EditorStringOption.string(input.experimental?.suppressInlineSuggestions, this.defaultValue.experimental.suppressInlineSuggestions),
|
|
2363
2386
|
showOnSuggestConflict: stringSet(input.experimental?.showOnSuggestConflict, this.defaultValue.experimental.showOnSuggestConflict, ['always', 'never', 'whenSuggestListIsIncomplete']),
|
|
2387
|
+
emptyResponseInformation: boolean(input.experimental?.emptyResponseInformation, this.defaultValue.experimental.emptyResponseInformation),
|
|
2364
2388
|
},
|
|
2365
2389
|
};
|
|
2366
2390
|
}
|
|
@@ -2376,7 +2400,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2376
2400
|
type: 'boolean',
|
|
2377
2401
|
default: defaults.enabled,
|
|
2378
2402
|
markdownDescription: ( localize(
|
|
2379
|
-
|
|
2403
|
+
417,
|
|
2380
2404
|
"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
|
|
2381
2405
|
'`#workbench.colorCustomizations#`'
|
|
2382
2406
|
))
|
|
@@ -2385,7 +2409,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2385
2409
|
type: 'boolean',
|
|
2386
2410
|
default: defaults.independentColorPoolPerBracketType,
|
|
2387
2411
|
description: ( localize(
|
|
2388
|
-
|
|
2412
|
+
418,
|
|
2389
2413
|
"Controls whether each bracket type has its own independent color pool."
|
|
2390
2414
|
))
|
|
2391
2415
|
},
|
|
@@ -2416,54 +2440,54 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2416
2440
|
type: ['boolean', 'string'],
|
|
2417
2441
|
enum: [true, 'active', false],
|
|
2418
2442
|
enumDescriptions: [
|
|
2419
|
-
( localize(
|
|
2420
|
-
( localize(
|
|
2421
|
-
( localize(
|
|
2443
|
+
( localize(419, "Enables bracket pair guides.")),
|
|
2444
|
+
( localize(420, "Enables bracket pair guides only for the active bracket pair.")),
|
|
2445
|
+
( localize(421, "Disables bracket pair guides.")),
|
|
2422
2446
|
],
|
|
2423
2447
|
default: defaults.bracketPairs,
|
|
2424
|
-
description: ( localize(
|
|
2448
|
+
description: ( localize(422, "Controls whether bracket pair guides are enabled or not."))
|
|
2425
2449
|
},
|
|
2426
2450
|
'editor.guides.bracketPairsHorizontal': {
|
|
2427
2451
|
type: ['boolean', 'string'],
|
|
2428
2452
|
enum: [true, 'active', false],
|
|
2429
2453
|
enumDescriptions: [
|
|
2430
2454
|
( localize(
|
|
2431
|
-
|
|
2455
|
+
423,
|
|
2432
2456
|
"Enables horizontal guides as addition to vertical bracket pair guides."
|
|
2433
2457
|
)),
|
|
2434
|
-
( localize(
|
|
2435
|
-
( localize(
|
|
2458
|
+
( localize(424, "Enables horizontal guides only for the active bracket pair.")),
|
|
2459
|
+
( localize(425, "Disables horizontal bracket pair guides.")),
|
|
2436
2460
|
],
|
|
2437
2461
|
default: defaults.bracketPairsHorizontal,
|
|
2438
|
-
description: ( localize(
|
|
2462
|
+
description: ( localize(426, "Controls whether horizontal bracket pair guides are enabled or not."))
|
|
2439
2463
|
},
|
|
2440
2464
|
'editor.guides.highlightActiveBracketPair': {
|
|
2441
2465
|
type: 'boolean',
|
|
2442
2466
|
default: defaults.highlightActiveBracketPair,
|
|
2443
2467
|
description: ( localize(
|
|
2444
|
-
|
|
2468
|
+
427,
|
|
2445
2469
|
"Controls whether the editor should highlight the active bracket pair."
|
|
2446
2470
|
))
|
|
2447
2471
|
},
|
|
2448
2472
|
'editor.guides.indentation': {
|
|
2449
2473
|
type: 'boolean',
|
|
2450
2474
|
default: defaults.indentation,
|
|
2451
|
-
description: ( localize(
|
|
2475
|
+
description: ( localize(428, "Controls whether the editor should render indent guides."))
|
|
2452
2476
|
},
|
|
2453
2477
|
'editor.guides.highlightActiveIndentation': {
|
|
2454
2478
|
type: ['boolean', 'string'],
|
|
2455
2479
|
enum: [true, 'always', false],
|
|
2456
2480
|
enumDescriptions: [
|
|
2457
|
-
( localize(
|
|
2481
|
+
( localize(429, "Highlights the active indent guide.")),
|
|
2458
2482
|
( localize(
|
|
2459
|
-
|
|
2483
|
+
430,
|
|
2460
2484
|
"Highlights the active indent guide even if bracket guides are highlighted."
|
|
2461
2485
|
)),
|
|
2462
|
-
( localize(
|
|
2486
|
+
( localize(431, "Do not highlight the active indent guide.")),
|
|
2463
2487
|
],
|
|
2464
2488
|
default: defaults.highlightActiveIndentation,
|
|
2465
2489
|
description: ( localize(
|
|
2466
|
-
|
|
2490
|
+
432,
|
|
2467
2491
|
"Controls whether the editor should highlight the active indent guide."
|
|
2468
2492
|
))
|
|
2469
2493
|
}
|
|
@@ -2539,12 +2563,12 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2539
2563
|
type: 'string',
|
|
2540
2564
|
enum: ['insert', 'replace'],
|
|
2541
2565
|
enumDescriptions: [
|
|
2542
|
-
( localize(
|
|
2543
|
-
( localize(
|
|
2566
|
+
( localize(433, "Insert suggestion without overwriting text right of the cursor.")),
|
|
2567
|
+
( localize(434, "Insert suggestion and overwrite text right of the cursor.")),
|
|
2544
2568
|
],
|
|
2545
2569
|
default: defaults.insertMode,
|
|
2546
2570
|
description: ( localize(
|
|
2547
|
-
|
|
2571
|
+
435,
|
|
2548
2572
|
"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
|
|
2549
2573
|
))
|
|
2550
2574
|
},
|
|
@@ -2552,7 +2576,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2552
2576
|
type: 'boolean',
|
|
2553
2577
|
default: defaults.filterGraceful,
|
|
2554
2578
|
description: ( localize(
|
|
2555
|
-
|
|
2579
|
+
436,
|
|
2556
2580
|
"Controls whether filtering and sorting suggestions accounts for small typos."
|
|
2557
2581
|
))
|
|
2558
2582
|
},
|
|
@@ -2560,7 +2584,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2560
2584
|
type: 'boolean',
|
|
2561
2585
|
default: defaults.localityBonus,
|
|
2562
2586
|
description: ( localize(
|
|
2563
|
-
|
|
2587
|
+
437,
|
|
2564
2588
|
"Controls whether sorting favors words that appear close to the cursor."
|
|
2565
2589
|
))
|
|
2566
2590
|
},
|
|
@@ -2568,7 +2592,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2568
2592
|
type: 'boolean',
|
|
2569
2593
|
default: defaults.shareSuggestSelections,
|
|
2570
2594
|
markdownDescription: ( localize(
|
|
2571
|
-
|
|
2595
|
+
438,
|
|
2572
2596
|
"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
|
|
2573
2597
|
))
|
|
2574
2598
|
},
|
|
@@ -2577,22 +2601,22 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2577
2601
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2578
2602
|
enumDescriptions: [
|
|
2579
2603
|
( localize(
|
|
2580
|
-
|
|
2604
|
+
439,
|
|
2581
2605
|
"Always select a suggestion when automatically triggering IntelliSense."
|
|
2582
2606
|
)),
|
|
2583
2607
|
( localize(
|
|
2584
|
-
|
|
2608
|
+
440,
|
|
2585
2609
|
"Never select a suggestion when automatically triggering IntelliSense."
|
|
2586
2610
|
)),
|
|
2587
2611
|
( localize(
|
|
2588
|
-
|
|
2612
|
+
441,
|
|
2589
2613
|
"Select a suggestion only when triggering IntelliSense from a trigger character."
|
|
2590
2614
|
)),
|
|
2591
|
-
( localize(
|
|
2615
|
+
( localize(442, "Select a suggestion only when triggering IntelliSense as you type.")),
|
|
2592
2616
|
],
|
|
2593
2617
|
default: defaults.selectionMode,
|
|
2594
2618
|
markdownDescription: ( localize(
|
|
2595
|
-
|
|
2619
|
+
443,
|
|
2596
2620
|
"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`.",
|
|
2597
2621
|
'`#editor.quickSuggestions#`',
|
|
2598
2622
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
@@ -2601,197 +2625,197 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2601
2625
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
2602
2626
|
type: 'boolean',
|
|
2603
2627
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2604
|
-
description: ( localize(
|
|
2628
|
+
description: ( localize(444, "Controls whether an active snippet prevents quick suggestions."))
|
|
2605
2629
|
},
|
|
2606
2630
|
'editor.suggest.showIcons': {
|
|
2607
2631
|
type: 'boolean',
|
|
2608
2632
|
default: defaults.showIcons,
|
|
2609
|
-
description: ( localize(
|
|
2633
|
+
description: ( localize(445, "Controls whether to show or hide icons in suggestions."))
|
|
2610
2634
|
},
|
|
2611
2635
|
'editor.suggest.showStatusBar': {
|
|
2612
2636
|
type: 'boolean',
|
|
2613
2637
|
default: defaults.showStatusBar,
|
|
2614
2638
|
description: ( localize(
|
|
2615
|
-
|
|
2639
|
+
446,
|
|
2616
2640
|
"Controls the visibility of the status bar at the bottom of the suggest widget."
|
|
2617
2641
|
))
|
|
2618
2642
|
},
|
|
2619
2643
|
'editor.suggest.preview': {
|
|
2620
2644
|
type: 'boolean',
|
|
2621
2645
|
default: defaults.preview,
|
|
2622
|
-
description: ( localize(
|
|
2646
|
+
description: ( localize(447, "Controls whether to preview the suggestion outcome in the editor."))
|
|
2623
2647
|
},
|
|
2624
2648
|
'editor.suggest.showInlineDetails': {
|
|
2625
2649
|
type: 'boolean',
|
|
2626
2650
|
default: defaults.showInlineDetails,
|
|
2627
2651
|
description: ( localize(
|
|
2628
|
-
|
|
2652
|
+
448,
|
|
2629
2653
|
"Controls whether suggest details show inline with the label or only in the details widget."
|
|
2630
2654
|
))
|
|
2631
2655
|
},
|
|
2632
2656
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2633
2657
|
type: 'number',
|
|
2634
|
-
deprecationMessage: ( localize(
|
|
2658
|
+
deprecationMessage: ( localize(449, "This setting is deprecated. The suggest widget can now be resized.")),
|
|
2635
2659
|
},
|
|
2636
2660
|
'editor.suggest.filteredTypes': {
|
|
2637
2661
|
type: 'object',
|
|
2638
2662
|
deprecationMessage: ( localize(
|
|
2639
|
-
|
|
2663
|
+
450,
|
|
2640
2664
|
"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
|
|
2641
2665
|
))
|
|
2642
2666
|
},
|
|
2643
2667
|
'editor.suggest.showMethods': {
|
|
2644
2668
|
type: 'boolean',
|
|
2645
2669
|
default: true,
|
|
2646
|
-
markdownDescription: ( localize(
|
|
2670
|
+
markdownDescription: ( localize(451, "When enabled IntelliSense shows `method`-suggestions."))
|
|
2647
2671
|
},
|
|
2648
2672
|
'editor.suggest.showFunctions': {
|
|
2649
2673
|
type: 'boolean',
|
|
2650
2674
|
default: true,
|
|
2651
|
-
markdownDescription: ( localize(
|
|
2675
|
+
markdownDescription: ( localize(452, "When enabled IntelliSense shows `function`-suggestions."))
|
|
2652
2676
|
},
|
|
2653
2677
|
'editor.suggest.showConstructors': {
|
|
2654
2678
|
type: 'boolean',
|
|
2655
2679
|
default: true,
|
|
2656
|
-
markdownDescription: ( localize(
|
|
2680
|
+
markdownDescription: ( localize(453, "When enabled IntelliSense shows `constructor`-suggestions."))
|
|
2657
2681
|
},
|
|
2658
2682
|
'editor.suggest.showDeprecated': {
|
|
2659
2683
|
type: 'boolean',
|
|
2660
2684
|
default: true,
|
|
2661
|
-
markdownDescription: ( localize(
|
|
2685
|
+
markdownDescription: ( localize(454, "When enabled IntelliSense shows `deprecated`-suggestions."))
|
|
2662
2686
|
},
|
|
2663
2687
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2664
2688
|
type: 'boolean',
|
|
2665
2689
|
default: true,
|
|
2666
2690
|
markdownDescription: ( localize(
|
|
2667
|
-
|
|
2691
|
+
455,
|
|
2668
2692
|
"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."
|
|
2669
2693
|
))
|
|
2670
2694
|
},
|
|
2671
2695
|
'editor.suggest.showFields': {
|
|
2672
2696
|
type: 'boolean',
|
|
2673
2697
|
default: true,
|
|
2674
|
-
markdownDescription: ( localize(
|
|
2698
|
+
markdownDescription: ( localize(456, "When enabled IntelliSense shows `field`-suggestions."))
|
|
2675
2699
|
},
|
|
2676
2700
|
'editor.suggest.showVariables': {
|
|
2677
2701
|
type: 'boolean',
|
|
2678
2702
|
default: true,
|
|
2679
|
-
markdownDescription: ( localize(
|
|
2703
|
+
markdownDescription: ( localize(457, "When enabled IntelliSense shows `variable`-suggestions."))
|
|
2680
2704
|
},
|
|
2681
2705
|
'editor.suggest.showClasses': {
|
|
2682
2706
|
type: 'boolean',
|
|
2683
2707
|
default: true,
|
|
2684
|
-
markdownDescription: ( localize(
|
|
2708
|
+
markdownDescription: ( localize(458, "When enabled IntelliSense shows `class`-suggestions."))
|
|
2685
2709
|
},
|
|
2686
2710
|
'editor.suggest.showStructs': {
|
|
2687
2711
|
type: 'boolean',
|
|
2688
2712
|
default: true,
|
|
2689
|
-
markdownDescription: ( localize(
|
|
2713
|
+
markdownDescription: ( localize(459, "When enabled IntelliSense shows `struct`-suggestions."))
|
|
2690
2714
|
},
|
|
2691
2715
|
'editor.suggest.showInterfaces': {
|
|
2692
2716
|
type: 'boolean',
|
|
2693
2717
|
default: true,
|
|
2694
|
-
markdownDescription: ( localize(
|
|
2718
|
+
markdownDescription: ( localize(460, "When enabled IntelliSense shows `interface`-suggestions."))
|
|
2695
2719
|
},
|
|
2696
2720
|
'editor.suggest.showModules': {
|
|
2697
2721
|
type: 'boolean',
|
|
2698
2722
|
default: true,
|
|
2699
|
-
markdownDescription: ( localize(
|
|
2723
|
+
markdownDescription: ( localize(461, "When enabled IntelliSense shows `module`-suggestions."))
|
|
2700
2724
|
},
|
|
2701
2725
|
'editor.suggest.showProperties': {
|
|
2702
2726
|
type: 'boolean',
|
|
2703
2727
|
default: true,
|
|
2704
|
-
markdownDescription: ( localize(
|
|
2728
|
+
markdownDescription: ( localize(462, "When enabled IntelliSense shows `property`-suggestions."))
|
|
2705
2729
|
},
|
|
2706
2730
|
'editor.suggest.showEvents': {
|
|
2707
2731
|
type: 'boolean',
|
|
2708
2732
|
default: true,
|
|
2709
|
-
markdownDescription: ( localize(
|
|
2733
|
+
markdownDescription: ( localize(463, "When enabled IntelliSense shows `event`-suggestions."))
|
|
2710
2734
|
},
|
|
2711
2735
|
'editor.suggest.showOperators': {
|
|
2712
2736
|
type: 'boolean',
|
|
2713
2737
|
default: true,
|
|
2714
|
-
markdownDescription: ( localize(
|
|
2738
|
+
markdownDescription: ( localize(464, "When enabled IntelliSense shows `operator`-suggestions."))
|
|
2715
2739
|
},
|
|
2716
2740
|
'editor.suggest.showUnits': {
|
|
2717
2741
|
type: 'boolean',
|
|
2718
2742
|
default: true,
|
|
2719
|
-
markdownDescription: ( localize(
|
|
2743
|
+
markdownDescription: ( localize(465, "When enabled IntelliSense shows `unit`-suggestions."))
|
|
2720
2744
|
},
|
|
2721
2745
|
'editor.suggest.showValues': {
|
|
2722
2746
|
type: 'boolean',
|
|
2723
2747
|
default: true,
|
|
2724
|
-
markdownDescription: ( localize(
|
|
2748
|
+
markdownDescription: ( localize(466, "When enabled IntelliSense shows `value`-suggestions."))
|
|
2725
2749
|
},
|
|
2726
2750
|
'editor.suggest.showConstants': {
|
|
2727
2751
|
type: 'boolean',
|
|
2728
2752
|
default: true,
|
|
2729
|
-
markdownDescription: ( localize(
|
|
2753
|
+
markdownDescription: ( localize(467, "When enabled IntelliSense shows `constant`-suggestions."))
|
|
2730
2754
|
},
|
|
2731
2755
|
'editor.suggest.showEnums': {
|
|
2732
2756
|
type: 'boolean',
|
|
2733
2757
|
default: true,
|
|
2734
|
-
markdownDescription: ( localize(
|
|
2758
|
+
markdownDescription: ( localize(468, "When enabled IntelliSense shows `enum`-suggestions."))
|
|
2735
2759
|
},
|
|
2736
2760
|
'editor.suggest.showEnumMembers': {
|
|
2737
2761
|
type: 'boolean',
|
|
2738
2762
|
default: true,
|
|
2739
|
-
markdownDescription: ( localize(
|
|
2763
|
+
markdownDescription: ( localize(469, "When enabled IntelliSense shows `enumMember`-suggestions."))
|
|
2740
2764
|
},
|
|
2741
2765
|
'editor.suggest.showKeywords': {
|
|
2742
2766
|
type: 'boolean',
|
|
2743
2767
|
default: true,
|
|
2744
|
-
markdownDescription: ( localize(
|
|
2768
|
+
markdownDescription: ( localize(470, "When enabled IntelliSense shows `keyword`-suggestions."))
|
|
2745
2769
|
},
|
|
2746
2770
|
'editor.suggest.showWords': {
|
|
2747
2771
|
type: 'boolean',
|
|
2748
2772
|
default: true,
|
|
2749
|
-
markdownDescription: ( localize(
|
|
2773
|
+
markdownDescription: ( localize(471, "When enabled IntelliSense shows `text`-suggestions."))
|
|
2750
2774
|
},
|
|
2751
2775
|
'editor.suggest.showColors': {
|
|
2752
2776
|
type: 'boolean',
|
|
2753
2777
|
default: true,
|
|
2754
|
-
markdownDescription: ( localize(
|
|
2778
|
+
markdownDescription: ( localize(472, "When enabled IntelliSense shows `color`-suggestions."))
|
|
2755
2779
|
},
|
|
2756
2780
|
'editor.suggest.showFiles': {
|
|
2757
2781
|
type: 'boolean',
|
|
2758
2782
|
default: true,
|
|
2759
|
-
markdownDescription: ( localize(
|
|
2783
|
+
markdownDescription: ( localize(473, "When enabled IntelliSense shows `file`-suggestions."))
|
|
2760
2784
|
},
|
|
2761
2785
|
'editor.suggest.showReferences': {
|
|
2762
2786
|
type: 'boolean',
|
|
2763
2787
|
default: true,
|
|
2764
|
-
markdownDescription: ( localize(
|
|
2788
|
+
markdownDescription: ( localize(474, "When enabled IntelliSense shows `reference`-suggestions."))
|
|
2765
2789
|
},
|
|
2766
2790
|
'editor.suggest.showCustomcolors': {
|
|
2767
2791
|
type: 'boolean',
|
|
2768
2792
|
default: true,
|
|
2769
|
-
markdownDescription: ( localize(
|
|
2793
|
+
markdownDescription: ( localize(475, "When enabled IntelliSense shows `customcolor`-suggestions."))
|
|
2770
2794
|
},
|
|
2771
2795
|
'editor.suggest.showFolders': {
|
|
2772
2796
|
type: 'boolean',
|
|
2773
2797
|
default: true,
|
|
2774
|
-
markdownDescription: ( localize(
|
|
2798
|
+
markdownDescription: ( localize(476, "When enabled IntelliSense shows `folder`-suggestions."))
|
|
2775
2799
|
},
|
|
2776
2800
|
'editor.suggest.showTypeParameters': {
|
|
2777
2801
|
type: 'boolean',
|
|
2778
2802
|
default: true,
|
|
2779
|
-
markdownDescription: ( localize(
|
|
2803
|
+
markdownDescription: ( localize(477, "When enabled IntelliSense shows `typeParameter`-suggestions."))
|
|
2780
2804
|
},
|
|
2781
2805
|
'editor.suggest.showSnippets': {
|
|
2782
2806
|
type: 'boolean',
|
|
2783
2807
|
default: true,
|
|
2784
|
-
markdownDescription: ( localize(
|
|
2808
|
+
markdownDescription: ( localize(478, "When enabled IntelliSense shows `snippet`-suggestions."))
|
|
2785
2809
|
},
|
|
2786
2810
|
'editor.suggest.showUsers': {
|
|
2787
2811
|
type: 'boolean',
|
|
2788
2812
|
default: true,
|
|
2789
|
-
markdownDescription: ( localize(
|
|
2813
|
+
markdownDescription: ( localize(479, "When enabled IntelliSense shows `user`-suggestions."))
|
|
2790
2814
|
},
|
|
2791
2815
|
'editor.suggest.showIssues': {
|
|
2792
2816
|
type: 'boolean',
|
|
2793
2817
|
default: true,
|
|
2794
|
-
markdownDescription: ( localize(
|
|
2818
|
+
markdownDescription: ( localize(480, "When enabled IntelliSense shows `issues`-suggestions."))
|
|
2795
2819
|
}
|
|
2796
2820
|
});
|
|
2797
2821
|
}
|
|
@@ -2851,13 +2875,13 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2851
2875
|
selectSubwords: true,
|
|
2852
2876
|
}, {
|
|
2853
2877
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2854
|
-
description: ( localize(
|
|
2878
|
+
description: ( localize(481, "Whether leading and trailing whitespace should always be selected.")),
|
|
2855
2879
|
default: true,
|
|
2856
2880
|
type: 'boolean'
|
|
2857
2881
|
},
|
|
2858
2882
|
'editor.smartSelect.selectSubwords': {
|
|
2859
2883
|
description: ( localize(
|
|
2860
|
-
|
|
2884
|
+
482,
|
|
2861
2885
|
"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
|
|
2862
2886
|
)),
|
|
2863
2887
|
default: true,
|
|
@@ -2890,7 +2914,7 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2890
2914
|
}
|
|
2891
2915
|
],
|
|
2892
2916
|
description: ( localize(
|
|
2893
|
-
|
|
2917
|
+
483,
|
|
2894
2918
|
"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.)."
|
|
2895
2919
|
)),
|
|
2896
2920
|
type: 'array',
|
|
@@ -2936,12 +2960,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2936
2960
|
type: 'string',
|
|
2937
2961
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2938
2962
|
enumDescriptions: [
|
|
2939
|
-
( localize(
|
|
2940
|
-
( localize(
|
|
2941
|
-
( localize(
|
|
2942
|
-
( localize(
|
|
2963
|
+
( localize(484, "No indentation. Wrapped lines begin at column 1.")),
|
|
2964
|
+
( localize(485, "Wrapped lines get the same indentation as the parent.")),
|
|
2965
|
+
( localize(486, "Wrapped lines get +1 indentation toward the parent.")),
|
|
2966
|
+
( localize(487, "Wrapped lines get +2 indentation toward the parent.")),
|
|
2943
2967
|
],
|
|
2944
|
-
description: ( localize(
|
|
2968
|
+
description: ( localize(488, "Controls the indentation of wrapped lines.")),
|
|
2945
2969
|
default: 'same'
|
|
2946
2970
|
}
|
|
2947
2971
|
});
|
|
@@ -2985,14 +3009,14 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2985
3009
|
type: 'boolean',
|
|
2986
3010
|
default: defaults.enabled,
|
|
2987
3011
|
markdownDescription: ( localize(
|
|
2988
|
-
|
|
3012
|
+
489,
|
|
2989
3013
|
"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)."
|
|
2990
3014
|
)),
|
|
2991
3015
|
},
|
|
2992
3016
|
'editor.dropIntoEditor.showDropSelector': {
|
|
2993
3017
|
type: 'string',
|
|
2994
3018
|
markdownDescription: ( localize(
|
|
2995
|
-
|
|
3019
|
+
490,
|
|
2996
3020
|
"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
|
|
2997
3021
|
)),
|
|
2998
3022
|
enum: [
|
|
@@ -3001,11 +3025,11 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
3001
3025
|
],
|
|
3002
3026
|
enumDescriptions: [
|
|
3003
3027
|
( localize(
|
|
3004
|
-
|
|
3028
|
+
491,
|
|
3005
3029
|
"Show the drop selector widget after a file is dropped into the editor."
|
|
3006
3030
|
)),
|
|
3007
3031
|
( localize(
|
|
3008
|
-
|
|
3032
|
+
492,
|
|
3009
3033
|
"Never show the drop selector widget. Instead the default drop provider is always used."
|
|
3010
3034
|
)),
|
|
3011
3035
|
],
|
|
@@ -3031,12 +3055,12 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
3031
3055
|
'editor.pasteAs.enabled': {
|
|
3032
3056
|
type: 'boolean',
|
|
3033
3057
|
default: defaults.enabled,
|
|
3034
|
-
markdownDescription: ( localize(
|
|
3058
|
+
markdownDescription: ( localize(493, "Controls whether you can paste content in different ways.")),
|
|
3035
3059
|
},
|
|
3036
3060
|
'editor.pasteAs.showPasteSelector': {
|
|
3037
3061
|
type: 'string',
|
|
3038
3062
|
markdownDescription: ( localize(
|
|
3039
|
-
|
|
3063
|
+
494,
|
|
3040
3064
|
"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
|
|
3041
3065
|
)),
|
|
3042
3066
|
enum: [
|
|
@@ -3045,11 +3069,11 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
3045
3069
|
],
|
|
3046
3070
|
enumDescriptions: [
|
|
3047
3071
|
( localize(
|
|
3048
|
-
|
|
3072
|
+
495,
|
|
3049
3073
|
"Show the paste selector widget after content is pasted into the editor."
|
|
3050
3074
|
)),
|
|
3051
3075
|
( localize(
|
|
3052
|
-
|
|
3076
|
+
496,
|
|
3053
3077
|
"Never show the paste selector widget. Instead the default pasting behavior is always used."
|
|
3054
3078
|
)),
|
|
3055
3079
|
],
|
|
@@ -3172,91 +3196,92 @@ var EditorOption;
|
|
|
3172
3196
|
EditorOption[EditorOption["mouseWheelZoom"] = 84] = "mouseWheelZoom";
|
|
3173
3197
|
EditorOption[EditorOption["multiCursorMergeOverlapping"] = 85] = "multiCursorMergeOverlapping";
|
|
3174
3198
|
EditorOption[EditorOption["multiCursorModifier"] = 86] = "multiCursorModifier";
|
|
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["
|
|
3205
|
-
EditorOption[EditorOption["
|
|
3206
|
-
EditorOption[EditorOption["
|
|
3207
|
-
EditorOption[EditorOption["
|
|
3208
|
-
EditorOption[EditorOption["
|
|
3209
|
-
EditorOption[EditorOption["
|
|
3210
|
-
EditorOption[EditorOption["
|
|
3211
|
-
EditorOption[EditorOption["
|
|
3212
|
-
EditorOption[EditorOption["
|
|
3213
|
-
EditorOption[EditorOption["
|
|
3214
|
-
EditorOption[EditorOption["
|
|
3215
|
-
EditorOption[EditorOption["
|
|
3216
|
-
EditorOption[EditorOption["
|
|
3217
|
-
EditorOption[EditorOption["
|
|
3218
|
-
EditorOption[EditorOption["
|
|
3219
|
-
EditorOption[EditorOption["
|
|
3220
|
-
EditorOption[EditorOption["
|
|
3221
|
-
EditorOption[EditorOption["
|
|
3222
|
-
EditorOption[EditorOption["
|
|
3223
|
-
EditorOption[EditorOption["
|
|
3224
|
-
EditorOption[EditorOption["
|
|
3225
|
-
EditorOption[EditorOption["
|
|
3226
|
-
EditorOption[EditorOption["
|
|
3227
|
-
EditorOption[EditorOption["
|
|
3228
|
-
EditorOption[EditorOption["
|
|
3229
|
-
EditorOption[EditorOption["
|
|
3230
|
-
EditorOption[EditorOption["
|
|
3231
|
-
EditorOption[EditorOption["
|
|
3232
|
-
EditorOption[EditorOption["
|
|
3233
|
-
EditorOption[EditorOption["
|
|
3234
|
-
EditorOption[EditorOption["
|
|
3235
|
-
EditorOption[EditorOption["
|
|
3236
|
-
EditorOption[EditorOption["
|
|
3237
|
-
EditorOption[EditorOption["
|
|
3238
|
-
EditorOption[EditorOption["
|
|
3239
|
-
EditorOption[EditorOption["
|
|
3240
|
-
EditorOption[EditorOption["
|
|
3241
|
-
EditorOption[EditorOption["
|
|
3242
|
-
EditorOption[EditorOption["
|
|
3243
|
-
EditorOption[EditorOption["
|
|
3244
|
-
EditorOption[EditorOption["
|
|
3245
|
-
EditorOption[EditorOption["
|
|
3246
|
-
EditorOption[EditorOption["
|
|
3247
|
-
EditorOption[EditorOption["
|
|
3248
|
-
EditorOption[EditorOption["
|
|
3249
|
-
EditorOption[EditorOption["
|
|
3250
|
-
EditorOption[EditorOption["
|
|
3251
|
-
EditorOption[EditorOption["
|
|
3252
|
-
EditorOption[EditorOption["
|
|
3253
|
-
EditorOption[EditorOption["
|
|
3254
|
-
EditorOption[EditorOption["
|
|
3255
|
-
EditorOption[EditorOption["
|
|
3256
|
-
EditorOption[EditorOption["
|
|
3257
|
-
EditorOption[EditorOption["
|
|
3258
|
-
EditorOption[EditorOption["
|
|
3259
|
-
EditorOption[EditorOption["
|
|
3199
|
+
EditorOption[EditorOption["mouseMiddleClickAction"] = 87] = "mouseMiddleClickAction";
|
|
3200
|
+
EditorOption[EditorOption["multiCursorPaste"] = 88] = "multiCursorPaste";
|
|
3201
|
+
EditorOption[EditorOption["multiCursorLimit"] = 89] = "multiCursorLimit";
|
|
3202
|
+
EditorOption[EditorOption["occurrencesHighlight"] = 90] = "occurrencesHighlight";
|
|
3203
|
+
EditorOption[EditorOption["occurrencesHighlightDelay"] = 91] = "occurrencesHighlightDelay";
|
|
3204
|
+
EditorOption[EditorOption["overtypeCursorStyle"] = 92] = "overtypeCursorStyle";
|
|
3205
|
+
EditorOption[EditorOption["overtypeOnPaste"] = 93] = "overtypeOnPaste";
|
|
3206
|
+
EditorOption[EditorOption["overviewRulerBorder"] = 94] = "overviewRulerBorder";
|
|
3207
|
+
EditorOption[EditorOption["overviewRulerLanes"] = 95] = "overviewRulerLanes";
|
|
3208
|
+
EditorOption[EditorOption["padding"] = 96] = "padding";
|
|
3209
|
+
EditorOption[EditorOption["pasteAs"] = 97] = "pasteAs";
|
|
3210
|
+
EditorOption[EditorOption["parameterHints"] = 98] = "parameterHints";
|
|
3211
|
+
EditorOption[EditorOption["peekWidgetDefaultFocus"] = 99] = "peekWidgetDefaultFocus";
|
|
3212
|
+
EditorOption[EditorOption["placeholder"] = 100] = "placeholder";
|
|
3213
|
+
EditorOption[EditorOption["definitionLinkOpensInPeek"] = 101] = "definitionLinkOpensInPeek";
|
|
3214
|
+
EditorOption[EditorOption["quickSuggestions"] = 102] = "quickSuggestions";
|
|
3215
|
+
EditorOption[EditorOption["quickSuggestionsDelay"] = 103] = "quickSuggestionsDelay";
|
|
3216
|
+
EditorOption[EditorOption["readOnly"] = 104] = "readOnly";
|
|
3217
|
+
EditorOption[EditorOption["readOnlyMessage"] = 105] = "readOnlyMessage";
|
|
3218
|
+
EditorOption[EditorOption["renameOnType"] = 106] = "renameOnType";
|
|
3219
|
+
EditorOption[EditorOption["renderRichScreenReaderContent"] = 107] = "renderRichScreenReaderContent";
|
|
3220
|
+
EditorOption[EditorOption["renderControlCharacters"] = 108] = "renderControlCharacters";
|
|
3221
|
+
EditorOption[EditorOption["renderFinalNewline"] = 109] = "renderFinalNewline";
|
|
3222
|
+
EditorOption[EditorOption["renderLineHighlight"] = 110] = "renderLineHighlight";
|
|
3223
|
+
EditorOption[EditorOption["renderLineHighlightOnlyWhenFocus"] = 111] = "renderLineHighlightOnlyWhenFocus";
|
|
3224
|
+
EditorOption[EditorOption["renderValidationDecorations"] = 112] = "renderValidationDecorations";
|
|
3225
|
+
EditorOption[EditorOption["renderWhitespace"] = 113] = "renderWhitespace";
|
|
3226
|
+
EditorOption[EditorOption["revealHorizontalRightPadding"] = 114] = "revealHorizontalRightPadding";
|
|
3227
|
+
EditorOption[EditorOption["roundedSelection"] = 115] = "roundedSelection";
|
|
3228
|
+
EditorOption[EditorOption["rulers"] = 116] = "rulers";
|
|
3229
|
+
EditorOption[EditorOption["scrollbar"] = 117] = "scrollbar";
|
|
3230
|
+
EditorOption[EditorOption["scrollBeyondLastColumn"] = 118] = "scrollBeyondLastColumn";
|
|
3231
|
+
EditorOption[EditorOption["scrollBeyondLastLine"] = 119] = "scrollBeyondLastLine";
|
|
3232
|
+
EditorOption[EditorOption["scrollPredominantAxis"] = 120] = "scrollPredominantAxis";
|
|
3233
|
+
EditorOption[EditorOption["selectionClipboard"] = 121] = "selectionClipboard";
|
|
3234
|
+
EditorOption[EditorOption["selectionHighlight"] = 122] = "selectionHighlight";
|
|
3235
|
+
EditorOption[EditorOption["selectionHighlightMaxLength"] = 123] = "selectionHighlightMaxLength";
|
|
3236
|
+
EditorOption[EditorOption["selectionHighlightMultiline"] = 124] = "selectionHighlightMultiline";
|
|
3237
|
+
EditorOption[EditorOption["selectOnLineNumbers"] = 125] = "selectOnLineNumbers";
|
|
3238
|
+
EditorOption[EditorOption["showFoldingControls"] = 126] = "showFoldingControls";
|
|
3239
|
+
EditorOption[EditorOption["showUnused"] = 127] = "showUnused";
|
|
3240
|
+
EditorOption[EditorOption["snippetSuggestions"] = 128] = "snippetSuggestions";
|
|
3241
|
+
EditorOption[EditorOption["smartSelect"] = 129] = "smartSelect";
|
|
3242
|
+
EditorOption[EditorOption["smoothScrolling"] = 130] = "smoothScrolling";
|
|
3243
|
+
EditorOption[EditorOption["stickyScroll"] = 131] = "stickyScroll";
|
|
3244
|
+
EditorOption[EditorOption["stickyTabStops"] = 132] = "stickyTabStops";
|
|
3245
|
+
EditorOption[EditorOption["stopRenderingLineAfter"] = 133] = "stopRenderingLineAfter";
|
|
3246
|
+
EditorOption[EditorOption["suggest"] = 134] = "suggest";
|
|
3247
|
+
EditorOption[EditorOption["suggestFontSize"] = 135] = "suggestFontSize";
|
|
3248
|
+
EditorOption[EditorOption["suggestLineHeight"] = 136] = "suggestLineHeight";
|
|
3249
|
+
EditorOption[EditorOption["suggestOnTriggerCharacters"] = 137] = "suggestOnTriggerCharacters";
|
|
3250
|
+
EditorOption[EditorOption["suggestSelection"] = 138] = "suggestSelection";
|
|
3251
|
+
EditorOption[EditorOption["tabCompletion"] = 139] = "tabCompletion";
|
|
3252
|
+
EditorOption[EditorOption["tabIndex"] = 140] = "tabIndex";
|
|
3253
|
+
EditorOption[EditorOption["trimWhitespaceOnDelete"] = 141] = "trimWhitespaceOnDelete";
|
|
3254
|
+
EditorOption[EditorOption["unicodeHighlighting"] = 142] = "unicodeHighlighting";
|
|
3255
|
+
EditorOption[EditorOption["unusualLineTerminators"] = 143] = "unusualLineTerminators";
|
|
3256
|
+
EditorOption[EditorOption["useShadowDOM"] = 144] = "useShadowDOM";
|
|
3257
|
+
EditorOption[EditorOption["useTabStops"] = 145] = "useTabStops";
|
|
3258
|
+
EditorOption[EditorOption["wordBreak"] = 146] = "wordBreak";
|
|
3259
|
+
EditorOption[EditorOption["wordSegmenterLocales"] = 147] = "wordSegmenterLocales";
|
|
3260
|
+
EditorOption[EditorOption["wordSeparators"] = 148] = "wordSeparators";
|
|
3261
|
+
EditorOption[EditorOption["wordWrap"] = 149] = "wordWrap";
|
|
3262
|
+
EditorOption[EditorOption["wordWrapBreakAfterCharacters"] = 150] = "wordWrapBreakAfterCharacters";
|
|
3263
|
+
EditorOption[EditorOption["wordWrapBreakBeforeCharacters"] = 151] = "wordWrapBreakBeforeCharacters";
|
|
3264
|
+
EditorOption[EditorOption["wordWrapColumn"] = 152] = "wordWrapColumn";
|
|
3265
|
+
EditorOption[EditorOption["wordWrapOverride1"] = 153] = "wordWrapOverride1";
|
|
3266
|
+
EditorOption[EditorOption["wordWrapOverride2"] = 154] = "wordWrapOverride2";
|
|
3267
|
+
EditorOption[EditorOption["wrappingIndent"] = 155] = "wrappingIndent";
|
|
3268
|
+
EditorOption[EditorOption["wrappingStrategy"] = 156] = "wrappingStrategy";
|
|
3269
|
+
EditorOption[EditorOption["showDeprecated"] = 157] = "showDeprecated";
|
|
3270
|
+
EditorOption[EditorOption["inertialScroll"] = 158] = "inertialScroll";
|
|
3271
|
+
EditorOption[EditorOption["inlayHints"] = 159] = "inlayHints";
|
|
3272
|
+
EditorOption[EditorOption["wrapOnEscapedLineFeeds"] = 160] = "wrapOnEscapedLineFeeds";
|
|
3273
|
+
EditorOption[EditorOption["effectiveCursorStyle"] = 161] = "effectiveCursorStyle";
|
|
3274
|
+
EditorOption[EditorOption["editorClassName"] = 162] = "editorClassName";
|
|
3275
|
+
EditorOption[EditorOption["pixelRatio"] = 163] = "pixelRatio";
|
|
3276
|
+
EditorOption[EditorOption["tabFocusMode"] = 164] = "tabFocusMode";
|
|
3277
|
+
EditorOption[EditorOption["layoutInfo"] = 165] = "layoutInfo";
|
|
3278
|
+
EditorOption[EditorOption["wrappingInfo"] = 166] = "wrappingInfo";
|
|
3279
|
+
EditorOption[EditorOption["defaultColorDecorators"] = 167] = "defaultColorDecorators";
|
|
3280
|
+
EditorOption[EditorOption["colorDecoratorsActivatedOn"] = 168] = "colorDecoratorsActivatedOn";
|
|
3281
|
+
EditorOption[EditorOption["inlineCompletionsAccessibilityVerbose"] = 169] = "inlineCompletionsAccessibilityVerbose";
|
|
3282
|
+
EditorOption[EditorOption["effectiveEditContext"] = 170] = "effectiveEditContext";
|
|
3283
|
+
EditorOption[EditorOption["scrollOnMiddleClick"] = 171] = "scrollOnMiddleClick";
|
|
3284
|
+
EditorOption[EditorOption["effectiveAllowVariableFonts"] = 172] = "effectiveAllowVariableFonts";
|
|
3260
3285
|
})(EditorOption || (EditorOption = {}));
|
|
3261
3286
|
const EditorOptions = {
|
|
3262
3287
|
acceptSuggestionOnCommitCharacter: register(( new EditorBooleanOption(
|
|
@@ -3264,7 +3289,7 @@ const EditorOptions = {
|
|
|
3264
3289
|
'acceptSuggestionOnCommitCharacter',
|
|
3265
3290
|
true,
|
|
3266
3291
|
{ markdownDescription: ( localize(
|
|
3267
|
-
|
|
3292
|
+
497,
|
|
3268
3293
|
"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."
|
|
3269
3294
|
)) }
|
|
3270
3295
|
))),
|
|
@@ -3277,13 +3302,13 @@ const EditorOptions = {
|
|
|
3277
3302
|
markdownEnumDescriptions: [
|
|
3278
3303
|
'',
|
|
3279
3304
|
( localize(
|
|
3280
|
-
|
|
3305
|
+
498,
|
|
3281
3306
|
"Only accept a suggestion with `Enter` when it makes a textual change."
|
|
3282
3307
|
)),
|
|
3283
3308
|
''
|
|
3284
3309
|
],
|
|
3285
3310
|
markdownDescription: ( localize(
|
|
3286
|
-
|
|
3311
|
+
499,
|
|
3287
3312
|
"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
|
|
3288
3313
|
))
|
|
3289
3314
|
}
|
|
@@ -3297,7 +3322,7 @@ const EditorOptions = {
|
|
|
3297
3322
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3298
3323
|
{
|
|
3299
3324
|
description: ( localize(
|
|
3300
|
-
|
|
3325
|
+
500,
|
|
3301
3326
|
"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."
|
|
3302
3327
|
)),
|
|
3303
3328
|
tags: ['accessibility']
|
|
@@ -3306,12 +3331,12 @@ const EditorOptions = {
|
|
|
3306
3331
|
allowOverflow: register(( new EditorBooleanOption(EditorOption.allowOverflow, 'allowOverflow', true))),
|
|
3307
3332
|
allowVariableLineHeights: register(( new EditorBooleanOption(EditorOption.allowVariableLineHeights, 'allowVariableLineHeights', true, {
|
|
3308
3333
|
description: ( localize(
|
|
3309
|
-
|
|
3334
|
+
501,
|
|
3310
3335
|
"Controls whether to allow using variable line heights in the editor."
|
|
3311
3336
|
))
|
|
3312
3337
|
}))),
|
|
3313
3338
|
allowVariableFonts: register(( new EditorBooleanOption(EditorOption.allowVariableFonts, 'allowVariableFonts', true, {
|
|
3314
|
-
description: ( localize(
|
|
3339
|
+
description: ( localize(502, "Controls whether to allow using variable fonts in the editor."))
|
|
3315
3340
|
}))),
|
|
3316
3341
|
allowVariableFontsInAccessibilityMode: register(( new EditorBooleanOption(
|
|
3317
3342
|
EditorOption.allowVariableFontsInAccessibilityMode,
|
|
@@ -3319,13 +3344,13 @@ const EditorOptions = {
|
|
|
3319
3344
|
false,
|
|
3320
3345
|
{
|
|
3321
3346
|
description: ( localize(
|
|
3322
|
-
|
|
3347
|
+
503,
|
|
3323
3348
|
"Controls whether to allow using variable fonts in the editor in the accessibility mode."
|
|
3324
3349
|
)),
|
|
3325
3350
|
tags: ['accessibility']
|
|
3326
3351
|
}
|
|
3327
3352
|
))),
|
|
3328
|
-
ariaLabel: register(( new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(
|
|
3353
|
+
ariaLabel: register(( new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(504, "Editor content"))))),
|
|
3329
3354
|
ariaRequired: register(( new EditorBooleanOption(EditorOption.ariaRequired, 'ariaRequired', false, undefined))),
|
|
3330
3355
|
screenReaderAnnounceInlineSuggestion: register(( new EditorBooleanOption(
|
|
3331
3356
|
EditorOption.screenReaderAnnounceInlineSuggestion,
|
|
@@ -3333,7 +3358,7 @@ const EditorOptions = {
|
|
|
3333
3358
|
true,
|
|
3334
3359
|
{
|
|
3335
3360
|
description: ( localize(
|
|
3336
|
-
|
|
3361
|
+
505,
|
|
3337
3362
|
"Control whether inline suggestions are announced by a screen reader."
|
|
3338
3363
|
)),
|
|
3339
3364
|
tags: ['accessibility']
|
|
@@ -3348,17 +3373,17 @@ const EditorOptions = {
|
|
|
3348
3373
|
enumDescriptions: [
|
|
3349
3374
|
'',
|
|
3350
3375
|
( localize(
|
|
3351
|
-
|
|
3376
|
+
506,
|
|
3352
3377
|
"Use language configurations to determine when to autoclose brackets."
|
|
3353
3378
|
)),
|
|
3354
3379
|
( localize(
|
|
3355
|
-
|
|
3380
|
+
507,
|
|
3356
3381
|
"Autoclose brackets only when the cursor is to the left of whitespace."
|
|
3357
3382
|
)),
|
|
3358
3383
|
'',
|
|
3359
3384
|
],
|
|
3360
3385
|
description: ( localize(
|
|
3361
|
-
|
|
3386
|
+
508,
|
|
3362
3387
|
"Controls whether the editor should automatically close brackets after the user adds an opening bracket."
|
|
3363
3388
|
))
|
|
3364
3389
|
}
|
|
@@ -3372,17 +3397,17 @@ const EditorOptions = {
|
|
|
3372
3397
|
enumDescriptions: [
|
|
3373
3398
|
'',
|
|
3374
3399
|
( localize(
|
|
3375
|
-
|
|
3400
|
+
509,
|
|
3376
3401
|
"Use language configurations to determine when to autoclose comments."
|
|
3377
3402
|
)),
|
|
3378
3403
|
( localize(
|
|
3379
|
-
|
|
3404
|
+
510,
|
|
3380
3405
|
"Autoclose comments only when the cursor is to the left of whitespace."
|
|
3381
3406
|
)),
|
|
3382
3407
|
'',
|
|
3383
3408
|
],
|
|
3384
3409
|
description: ( localize(
|
|
3385
|
-
|
|
3410
|
+
511,
|
|
3386
3411
|
"Controls whether the editor should automatically close comments after the user adds an opening comment."
|
|
3387
3412
|
))
|
|
3388
3413
|
}
|
|
@@ -3396,13 +3421,13 @@ const EditorOptions = {
|
|
|
3396
3421
|
enumDescriptions: [
|
|
3397
3422
|
'',
|
|
3398
3423
|
( localize(
|
|
3399
|
-
|
|
3424
|
+
512,
|
|
3400
3425
|
"Remove adjacent closing quotes or brackets only if they were automatically inserted."
|
|
3401
3426
|
)),
|
|
3402
3427
|
'',
|
|
3403
3428
|
],
|
|
3404
3429
|
description: ( localize(
|
|
3405
|
-
|
|
3430
|
+
513,
|
|
3406
3431
|
"Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
|
|
3407
3432
|
))
|
|
3408
3433
|
}
|
|
@@ -3416,13 +3441,13 @@ const EditorOptions = {
|
|
|
3416
3441
|
enumDescriptions: [
|
|
3417
3442
|
'',
|
|
3418
3443
|
( localize(
|
|
3419
|
-
|
|
3444
|
+
514,
|
|
3420
3445
|
"Type over closing quotes or brackets only if they were automatically inserted."
|
|
3421
3446
|
)),
|
|
3422
3447
|
'',
|
|
3423
3448
|
],
|
|
3424
3449
|
description: ( localize(
|
|
3425
|
-
|
|
3450
|
+
515,
|
|
3426
3451
|
"Controls whether the editor should type over closing quotes or brackets."
|
|
3427
3452
|
))
|
|
3428
3453
|
}
|
|
@@ -3435,12 +3460,12 @@ const EditorOptions = {
|
|
|
3435
3460
|
{
|
|
3436
3461
|
enumDescriptions: [
|
|
3437
3462
|
'',
|
|
3438
|
-
( localize(
|
|
3439
|
-
( localize(
|
|
3463
|
+
( localize(516, "Use language configurations to determine when to autoclose quotes.")),
|
|
3464
|
+
( localize(517, "Autoclose quotes only when the cursor is to the left of whitespace.")),
|
|
3440
3465
|
'',
|
|
3441
3466
|
],
|
|
3442
3467
|
description: ( localize(
|
|
3443
|
-
|
|
3468
|
+
518,
|
|
3444
3469
|
"Controls whether the editor should automatically close quotes after the user adds an opening quote."
|
|
3445
3470
|
))
|
|
3446
3471
|
}
|
|
@@ -3454,23 +3479,23 @@ const EditorOptions = {
|
|
|
3454
3479
|
_autoIndentFromString,
|
|
3455
3480
|
{
|
|
3456
3481
|
enumDescriptions: [
|
|
3457
|
-
( localize(
|
|
3458
|
-
( localize(
|
|
3482
|
+
( localize(519, "The editor will not insert indentation automatically.")),
|
|
3483
|
+
( localize(520, "The editor will keep the current line's indentation.")),
|
|
3459
3484
|
( localize(
|
|
3460
|
-
|
|
3485
|
+
521,
|
|
3461
3486
|
"The editor will keep the current line's indentation and honor language defined brackets."
|
|
3462
3487
|
)),
|
|
3463
3488
|
( localize(
|
|
3464
|
-
|
|
3489
|
+
522,
|
|
3465
3490
|
"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
|
|
3466
3491
|
)),
|
|
3467
3492
|
( localize(
|
|
3468
|
-
|
|
3493
|
+
523,
|
|
3469
3494
|
"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."
|
|
3470
3495
|
)),
|
|
3471
3496
|
],
|
|
3472
3497
|
description: ( localize(
|
|
3473
|
-
|
|
3498
|
+
524,
|
|
3474
3499
|
"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
|
|
3475
3500
|
))
|
|
3476
3501
|
}
|
|
@@ -3480,7 +3505,7 @@ const EditorOptions = {
|
|
|
3480
3505
|
'autoIndentOnPaste',
|
|
3481
3506
|
false,
|
|
3482
3507
|
{ description: ( localize(
|
|
3483
|
-
|
|
3508
|
+
525,
|
|
3484
3509
|
"Controls whether the editor should automatically auto-indent the pasted content."
|
|
3485
3510
|
)) }
|
|
3486
3511
|
))),
|
|
@@ -3489,7 +3514,7 @@ const EditorOptions = {
|
|
|
3489
3514
|
'autoIndentOnPasteWithinString',
|
|
3490
3515
|
true,
|
|
3491
3516
|
{ description: ( localize(
|
|
3492
|
-
|
|
3517
|
+
526,
|
|
3493
3518
|
"Controls whether the editor should automatically auto-indent the pasted content when pasted within a string. This takes effect when autoIndentOnPaste is true."
|
|
3494
3519
|
)) }
|
|
3495
3520
|
))),
|
|
@@ -3502,15 +3527,15 @@ const EditorOptions = {
|
|
|
3502
3527
|
{
|
|
3503
3528
|
enumDescriptions: [
|
|
3504
3529
|
( localize(
|
|
3505
|
-
|
|
3530
|
+
527,
|
|
3506
3531
|
"Use language configurations to determine when to automatically surround selections."
|
|
3507
3532
|
)),
|
|
3508
|
-
( localize(
|
|
3509
|
-
( localize(
|
|
3533
|
+
( localize(528, "Surround with quotes but not brackets.")),
|
|
3534
|
+
( localize(529, "Surround with brackets but not quotes.")),
|
|
3510
3535
|
''
|
|
3511
3536
|
],
|
|
3512
3537
|
description: ( localize(
|
|
3513
|
-
|
|
3538
|
+
530,
|
|
3514
3539
|
"Controls whether the editor should automatically surround selections when typing quotes or brackets."
|
|
3515
3540
|
))
|
|
3516
3541
|
}
|
|
@@ -3522,16 +3547,16 @@ const EditorOptions = {
|
|
|
3522
3547
|
'stickyTabStops',
|
|
3523
3548
|
false,
|
|
3524
3549
|
{ description: ( localize(
|
|
3525
|
-
|
|
3550
|
+
531,
|
|
3526
3551
|
"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
|
|
3527
3552
|
)) }
|
|
3528
3553
|
))),
|
|
3529
|
-
codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(
|
|
3554
|
+
codeLens: register(( new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(532, "Controls whether the editor shows CodeLens.")) }))),
|
|
3530
3555
|
codeLensFontFamily: register(( new EditorStringOption(
|
|
3531
3556
|
EditorOption.codeLensFontFamily,
|
|
3532
3557
|
'codeLensFontFamily',
|
|
3533
3558
|
'',
|
|
3534
|
-
{ description: ( localize(
|
|
3559
|
+
{ description: ( localize(533, "Controls the font family for CodeLens.")) }
|
|
3535
3560
|
))),
|
|
3536
3561
|
codeLensFontSize: register(( new EditorIntOption(EditorOption.codeLensFontSize, 'codeLensFontSize', 0, 0, 100, {
|
|
3537
3562
|
type: 'number',
|
|
@@ -3539,7 +3564,7 @@ const EditorOptions = {
|
|
|
3539
3564
|
minimum: 0,
|
|
3540
3565
|
maximum: 100,
|
|
3541
3566
|
markdownDescription: ( localize(
|
|
3542
|
-
|
|
3567
|
+
534,
|
|
3543
3568
|
"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
|
|
3544
3569
|
))
|
|
3545
3570
|
}))),
|
|
@@ -3548,7 +3573,7 @@ const EditorOptions = {
|
|
|
3548
3573
|
'colorDecorators',
|
|
3549
3574
|
true,
|
|
3550
3575
|
{ description: ( localize(
|
|
3551
|
-
|
|
3576
|
+
535,
|
|
3552
3577
|
"Controls whether the editor should render the inline color decorators and color picker."
|
|
3553
3578
|
)) }
|
|
3554
3579
|
))),
|
|
@@ -3560,14 +3585,14 @@ const EditorOptions = {
|
|
|
3560
3585
|
{
|
|
3561
3586
|
enumDescriptions: [
|
|
3562
3587
|
( localize(
|
|
3563
|
-
|
|
3588
|
+
536,
|
|
3564
3589
|
"Make the color picker appear both on click and hover of the color decorator"
|
|
3565
3590
|
)),
|
|
3566
|
-
( localize(
|
|
3567
|
-
( localize(
|
|
3591
|
+
( localize(537, "Make the color picker appear on hover of the color decorator")),
|
|
3592
|
+
( localize(538, "Make the color picker appear on click of the color decorator"))
|
|
3568
3593
|
],
|
|
3569
3594
|
description: ( localize(
|
|
3570
|
-
|
|
3595
|
+
539,
|
|
3571
3596
|
"Controls the condition to make a color picker appear from a color decorator."
|
|
3572
3597
|
))
|
|
3573
3598
|
}
|
|
@@ -3580,7 +3605,7 @@ const EditorOptions = {
|
|
|
3580
3605
|
1000000,
|
|
3581
3606
|
{
|
|
3582
3607
|
markdownDescription: ( localize(
|
|
3583
|
-
|
|
3608
|
+
540,
|
|
3584
3609
|
"Controls the max number of color decorators that can be rendered in an editor at once."
|
|
3585
3610
|
))
|
|
3586
3611
|
}
|
|
@@ -3590,7 +3615,7 @@ const EditorOptions = {
|
|
|
3590
3615
|
'columnSelection',
|
|
3591
3616
|
false,
|
|
3592
3617
|
{ description: ( localize(
|
|
3593
|
-
|
|
3618
|
+
541,
|
|
3594
3619
|
"Enable that the selection with the mouse and keys is doing column selection."
|
|
3595
3620
|
)) }
|
|
3596
3621
|
))),
|
|
@@ -3601,7 +3626,7 @@ const EditorOptions = {
|
|
|
3601
3626
|
'copyWithSyntaxHighlighting',
|
|
3602
3627
|
true,
|
|
3603
3628
|
{ description: ( localize(
|
|
3604
|
-
|
|
3629
|
+
542,
|
|
3605
3630
|
"Controls whether syntax highlighting should be copied into the clipboard."
|
|
3606
3631
|
)) }
|
|
3607
3632
|
))),
|
|
@@ -3612,7 +3637,7 @@ const EditorOptions = {
|
|
|
3612
3637
|
'blink',
|
|
3613
3638
|
['blink', 'smooth', 'phase', 'expand', 'solid'],
|
|
3614
3639
|
cursorBlinkingStyleFromString,
|
|
3615
|
-
{ description: ( localize(
|
|
3640
|
+
{ description: ( localize(543, "Control the cursor animation style.")) }
|
|
3616
3641
|
))),
|
|
3617
3642
|
cursorSmoothCaretAnimation: register(( new EditorStringEnumOption(
|
|
3618
3643
|
EditorOption.cursorSmoothCaretAnimation,
|
|
@@ -3621,14 +3646,14 @@ const EditorOptions = {
|
|
|
3621
3646
|
['off', 'explicit', 'on'],
|
|
3622
3647
|
{
|
|
3623
3648
|
enumDescriptions: [
|
|
3624
|
-
( localize(
|
|
3649
|
+
( localize(544, "Smooth caret animation is disabled.")),
|
|
3625
3650
|
( localize(
|
|
3626
|
-
|
|
3651
|
+
545,
|
|
3627
3652
|
"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
|
|
3628
3653
|
)),
|
|
3629
|
-
( localize(
|
|
3654
|
+
( localize(546, "Smooth caret animation is always enabled."))
|
|
3630
3655
|
],
|
|
3631
|
-
description: ( localize(
|
|
3656
|
+
description: ( localize(547, "Controls whether the smooth caret animation should be enabled."))
|
|
3632
3657
|
}
|
|
3633
3658
|
))),
|
|
3634
3659
|
cursorStyle: register(( new EditorEnumOption(
|
|
@@ -3638,7 +3663,7 @@ const EditorOptions = {
|
|
|
3638
3663
|
'line',
|
|
3639
3664
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3640
3665
|
cursorStyleFromString,
|
|
3641
|
-
{ description: ( localize(
|
|
3666
|
+
{ description: ( localize(548, "Controls the cursor style in insert input mode.")) }
|
|
3642
3667
|
))),
|
|
3643
3668
|
overtypeCursorStyle: register(( new EditorEnumOption(
|
|
3644
3669
|
EditorOption.overtypeCursorStyle,
|
|
@@ -3647,7 +3672,7 @@ const EditorOptions = {
|
|
|
3647
3672
|
'block',
|
|
3648
3673
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3649
3674
|
cursorStyleFromString,
|
|
3650
|
-
{ description: ( localize(
|
|
3675
|
+
{ description: ( localize(549, "Controls the cursor style in overtype input mode.")) }
|
|
3651
3676
|
))),
|
|
3652
3677
|
cursorSurroundingLines: register(( new EditorIntOption(
|
|
3653
3678
|
EditorOption.cursorSurroundingLines,
|
|
@@ -3656,7 +3681,7 @@ const EditorOptions = {
|
|
|
3656
3681
|
0,
|
|
3657
3682
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3658
3683
|
{ description: ( localize(
|
|
3659
|
-
|
|
3684
|
+
550,
|
|
3660
3685
|
"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."
|
|
3661
3686
|
)) }
|
|
3662
3687
|
))),
|
|
@@ -3668,12 +3693,12 @@ const EditorOptions = {
|
|
|
3668
3693
|
{
|
|
3669
3694
|
enumDescriptions: [
|
|
3670
3695
|
( localize(
|
|
3671
|
-
|
|
3696
|
+
551,
|
|
3672
3697
|
"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
|
|
3673
3698
|
)),
|
|
3674
|
-
( localize(
|
|
3699
|
+
( localize(552, "`cursorSurroundingLines` is enforced always."))
|
|
3675
3700
|
],
|
|
3676
|
-
markdownDescription: ( localize(
|
|
3701
|
+
markdownDescription: ( localize(553, "Controls when `#editor.cursorSurroundingLines#` should be enforced."))
|
|
3677
3702
|
}
|
|
3678
3703
|
))),
|
|
3679
3704
|
cursorWidth: register(( new EditorIntOption(
|
|
@@ -3683,7 +3708,7 @@ const EditorOptions = {
|
|
|
3683
3708
|
0,
|
|
3684
3709
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3685
3710
|
{ markdownDescription: ( localize(
|
|
3686
|
-
|
|
3711
|
+
554,
|
|
3687
3712
|
"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
|
|
3688
3713
|
)) }
|
|
3689
3714
|
))),
|
|
@@ -3694,7 +3719,7 @@ const EditorOptions = {
|
|
|
3694
3719
|
0,
|
|
3695
3720
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3696
3721
|
{ markdownDescription: ( localize(
|
|
3697
|
-
|
|
3722
|
+
555,
|
|
3698
3723
|
"Controls the height of the cursor when `#editor.cursorStyle#` is set to `line`. Cursor's max height depends on line height."
|
|
3699
3724
|
)) }
|
|
3700
3725
|
))),
|
|
@@ -3710,7 +3735,7 @@ const EditorOptions = {
|
|
|
3710
3735
|
'dragAndDrop',
|
|
3711
3736
|
true,
|
|
3712
3737
|
{ description: ( localize(
|
|
3713
|
-
|
|
3738
|
+
556,
|
|
3714
3739
|
"Controls whether the editor should allow moving selections via drag and drop."
|
|
3715
3740
|
)) }
|
|
3716
3741
|
))),
|
|
@@ -3718,7 +3743,7 @@ const EditorOptions = {
|
|
|
3718
3743
|
dropIntoEditor: register(( new EditorDropIntoEditor())),
|
|
3719
3744
|
editContext: register(( new EditorBooleanOption(EditorOption.editContext, 'editContext', true, {
|
|
3720
3745
|
description: ( localize(
|
|
3721
|
-
|
|
3746
|
+
557,
|
|
3722
3747
|
"Sets whether the EditContext API should be used instead of the text area to power input in the editor."
|
|
3723
3748
|
)),
|
|
3724
3749
|
included: isChrome || isEdge || isNative
|
|
@@ -3729,7 +3754,7 @@ const EditorOptions = {
|
|
|
3729
3754
|
false,
|
|
3730
3755
|
{
|
|
3731
3756
|
markdownDescription: ( localize(
|
|
3732
|
-
|
|
3757
|
+
558,
|
|
3733
3758
|
"Whether to render rich screen reader content when the `#editor.editContext#` setting is enabled."
|
|
3734
3759
|
)),
|
|
3735
3760
|
}
|
|
@@ -3743,11 +3768,11 @@ const EditorOptions = {
|
|
|
3743
3768
|
{
|
|
3744
3769
|
tags: ['experimental'],
|
|
3745
3770
|
enumDescriptions: [
|
|
3746
|
-
( localize(
|
|
3747
|
-
( localize(
|
|
3771
|
+
( localize(559, "Use regular DOM-based rendering.")),
|
|
3772
|
+
( localize(560, "Use GPU acceleration.")),
|
|
3748
3773
|
],
|
|
3749
3774
|
description: ( localize(
|
|
3750
|
-
|
|
3775
|
+
561,
|
|
3751
3776
|
"Controls whether to use the experimental GPU acceleration to render the editor."
|
|
3752
3777
|
))
|
|
3753
3778
|
}
|
|
@@ -3759,12 +3784,12 @@ const EditorOptions = {
|
|
|
3759
3784
|
['svg', 'font', 'off'],
|
|
3760
3785
|
{
|
|
3761
3786
|
enumDescriptions: [
|
|
3762
|
-
( localize(
|
|
3763
|
-
( localize(
|
|
3764
|
-
( localize(
|
|
3787
|
+
( localize(562, "Use a new rendering method with svgs.")),
|
|
3788
|
+
( localize(563, "Use a new rendering method with font characters.")),
|
|
3789
|
+
( localize(564, "Use the stable rendering method.")),
|
|
3765
3790
|
],
|
|
3766
3791
|
description: ( localize(
|
|
3767
|
-
|
|
3792
|
+
565,
|
|
3768
3793
|
"Controls whether whitespace is rendered with a new, experimental method."
|
|
3769
3794
|
))
|
|
3770
3795
|
}
|
|
@@ -3775,11 +3800,11 @@ const EditorOptions = {
|
|
|
3775
3800
|
'fastScrollSensitivity',
|
|
3776
3801
|
5,
|
|
3777
3802
|
x => (x <= 0 ? 5 : x),
|
|
3778
|
-
{ markdownDescription: ( localize(
|
|
3803
|
+
{ markdownDescription: ( localize(566, "Scrolling speed multiplier when pressing `Alt`.")) }
|
|
3779
3804
|
))),
|
|
3780
3805
|
find: register(( new EditorFind())),
|
|
3781
3806
|
fixedOverflowWidgets: register(( new EditorBooleanOption(EditorOption.fixedOverflowWidgets, 'fixedOverflowWidgets', false))),
|
|
3782
|
-
folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(
|
|
3807
|
+
folding: register(( new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(567, "Controls whether the editor has code folding enabled.")) }))),
|
|
3783
3808
|
foldingStrategy: register(( new EditorStringEnumOption(
|
|
3784
3809
|
EditorOption.foldingStrategy,
|
|
3785
3810
|
'foldingStrategy',
|
|
@@ -3788,25 +3813,25 @@ const EditorOptions = {
|
|
|
3788
3813
|
{
|
|
3789
3814
|
enumDescriptions: [
|
|
3790
3815
|
( localize(
|
|
3791
|
-
|
|
3816
|
+
568,
|
|
3792
3817
|
"Use a language-specific folding strategy if available, else the indentation-based one."
|
|
3793
3818
|
)),
|
|
3794
|
-
( localize(
|
|
3819
|
+
( localize(569, "Use the indentation-based folding strategy.")),
|
|
3795
3820
|
],
|
|
3796
|
-
description: ( localize(
|
|
3821
|
+
description: ( localize(570, "Controls the strategy for computing folding ranges."))
|
|
3797
3822
|
}
|
|
3798
3823
|
))),
|
|
3799
3824
|
foldingHighlight: register(( new EditorBooleanOption(
|
|
3800
3825
|
EditorOption.foldingHighlight,
|
|
3801
3826
|
'foldingHighlight',
|
|
3802
3827
|
true,
|
|
3803
|
-
{ description: ( localize(
|
|
3828
|
+
{ description: ( localize(571, "Controls whether the editor should highlight folded ranges.")) }
|
|
3804
3829
|
))),
|
|
3805
3830
|
foldingImportsByDefault: register(( new EditorBooleanOption(
|
|
3806
3831
|
EditorOption.foldingImportsByDefault,
|
|
3807
3832
|
'foldingImportsByDefault',
|
|
3808
3833
|
false,
|
|
3809
|
-
{ description: ( localize(
|
|
3834
|
+
{ description: ( localize(572, "Controls whether the editor automatically collapses import ranges.")) }
|
|
3810
3835
|
))),
|
|
3811
3836
|
foldingMaximumRegions: register(( new EditorIntOption(
|
|
3812
3837
|
EditorOption.foldingMaximumRegions,
|
|
@@ -3815,7 +3840,7 @@ const EditorOptions = {
|
|
|
3815
3840
|
10,
|
|
3816
3841
|
65000,
|
|
3817
3842
|
{ description: ( localize(
|
|
3818
|
-
|
|
3843
|
+
573,
|
|
3819
3844
|
"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."
|
|
3820
3845
|
)) }
|
|
3821
3846
|
))),
|
|
@@ -3824,7 +3849,7 @@ const EditorOptions = {
|
|
|
3824
3849
|
'unfoldOnClickAfterEndOfLine',
|
|
3825
3850
|
false,
|
|
3826
3851
|
{ description: ( localize(
|
|
3827
|
-
|
|
3852
|
+
574,
|
|
3828
3853
|
"Controls whether clicking on the empty content after a folded line will unfold the line."
|
|
3829
3854
|
)) }
|
|
3830
3855
|
))),
|
|
@@ -3832,7 +3857,7 @@ const EditorOptions = {
|
|
|
3832
3857
|
EditorOption.fontFamily,
|
|
3833
3858
|
'fontFamily',
|
|
3834
3859
|
EDITOR_FONT_DEFAULTS.fontFamily,
|
|
3835
|
-
{ description: ( localize(
|
|
3860
|
+
{ description: ( localize(575, "Controls the font family.")) }
|
|
3836
3861
|
))),
|
|
3837
3862
|
fontInfo: register(( new EditorFontInfo())),
|
|
3838
3863
|
fontLigatures2: register(( new EditorFontLigatures())),
|
|
@@ -3844,7 +3869,7 @@ const EditorOptions = {
|
|
|
3844
3869
|
'formatOnPaste',
|
|
3845
3870
|
false,
|
|
3846
3871
|
{ description: ( localize(
|
|
3847
|
-
|
|
3872
|
+
576,
|
|
3848
3873
|
"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."
|
|
3849
3874
|
)) }
|
|
3850
3875
|
))),
|
|
@@ -3853,7 +3878,7 @@ const EditorOptions = {
|
|
|
3853
3878
|
'formatOnType',
|
|
3854
3879
|
false,
|
|
3855
3880
|
{ description: ( localize(
|
|
3856
|
-
|
|
3881
|
+
577,
|
|
3857
3882
|
"Controls whether the editor should automatically format the line after typing."
|
|
3858
3883
|
)) }
|
|
3859
3884
|
))),
|
|
@@ -3862,7 +3887,7 @@ const EditorOptions = {
|
|
|
3862
3887
|
'glyphMargin',
|
|
3863
3888
|
true,
|
|
3864
3889
|
{ description: ( localize(
|
|
3865
|
-
|
|
3890
|
+
578,
|
|
3866
3891
|
"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
|
|
3867
3892
|
)) }
|
|
3868
3893
|
))),
|
|
@@ -3871,7 +3896,7 @@ const EditorOptions = {
|
|
|
3871
3896
|
EditorOption.hideCursorInOverviewRuler,
|
|
3872
3897
|
'hideCursorInOverviewRuler',
|
|
3873
3898
|
false,
|
|
3874
|
-
{ description: ( localize(
|
|
3899
|
+
{ description: ( localize(579, "Controls whether the cursor should be hidden in the overview ruler.")) }
|
|
3875
3900
|
))),
|
|
3876
3901
|
hover: register(( new EditorHover())),
|
|
3877
3902
|
inDiffEditor: register(( new EditorBooleanOption(EditorOption.inDiffEditor, 'inDiffEditor', false))),
|
|
@@ -3879,14 +3904,14 @@ const EditorOptions = {
|
|
|
3879
3904
|
EditorOption.inertialScroll,
|
|
3880
3905
|
'inertialScroll',
|
|
3881
3906
|
false,
|
|
3882
|
-
{ description: ( localize(
|
|
3907
|
+
{ description: ( localize(580, "Make scrolling inertial - mostly useful with touchpad on linux.")) }
|
|
3883
3908
|
))),
|
|
3884
3909
|
letterSpacing: register(( new EditorFloatOption(
|
|
3885
3910
|
EditorOption.letterSpacing,
|
|
3886
3911
|
'letterSpacing',
|
|
3887
3912
|
EDITOR_FONT_DEFAULTS.letterSpacing,
|
|
3888
3913
|
x => EditorFloatOption.clamp(x, -5, 20),
|
|
3889
|
-
{ description: ( localize(
|
|
3914
|
+
{ description: ( localize(581, "Controls the letter spacing in pixels.")) }
|
|
3890
3915
|
))),
|
|
3891
3916
|
lightbulb: register(( new EditorLightbulb())),
|
|
3892
3917
|
lineDecorationsWidth: register(( new EditorLineDecorationsWidth())),
|
|
@@ -3898,12 +3923,12 @@ const EditorOptions = {
|
|
|
3898
3923
|
'linkedEditing',
|
|
3899
3924
|
false,
|
|
3900
3925
|
{ description: ( localize(
|
|
3901
|
-
|
|
3926
|
+
582,
|
|
3902
3927
|
"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
|
|
3903
3928
|
)) }
|
|
3904
3929
|
))),
|
|
3905
3930
|
links: register(( new EditorBooleanOption(EditorOption.links, 'links', true, { description: ( localize(
|
|
3906
|
-
|
|
3931
|
+
583,
|
|
3907
3932
|
"Controls whether the editor should detect links and make them clickable."
|
|
3908
3933
|
)) }))),
|
|
3909
3934
|
matchBrackets: register(( new EditorStringEnumOption(
|
|
@@ -3911,7 +3936,7 @@ const EditorOptions = {
|
|
|
3911
3936
|
'matchBrackets',
|
|
3912
3937
|
'always',
|
|
3913
3938
|
['always', 'near', 'never'],
|
|
3914
|
-
{ description: ( localize(
|
|
3939
|
+
{ description: ( localize(584, "Highlight matching brackets.")) }
|
|
3915
3940
|
))),
|
|
3916
3941
|
minimap: register(( new EditorMinimap())),
|
|
3917
3942
|
mouseStyle: register(( new EditorStringEnumOption(EditorOption.mouseStyle, 'mouseStyle', 'text', ['text', 'default', 'copy']))),
|
|
@@ -3921,18 +3946,18 @@ const EditorOptions = {
|
|
|
3921
3946
|
1,
|
|
3922
3947
|
x => (x === 0 ? 1 : x),
|
|
3923
3948
|
{ markdownDescription: ( localize(
|
|
3924
|
-
|
|
3949
|
+
585,
|
|
3925
3950
|
"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
|
|
3926
3951
|
)) }
|
|
3927
3952
|
))),
|
|
3928
3953
|
mouseWheelZoom: register(( new EditorBooleanOption(EditorOption.mouseWheelZoom, 'mouseWheelZoom', false, {
|
|
3929
3954
|
markdownDescription: isMacintosh
|
|
3930
3955
|
? ( localize(
|
|
3931
|
-
|
|
3956
|
+
586,
|
|
3932
3957
|
"Zoom the font of the editor when using mouse wheel and holding `Cmd`."
|
|
3933
3958
|
))
|
|
3934
3959
|
: ( localize(
|
|
3935
|
-
|
|
3960
|
+
587,
|
|
3936
3961
|
"Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
|
|
3937
3962
|
))
|
|
3938
3963
|
}))),
|
|
@@ -3940,7 +3965,7 @@ const EditorOptions = {
|
|
|
3940
3965
|
EditorOption.multiCursorMergeOverlapping,
|
|
3941
3966
|
'multiCursorMergeOverlapping',
|
|
3942
3967
|
true,
|
|
3943
|
-
{ description: ( localize(
|
|
3968
|
+
{ description: ( localize(588, "Merge multiple cursors when they are overlapping.")) }
|
|
3944
3969
|
))),
|
|
3945
3970
|
multiCursorModifier: register(( new EditorEnumOption(
|
|
3946
3971
|
EditorOption.multiCursorModifier,
|
|
@@ -3951,15 +3976,25 @@ const EditorOptions = {
|
|
|
3951
3976
|
_multiCursorModifierFromString,
|
|
3952
3977
|
{
|
|
3953
3978
|
markdownEnumDescriptions: [
|
|
3954
|
-
( localize(
|
|
3955
|
-
( localize(
|
|
3979
|
+
( localize(589, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
|
|
3980
|
+
( localize(590, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
|
|
3956
3981
|
],
|
|
3957
3982
|
markdownDescription: ( localize(
|
|
3958
|
-
|
|
3983
|
+
591,
|
|
3959
3984
|
"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)."
|
|
3960
3985
|
))
|
|
3961
3986
|
}
|
|
3962
3987
|
))),
|
|
3988
|
+
mouseMiddleClickAction: register(( new EditorStringEnumOption(
|
|
3989
|
+
EditorOption.mouseMiddleClickAction,
|
|
3990
|
+
'mouseMiddleClickAction',
|
|
3991
|
+
'default',
|
|
3992
|
+
['default', 'openLink', 'ctrlLeftClick'],
|
|
3993
|
+
{ description: ( localize(
|
|
3994
|
+
592,
|
|
3995
|
+
"Controls what happens when middle mouse button is clicked in the editor."
|
|
3996
|
+
)) }
|
|
3997
|
+
))),
|
|
3963
3998
|
multiCursorPaste: register(( new EditorStringEnumOption(
|
|
3964
3999
|
EditorOption.multiCursorPaste,
|
|
3965
4000
|
'multiCursorPaste',
|
|
@@ -3967,18 +4002,18 @@ const EditorOptions = {
|
|
|
3967
4002
|
['spread', 'full'],
|
|
3968
4003
|
{
|
|
3969
4004
|
markdownEnumDescriptions: [
|
|
3970
|
-
( localize(
|
|
3971
|
-
( localize(
|
|
4005
|
+
( localize(593, "Each cursor pastes a single line of the text.")),
|
|
4006
|
+
( localize(594, "Each cursor pastes the full text."))
|
|
3972
4007
|
],
|
|
3973
4008
|
markdownDescription: ( localize(
|
|
3974
|
-
|
|
4009
|
+
595,
|
|
3975
4010
|
"Controls pasting when the line count of the pasted text matches the cursor count."
|
|
3976
4011
|
))
|
|
3977
4012
|
}
|
|
3978
4013
|
))),
|
|
3979
4014
|
multiCursorLimit: register(( new EditorIntOption(EditorOption.multiCursorLimit, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3980
4015
|
markdownDescription: ( localize(
|
|
3981
|
-
|
|
4016
|
+
596,
|
|
3982
4017
|
"Controls the max number of cursors that can be in an active editor at once."
|
|
3983
4018
|
))
|
|
3984
4019
|
}))),
|
|
@@ -3989,12 +4024,12 @@ const EditorOptions = {
|
|
|
3989
4024
|
['off', 'singleFile', 'multiFile'],
|
|
3990
4025
|
{
|
|
3991
4026
|
markdownEnumDescriptions: [
|
|
3992
|
-
( localize(
|
|
3993
|
-
( localize(
|
|
3994
|
-
( localize(
|
|
4027
|
+
( localize(597, "Does not highlight occurrences.")),
|
|
4028
|
+
( localize(598, "Highlights occurrences only in the current file.")),
|
|
4029
|
+
( localize(599, "Experimental: Highlights occurrences across all valid open files."))
|
|
3995
4030
|
],
|
|
3996
4031
|
markdownDescription: ( localize(
|
|
3997
|
-
|
|
4032
|
+
600,
|
|
3998
4033
|
"Controls whether occurrences should be highlighted across open files."
|
|
3999
4034
|
))
|
|
4000
4035
|
}
|
|
@@ -4007,7 +4042,7 @@ const EditorOptions = {
|
|
|
4007
4042
|
2000,
|
|
4008
4043
|
{
|
|
4009
4044
|
description: ( localize(
|
|
4010
|
-
|
|
4045
|
+
601,
|
|
4011
4046
|
"Controls the delay in milliseconds after which occurrences are highlighted."
|
|
4012
4047
|
)),
|
|
4013
4048
|
tags: ['preview']
|
|
@@ -4017,14 +4052,14 @@ const EditorOptions = {
|
|
|
4017
4052
|
EditorOption.overtypeOnPaste,
|
|
4018
4053
|
'overtypeOnPaste',
|
|
4019
4054
|
true,
|
|
4020
|
-
{ description: ( localize(
|
|
4055
|
+
{ description: ( localize(602, "Controls whether pasting should overtype.")) }
|
|
4021
4056
|
))),
|
|
4022
4057
|
overviewRulerBorder: register(( new EditorBooleanOption(
|
|
4023
4058
|
EditorOption.overviewRulerBorder,
|
|
4024
4059
|
'overviewRulerBorder',
|
|
4025
4060
|
true,
|
|
4026
4061
|
{ description: ( localize(
|
|
4027
|
-
|
|
4062
|
+
603,
|
|
4028
4063
|
"Controls whether a border should be drawn around the overview ruler."
|
|
4029
4064
|
)) }
|
|
4030
4065
|
))),
|
|
@@ -4039,11 +4074,11 @@ const EditorOptions = {
|
|
|
4039
4074
|
['tree', 'editor'],
|
|
4040
4075
|
{
|
|
4041
4076
|
enumDescriptions: [
|
|
4042
|
-
( localize(
|
|
4043
|
-
( localize(
|
|
4077
|
+
( localize(604, "Focus the tree when opening peek")),
|
|
4078
|
+
( localize(605, "Focus the editor when opening peek"))
|
|
4044
4079
|
],
|
|
4045
4080
|
description: ( localize(
|
|
4046
|
-
|
|
4081
|
+
606,
|
|
4047
4082
|
"Controls whether to focus the inline editor or the tree in the peek widget."
|
|
4048
4083
|
))
|
|
4049
4084
|
}
|
|
@@ -4054,7 +4089,7 @@ const EditorOptions = {
|
|
|
4054
4089
|
'definitionLinkOpensInPeek',
|
|
4055
4090
|
false,
|
|
4056
4091
|
{ description: ( localize(
|
|
4057
|
-
|
|
4092
|
+
607,
|
|
4058
4093
|
"Controls whether the Go to Definition mouse gesture always opens the peek widget."
|
|
4059
4094
|
)) }
|
|
4060
4095
|
))),
|
|
@@ -4067,7 +4102,7 @@ const EditorOptions = {
|
|
|
4067
4102
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4068
4103
|
{
|
|
4069
4104
|
description: ( localize(
|
|
4070
|
-
|
|
4105
|
+
608,
|
|
4071
4106
|
"Controls the delay in milliseconds after which quick suggestions will show up."
|
|
4072
4107
|
)),
|
|
4073
4108
|
experiment: {
|
|
@@ -4081,20 +4116,20 @@ const EditorOptions = {
|
|
|
4081
4116
|
EditorOption.renameOnType,
|
|
4082
4117
|
'renameOnType',
|
|
4083
4118
|
false,
|
|
4084
|
-
{ description: ( localize(
|
|
4119
|
+
{ description: ( localize(609, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localize(610, "Deprecated, use `#editor.linkedEditing#` instead.")) }
|
|
4085
4120
|
))),
|
|
4086
4121
|
renderControlCharacters: register(( new EditorBooleanOption(
|
|
4087
4122
|
EditorOption.renderControlCharacters,
|
|
4088
4123
|
'renderControlCharacters',
|
|
4089
4124
|
true,
|
|
4090
|
-
{ description: ( localize(
|
|
4125
|
+
{ description: ( localize(611, "Controls whether the editor should render control characters.")), restricted: true }
|
|
4091
4126
|
))),
|
|
4092
4127
|
renderFinalNewline: register(( new EditorStringEnumOption(
|
|
4093
4128
|
EditorOption.renderFinalNewline,
|
|
4094
4129
|
'renderFinalNewline',
|
|
4095
4130
|
(isLinux ? 'dimmed' : 'on'),
|
|
4096
4131
|
['off', 'on', 'dimmed'],
|
|
4097
|
-
{ description: ( localize(
|
|
4132
|
+
{ description: ( localize(612, "Render last line number when the file ends with a newline.")) }
|
|
4098
4133
|
))),
|
|
4099
4134
|
renderLineHighlight: register(( new EditorStringEnumOption(
|
|
4100
4135
|
EditorOption.renderLineHighlight,
|
|
@@ -4106,9 +4141,9 @@ const EditorOptions = {
|
|
|
4106
4141
|
'',
|
|
4107
4142
|
'',
|
|
4108
4143
|
'',
|
|
4109
|
-
( localize(
|
|
4144
|
+
( localize(613, "Highlights both the gutter and the current line.")),
|
|
4110
4145
|
],
|
|
4111
|
-
description: ( localize(
|
|
4146
|
+
description: ( localize(614, "Controls how the editor should render the current line highlight."))
|
|
4112
4147
|
}
|
|
4113
4148
|
))),
|
|
4114
4149
|
renderLineHighlightOnlyWhenFocus: register(( new EditorBooleanOption(
|
|
@@ -4116,7 +4151,7 @@ const EditorOptions = {
|
|
|
4116
4151
|
'renderLineHighlightOnlyWhenFocus',
|
|
4117
4152
|
false,
|
|
4118
4153
|
{ description: ( localize(
|
|
4119
|
-
|
|
4154
|
+
615,
|
|
4120
4155
|
"Controls if the editor should render the current line highlight only when the editor is focused."
|
|
4121
4156
|
)) }
|
|
4122
4157
|
))),
|
|
@@ -4135,14 +4170,14 @@ const EditorOptions = {
|
|
|
4135
4170
|
enumDescriptions: [
|
|
4136
4171
|
'',
|
|
4137
4172
|
( localize(
|
|
4138
|
-
|
|
4173
|
+
616,
|
|
4139
4174
|
"Render whitespace characters except for single spaces between words."
|
|
4140
4175
|
)),
|
|
4141
|
-
( localize(
|
|
4142
|
-
( localize(
|
|
4176
|
+
( localize(617, "Render whitespace characters only on selected text.")),
|
|
4177
|
+
( localize(618, "Render only trailing whitespace characters.")),
|
|
4143
4178
|
''
|
|
4144
4179
|
],
|
|
4145
|
-
description: ( localize(
|
|
4180
|
+
description: ( localize(619, "Controls how the editor should render whitespace characters."))
|
|
4146
4181
|
}
|
|
4147
4182
|
))),
|
|
4148
4183
|
revealHorizontalRightPadding: register(( new EditorIntOption(
|
|
@@ -4156,7 +4191,7 @@ const EditorOptions = {
|
|
|
4156
4191
|
EditorOption.roundedSelection,
|
|
4157
4192
|
'roundedSelection',
|
|
4158
4193
|
true,
|
|
4159
|
-
{ description: ( localize(
|
|
4194
|
+
{ description: ( localize(620, "Controls whether selections should have rounded corners.")) }
|
|
4160
4195
|
))),
|
|
4161
4196
|
rulers: register(( new EditorRulers())),
|
|
4162
4197
|
scrollbar: register(( new EditorScrollbar())),
|
|
@@ -4167,7 +4202,7 @@ const EditorOptions = {
|
|
|
4167
4202
|
0,
|
|
4168
4203
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4169
4204
|
{ description: ( localize(
|
|
4170
|
-
|
|
4205
|
+
621,
|
|
4171
4206
|
"Controls the number of extra characters beyond which the editor will scroll horizontally."
|
|
4172
4207
|
)) }
|
|
4173
4208
|
))),
|
|
@@ -4175,14 +4210,14 @@ const EditorOptions = {
|
|
|
4175
4210
|
EditorOption.scrollBeyondLastLine,
|
|
4176
4211
|
'scrollBeyondLastLine',
|
|
4177
4212
|
true,
|
|
4178
|
-
{ description: ( localize(
|
|
4213
|
+
{ description: ( localize(622, "Controls whether the editor will scroll beyond the last line.")) }
|
|
4179
4214
|
))),
|
|
4180
4215
|
scrollOnMiddleClick: register(( new EditorBooleanOption(
|
|
4181
4216
|
EditorOption.scrollOnMiddleClick,
|
|
4182
4217
|
'scrollOnMiddleClick',
|
|
4183
4218
|
false,
|
|
4184
4219
|
{ description: ( localize(
|
|
4185
|
-
|
|
4220
|
+
623,
|
|
4186
4221
|
"Controls whether the editor will scroll when the middle button is pressed."
|
|
4187
4222
|
)) }
|
|
4188
4223
|
))),
|
|
@@ -4191,12 +4226,12 @@ const EditorOptions = {
|
|
|
4191
4226
|
'scrollPredominantAxis',
|
|
4192
4227
|
true,
|
|
4193
4228
|
{ description: ( localize(
|
|
4194
|
-
|
|
4229
|
+
624,
|
|
4195
4230
|
"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."
|
|
4196
4231
|
)) }
|
|
4197
4232
|
))),
|
|
4198
4233
|
selectionClipboard: register(( new EditorBooleanOption(EditorOption.selectionClipboard, 'selectionClipboard', true, {
|
|
4199
|
-
description: ( localize(
|
|
4234
|
+
description: ( localize(625, "Controls whether the Linux primary clipboard should be supported.")),
|
|
4200
4235
|
included: isLinux
|
|
4201
4236
|
}))),
|
|
4202
4237
|
selectionHighlight: register(( new EditorBooleanOption(
|
|
@@ -4204,7 +4239,7 @@ const EditorOptions = {
|
|
|
4204
4239
|
'selectionHighlight',
|
|
4205
4240
|
true,
|
|
4206
4241
|
{ description: ( localize(
|
|
4207
|
-
|
|
4242
|
+
626,
|
|
4208
4243
|
"Controls whether the editor should highlight matches similar to the selection."
|
|
4209
4244
|
)) }
|
|
4210
4245
|
))),
|
|
@@ -4215,7 +4250,7 @@ const EditorOptions = {
|
|
|
4215
4250
|
0,
|
|
4216
4251
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4217
4252
|
{ description: ( localize(
|
|
4218
|
-
|
|
4253
|
+
627,
|
|
4219
4254
|
"Controls how many characters can be in the selection before similiar matches are not highlighted. Set to zero for unlimited."
|
|
4220
4255
|
)) }
|
|
4221
4256
|
))),
|
|
@@ -4224,7 +4259,7 @@ const EditorOptions = {
|
|
|
4224
4259
|
'selectionHighlightMultiline',
|
|
4225
4260
|
false,
|
|
4226
4261
|
{ description: ( localize(
|
|
4227
|
-
|
|
4262
|
+
628,
|
|
4228
4263
|
"Controls whether the editor should highlight selection matches that span multiple lines."
|
|
4229
4264
|
)) }
|
|
4230
4265
|
))),
|
|
@@ -4236,19 +4271,19 @@ const EditorOptions = {
|
|
|
4236
4271
|
['always', 'never', 'mouseover'],
|
|
4237
4272
|
{
|
|
4238
4273
|
enumDescriptions: [
|
|
4239
|
-
( localize(
|
|
4240
|
-
( localize(
|
|
4241
|
-
( localize(
|
|
4274
|
+
( localize(629, "Always show the folding controls.")),
|
|
4275
|
+
( localize(630, "Never show the folding controls and reduce the gutter size.")),
|
|
4276
|
+
( localize(631, "Only show the folding controls when the mouse is over the gutter.")),
|
|
4242
4277
|
],
|
|
4243
|
-
description: ( localize(
|
|
4278
|
+
description: ( localize(632, "Controls when the folding controls on the gutter are shown."))
|
|
4244
4279
|
}
|
|
4245
4280
|
))),
|
|
4246
|
-
showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(
|
|
4281
|
+
showUnused: register(( new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(633, "Controls fading out of unused code.")) }))),
|
|
4247
4282
|
showDeprecated: register(( new EditorBooleanOption(
|
|
4248
4283
|
EditorOption.showDeprecated,
|
|
4249
4284
|
'showDeprecated',
|
|
4250
4285
|
true,
|
|
4251
|
-
{ description: ( localize(
|
|
4286
|
+
{ description: ( localize(634, "Controls strikethrough deprecated variables.")) }
|
|
4252
4287
|
))),
|
|
4253
4288
|
inlayHints: register(( new EditorInlayHints())),
|
|
4254
4289
|
snippetSuggestions: register(( new EditorStringEnumOption(
|
|
@@ -4258,13 +4293,13 @@ const EditorOptions = {
|
|
|
4258
4293
|
['top', 'bottom', 'inline', 'none'],
|
|
4259
4294
|
{
|
|
4260
4295
|
enumDescriptions: [
|
|
4261
|
-
( localize(
|
|
4262
|
-
( localize(
|
|
4263
|
-
( localize(
|
|
4264
|
-
( localize(
|
|
4296
|
+
( localize(635, "Show snippet suggestions on top of other suggestions.")),
|
|
4297
|
+
( localize(636, "Show snippet suggestions below other suggestions.")),
|
|
4298
|
+
( localize(637, "Show snippets suggestions with other suggestions.")),
|
|
4299
|
+
( localize(638, "Do not show snippet suggestions.")),
|
|
4265
4300
|
],
|
|
4266
4301
|
description: ( localize(
|
|
4267
|
-
|
|
4302
|
+
639,
|
|
4268
4303
|
"Controls whether snippets are shown with other suggestions and how they are sorted."
|
|
4269
4304
|
))
|
|
4270
4305
|
}
|
|
@@ -4274,7 +4309,7 @@ const EditorOptions = {
|
|
|
4274
4309
|
EditorOption.smoothScrolling,
|
|
4275
4310
|
'smoothScrolling',
|
|
4276
4311
|
false,
|
|
4277
|
-
{ description: ( localize(
|
|
4312
|
+
{ description: ( localize(640, "Controls whether the editor will scroll using an animation.")) }
|
|
4278
4313
|
))),
|
|
4279
4314
|
stopRenderingLineAfter: register(( new EditorIntOption(
|
|
4280
4315
|
EditorOption.stopRenderingLineAfter,
|
|
@@ -4290,7 +4325,7 @@ const EditorOptions = {
|
|
|
4290
4325
|
'inlineCompletionsAccessibilityVerbose',
|
|
4291
4326
|
false,
|
|
4292
4327
|
{ description: ( localize(
|
|
4293
|
-
|
|
4328
|
+
641,
|
|
4294
4329
|
"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
|
|
4295
4330
|
)) }
|
|
4296
4331
|
))),
|
|
@@ -4301,7 +4336,7 @@ const EditorOptions = {
|
|
|
4301
4336
|
0,
|
|
4302
4337
|
1000,
|
|
4303
4338
|
{ markdownDescription: ( localize(
|
|
4304
|
-
|
|
4339
|
+
642,
|
|
4305
4340
|
"Font size for the suggest widget. When set to {0}, the value of {1} is used.",
|
|
4306
4341
|
'`0`',
|
|
4307
4342
|
'`#editor.fontSize#`'
|
|
@@ -4314,7 +4349,7 @@ const EditorOptions = {
|
|
|
4314
4349
|
0,
|
|
4315
4350
|
1000,
|
|
4316
4351
|
{ markdownDescription: ( localize(
|
|
4317
|
-
|
|
4352
|
+
643,
|
|
4318
4353
|
"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
|
|
4319
4354
|
'`0`',
|
|
4320
4355
|
'`#editor.lineHeight#`'
|
|
@@ -4325,7 +4360,7 @@ const EditorOptions = {
|
|
|
4325
4360
|
'suggestOnTriggerCharacters',
|
|
4326
4361
|
true,
|
|
4327
4362
|
{ description: ( localize(
|
|
4328
|
-
|
|
4363
|
+
644,
|
|
4329
4364
|
"Controls whether suggestions should automatically show up when typing trigger characters."
|
|
4330
4365
|
)) }
|
|
4331
4366
|
))),
|
|
@@ -4336,18 +4371,18 @@ const EditorOptions = {
|
|
|
4336
4371
|
['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
|
|
4337
4372
|
{
|
|
4338
4373
|
markdownEnumDescriptions: [
|
|
4339
|
-
( localize(
|
|
4374
|
+
( localize(645, "Always select the first suggestion.")),
|
|
4340
4375
|
( localize(
|
|
4341
|
-
|
|
4376
|
+
646,
|
|
4342
4377
|
"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
|
|
4343
4378
|
)),
|
|
4344
4379
|
( localize(
|
|
4345
|
-
|
|
4380
|
+
647,
|
|
4346
4381
|
"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
|
|
4347
4382
|
)),
|
|
4348
4383
|
],
|
|
4349
4384
|
description: ( localize(
|
|
4350
|
-
|
|
4385
|
+
648,
|
|
4351
4386
|
"Controls how suggestions are pre-selected when showing the suggest list."
|
|
4352
4387
|
))
|
|
4353
4388
|
}
|
|
@@ -4360,16 +4395,16 @@ const EditorOptions = {
|
|
|
4360
4395
|
{
|
|
4361
4396
|
enumDescriptions: [
|
|
4362
4397
|
( localize(
|
|
4363
|
-
|
|
4398
|
+
649,
|
|
4364
4399
|
"Tab complete will insert the best matching suggestion when pressing tab."
|
|
4365
4400
|
)),
|
|
4366
|
-
( localize(
|
|
4401
|
+
( localize(650, "Disable tab completions.")),
|
|
4367
4402
|
( localize(
|
|
4368
|
-
|
|
4403
|
+
651,
|
|
4369
4404
|
"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
|
|
4370
4405
|
)),
|
|
4371
4406
|
],
|
|
4372
|
-
description: ( localize(
|
|
4407
|
+
description: ( localize(652, "Enables tab completions."))
|
|
4373
4408
|
}
|
|
4374
4409
|
))),
|
|
4375
4410
|
tabIndex: register(( new EditorIntOption(EditorOption.tabIndex, 'tabIndex', 0, -1, Constants.MAX_SAFE_SMALL_INTEGER))),
|
|
@@ -4378,7 +4413,7 @@ const EditorOptions = {
|
|
|
4378
4413
|
'trimWhitespaceOnDelete',
|
|
4379
4414
|
false,
|
|
4380
4415
|
{ description: ( localize(
|
|
4381
|
-
|
|
4416
|
+
653,
|
|
4382
4417
|
"Controls whether the editor will also delete the next line's indentation whitespace when deleting a newline."
|
|
4383
4418
|
)) }
|
|
4384
4419
|
))),
|
|
@@ -4390,11 +4425,11 @@ const EditorOptions = {
|
|
|
4390
4425
|
['auto', 'off', 'prompt'],
|
|
4391
4426
|
{
|
|
4392
4427
|
enumDescriptions: [
|
|
4393
|
-
( localize(
|
|
4394
|
-
( localize(
|
|
4395
|
-
( localize(
|
|
4428
|
+
( localize(654, "Unusual line terminators are automatically removed.")),
|
|
4429
|
+
( localize(655, "Unusual line terminators are ignored.")),
|
|
4430
|
+
( localize(656, "Unusual line terminators prompt to be removed.")),
|
|
4396
4431
|
],
|
|
4397
|
-
description: ( localize(
|
|
4432
|
+
description: ( localize(657, "Remove unusual line terminators that might cause problems."))
|
|
4398
4433
|
}
|
|
4399
4434
|
))),
|
|
4400
4435
|
useShadowDOM: register(( new EditorBooleanOption(EditorOption.useShadowDOM, 'useShadowDOM', true))),
|
|
@@ -4403,20 +4438,20 @@ const EditorOptions = {
|
|
|
4403
4438
|
'useTabStops',
|
|
4404
4439
|
true,
|
|
4405
4440
|
{ description: ( localize(
|
|
4406
|
-
|
|
4441
|
+
658,
|
|
4407
4442
|
"Spaces and tabs are inserted and deleted in alignment with tab stops."
|
|
4408
4443
|
)) }
|
|
4409
4444
|
))),
|
|
4410
4445
|
wordBreak: register(( new EditorStringEnumOption(EditorOption.wordBreak, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
4411
4446
|
markdownEnumDescriptions: [
|
|
4412
|
-
( localize(
|
|
4447
|
+
( localize(659, "Use the default line break rule.")),
|
|
4413
4448
|
( localize(
|
|
4414
|
-
|
|
4449
|
+
660,
|
|
4415
4450
|
"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
|
|
4416
4451
|
)),
|
|
4417
4452
|
],
|
|
4418
4453
|
description: ( localize(
|
|
4419
|
-
|
|
4454
|
+
661,
|
|
4420
4455
|
"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
|
|
4421
4456
|
))
|
|
4422
4457
|
}))),
|
|
@@ -4426,7 +4461,7 @@ const EditorOptions = {
|
|
|
4426
4461
|
'wordSeparators',
|
|
4427
4462
|
USUAL_WORD_SEPARATORS,
|
|
4428
4463
|
{ description: ( localize(
|
|
4429
|
-
|
|
4464
|
+
662,
|
|
4430
4465
|
"Characters that will be used as word separators when doing word related navigations or operations."
|
|
4431
4466
|
)) }
|
|
4432
4467
|
))),
|
|
@@ -4437,15 +4472,15 @@ const EditorOptions = {
|
|
|
4437
4472
|
['off', 'on', 'wordWrapColumn', 'bounded'],
|
|
4438
4473
|
{
|
|
4439
4474
|
markdownEnumDescriptions: [
|
|
4440
|
-
( localize(
|
|
4441
|
-
( localize(
|
|
4442
|
-
( localize(
|
|
4475
|
+
( localize(663, "Lines will never wrap.")),
|
|
4476
|
+
( localize(664, "Lines will wrap at the viewport width.")),
|
|
4477
|
+
( localize(665, "Lines will wrap at `#editor.wordWrapColumn#`.")),
|
|
4443
4478
|
( localize(
|
|
4444
|
-
|
|
4479
|
+
666,
|
|
4445
4480
|
"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
|
|
4446
4481
|
)),
|
|
4447
4482
|
],
|
|
4448
|
-
description: ( localize(
|
|
4483
|
+
description: ( localize(667, "Controls how lines should wrap."))
|
|
4449
4484
|
}
|
|
4450
4485
|
))),
|
|
4451
4486
|
wordWrapBreakAfterCharacters: register(( new EditorStringOption(
|
|
@@ -4466,7 +4501,7 @@ const EditorOptions = {
|
|
|
4466
4501
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4467
4502
|
{
|
|
4468
4503
|
markdownDescription: ( localize(
|
|
4469
|
-
|
|
4504
|
+
668,
|
|
4470
4505
|
"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
|
|
4471
4506
|
))
|
|
4472
4507
|
}
|
|
@@ -4488,7 +4523,7 @@ const EditorOptions = {
|
|
|
4488
4523
|
'wrapOnEscapedLineFeeds',
|
|
4489
4524
|
false,
|
|
4490
4525
|
{ markdownDescription: ( localize(
|
|
4491
|
-
|
|
4526
|
+
669,
|
|
4492
4527
|
"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```"
|
|
4493
4528
|
)) }
|
|
4494
4529
|
))),
|
|
@@ -4502,14 +4537,14 @@ const EditorOptions = {
|
|
|
4502
4537
|
{
|
|
4503
4538
|
enumDescriptions: [
|
|
4504
4539
|
( localize(
|
|
4505
|
-
|
|
4540
|
+
670,
|
|
4506
4541
|
"Show default color decorators only when no extension provides colors decorators."
|
|
4507
4542
|
)),
|
|
4508
|
-
( localize(
|
|
4509
|
-
( localize(
|
|
4543
|
+
( localize(671, "Always show default color decorators.")),
|
|
4544
|
+
( localize(672, "Never show default color decorators.")),
|
|
4510
4545
|
],
|
|
4511
4546
|
description: ( localize(
|
|
4512
|
-
|
|
4547
|
+
673,
|
|
4513
4548
|
"Controls whether inline color decorations should be shown using the default document color provider."
|
|
4514
4549
|
))
|
|
4515
4550
|
}
|
|
@@ -4520,7 +4555,7 @@ const EditorOptions = {
|
|
|
4520
4555
|
'tabFocusMode',
|
|
4521
4556
|
false,
|
|
4522
4557
|
{ markdownDescription: ( localize(
|
|
4523
|
-
|
|
4558
|
+
674,
|
|
4524
4559
|
"Controls whether the editor receives tabs or defers them to the workbench for navigation."
|
|
4525
4560
|
)) }
|
|
4526
4561
|
))),
|