@codingame/monaco-vscode-api 7.1.1 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/api.js +1 -1
- package/missing-services.js +2 -2
- package/package.json +8 -8
- package/services.js +2 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +1 -1
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +6 -6
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/date.js +59 -59
- package/vscode/src/vs/base/common/errorMessage.js +6 -6
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -9
- package/vscode/src/vs/base/common/keybindingLabels.js +8 -8
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +5 -5
- package/vscode/src/vs/editor/browser/coreCommands.js +3 -3
- package/vscode/src/vs/editor/browser/editorExtensions.js +6 -6
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +49 -49
- package/vscode/src/vs/editor/common/config/editorOptions.js +365 -365
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +71 -71
- package/vscode/src/vs/editor/common/editorContextKeys.js +47 -47
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages.js +27 -27
- package/vscode/src/vs/editor/common/model/editStack.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +27 -27
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +28 -28
- 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/colorHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +2 -2
- package/vscode/src/vs/editor/contrib/colorPicker/browser/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 +3 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +7 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +1 -1
- 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 +27 -27
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +19 -19
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -9
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +39 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/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/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 +23 -23
- 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/inlayHintsHover.js +8 -8
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +11 -11
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +4 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +5 -5
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +2 -2
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +30 -30
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/vscode/src/vs/editor/contrib/links/browser/links.js +10 -10
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +17 -17
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +5 -5
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- 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 +16 -16
- 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/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +1 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +49 -49
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- 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/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +11 -11
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/vscode/src/vs/platform/contextkey/common/scanner.js +5 -5
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +2 -2
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +7 -7
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +27 -19
- 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/markers.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +8 -8
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +3 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +2 -2
- package/vscode/src/vs/platform/request/common/request.js +14 -14
- 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 +93 -93
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +32 -32
- 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 +8 -8
- 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 +5 -5
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +2 -2
- package/vscode/src/vs/platform/workspace/common/workspace.js +1 -1
- 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/extHostLanguageModels.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +2 -2
- 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.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +12 -12
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +31 -34
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +129 -129
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +6 -6
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +41 -41
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +131 -131
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +9 -9
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +15 -15
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +18 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +4 -4
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +216 -219
- package/vscode/src/vs/workbench/common/configuration.js +10 -10
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.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/contrib/accessibility/browser/accessibilityConfiguration.js +127 -127
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +11 -11
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +9 -9
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +8 -8
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +14 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +15 -15
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- 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/quickaccess/gotoSymbolQuickAccess.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +4 -4
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +4 -4
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +5 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +29 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +14 -14
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +65 -65
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +34 -34
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +63 -63
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +166 -166
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +18 -18
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +84 -84
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +57 -57
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +2 -2
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +1 -1
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +20 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +4 -4
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +4 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +6 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +39 -39
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +1 -1
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +5 -5
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +15 -15
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +23 -23
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- 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/terminal/browser/terminalEditorInput.js +4 -4
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +32 -32
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +7 -7
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +1 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +16 -16
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +11 -11
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +6 -6
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +2 -21
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -5
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +1 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -6
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +5 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +28 -28
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.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 +11 -11
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +7 -7
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +17 -17
|
@@ -282,14 +282,14 @@ class EditorAccessibilitySupport extends BaseEditorOption {
|
|
|
282
282
|
type: 'string',
|
|
283
283
|
enum: ['auto', 'on', 'off'],
|
|
284
284
|
enumDescriptions: [
|
|
285
|
-
( localize(
|
|
286
|
-
( localize(
|
|
287
|
-
( localize(
|
|
285
|
+
( localize(75, "Use platform APIs to detect when a Screen Reader is attached.")),
|
|
286
|
+
( localize(76, "Optimize for usage with a Screen Reader.")),
|
|
287
|
+
( localize(77, "Assume a screen reader is not attached.")),
|
|
288
288
|
],
|
|
289
289
|
default: 'auto',
|
|
290
290
|
tags: ['accessibility'],
|
|
291
291
|
description: ( localize(
|
|
292
|
-
|
|
292
|
+
78,
|
|
293
293
|
"Controls if the UI should run in a mode where it is optimized for screen readers."
|
|
294
294
|
))
|
|
295
295
|
});
|
|
@@ -319,13 +319,13 @@ class EditorComments extends BaseEditorOption {
|
|
|
319
319
|
'editor.comments.insertSpace': {
|
|
320
320
|
type: 'boolean',
|
|
321
321
|
default: defaults.insertSpace,
|
|
322
|
-
description: ( localize(
|
|
322
|
+
description: ( localize(79, "Controls whether a space character is inserted when commenting."))
|
|
323
323
|
},
|
|
324
324
|
'editor.comments.ignoreEmptyLines': {
|
|
325
325
|
type: 'boolean',
|
|
326
326
|
default: defaults.ignoreEmptyLines,
|
|
327
327
|
description: ( localize(
|
|
328
|
-
|
|
328
|
+
80,
|
|
329
329
|
'Controls if empty lines should be ignored with toggle, add or remove actions for line comments.'
|
|
330
330
|
))
|
|
331
331
|
},
|
|
@@ -419,7 +419,7 @@ class EditorClassName extends ComputedEditorOption {
|
|
|
419
419
|
class EditorEmptySelectionClipboard extends EditorBooleanOption {
|
|
420
420
|
constructor() {
|
|
421
421
|
super(EditorOption.emptySelectionClipboard, 'emptySelectionClipboard', true, { description: ( localize(
|
|
422
|
-
|
|
422
|
+
81,
|
|
423
423
|
"Controls whether copying without a selection copies the current line."
|
|
424
424
|
)) });
|
|
425
425
|
}
|
|
@@ -442,7 +442,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
442
442
|
type: 'boolean',
|
|
443
443
|
default: defaults.cursorMoveOnType,
|
|
444
444
|
description: ( localize(
|
|
445
|
-
|
|
445
|
+
82,
|
|
446
446
|
"Controls whether the cursor should jump to find matches while typing."
|
|
447
447
|
))
|
|
448
448
|
},
|
|
@@ -451,15 +451,15 @@ class EditorFind extends BaseEditorOption {
|
|
|
451
451
|
enum: ['never', 'always', 'selection'],
|
|
452
452
|
default: defaults.seedSearchStringFromSelection,
|
|
453
453
|
enumDescriptions: [
|
|
454
|
-
( localize(
|
|
454
|
+
( localize(83, 'Never seed search string from the editor selection.')),
|
|
455
455
|
( localize(
|
|
456
|
-
|
|
456
|
+
84,
|
|
457
457
|
'Always seed search string from the editor selection, including word at cursor position.'
|
|
458
458
|
)),
|
|
459
|
-
( localize(
|
|
459
|
+
( localize(85, 'Only seed search string from the editor selection.'))
|
|
460
460
|
],
|
|
461
461
|
description: ( localize(
|
|
462
|
-
|
|
462
|
+
86,
|
|
463
463
|
"Controls whether the search string in the Find Widget is seeded from the editor selection."
|
|
464
464
|
))
|
|
465
465
|
},
|
|
@@ -468,15 +468,15 @@ class EditorFind extends BaseEditorOption {
|
|
|
468
468
|
enum: ['never', 'always', 'multiline'],
|
|
469
469
|
default: defaults.autoFindInSelection,
|
|
470
470
|
enumDescriptions: [
|
|
471
|
-
( localize(
|
|
472
|
-
( localize(
|
|
471
|
+
( localize(87, 'Never turn on Find in Selection automatically (default).')),
|
|
472
|
+
( localize(88, 'Always turn on Find in Selection automatically.')),
|
|
473
473
|
( localize(
|
|
474
|
-
|
|
474
|
+
89,
|
|
475
475
|
'Turn on Find in Selection automatically when multiple lines of content are selected.'
|
|
476
476
|
))
|
|
477
477
|
],
|
|
478
478
|
description: ( localize(
|
|
479
|
-
|
|
479
|
+
90,
|
|
480
480
|
"Controls the condition for turning on Find in Selection automatically."
|
|
481
481
|
))
|
|
482
482
|
},
|
|
@@ -484,7 +484,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
484
484
|
type: 'boolean',
|
|
485
485
|
default: defaults.globalFindClipboard,
|
|
486
486
|
description: ( localize(
|
|
487
|
-
|
|
487
|
+
91,
|
|
488
488
|
"Controls whether the Find Widget should read or modify the shared find clipboard on macOS."
|
|
489
489
|
)),
|
|
490
490
|
included: isMacintosh
|
|
@@ -493,7 +493,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
493
493
|
type: 'boolean',
|
|
494
494
|
default: defaults.addExtraSpaceOnTop,
|
|
495
495
|
description: ( localize(
|
|
496
|
-
|
|
496
|
+
92,
|
|
497
497
|
"Controls whether the Find Widget should add extra lines on top of the editor. When true, you can scroll beyond the first line when the Find Widget is visible."
|
|
498
498
|
))
|
|
499
499
|
},
|
|
@@ -501,7 +501,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
501
501
|
type: 'boolean',
|
|
502
502
|
default: defaults.loop,
|
|
503
503
|
description: ( localize(
|
|
504
|
-
|
|
504
|
+
93,
|
|
505
505
|
"Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found."
|
|
506
506
|
))
|
|
507
507
|
},
|
|
@@ -535,20 +535,20 @@ class EditorFontLigatures extends BaseEditorOption {
|
|
|
535
535
|
{
|
|
536
536
|
type: 'boolean',
|
|
537
537
|
description: ( localize(
|
|
538
|
-
|
|
538
|
+
94,
|
|
539
539
|
"Enables/Disables font ligatures ('calt' and 'liga' font features). Change this to a string for fine-grained control of the 'font-feature-settings' CSS property."
|
|
540
540
|
)),
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
543
|
type: 'string',
|
|
544
544
|
description: ( localize(
|
|
545
|
-
|
|
545
|
+
95,
|
|
546
546
|
"Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures."
|
|
547
547
|
))
|
|
548
548
|
}
|
|
549
549
|
],
|
|
550
550
|
description: ( localize(
|
|
551
|
-
|
|
551
|
+
96,
|
|
552
552
|
"Configures font ligatures or font features. Can be either a boolean to enable/disable ligatures or a string for the value of the CSS 'font-feature-settings' property."
|
|
553
553
|
)),
|
|
554
554
|
default: false
|
|
@@ -582,20 +582,20 @@ class EditorFontVariations extends BaseEditorOption {
|
|
|
582
582
|
{
|
|
583
583
|
type: 'boolean',
|
|
584
584
|
description: ( localize(
|
|
585
|
-
|
|
585
|
+
97,
|
|
586
586
|
"Enables/Disables the translation from font-weight to font-variation-settings. Change this to a string for fine-grained control of the 'font-variation-settings' CSS property."
|
|
587
587
|
)),
|
|
588
588
|
},
|
|
589
589
|
{
|
|
590
590
|
type: 'string',
|
|
591
591
|
description: ( localize(
|
|
592
|
-
|
|
592
|
+
98,
|
|
593
593
|
"Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings."
|
|
594
594
|
))
|
|
595
595
|
}
|
|
596
596
|
],
|
|
597
597
|
description: ( localize(
|
|
598
|
-
|
|
598
|
+
99,
|
|
599
599
|
"Configures font variations. Can be either a boolean to enable/disable the translation from font-weight to font-variation-settings or a string for the value of the CSS 'font-variation-settings' property."
|
|
600
600
|
)),
|
|
601
601
|
default: false
|
|
@@ -638,7 +638,7 @@ class EditorFontSize extends SimpleEditorOption {
|
|
|
638
638
|
minimum: 6,
|
|
639
639
|
maximum: 100,
|
|
640
640
|
default: EDITOR_FONT_DEFAULTS.fontSize,
|
|
641
|
-
description: ( localize(
|
|
641
|
+
description: ( localize(100, "Controls the font size in pixels."))
|
|
642
642
|
});
|
|
643
643
|
}
|
|
644
644
|
validate(input) {
|
|
@@ -664,7 +664,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
664
664
|
minimum: EditorFontWeight.MINIMUM_VALUE,
|
|
665
665
|
maximum: EditorFontWeight.MAXIMUM_VALUE,
|
|
666
666
|
errorMessage: ( localize(
|
|
667
|
-
|
|
667
|
+
101,
|
|
668
668
|
"Only \"normal\" and \"bold\" keywords or numbers between 1 and 1000 are allowed."
|
|
669
669
|
))
|
|
670
670
|
},
|
|
@@ -678,7 +678,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
678
678
|
],
|
|
679
679
|
default: EDITOR_FONT_DEFAULTS.fontWeight,
|
|
680
680
|
description: ( localize(
|
|
681
|
-
|
|
681
|
+
102,
|
|
682
682
|
"Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000."
|
|
683
683
|
))
|
|
684
684
|
});
|
|
@@ -712,50 +712,50 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
712
712
|
enum: ['peek', 'gotoAndPeek', 'goto'],
|
|
713
713
|
default: defaults.multiple,
|
|
714
714
|
enumDescriptions: [
|
|
715
|
-
( localize(
|
|
716
|
-
( localize(
|
|
717
|
-
( localize(
|
|
715
|
+
( localize(103, 'Show Peek view of the results (default)')),
|
|
716
|
+
( localize(104, 'Go to the primary result and show a Peek view')),
|
|
717
|
+
( localize(105, 'Go to the primary result and enable Peek-less navigation to others'))
|
|
718
718
|
]
|
|
719
719
|
};
|
|
720
720
|
const alternativeCommandOptions = ['', 'editor.action.referenceSearch.trigger', 'editor.action.goToReferences', 'editor.action.peekImplementation', 'editor.action.goToImplementation', 'editor.action.peekTypeDefinition', 'editor.action.goToTypeDefinition', 'editor.action.peekDeclaration', 'editor.action.revealDeclaration', 'editor.action.peekDefinition', 'editor.action.revealDefinitionAside', 'editor.action.revealDefinition'];
|
|
721
721
|
super(EditorOption.gotoLocation, 'gotoLocation', defaults, {
|
|
722
722
|
'editor.gotoLocation.multiple': {
|
|
723
723
|
deprecationMessage: ( localize(
|
|
724
|
-
|
|
724
|
+
106,
|
|
725
725
|
"This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead."
|
|
726
726
|
)),
|
|
727
727
|
},
|
|
728
728
|
'editor.gotoLocation.multipleDefinitions': {
|
|
729
729
|
description: ( localize(
|
|
730
|
-
|
|
730
|
+
107,
|
|
731
731
|
"Controls the behavior the 'Go to Definition'-command when multiple target locations exist."
|
|
732
732
|
)),
|
|
733
733
|
...jsonSubset,
|
|
734
734
|
},
|
|
735
735
|
'editor.gotoLocation.multipleTypeDefinitions': {
|
|
736
736
|
description: ( localize(
|
|
737
|
-
|
|
737
|
+
108,
|
|
738
738
|
"Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."
|
|
739
739
|
)),
|
|
740
740
|
...jsonSubset,
|
|
741
741
|
},
|
|
742
742
|
'editor.gotoLocation.multipleDeclarations': {
|
|
743
743
|
description: ( localize(
|
|
744
|
-
|
|
744
|
+
109,
|
|
745
745
|
"Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."
|
|
746
746
|
)),
|
|
747
747
|
...jsonSubset,
|
|
748
748
|
},
|
|
749
749
|
'editor.gotoLocation.multipleImplementations': {
|
|
750
750
|
description: ( localize(
|
|
751
|
-
|
|
751
|
+
110,
|
|
752
752
|
"Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."
|
|
753
753
|
)),
|
|
754
754
|
...jsonSubset,
|
|
755
755
|
},
|
|
756
756
|
'editor.gotoLocation.multipleReferences': {
|
|
757
757
|
description: ( localize(
|
|
758
|
-
|
|
758
|
+
111,
|
|
759
759
|
"Controls the behavior the 'Go to References'-command when multiple target locations exist."
|
|
760
760
|
)),
|
|
761
761
|
...jsonSubset,
|
|
@@ -765,7 +765,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
765
765
|
default: defaults.alternativeDefinitionCommand,
|
|
766
766
|
enum: alternativeCommandOptions,
|
|
767
767
|
description: ( localize(
|
|
768
|
-
|
|
768
|
+
112,
|
|
769
769
|
"Alternative command id that is being executed when the result of 'Go to Definition' is the current location."
|
|
770
770
|
))
|
|
771
771
|
},
|
|
@@ -774,7 +774,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
774
774
|
default: defaults.alternativeTypeDefinitionCommand,
|
|
775
775
|
enum: alternativeCommandOptions,
|
|
776
776
|
description: ( localize(
|
|
777
|
-
|
|
777
|
+
113,
|
|
778
778
|
"Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location."
|
|
779
779
|
))
|
|
780
780
|
},
|
|
@@ -783,7 +783,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
783
783
|
default: defaults.alternativeDeclarationCommand,
|
|
784
784
|
enum: alternativeCommandOptions,
|
|
785
785
|
description: ( localize(
|
|
786
|
-
|
|
786
|
+
114,
|
|
787
787
|
"Alternative command id that is being executed when the result of 'Go to Declaration' is the current location."
|
|
788
788
|
))
|
|
789
789
|
},
|
|
@@ -792,7 +792,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
792
792
|
default: defaults.alternativeImplementationCommand,
|
|
793
793
|
enum: alternativeCommandOptions,
|
|
794
794
|
description: ( localize(
|
|
795
|
-
|
|
795
|
+
115,
|
|
796
796
|
"Alternative command id that is being executed when the result of 'Go to Implementation' is the current location."
|
|
797
797
|
))
|
|
798
798
|
},
|
|
@@ -801,7 +801,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
801
801
|
default: defaults.alternativeReferenceCommand,
|
|
802
802
|
enum: alternativeCommandOptions,
|
|
803
803
|
description: ( localize(
|
|
804
|
-
|
|
804
|
+
116,
|
|
805
805
|
"Alternative command id that is being executed when the result of 'Go to Reference' is the current location."
|
|
806
806
|
))
|
|
807
807
|
},
|
|
@@ -842,20 +842,20 @@ class EditorHover extends BaseEditorOption {
|
|
|
842
842
|
'editor.hover.enabled': {
|
|
843
843
|
type: 'boolean',
|
|
844
844
|
default: defaults.enabled,
|
|
845
|
-
description: ( localize(
|
|
845
|
+
description: ( localize(117, "Controls whether the hover is shown."))
|
|
846
846
|
},
|
|
847
847
|
'editor.hover.delay': {
|
|
848
848
|
type: 'number',
|
|
849
849
|
default: defaults.delay,
|
|
850
850
|
minimum: 0,
|
|
851
851
|
maximum: 10000,
|
|
852
|
-
description: ( localize(
|
|
852
|
+
description: ( localize(118, "Controls the delay in milliseconds after which the hover is shown."))
|
|
853
853
|
},
|
|
854
854
|
'editor.hover.sticky': {
|
|
855
855
|
type: 'boolean',
|
|
856
856
|
default: defaults.sticky,
|
|
857
857
|
description: ( localize(
|
|
858
|
-
|
|
858
|
+
119,
|
|
859
859
|
"Controls whether the hover should remain visible when mouse is moved over it."
|
|
860
860
|
))
|
|
861
861
|
},
|
|
@@ -864,14 +864,14 @@ class EditorHover extends BaseEditorOption {
|
|
|
864
864
|
minimum: 0,
|
|
865
865
|
default: defaults.hidingDelay,
|
|
866
866
|
description: ( localize(
|
|
867
|
-
|
|
867
|
+
120,
|
|
868
868
|
"Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled."
|
|
869
869
|
))
|
|
870
870
|
},
|
|
871
871
|
'editor.hover.above': {
|
|
872
872
|
type: 'boolean',
|
|
873
873
|
default: defaults.above,
|
|
874
|
-
description: ( localize(
|
|
874
|
+
description: ( localize(121, "Prefer showing hovers above the line, if there's space."))
|
|
875
875
|
},
|
|
876
876
|
});
|
|
877
877
|
}
|
|
@@ -1181,11 +1181,11 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1181
1181
|
'editor.wrappingStrategy': {
|
|
1182
1182
|
enumDescriptions: [
|
|
1183
1183
|
( localize(
|
|
1184
|
-
|
|
1184
|
+
122,
|
|
1185
1185
|
"Assumes that all characters are of the same width. This is a fast algorithm that works correctly for monospace fonts and certain scripts (like Latin characters) where glyphs are of equal width."
|
|
1186
1186
|
)),
|
|
1187
1187
|
( localize(
|
|
1188
|
-
|
|
1188
|
+
123,
|
|
1189
1189
|
"Delegates wrapping points computation to the browser. This is a slow algorithm, that might cause freezes for large files, but it works correctly in all cases."
|
|
1190
1190
|
))
|
|
1191
1191
|
],
|
|
@@ -1193,7 +1193,7 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1193
1193
|
enum: ['simple', 'advanced'],
|
|
1194
1194
|
default: 'simple',
|
|
1195
1195
|
description: ( localize(
|
|
1196
|
-
|
|
1196
|
+
124,
|
|
1197
1197
|
"Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience."
|
|
1198
1198
|
))
|
|
1199
1199
|
}
|
|
@@ -1226,14 +1226,14 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1226
1226
|
enum: [ShowLightbulbIconMode.Off, ShowLightbulbIconMode.OnCode, ShowLightbulbIconMode.On],
|
|
1227
1227
|
default: defaults.enabled,
|
|
1228
1228
|
enumDescriptions: [
|
|
1229
|
-
( localize(
|
|
1230
|
-
( localize(
|
|
1229
|
+
( localize(125, 'Disable the code action menu.')),
|
|
1230
|
+
( localize(126, 'Show the code action menu when the cursor is on lines with code.')),
|
|
1231
1231
|
( localize(
|
|
1232
|
-
|
|
1232
|
+
127,
|
|
1233
1233
|
'Show the code action menu when the cursor is on lines with code or on empty lines.'
|
|
1234
1234
|
)),
|
|
1235
1235
|
],
|
|
1236
|
-
description: ( localize(
|
|
1236
|
+
description: ( localize(128, "Enables the Code Action lightbulb in the editor."))
|
|
1237
1237
|
}
|
|
1238
1238
|
});
|
|
1239
1239
|
}
|
|
@@ -1255,7 +1255,7 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1255
1255
|
type: 'boolean',
|
|
1256
1256
|
default: defaults.enabled,
|
|
1257
1257
|
description: ( localize(
|
|
1258
|
-
|
|
1258
|
+
129,
|
|
1259
1259
|
"Shows the nested current scopes during the scroll at the top of the editor."
|
|
1260
1260
|
)),
|
|
1261
1261
|
tags: ['experimental']
|
|
@@ -1265,14 +1265,14 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1265
1265
|
default: defaults.maxLineCount,
|
|
1266
1266
|
minimum: 1,
|
|
1267
1267
|
maximum: 20,
|
|
1268
|
-
description: ( localize(
|
|
1268
|
+
description: ( localize(130, "Defines the maximum number of sticky lines to show."))
|
|
1269
1269
|
},
|
|
1270
1270
|
'editor.stickyScroll.defaultModel': {
|
|
1271
1271
|
type: 'string',
|
|
1272
1272
|
enum: ['outlineModel', 'foldingProviderModel', 'indentationModel'],
|
|
1273
1273
|
default: defaults.defaultModel,
|
|
1274
1274
|
description: ( localize(
|
|
1275
|
-
|
|
1275
|
+
131,
|
|
1276
1276
|
"Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases."
|
|
1277
1277
|
))
|
|
1278
1278
|
},
|
|
@@ -1280,7 +1280,7 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1280
1280
|
type: 'boolean',
|
|
1281
1281
|
default: defaults.scrollWithEditor,
|
|
1282
1282
|
description: ( localize(
|
|
1283
|
-
|
|
1283
|
+
132,
|
|
1284
1284
|
"Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar."
|
|
1285
1285
|
))
|
|
1286
1286
|
},
|
|
@@ -1306,28 +1306,28 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1306
1306
|
'editor.inlayHints.enabled': {
|
|
1307
1307
|
type: 'string',
|
|
1308
1308
|
default: defaults.enabled,
|
|
1309
|
-
description: ( localize(
|
|
1309
|
+
description: ( localize(133, "Enables the inlay hints in the editor.")),
|
|
1310
1310
|
enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
|
|
1311
1311
|
markdownEnumDescriptions: [
|
|
1312
|
-
( localize(
|
|
1312
|
+
( localize(134, "Inlay hints are enabled")),
|
|
1313
1313
|
( localize(
|
|
1314
|
-
|
|
1314
|
+
135,
|
|
1315
1315
|
"Inlay hints are showing by default and hide when holding {0}",
|
|
1316
1316
|
isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
|
|
1317
1317
|
)),
|
|
1318
1318
|
( localize(
|
|
1319
|
-
|
|
1319
|
+
136,
|
|
1320
1320
|
"Inlay hints are hidden by default and show when holding {0}",
|
|
1321
1321
|
isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
|
|
1322
1322
|
)),
|
|
1323
|
-
( localize(
|
|
1323
|
+
( localize(137, "Inlay hints are disabled")),
|
|
1324
1324
|
],
|
|
1325
1325
|
},
|
|
1326
1326
|
'editor.inlayHints.fontSize': {
|
|
1327
1327
|
type: 'number',
|
|
1328
1328
|
default: defaults.fontSize,
|
|
1329
1329
|
markdownDescription: ( localize(
|
|
1330
|
-
|
|
1330
|
+
138,
|
|
1331
1331
|
"Controls font size of inlay hints in the editor. As default the {0} is used when the configured value is less than {1} or greater than the editor font size.",
|
|
1332
1332
|
'`#editor.fontSize#`',
|
|
1333
1333
|
'`5`'
|
|
@@ -1337,7 +1337,7 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1337
1337
|
type: 'string',
|
|
1338
1338
|
default: defaults.fontFamily,
|
|
1339
1339
|
markdownDescription: ( localize(
|
|
1340
|
-
|
|
1340
|
+
139,
|
|
1341
1341
|
"Controls font family of inlay hints in the editor. When set to empty, the {0} is used.",
|
|
1342
1342
|
'`#editor.fontFamily#`'
|
|
1343
1343
|
))
|
|
@@ -1345,7 +1345,7 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1345
1345
|
'editor.inlayHints.padding': {
|
|
1346
1346
|
type: 'boolean',
|
|
1347
1347
|
default: defaults.padding,
|
|
1348
|
-
description: ( localize(
|
|
1348
|
+
description: ( localize(140, "Enables the padding around the inlay hints in the editor."))
|
|
1349
1349
|
}
|
|
1350
1350
|
});
|
|
1351
1351
|
}
|
|
@@ -1390,7 +1390,7 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
|
1390
1390
|
class EditorLineHeight extends EditorFloatOption {
|
|
1391
1391
|
constructor() {
|
|
1392
1392
|
super(EditorOption.lineHeight, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localize(
|
|
1393
|
-
|
|
1393
|
+
141,
|
|
1394
1394
|
"Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values."
|
|
1395
1395
|
)) });
|
|
1396
1396
|
}
|
|
@@ -1418,44 +1418,44 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1418
1418
|
'editor.minimap.enabled': {
|
|
1419
1419
|
type: 'boolean',
|
|
1420
1420
|
default: defaults.enabled,
|
|
1421
|
-
description: ( localize(
|
|
1421
|
+
description: ( localize(142, "Controls whether the minimap is shown."))
|
|
1422
1422
|
},
|
|
1423
1423
|
'editor.minimap.autohide': {
|
|
1424
1424
|
type: 'boolean',
|
|
1425
1425
|
default: defaults.autohide,
|
|
1426
|
-
description: ( localize(
|
|
1426
|
+
description: ( localize(143, "Controls whether the minimap is hidden automatically."))
|
|
1427
1427
|
},
|
|
1428
1428
|
'editor.minimap.size': {
|
|
1429
1429
|
type: 'string',
|
|
1430
1430
|
enum: ['proportional', 'fill', 'fit'],
|
|
1431
1431
|
enumDescriptions: [
|
|
1432
1432
|
( localize(
|
|
1433
|
-
|
|
1433
|
+
144,
|
|
1434
1434
|
"The minimap has the same size as the editor contents (and might scroll)."
|
|
1435
1435
|
)),
|
|
1436
1436
|
( localize(
|
|
1437
|
-
|
|
1437
|
+
145,
|
|
1438
1438
|
"The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."
|
|
1439
1439
|
)),
|
|
1440
1440
|
( localize(
|
|
1441
|
-
|
|
1441
|
+
146,
|
|
1442
1442
|
"The minimap will shrink as necessary to never be larger than the editor (no scrolling)."
|
|
1443
1443
|
)),
|
|
1444
1444
|
],
|
|
1445
1445
|
default: defaults.size,
|
|
1446
|
-
description: ( localize(
|
|
1446
|
+
description: ( localize(147, "Controls the size of the minimap."))
|
|
1447
1447
|
},
|
|
1448
1448
|
'editor.minimap.side': {
|
|
1449
1449
|
type: 'string',
|
|
1450
1450
|
enum: ['left', 'right'],
|
|
1451
1451
|
default: defaults.side,
|
|
1452
|
-
description: ( localize(
|
|
1452
|
+
description: ( localize(148, "Controls the side where to render the minimap."))
|
|
1453
1453
|
},
|
|
1454
1454
|
'editor.minimap.showSlider': {
|
|
1455
1455
|
type: 'string',
|
|
1456
1456
|
enum: ['always', 'mouseover'],
|
|
1457
1457
|
default: defaults.showSlider,
|
|
1458
|
-
description: ( localize(
|
|
1458
|
+
description: ( localize(149, "Controls when the minimap slider is shown."))
|
|
1459
1459
|
},
|
|
1460
1460
|
'editor.minimap.scale': {
|
|
1461
1461
|
type: 'number',
|
|
@@ -1463,18 +1463,18 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1463
1463
|
minimum: 1,
|
|
1464
1464
|
maximum: 3,
|
|
1465
1465
|
enum: [1, 2, 3],
|
|
1466
|
-
description: ( localize(
|
|
1466
|
+
description: ( localize(150, "Scale of content drawn in the minimap: 1, 2 or 3."))
|
|
1467
1467
|
},
|
|
1468
1468
|
'editor.minimap.renderCharacters': {
|
|
1469
1469
|
type: 'boolean',
|
|
1470
1470
|
default: defaults.renderCharacters,
|
|
1471
|
-
description: ( localize(
|
|
1471
|
+
description: ( localize(151, "Render the actual characters on a line as opposed to color blocks."))
|
|
1472
1472
|
},
|
|
1473
1473
|
'editor.minimap.maxColumn': {
|
|
1474
1474
|
type: 'number',
|
|
1475
1475
|
default: defaults.maxColumn,
|
|
1476
1476
|
description: ( localize(
|
|
1477
|
-
|
|
1477
|
+
152,
|
|
1478
1478
|
"Limit the width of the minimap to render at most a certain number of columns."
|
|
1479
1479
|
))
|
|
1480
1480
|
},
|
|
@@ -1482,7 +1482,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1482
1482
|
type: 'boolean',
|
|
1483
1483
|
default: defaults.showRegionSectionHeaders,
|
|
1484
1484
|
description: ( localize(
|
|
1485
|
-
|
|
1485
|
+
153,
|
|
1486
1486
|
"Controls whether named regions are shown as section headers in the minimap."
|
|
1487
1487
|
))
|
|
1488
1488
|
},
|
|
@@ -1490,20 +1490,20 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1490
1490
|
type: 'boolean',
|
|
1491
1491
|
default: defaults.showMarkSectionHeaders,
|
|
1492
1492
|
description: ( localize(
|
|
1493
|
-
|
|
1493
|
+
154,
|
|
1494
1494
|
"Controls whether MARK: comments are shown as section headers in the minimap."
|
|
1495
1495
|
))
|
|
1496
1496
|
},
|
|
1497
1497
|
'editor.minimap.sectionHeaderFontSize': {
|
|
1498
1498
|
type: 'number',
|
|
1499
1499
|
default: defaults.sectionHeaderFontSize,
|
|
1500
|
-
description: ( localize(
|
|
1500
|
+
description: ( localize(155, "Controls the font size of section headers in the minimap."))
|
|
1501
1501
|
},
|
|
1502
1502
|
'editor.minimap.sectionHeaderLetterSpacing': {
|
|
1503
1503
|
type: 'number',
|
|
1504
1504
|
default: defaults.sectionHeaderLetterSpacing,
|
|
1505
1505
|
description: ( localize(
|
|
1506
|
-
|
|
1506
|
+
156,
|
|
1507
1507
|
"Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes."
|
|
1508
1508
|
))
|
|
1509
1509
|
}
|
|
@@ -1545,7 +1545,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1545
1545
|
minimum: 0,
|
|
1546
1546
|
maximum: 1000,
|
|
1547
1547
|
description: ( localize(
|
|
1548
|
-
|
|
1548
|
+
157,
|
|
1549
1549
|
"Controls the amount of space between the top edge of the editor and the first line."
|
|
1550
1550
|
))
|
|
1551
1551
|
},
|
|
@@ -1555,7 +1555,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1555
1555
|
minimum: 0,
|
|
1556
1556
|
maximum: 1000,
|
|
1557
1557
|
description: ( localize(
|
|
1558
|
-
|
|
1558
|
+
158,
|
|
1559
1559
|
"Controls the amount of space between the bottom edge of the editor and the last line."
|
|
1560
1560
|
))
|
|
1561
1561
|
}
|
|
@@ -1583,7 +1583,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1583
1583
|
type: 'boolean',
|
|
1584
1584
|
default: defaults.enabled,
|
|
1585
1585
|
description: ( localize(
|
|
1586
|
-
|
|
1586
|
+
159,
|
|
1587
1587
|
"Enables a pop-up that shows parameter documentation and type information as you type."
|
|
1588
1588
|
))
|
|
1589
1589
|
},
|
|
@@ -1591,7 +1591,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1591
1591
|
type: 'boolean',
|
|
1592
1592
|
default: defaults.cycle,
|
|
1593
1593
|
description: ( localize(
|
|
1594
|
-
|
|
1594
|
+
160,
|
|
1595
1595
|
"Controls whether the parameter hints menu cycles or closes when reaching the end of the list."
|
|
1596
1596
|
))
|
|
1597
1597
|
},
|
|
@@ -1642,7 +1642,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1642
1642
|
{
|
|
1643
1643
|
type: 'string',
|
|
1644
1644
|
enum: ['on', 'inline', 'off'],
|
|
1645
|
-
enumDescriptions: [( localize(
|
|
1645
|
+
enumDescriptions: [( localize(161, "Quick suggestions show inside the suggest widget")), ( localize(162, "Quick suggestions show as ghost text")), ( localize(163, "Quick suggestions are disabled"))]
|
|
1646
1646
|
}
|
|
1647
1647
|
];
|
|
1648
1648
|
super(EditorOption.quickSuggestions, 'quickSuggestions', defaults, {
|
|
@@ -1652,22 +1652,22 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1652
1652
|
strings: {
|
|
1653
1653
|
anyOf: types,
|
|
1654
1654
|
default: defaults.strings,
|
|
1655
|
-
description: ( localize(
|
|
1655
|
+
description: ( localize(164, "Enable quick suggestions inside strings."))
|
|
1656
1656
|
},
|
|
1657
1657
|
comments: {
|
|
1658
1658
|
anyOf: types,
|
|
1659
1659
|
default: defaults.comments,
|
|
1660
|
-
description: ( localize(
|
|
1660
|
+
description: ( localize(165, "Enable quick suggestions inside comments."))
|
|
1661
1661
|
},
|
|
1662
1662
|
other: {
|
|
1663
1663
|
anyOf: types,
|
|
1664
1664
|
default: defaults.other,
|
|
1665
|
-
description: ( localize(
|
|
1665
|
+
description: ( localize(166, "Enable quick suggestions outside of strings and comments."))
|
|
1666
1666
|
},
|
|
1667
1667
|
},
|
|
1668
1668
|
default: defaults,
|
|
1669
1669
|
markdownDescription: ( localize(
|
|
1670
|
-
|
|
1670
|
+
167,
|
|
1671
1671
|
"Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.",
|
|
1672
1672
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
1673
1673
|
))
|
|
@@ -1726,13 +1726,13 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1726
1726
|
type: 'string',
|
|
1727
1727
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1728
1728
|
enumDescriptions: [
|
|
1729
|
-
( localize(
|
|
1730
|
-
( localize(
|
|
1731
|
-
( localize(
|
|
1732
|
-
( localize(
|
|
1729
|
+
( localize(168, "Line numbers are not rendered.")),
|
|
1730
|
+
( localize(169, "Line numbers are rendered as absolute number.")),
|
|
1731
|
+
( localize(170, "Line numbers are rendered as distance in lines to cursor position.")),
|
|
1732
|
+
( localize(171, "Line numbers are rendered every 10 lines."))
|
|
1733
1733
|
],
|
|
1734
1734
|
default: 'on',
|
|
1735
|
-
description: ( localize(
|
|
1735
|
+
description: ( localize(172, "Controls the display of line numbers."))
|
|
1736
1736
|
});
|
|
1737
1737
|
}
|
|
1738
1738
|
validate(lineNumbers) {
|
|
@@ -1773,7 +1773,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1773
1773
|
constructor() {
|
|
1774
1774
|
const defaults = [];
|
|
1775
1775
|
const columnSchema = { type: 'number', description: ( localize(
|
|
1776
|
-
|
|
1776
|
+
173,
|
|
1777
1777
|
"Number of monospace characters at which this editor ruler will render."
|
|
1778
1778
|
)) };
|
|
1779
1779
|
super(EditorOption.rulers, 'rulers', defaults, {
|
|
@@ -1789,7 +1789,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1789
1789
|
column: columnSchema,
|
|
1790
1790
|
color: {
|
|
1791
1791
|
type: 'string',
|
|
1792
|
-
description: ( localize(
|
|
1792
|
+
description: ( localize(174, "Color of this editor ruler.")),
|
|
1793
1793
|
format: 'color-hex'
|
|
1794
1794
|
}
|
|
1795
1795
|
}
|
|
@@ -1798,7 +1798,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1798
1798
|
},
|
|
1799
1799
|
default: defaults,
|
|
1800
1800
|
description: ( localize(
|
|
1801
|
-
|
|
1801
|
+
175,
|
|
1802
1802
|
"Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."
|
|
1803
1803
|
))
|
|
1804
1804
|
});
|
|
@@ -1872,44 +1872,44 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1872
1872
|
type: 'string',
|
|
1873
1873
|
enum: ['auto', 'visible', 'hidden'],
|
|
1874
1874
|
enumDescriptions: [
|
|
1875
|
-
( localize(
|
|
1876
|
-
( localize(
|
|
1877
|
-
( localize(
|
|
1875
|
+
( localize(176, "The vertical scrollbar will be visible only when necessary.")),
|
|
1876
|
+
( localize(177, "The vertical scrollbar will always be visible.")),
|
|
1877
|
+
( localize(178, "The vertical scrollbar will always be hidden.")),
|
|
1878
1878
|
],
|
|
1879
1879
|
default: 'auto',
|
|
1880
|
-
description: ( localize(
|
|
1880
|
+
description: ( localize(179, "Controls the visibility of the vertical scrollbar."))
|
|
1881
1881
|
},
|
|
1882
1882
|
'editor.scrollbar.horizontal': {
|
|
1883
1883
|
type: 'string',
|
|
1884
1884
|
enum: ['auto', 'visible', 'hidden'],
|
|
1885
1885
|
enumDescriptions: [
|
|
1886
|
-
( localize(
|
|
1887
|
-
( localize(
|
|
1888
|
-
( localize(
|
|
1886
|
+
( localize(180, "The horizontal scrollbar will be visible only when necessary.")),
|
|
1887
|
+
( localize(181, "The horizontal scrollbar will always be visible.")),
|
|
1888
|
+
( localize(182, "The horizontal scrollbar will always be hidden.")),
|
|
1889
1889
|
],
|
|
1890
1890
|
default: 'auto',
|
|
1891
|
-
description: ( localize(
|
|
1891
|
+
description: ( localize(183, "Controls the visibility of the horizontal scrollbar."))
|
|
1892
1892
|
},
|
|
1893
1893
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
1894
1894
|
type: 'number',
|
|
1895
1895
|
default: defaults.verticalScrollbarSize,
|
|
1896
|
-
description: ( localize(
|
|
1896
|
+
description: ( localize(184, "The width of the vertical scrollbar."))
|
|
1897
1897
|
},
|
|
1898
1898
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
1899
1899
|
type: 'number',
|
|
1900
1900
|
default: defaults.horizontalScrollbarSize,
|
|
1901
|
-
description: ( localize(
|
|
1901
|
+
description: ( localize(185, "The height of the horizontal scrollbar."))
|
|
1902
1902
|
},
|
|
1903
1903
|
'editor.scrollbar.scrollByPage': {
|
|
1904
1904
|
type: 'boolean',
|
|
1905
1905
|
default: defaults.scrollByPage,
|
|
1906
|
-
description: ( localize(
|
|
1906
|
+
description: ( localize(186, "Controls whether clicks scroll by page or jump to click position."))
|
|
1907
1907
|
},
|
|
1908
1908
|
'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
|
|
1909
1909
|
type: 'boolean',
|
|
1910
1910
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
1911
1911
|
description: ( localize(
|
|
1912
|
-
|
|
1912
|
+
187,
|
|
1913
1913
|
"When set, the horizontal scrollbar will not increase the size of the editor's content."
|
|
1914
1914
|
))
|
|
1915
1915
|
}
|
|
@@ -1968,7 +1968,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1968
1968
|
enum: [true, false, inUntrustedWorkspace],
|
|
1969
1969
|
default: defaults.nonBasicASCII,
|
|
1970
1970
|
description: ( localize(
|
|
1971
|
-
|
|
1971
|
+
188,
|
|
1972
1972
|
"Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII."
|
|
1973
1973
|
))
|
|
1974
1974
|
},
|
|
@@ -1977,7 +1977,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1977
1977
|
type: 'boolean',
|
|
1978
1978
|
default: defaults.invisibleCharacters,
|
|
1979
1979
|
description: ( localize(
|
|
1980
|
-
|
|
1980
|
+
189,
|
|
1981
1981
|
"Controls whether characters that just reserve space or have no width at all are highlighted."
|
|
1982
1982
|
))
|
|
1983
1983
|
},
|
|
@@ -1986,7 +1986,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1986
1986
|
type: 'boolean',
|
|
1987
1987
|
default: defaults.ambiguousCharacters,
|
|
1988
1988
|
description: ( localize(
|
|
1989
|
-
|
|
1989
|
+
190,
|
|
1990
1990
|
"Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."
|
|
1991
1991
|
))
|
|
1992
1992
|
},
|
|
@@ -1996,7 +1996,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1996
1996
|
enum: [true, false, inUntrustedWorkspace],
|
|
1997
1997
|
default: defaults.includeComments,
|
|
1998
1998
|
description: ( localize(
|
|
1999
|
-
|
|
1999
|
+
191,
|
|
2000
2000
|
"Controls whether characters in comments should also be subject to Unicode highlighting."
|
|
2001
2001
|
))
|
|
2002
2002
|
},
|
|
@@ -2006,7 +2006,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2006
2006
|
enum: [true, false, inUntrustedWorkspace],
|
|
2007
2007
|
default: defaults.includeStrings,
|
|
2008
2008
|
description: ( localize(
|
|
2009
|
-
|
|
2009
|
+
192,
|
|
2010
2010
|
"Controls whether characters in strings should also be subject to Unicode highlighting."
|
|
2011
2011
|
))
|
|
2012
2012
|
},
|
|
@@ -2014,7 +2014,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2014
2014
|
restricted: true,
|
|
2015
2015
|
type: 'object',
|
|
2016
2016
|
default: defaults.allowedCharacters,
|
|
2017
|
-
description: ( localize(
|
|
2017
|
+
description: ( localize(193, "Defines allowed characters that are not being highlighted.")),
|
|
2018
2018
|
additionalProperties: {
|
|
2019
2019
|
type: 'boolean'
|
|
2020
2020
|
}
|
|
@@ -2027,7 +2027,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2027
2027
|
},
|
|
2028
2028
|
default: defaults.allowedLocales,
|
|
2029
2029
|
description: ( localize(
|
|
2030
|
-
|
|
2030
|
+
194,
|
|
2031
2031
|
"Unicode characters that are common in allowed locales are not being highlighted."
|
|
2032
2032
|
))
|
|
2033
2033
|
},
|
|
@@ -2098,7 +2098,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2098
2098
|
type: 'boolean',
|
|
2099
2099
|
default: defaults.enabled,
|
|
2100
2100
|
description: ( localize(
|
|
2101
|
-
|
|
2101
|
+
195,
|
|
2102
2102
|
"Controls whether to automatically show inline suggestions in the editor."
|
|
2103
2103
|
))
|
|
2104
2104
|
},
|
|
@@ -2108,29 +2108,29 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2108
2108
|
enum: ['always', 'onHover', 'never'],
|
|
2109
2109
|
enumDescriptions: [
|
|
2110
2110
|
( localize(
|
|
2111
|
-
|
|
2111
|
+
196,
|
|
2112
2112
|
"Show the inline suggestion toolbar whenever an inline suggestion is shown."
|
|
2113
2113
|
)),
|
|
2114
2114
|
( localize(
|
|
2115
|
-
|
|
2115
|
+
197,
|
|
2116
2116
|
"Show the inline suggestion toolbar when hovering over an inline suggestion."
|
|
2117
2117
|
)),
|
|
2118
|
-
( localize(
|
|
2118
|
+
( localize(198, "Never show the inline suggestion toolbar.")),
|
|
2119
2119
|
],
|
|
2120
|
-
description: ( localize(
|
|
2120
|
+
description: ( localize(199, "Controls when to show the inline suggestion toolbar.")),
|
|
2121
2121
|
},
|
|
2122
2122
|
'editor.inlineSuggest.suppressSuggestions': {
|
|
2123
2123
|
type: 'boolean',
|
|
2124
2124
|
default: defaults.suppressSuggestions,
|
|
2125
2125
|
description: ( localize(
|
|
2126
|
-
|
|
2126
|
+
200,
|
|
2127
2127
|
"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
|
|
2128
2128
|
))
|
|
2129
2129
|
},
|
|
2130
2130
|
'editor.inlineSuggest.fontFamily': {
|
|
2131
2131
|
type: 'string',
|
|
2132
2132
|
default: defaults.fontFamily,
|
|
2133
|
-
description: ( localize(
|
|
2133
|
+
description: ( localize(201, "Controls the font family of the inline suggestions."))
|
|
2134
2134
|
},
|
|
2135
2135
|
});
|
|
2136
2136
|
}
|
|
@@ -2161,7 +2161,7 @@ class InlineEditorEdit extends BaseEditorOption {
|
|
|
2161
2161
|
'editor.experimentalInlineEdit.enabled': {
|
|
2162
2162
|
type: 'boolean',
|
|
2163
2163
|
default: defaults.enabled,
|
|
2164
|
-
description: ( localize(
|
|
2164
|
+
description: ( localize(202, "Controls whether to show inline edits in the editor."))
|
|
2165
2165
|
},
|
|
2166
2166
|
'editor.experimentalInlineEdit.showToolbar': {
|
|
2167
2167
|
type: 'string',
|
|
@@ -2169,21 +2169,21 @@ class InlineEditorEdit extends BaseEditorOption {
|
|
|
2169
2169
|
enum: ['always', 'onHover', 'never'],
|
|
2170
2170
|
enumDescriptions: [
|
|
2171
2171
|
( localize(
|
|
2172
|
-
|
|
2172
|
+
203,
|
|
2173
2173
|
"Show the inline edit toolbar whenever an inline suggestion is shown."
|
|
2174
2174
|
)),
|
|
2175
2175
|
( localize(
|
|
2176
|
-
|
|
2176
|
+
204,
|
|
2177
2177
|
"Show the inline edit toolbar when hovering over an inline suggestion."
|
|
2178
2178
|
)),
|
|
2179
|
-
( localize(
|
|
2179
|
+
( localize(205, "Never show the inline edit toolbar.")),
|
|
2180
2180
|
],
|
|
2181
|
-
description: ( localize(
|
|
2181
|
+
description: ( localize(206, "Controls when to show the inline edit toolbar.")),
|
|
2182
2182
|
},
|
|
2183
2183
|
'editor.experimentalInlineEdit.fontFamily': {
|
|
2184
2184
|
type: 'string',
|
|
2185
2185
|
default: defaults.fontFamily,
|
|
2186
|
-
description: ( localize(
|
|
2186
|
+
description: ( localize(207, "Controls the font family of the inline edit."))
|
|
2187
2187
|
},
|
|
2188
2188
|
});
|
|
2189
2189
|
}
|
|
@@ -2211,7 +2211,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2211
2211
|
type: 'boolean',
|
|
2212
2212
|
default: defaults.enabled,
|
|
2213
2213
|
markdownDescription: ( localize(
|
|
2214
|
-
|
|
2214
|
+
208,
|
|
2215
2215
|
"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
|
|
2216
2216
|
'`#workbench.colorCustomizations#`'
|
|
2217
2217
|
))
|
|
@@ -2220,7 +2220,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2220
2220
|
type: 'boolean',
|
|
2221
2221
|
default: defaults.independentColorPoolPerBracketType,
|
|
2222
2222
|
description: ( localize(
|
|
2223
|
-
|
|
2223
|
+
209,
|
|
2224
2224
|
"Controls whether each bracket type has its own independent color pool."
|
|
2225
2225
|
))
|
|
2226
2226
|
},
|
|
@@ -2251,54 +2251,54 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2251
2251
|
type: ['boolean', 'string'],
|
|
2252
2252
|
enum: [true, 'active', false],
|
|
2253
2253
|
enumDescriptions: [
|
|
2254
|
-
( localize(
|
|
2255
|
-
( localize(
|
|
2256
|
-
( localize(
|
|
2254
|
+
( localize(210, "Enables bracket pair guides.")),
|
|
2255
|
+
( localize(211, "Enables bracket pair guides only for the active bracket pair.")),
|
|
2256
|
+
( localize(212, "Disables bracket pair guides.")),
|
|
2257
2257
|
],
|
|
2258
2258
|
default: defaults.bracketPairs,
|
|
2259
|
-
description: ( localize(
|
|
2259
|
+
description: ( localize(213, "Controls whether bracket pair guides are enabled or not."))
|
|
2260
2260
|
},
|
|
2261
2261
|
'editor.guides.bracketPairsHorizontal': {
|
|
2262
2262
|
type: ['boolean', 'string'],
|
|
2263
2263
|
enum: [true, 'active', false],
|
|
2264
2264
|
enumDescriptions: [
|
|
2265
2265
|
( localize(
|
|
2266
|
-
|
|
2266
|
+
214,
|
|
2267
2267
|
"Enables horizontal guides as addition to vertical bracket pair guides."
|
|
2268
2268
|
)),
|
|
2269
|
-
( localize(
|
|
2270
|
-
( localize(
|
|
2269
|
+
( localize(215, "Enables horizontal guides only for the active bracket pair.")),
|
|
2270
|
+
( localize(216, "Disables horizontal bracket pair guides.")),
|
|
2271
2271
|
],
|
|
2272
2272
|
default: defaults.bracketPairsHorizontal,
|
|
2273
|
-
description: ( localize(
|
|
2273
|
+
description: ( localize(217, "Controls whether horizontal bracket pair guides are enabled or not."))
|
|
2274
2274
|
},
|
|
2275
2275
|
'editor.guides.highlightActiveBracketPair': {
|
|
2276
2276
|
type: 'boolean',
|
|
2277
2277
|
default: defaults.highlightActiveBracketPair,
|
|
2278
2278
|
description: ( localize(
|
|
2279
|
-
|
|
2279
|
+
218,
|
|
2280
2280
|
"Controls whether the editor should highlight the active bracket pair."
|
|
2281
2281
|
))
|
|
2282
2282
|
},
|
|
2283
2283
|
'editor.guides.indentation': {
|
|
2284
2284
|
type: 'boolean',
|
|
2285
2285
|
default: defaults.indentation,
|
|
2286
|
-
description: ( localize(
|
|
2286
|
+
description: ( localize(219, "Controls whether the editor should render indent guides."))
|
|
2287
2287
|
},
|
|
2288
2288
|
'editor.guides.highlightActiveIndentation': {
|
|
2289
2289
|
type: ['boolean', 'string'],
|
|
2290
2290
|
enum: [true, 'always', false],
|
|
2291
2291
|
enumDescriptions: [
|
|
2292
|
-
( localize(
|
|
2292
|
+
( localize(220, "Highlights the active indent guide.")),
|
|
2293
2293
|
( localize(
|
|
2294
|
-
|
|
2294
|
+
221,
|
|
2295
2295
|
"Highlights the active indent guide even if bracket guides are highlighted."
|
|
2296
2296
|
)),
|
|
2297
|
-
( localize(
|
|
2297
|
+
( localize(222, "Do not highlight the active indent guide.")),
|
|
2298
2298
|
],
|
|
2299
2299
|
default: defaults.highlightActiveIndentation,
|
|
2300
2300
|
description: ( localize(
|
|
2301
|
-
|
|
2301
|
+
223,
|
|
2302
2302
|
"Controls whether the editor should highlight the active indent guide."
|
|
2303
2303
|
))
|
|
2304
2304
|
}
|
|
@@ -2374,12 +2374,12 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2374
2374
|
type: 'string',
|
|
2375
2375
|
enum: ['insert', 'replace'],
|
|
2376
2376
|
enumDescriptions: [
|
|
2377
|
-
( localize(
|
|
2378
|
-
( localize(
|
|
2377
|
+
( localize(224, "Insert suggestion without overwriting text right of the cursor.")),
|
|
2378
|
+
( localize(225, "Insert suggestion and overwrite text right of the cursor.")),
|
|
2379
2379
|
],
|
|
2380
2380
|
default: defaults.insertMode,
|
|
2381
2381
|
description: ( localize(
|
|
2382
|
-
|
|
2382
|
+
226,
|
|
2383
2383
|
"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
|
|
2384
2384
|
))
|
|
2385
2385
|
},
|
|
@@ -2387,7 +2387,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2387
2387
|
type: 'boolean',
|
|
2388
2388
|
default: defaults.filterGraceful,
|
|
2389
2389
|
description: ( localize(
|
|
2390
|
-
|
|
2390
|
+
227,
|
|
2391
2391
|
"Controls whether filtering and sorting suggestions accounts for small typos."
|
|
2392
2392
|
))
|
|
2393
2393
|
},
|
|
@@ -2395,7 +2395,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2395
2395
|
type: 'boolean',
|
|
2396
2396
|
default: defaults.localityBonus,
|
|
2397
2397
|
description: ( localize(
|
|
2398
|
-
|
|
2398
|
+
228,
|
|
2399
2399
|
"Controls whether sorting favors words that appear close to the cursor."
|
|
2400
2400
|
))
|
|
2401
2401
|
},
|
|
@@ -2403,7 +2403,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2403
2403
|
type: 'boolean',
|
|
2404
2404
|
default: defaults.shareSuggestSelections,
|
|
2405
2405
|
markdownDescription: ( localize(
|
|
2406
|
-
|
|
2406
|
+
229,
|
|
2407
2407
|
"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
|
|
2408
2408
|
))
|
|
2409
2409
|
},
|
|
@@ -2412,22 +2412,22 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2412
2412
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2413
2413
|
enumDescriptions: [
|
|
2414
2414
|
( localize(
|
|
2415
|
-
|
|
2415
|
+
230,
|
|
2416
2416
|
"Always select a suggestion when automatically triggering IntelliSense."
|
|
2417
2417
|
)),
|
|
2418
2418
|
( localize(
|
|
2419
|
-
|
|
2419
|
+
231,
|
|
2420
2420
|
"Never select a suggestion when automatically triggering IntelliSense."
|
|
2421
2421
|
)),
|
|
2422
2422
|
( localize(
|
|
2423
|
-
|
|
2423
|
+
232,
|
|
2424
2424
|
"Select a suggestion only when triggering IntelliSense from a trigger character."
|
|
2425
2425
|
)),
|
|
2426
|
-
( localize(
|
|
2426
|
+
( localize(233, "Select a suggestion only when triggering IntelliSense as you type.")),
|
|
2427
2427
|
],
|
|
2428
2428
|
default: defaults.selectionMode,
|
|
2429
2429
|
markdownDescription: ( localize(
|
|
2430
|
-
|
|
2430
|
+
234,
|
|
2431
2431
|
"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`.",
|
|
2432
2432
|
'`#editor.quickSuggestions#`',
|
|
2433
2433
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
@@ -2436,197 +2436,197 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2436
2436
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
2437
2437
|
type: 'boolean',
|
|
2438
2438
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2439
|
-
description: ( localize(
|
|
2439
|
+
description: ( localize(235, "Controls whether an active snippet prevents quick suggestions."))
|
|
2440
2440
|
},
|
|
2441
2441
|
'editor.suggest.showIcons': {
|
|
2442
2442
|
type: 'boolean',
|
|
2443
2443
|
default: defaults.showIcons,
|
|
2444
|
-
description: ( localize(
|
|
2444
|
+
description: ( localize(236, "Controls whether to show or hide icons in suggestions."))
|
|
2445
2445
|
},
|
|
2446
2446
|
'editor.suggest.showStatusBar': {
|
|
2447
2447
|
type: 'boolean',
|
|
2448
2448
|
default: defaults.showStatusBar,
|
|
2449
2449
|
description: ( localize(
|
|
2450
|
-
|
|
2450
|
+
237,
|
|
2451
2451
|
"Controls the visibility of the status bar at the bottom of the suggest widget."
|
|
2452
2452
|
))
|
|
2453
2453
|
},
|
|
2454
2454
|
'editor.suggest.preview': {
|
|
2455
2455
|
type: 'boolean',
|
|
2456
2456
|
default: defaults.preview,
|
|
2457
|
-
description: ( localize(
|
|
2457
|
+
description: ( localize(238, "Controls whether to preview the suggestion outcome in the editor."))
|
|
2458
2458
|
},
|
|
2459
2459
|
'editor.suggest.showInlineDetails': {
|
|
2460
2460
|
type: 'boolean',
|
|
2461
2461
|
default: defaults.showInlineDetails,
|
|
2462
2462
|
description: ( localize(
|
|
2463
|
-
|
|
2463
|
+
239,
|
|
2464
2464
|
"Controls whether suggest details show inline with the label or only in the details widget."
|
|
2465
2465
|
))
|
|
2466
2466
|
},
|
|
2467
2467
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2468
2468
|
type: 'number',
|
|
2469
|
-
deprecationMessage: ( localize(
|
|
2469
|
+
deprecationMessage: ( localize(240, "This setting is deprecated. The suggest widget can now be resized.")),
|
|
2470
2470
|
},
|
|
2471
2471
|
'editor.suggest.filteredTypes': {
|
|
2472
2472
|
type: 'object',
|
|
2473
2473
|
deprecationMessage: ( localize(
|
|
2474
|
-
|
|
2474
|
+
241,
|
|
2475
2475
|
"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
|
|
2476
2476
|
))
|
|
2477
2477
|
},
|
|
2478
2478
|
'editor.suggest.showMethods': {
|
|
2479
2479
|
type: 'boolean',
|
|
2480
2480
|
default: true,
|
|
2481
|
-
markdownDescription: ( localize(
|
|
2481
|
+
markdownDescription: ( localize(242, "When enabled IntelliSense shows `method`-suggestions."))
|
|
2482
2482
|
},
|
|
2483
2483
|
'editor.suggest.showFunctions': {
|
|
2484
2484
|
type: 'boolean',
|
|
2485
2485
|
default: true,
|
|
2486
|
-
markdownDescription: ( localize(
|
|
2486
|
+
markdownDescription: ( localize(243, "When enabled IntelliSense shows `function`-suggestions."))
|
|
2487
2487
|
},
|
|
2488
2488
|
'editor.suggest.showConstructors': {
|
|
2489
2489
|
type: 'boolean',
|
|
2490
2490
|
default: true,
|
|
2491
|
-
markdownDescription: ( localize(
|
|
2491
|
+
markdownDescription: ( localize(244, "When enabled IntelliSense shows `constructor`-suggestions."))
|
|
2492
2492
|
},
|
|
2493
2493
|
'editor.suggest.showDeprecated': {
|
|
2494
2494
|
type: 'boolean',
|
|
2495
2495
|
default: true,
|
|
2496
|
-
markdownDescription: ( localize(
|
|
2496
|
+
markdownDescription: ( localize(245, "When enabled IntelliSense shows `deprecated`-suggestions."))
|
|
2497
2497
|
},
|
|
2498
2498
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2499
2499
|
type: 'boolean',
|
|
2500
2500
|
default: true,
|
|
2501
2501
|
markdownDescription: ( localize(
|
|
2502
|
-
|
|
2502
|
+
246,
|
|
2503
2503
|
"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."
|
|
2504
2504
|
))
|
|
2505
2505
|
},
|
|
2506
2506
|
'editor.suggest.showFields': {
|
|
2507
2507
|
type: 'boolean',
|
|
2508
2508
|
default: true,
|
|
2509
|
-
markdownDescription: ( localize(
|
|
2509
|
+
markdownDescription: ( localize(247, "When enabled IntelliSense shows `field`-suggestions."))
|
|
2510
2510
|
},
|
|
2511
2511
|
'editor.suggest.showVariables': {
|
|
2512
2512
|
type: 'boolean',
|
|
2513
2513
|
default: true,
|
|
2514
|
-
markdownDescription: ( localize(
|
|
2514
|
+
markdownDescription: ( localize(248, "When enabled IntelliSense shows `variable`-suggestions."))
|
|
2515
2515
|
},
|
|
2516
2516
|
'editor.suggest.showClasses': {
|
|
2517
2517
|
type: 'boolean',
|
|
2518
2518
|
default: true,
|
|
2519
|
-
markdownDescription: ( localize(
|
|
2519
|
+
markdownDescription: ( localize(249, "When enabled IntelliSense shows `class`-suggestions."))
|
|
2520
2520
|
},
|
|
2521
2521
|
'editor.suggest.showStructs': {
|
|
2522
2522
|
type: 'boolean',
|
|
2523
2523
|
default: true,
|
|
2524
|
-
markdownDescription: ( localize(
|
|
2524
|
+
markdownDescription: ( localize(250, "When enabled IntelliSense shows `struct`-suggestions."))
|
|
2525
2525
|
},
|
|
2526
2526
|
'editor.suggest.showInterfaces': {
|
|
2527
2527
|
type: 'boolean',
|
|
2528
2528
|
default: true,
|
|
2529
|
-
markdownDescription: ( localize(
|
|
2529
|
+
markdownDescription: ( localize(251, "When enabled IntelliSense shows `interface`-suggestions."))
|
|
2530
2530
|
},
|
|
2531
2531
|
'editor.suggest.showModules': {
|
|
2532
2532
|
type: 'boolean',
|
|
2533
2533
|
default: true,
|
|
2534
|
-
markdownDescription: ( localize(
|
|
2534
|
+
markdownDescription: ( localize(252, "When enabled IntelliSense shows `module`-suggestions."))
|
|
2535
2535
|
},
|
|
2536
2536
|
'editor.suggest.showProperties': {
|
|
2537
2537
|
type: 'boolean',
|
|
2538
2538
|
default: true,
|
|
2539
|
-
markdownDescription: ( localize(
|
|
2539
|
+
markdownDescription: ( localize(253, "When enabled IntelliSense shows `property`-suggestions."))
|
|
2540
2540
|
},
|
|
2541
2541
|
'editor.suggest.showEvents': {
|
|
2542
2542
|
type: 'boolean',
|
|
2543
2543
|
default: true,
|
|
2544
|
-
markdownDescription: ( localize(
|
|
2544
|
+
markdownDescription: ( localize(254, "When enabled IntelliSense shows `event`-suggestions."))
|
|
2545
2545
|
},
|
|
2546
2546
|
'editor.suggest.showOperators': {
|
|
2547
2547
|
type: 'boolean',
|
|
2548
2548
|
default: true,
|
|
2549
|
-
markdownDescription: ( localize(
|
|
2549
|
+
markdownDescription: ( localize(255, "When enabled IntelliSense shows `operator`-suggestions."))
|
|
2550
2550
|
},
|
|
2551
2551
|
'editor.suggest.showUnits': {
|
|
2552
2552
|
type: 'boolean',
|
|
2553
2553
|
default: true,
|
|
2554
|
-
markdownDescription: ( localize(
|
|
2554
|
+
markdownDescription: ( localize(256, "When enabled IntelliSense shows `unit`-suggestions."))
|
|
2555
2555
|
},
|
|
2556
2556
|
'editor.suggest.showValues': {
|
|
2557
2557
|
type: 'boolean',
|
|
2558
2558
|
default: true,
|
|
2559
|
-
markdownDescription: ( localize(
|
|
2559
|
+
markdownDescription: ( localize(257, "When enabled IntelliSense shows `value`-suggestions."))
|
|
2560
2560
|
},
|
|
2561
2561
|
'editor.suggest.showConstants': {
|
|
2562
2562
|
type: 'boolean',
|
|
2563
2563
|
default: true,
|
|
2564
|
-
markdownDescription: ( localize(
|
|
2564
|
+
markdownDescription: ( localize(258, "When enabled IntelliSense shows `constant`-suggestions."))
|
|
2565
2565
|
},
|
|
2566
2566
|
'editor.suggest.showEnums': {
|
|
2567
2567
|
type: 'boolean',
|
|
2568
2568
|
default: true,
|
|
2569
|
-
markdownDescription: ( localize(
|
|
2569
|
+
markdownDescription: ( localize(259, "When enabled IntelliSense shows `enum`-suggestions."))
|
|
2570
2570
|
},
|
|
2571
2571
|
'editor.suggest.showEnumMembers': {
|
|
2572
2572
|
type: 'boolean',
|
|
2573
2573
|
default: true,
|
|
2574
|
-
markdownDescription: ( localize(
|
|
2574
|
+
markdownDescription: ( localize(260, "When enabled IntelliSense shows `enumMember`-suggestions."))
|
|
2575
2575
|
},
|
|
2576
2576
|
'editor.suggest.showKeywords': {
|
|
2577
2577
|
type: 'boolean',
|
|
2578
2578
|
default: true,
|
|
2579
|
-
markdownDescription: ( localize(
|
|
2579
|
+
markdownDescription: ( localize(261, "When enabled IntelliSense shows `keyword`-suggestions."))
|
|
2580
2580
|
},
|
|
2581
2581
|
'editor.suggest.showWords': {
|
|
2582
2582
|
type: 'boolean',
|
|
2583
2583
|
default: true,
|
|
2584
|
-
markdownDescription: ( localize(
|
|
2584
|
+
markdownDescription: ( localize(262, "When enabled IntelliSense shows `text`-suggestions."))
|
|
2585
2585
|
},
|
|
2586
2586
|
'editor.suggest.showColors': {
|
|
2587
2587
|
type: 'boolean',
|
|
2588
2588
|
default: true,
|
|
2589
|
-
markdownDescription: ( localize(
|
|
2589
|
+
markdownDescription: ( localize(263, "When enabled IntelliSense shows `color`-suggestions."))
|
|
2590
2590
|
},
|
|
2591
2591
|
'editor.suggest.showFiles': {
|
|
2592
2592
|
type: 'boolean',
|
|
2593
2593
|
default: true,
|
|
2594
|
-
markdownDescription: ( localize(
|
|
2594
|
+
markdownDescription: ( localize(264, "When enabled IntelliSense shows `file`-suggestions."))
|
|
2595
2595
|
},
|
|
2596
2596
|
'editor.suggest.showReferences': {
|
|
2597
2597
|
type: 'boolean',
|
|
2598
2598
|
default: true,
|
|
2599
|
-
markdownDescription: ( localize(
|
|
2599
|
+
markdownDescription: ( localize(265, "When enabled IntelliSense shows `reference`-suggestions."))
|
|
2600
2600
|
},
|
|
2601
2601
|
'editor.suggest.showCustomcolors': {
|
|
2602
2602
|
type: 'boolean',
|
|
2603
2603
|
default: true,
|
|
2604
|
-
markdownDescription: ( localize(
|
|
2604
|
+
markdownDescription: ( localize(266, "When enabled IntelliSense shows `customcolor`-suggestions."))
|
|
2605
2605
|
},
|
|
2606
2606
|
'editor.suggest.showFolders': {
|
|
2607
2607
|
type: 'boolean',
|
|
2608
2608
|
default: true,
|
|
2609
|
-
markdownDescription: ( localize(
|
|
2609
|
+
markdownDescription: ( localize(267, "When enabled IntelliSense shows `folder`-suggestions."))
|
|
2610
2610
|
},
|
|
2611
2611
|
'editor.suggest.showTypeParameters': {
|
|
2612
2612
|
type: 'boolean',
|
|
2613
2613
|
default: true,
|
|
2614
|
-
markdownDescription: ( localize(
|
|
2614
|
+
markdownDescription: ( localize(268, "When enabled IntelliSense shows `typeParameter`-suggestions."))
|
|
2615
2615
|
},
|
|
2616
2616
|
'editor.suggest.showSnippets': {
|
|
2617
2617
|
type: 'boolean',
|
|
2618
2618
|
default: true,
|
|
2619
|
-
markdownDescription: ( localize(
|
|
2619
|
+
markdownDescription: ( localize(269, "When enabled IntelliSense shows `snippet`-suggestions."))
|
|
2620
2620
|
},
|
|
2621
2621
|
'editor.suggest.showUsers': {
|
|
2622
2622
|
type: 'boolean',
|
|
2623
2623
|
default: true,
|
|
2624
|
-
markdownDescription: ( localize(
|
|
2624
|
+
markdownDescription: ( localize(270, "When enabled IntelliSense shows `user`-suggestions."))
|
|
2625
2625
|
},
|
|
2626
2626
|
'editor.suggest.showIssues': {
|
|
2627
2627
|
type: 'boolean',
|
|
2628
2628
|
default: true,
|
|
2629
|
-
markdownDescription: ( localize(
|
|
2629
|
+
markdownDescription: ( localize(271, "When enabled IntelliSense shows `issues`-suggestions."))
|
|
2630
2630
|
}
|
|
2631
2631
|
});
|
|
2632
2632
|
}
|
|
@@ -2686,13 +2686,13 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2686
2686
|
selectSubwords: true,
|
|
2687
2687
|
}, {
|
|
2688
2688
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2689
|
-
description: ( localize(
|
|
2689
|
+
description: ( localize(272, "Whether leading and trailing whitespace should always be selected.")),
|
|
2690
2690
|
default: true,
|
|
2691
2691
|
type: 'boolean'
|
|
2692
2692
|
},
|
|
2693
2693
|
'editor.smartSelect.selectSubwords': {
|
|
2694
2694
|
description: ( localize(
|
|
2695
|
-
|
|
2695
|
+
273,
|
|
2696
2696
|
"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
|
|
2697
2697
|
)),
|
|
2698
2698
|
default: true,
|
|
@@ -2717,13 +2717,13 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2717
2717
|
anyOf: [
|
|
2718
2718
|
{
|
|
2719
2719
|
description: ( localize(
|
|
2720
|
-
|
|
2720
|
+
274,
|
|
2721
2721
|
"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.)."
|
|
2722
2722
|
)),
|
|
2723
2723
|
type: 'string',
|
|
2724
2724
|
}, {
|
|
2725
2725
|
description: ( localize(
|
|
2726
|
-
|
|
2726
|
+
274,
|
|
2727
2727
|
"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.)."
|
|
2728
2728
|
)),
|
|
2729
2729
|
type: 'array',
|
|
@@ -2770,12 +2770,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2770
2770
|
type: 'string',
|
|
2771
2771
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2772
2772
|
enumDescriptions: [
|
|
2773
|
-
( localize(
|
|
2774
|
-
( localize(
|
|
2775
|
-
( localize(
|
|
2776
|
-
( localize(
|
|
2773
|
+
( localize(275, "No indentation. Wrapped lines begin at column 1.")),
|
|
2774
|
+
( localize(276, "Wrapped lines get the same indentation as the parent.")),
|
|
2775
|
+
( localize(277, "Wrapped lines get +1 indentation toward the parent.")),
|
|
2776
|
+
( localize(278, "Wrapped lines get +2 indentation toward the parent.")),
|
|
2777
2777
|
],
|
|
2778
|
-
description: ( localize(
|
|
2778
|
+
description: ( localize(279, "Controls the indentation of wrapped lines.")),
|
|
2779
2779
|
default: 'same'
|
|
2780
2780
|
}
|
|
2781
2781
|
});
|
|
@@ -2819,14 +2819,14 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2819
2819
|
type: 'boolean',
|
|
2820
2820
|
default: defaults.enabled,
|
|
2821
2821
|
markdownDescription: ( localize(
|
|
2822
|
-
|
|
2822
|
+
280,
|
|
2823
2823
|
"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)."
|
|
2824
2824
|
)),
|
|
2825
2825
|
},
|
|
2826
2826
|
'editor.dropIntoEditor.showDropSelector': {
|
|
2827
2827
|
type: 'string',
|
|
2828
2828
|
markdownDescription: ( localize(
|
|
2829
|
-
|
|
2829
|
+
281,
|
|
2830
2830
|
"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
|
|
2831
2831
|
)),
|
|
2832
2832
|
enum: [
|
|
@@ -2835,11 +2835,11 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2835
2835
|
],
|
|
2836
2836
|
enumDescriptions: [
|
|
2837
2837
|
( localize(
|
|
2838
|
-
|
|
2838
|
+
282,
|
|
2839
2839
|
"Show the drop selector widget after a file is dropped into the editor."
|
|
2840
2840
|
)),
|
|
2841
2841
|
( localize(
|
|
2842
|
-
|
|
2842
|
+
283,
|
|
2843
2843
|
"Never show the drop selector widget. Instead the default drop provider is always used."
|
|
2844
2844
|
)),
|
|
2845
2845
|
],
|
|
@@ -2865,12 +2865,12 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2865
2865
|
'editor.pasteAs.enabled': {
|
|
2866
2866
|
type: 'boolean',
|
|
2867
2867
|
default: defaults.enabled,
|
|
2868
|
-
markdownDescription: ( localize(
|
|
2868
|
+
markdownDescription: ( localize(284, "Controls whether you can paste content in different ways.")),
|
|
2869
2869
|
},
|
|
2870
2870
|
'editor.pasteAs.showPasteSelector': {
|
|
2871
2871
|
type: 'string',
|
|
2872
2872
|
markdownDescription: ( localize(
|
|
2873
|
-
|
|
2873
|
+
285,
|
|
2874
2874
|
"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
|
|
2875
2875
|
)),
|
|
2876
2876
|
enum: [
|
|
@@ -2879,11 +2879,11 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2879
2879
|
],
|
|
2880
2880
|
enumDescriptions: [
|
|
2881
2881
|
( localize(
|
|
2882
|
-
|
|
2882
|
+
286,
|
|
2883
2883
|
"Show the paste selector widget after content is pasted into the editor."
|
|
2884
2884
|
)),
|
|
2885
2885
|
( localize(
|
|
2886
|
-
|
|
2886
|
+
287,
|
|
2887
2887
|
"Never show the paste selector widget. Instead the default pasting behavior is always used."
|
|
2888
2888
|
)),
|
|
2889
2889
|
],
|
|
@@ -3077,7 +3077,7 @@ const EditorOptions = {
|
|
|
3077
3077
|
'acceptSuggestionOnCommitCharacter',
|
|
3078
3078
|
true,
|
|
3079
3079
|
{ markdownDescription: ( localize(
|
|
3080
|
-
|
|
3080
|
+
288,
|
|
3081
3081
|
"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."
|
|
3082
3082
|
)) }
|
|
3083
3083
|
)))),
|
|
@@ -3090,13 +3090,13 @@ const EditorOptions = {
|
|
|
3090
3090
|
markdownEnumDescriptions: [
|
|
3091
3091
|
'',
|
|
3092
3092
|
( localize(
|
|
3093
|
-
|
|
3093
|
+
289,
|
|
3094
3094
|
"Only accept a suggestion with `Enter` when it makes a textual change."
|
|
3095
3095
|
)),
|
|
3096
3096
|
''
|
|
3097
3097
|
],
|
|
3098
3098
|
markdownDescription: ( localize(
|
|
3099
|
-
|
|
3099
|
+
290,
|
|
3100
3100
|
"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
|
|
3101
3101
|
))
|
|
3102
3102
|
}
|
|
@@ -3110,13 +3110,13 @@ const EditorOptions = {
|
|
|
3110
3110
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3111
3111
|
{
|
|
3112
3112
|
description: ( localize(
|
|
3113
|
-
|
|
3113
|
+
291,
|
|
3114
3114
|
"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."
|
|
3115
3115
|
)),
|
|
3116
3116
|
tags: ['accessibility']
|
|
3117
3117
|
}
|
|
3118
3118
|
)))),
|
|
3119
|
-
ariaLabel: register(( (new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(
|
|
3119
|
+
ariaLabel: register(( (new EditorStringOption(EditorOption.ariaLabel, 'ariaLabel', ( localize(292, "Editor content")))))),
|
|
3120
3120
|
ariaRequired: register(( (new EditorBooleanOption(EditorOption.ariaRequired, 'ariaRequired', false, undefined)))),
|
|
3121
3121
|
screenReaderAnnounceInlineSuggestion: register(( (new EditorBooleanOption(
|
|
3122
3122
|
EditorOption.screenReaderAnnounceInlineSuggestion,
|
|
@@ -3124,7 +3124,7 @@ const EditorOptions = {
|
|
|
3124
3124
|
true,
|
|
3125
3125
|
{
|
|
3126
3126
|
description: ( localize(
|
|
3127
|
-
|
|
3127
|
+
293,
|
|
3128
3128
|
"Control whether inline suggestions are announced by a screen reader."
|
|
3129
3129
|
)),
|
|
3130
3130
|
tags: ['accessibility']
|
|
@@ -3139,17 +3139,17 @@ const EditorOptions = {
|
|
|
3139
3139
|
enumDescriptions: [
|
|
3140
3140
|
'',
|
|
3141
3141
|
( localize(
|
|
3142
|
-
|
|
3142
|
+
294,
|
|
3143
3143
|
"Use language configurations to determine when to autoclose brackets."
|
|
3144
3144
|
)),
|
|
3145
3145
|
( localize(
|
|
3146
|
-
|
|
3146
|
+
295,
|
|
3147
3147
|
"Autoclose brackets only when the cursor is to the left of whitespace."
|
|
3148
3148
|
)),
|
|
3149
3149
|
'',
|
|
3150
3150
|
],
|
|
3151
3151
|
description: ( localize(
|
|
3152
|
-
|
|
3152
|
+
296,
|
|
3153
3153
|
"Controls whether the editor should automatically close brackets after the user adds an opening bracket."
|
|
3154
3154
|
))
|
|
3155
3155
|
}
|
|
@@ -3163,17 +3163,17 @@ const EditorOptions = {
|
|
|
3163
3163
|
enumDescriptions: [
|
|
3164
3164
|
'',
|
|
3165
3165
|
( localize(
|
|
3166
|
-
|
|
3166
|
+
297,
|
|
3167
3167
|
"Use language configurations to determine when to autoclose comments."
|
|
3168
3168
|
)),
|
|
3169
3169
|
( localize(
|
|
3170
|
-
|
|
3170
|
+
298,
|
|
3171
3171
|
"Autoclose comments only when the cursor is to the left of whitespace."
|
|
3172
3172
|
)),
|
|
3173
3173
|
'',
|
|
3174
3174
|
],
|
|
3175
3175
|
description: ( localize(
|
|
3176
|
-
|
|
3176
|
+
299,
|
|
3177
3177
|
"Controls whether the editor should automatically close comments after the user adds an opening comment."
|
|
3178
3178
|
))
|
|
3179
3179
|
}
|
|
@@ -3187,13 +3187,13 @@ const EditorOptions = {
|
|
|
3187
3187
|
enumDescriptions: [
|
|
3188
3188
|
'',
|
|
3189
3189
|
( localize(
|
|
3190
|
-
|
|
3190
|
+
300,
|
|
3191
3191
|
"Remove adjacent closing quotes or brackets only if they were automatically inserted."
|
|
3192
3192
|
)),
|
|
3193
3193
|
'',
|
|
3194
3194
|
],
|
|
3195
3195
|
description: ( localize(
|
|
3196
|
-
|
|
3196
|
+
301,
|
|
3197
3197
|
"Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
|
|
3198
3198
|
))
|
|
3199
3199
|
}
|
|
@@ -3207,13 +3207,13 @@ const EditorOptions = {
|
|
|
3207
3207
|
enumDescriptions: [
|
|
3208
3208
|
'',
|
|
3209
3209
|
( localize(
|
|
3210
|
-
|
|
3210
|
+
302,
|
|
3211
3211
|
"Type over closing quotes or brackets only if they were automatically inserted."
|
|
3212
3212
|
)),
|
|
3213
3213
|
'',
|
|
3214
3214
|
],
|
|
3215
3215
|
description: ( localize(
|
|
3216
|
-
|
|
3216
|
+
303,
|
|
3217
3217
|
"Controls whether the editor should type over closing quotes or brackets."
|
|
3218
3218
|
))
|
|
3219
3219
|
}
|
|
@@ -3226,12 +3226,12 @@ const EditorOptions = {
|
|
|
3226
3226
|
{
|
|
3227
3227
|
enumDescriptions: [
|
|
3228
3228
|
'',
|
|
3229
|
-
( localize(
|
|
3230
|
-
( localize(
|
|
3229
|
+
( localize(304, "Use language configurations to determine when to autoclose quotes.")),
|
|
3230
|
+
( localize(305, "Autoclose quotes only when the cursor is to the left of whitespace.")),
|
|
3231
3231
|
'',
|
|
3232
3232
|
],
|
|
3233
3233
|
description: ( localize(
|
|
3234
|
-
|
|
3234
|
+
306,
|
|
3235
3235
|
"Controls whether the editor should automatically close quotes after the user adds an opening quote."
|
|
3236
3236
|
))
|
|
3237
3237
|
}
|
|
@@ -3245,23 +3245,23 @@ const EditorOptions = {
|
|
|
3245
3245
|
_autoIndentFromString,
|
|
3246
3246
|
{
|
|
3247
3247
|
enumDescriptions: [
|
|
3248
|
-
( localize(
|
|
3249
|
-
( localize(
|
|
3248
|
+
( localize(307, "The editor will not insert indentation automatically.")),
|
|
3249
|
+
( localize(308, "The editor will keep the current line's indentation.")),
|
|
3250
3250
|
( localize(
|
|
3251
|
-
|
|
3251
|
+
309,
|
|
3252
3252
|
"The editor will keep the current line's indentation and honor language defined brackets."
|
|
3253
3253
|
)),
|
|
3254
3254
|
( localize(
|
|
3255
|
-
|
|
3255
|
+
310,
|
|
3256
3256
|
"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
|
|
3257
3257
|
)),
|
|
3258
3258
|
( localize(
|
|
3259
|
-
|
|
3259
|
+
311,
|
|
3260
3260
|
"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."
|
|
3261
3261
|
)),
|
|
3262
3262
|
],
|
|
3263
3263
|
description: ( localize(
|
|
3264
|
-
|
|
3264
|
+
312,
|
|
3265
3265
|
"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
|
|
3266
3266
|
))
|
|
3267
3267
|
}
|
|
@@ -3275,15 +3275,15 @@ const EditorOptions = {
|
|
|
3275
3275
|
{
|
|
3276
3276
|
enumDescriptions: [
|
|
3277
3277
|
( localize(
|
|
3278
|
-
|
|
3278
|
+
313,
|
|
3279
3279
|
"Use language configurations to determine when to automatically surround selections."
|
|
3280
3280
|
)),
|
|
3281
|
-
( localize(
|
|
3282
|
-
( localize(
|
|
3281
|
+
( localize(314, "Surround with quotes but not brackets.")),
|
|
3282
|
+
( localize(315, "Surround with brackets but not quotes.")),
|
|
3283
3283
|
''
|
|
3284
3284
|
],
|
|
3285
3285
|
description: ( localize(
|
|
3286
|
-
|
|
3286
|
+
316,
|
|
3287
3287
|
"Controls whether the editor should automatically surround selections when typing quotes or brackets."
|
|
3288
3288
|
))
|
|
3289
3289
|
}
|
|
@@ -3295,16 +3295,16 @@ const EditorOptions = {
|
|
|
3295
3295
|
'stickyTabStops',
|
|
3296
3296
|
false,
|
|
3297
3297
|
{ description: ( localize(
|
|
3298
|
-
|
|
3298
|
+
317,
|
|
3299
3299
|
"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
|
|
3300
3300
|
)) }
|
|
3301
3301
|
)))),
|
|
3302
|
-
codeLens: register(( (new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(
|
|
3302
|
+
codeLens: register(( (new EditorBooleanOption(EditorOption.codeLens, 'codeLens', true, { description: ( localize(318, "Controls whether the editor shows CodeLens.")) })))),
|
|
3303
3303
|
codeLensFontFamily: register(( (new EditorStringOption(
|
|
3304
3304
|
EditorOption.codeLensFontFamily,
|
|
3305
3305
|
'codeLensFontFamily',
|
|
3306
3306
|
'',
|
|
3307
|
-
{ description: ( localize(
|
|
3307
|
+
{ description: ( localize(319, "Controls the font family for CodeLens.")) }
|
|
3308
3308
|
)))),
|
|
3309
3309
|
codeLensFontSize: register(( (new EditorIntOption(EditorOption.codeLensFontSize, 'codeLensFontSize', 0, 0, 100, {
|
|
3310
3310
|
type: 'number',
|
|
@@ -3312,7 +3312,7 @@ const EditorOptions = {
|
|
|
3312
3312
|
minimum: 0,
|
|
3313
3313
|
maximum: 100,
|
|
3314
3314
|
markdownDescription: ( localize(
|
|
3315
|
-
|
|
3315
|
+
320,
|
|
3316
3316
|
"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
|
|
3317
3317
|
))
|
|
3318
3318
|
})))),
|
|
@@ -3321,7 +3321,7 @@ const EditorOptions = {
|
|
|
3321
3321
|
'colorDecorators',
|
|
3322
3322
|
true,
|
|
3323
3323
|
{ description: ( localize(
|
|
3324
|
-
|
|
3324
|
+
321,
|
|
3325
3325
|
"Controls whether the editor should render the inline color decorators and color picker."
|
|
3326
3326
|
)) }
|
|
3327
3327
|
)))),
|
|
@@ -3333,14 +3333,14 @@ const EditorOptions = {
|
|
|
3333
3333
|
{
|
|
3334
3334
|
enumDescriptions: [
|
|
3335
3335
|
( localize(
|
|
3336
|
-
|
|
3336
|
+
322,
|
|
3337
3337
|
"Make the color picker appear both on click and hover of the color decorator"
|
|
3338
3338
|
)),
|
|
3339
|
-
( localize(
|
|
3340
|
-
( localize(
|
|
3339
|
+
( localize(323, "Make the color picker appear on hover of the color decorator")),
|
|
3340
|
+
( localize(324, "Make the color picker appear on click of the color decorator"))
|
|
3341
3341
|
],
|
|
3342
3342
|
description: ( localize(
|
|
3343
|
-
|
|
3343
|
+
325,
|
|
3344
3344
|
"Controls the condition to make a color picker appear from a color decorator"
|
|
3345
3345
|
))
|
|
3346
3346
|
}
|
|
@@ -3353,7 +3353,7 @@ const EditorOptions = {
|
|
|
3353
3353
|
1000000,
|
|
3354
3354
|
{
|
|
3355
3355
|
markdownDescription: ( localize(
|
|
3356
|
-
|
|
3356
|
+
326,
|
|
3357
3357
|
"Controls the max number of color decorators that can be rendered in an editor at once."
|
|
3358
3358
|
))
|
|
3359
3359
|
}
|
|
@@ -3363,7 +3363,7 @@ const EditorOptions = {
|
|
|
3363
3363
|
'columnSelection',
|
|
3364
3364
|
false,
|
|
3365
3365
|
{ description: ( localize(
|
|
3366
|
-
|
|
3366
|
+
327,
|
|
3367
3367
|
"Enable that the selection with the mouse and keys is doing column selection."
|
|
3368
3368
|
)) }
|
|
3369
3369
|
)))),
|
|
@@ -3374,7 +3374,7 @@ const EditorOptions = {
|
|
|
3374
3374
|
'copyWithSyntaxHighlighting',
|
|
3375
3375
|
true,
|
|
3376
3376
|
{ description: ( localize(
|
|
3377
|
-
|
|
3377
|
+
328,
|
|
3378
3378
|
"Controls whether syntax highlighting should be copied into the clipboard."
|
|
3379
3379
|
)) }
|
|
3380
3380
|
)))),
|
|
@@ -3385,7 +3385,7 @@ const EditorOptions = {
|
|
|
3385
3385
|
'blink',
|
|
3386
3386
|
['blink', 'smooth', 'phase', 'expand', 'solid'],
|
|
3387
3387
|
_cursorBlinkingStyleFromString,
|
|
3388
|
-
{ description: ( localize(
|
|
3388
|
+
{ description: ( localize(329, "Control the cursor animation style.")) }
|
|
3389
3389
|
)))),
|
|
3390
3390
|
cursorSmoothCaretAnimation: register(( (new EditorStringEnumOption(
|
|
3391
3391
|
EditorOption.cursorSmoothCaretAnimation,
|
|
@@ -3394,14 +3394,14 @@ const EditorOptions = {
|
|
|
3394
3394
|
['off', 'explicit', 'on'],
|
|
3395
3395
|
{
|
|
3396
3396
|
enumDescriptions: [
|
|
3397
|
-
( localize(
|
|
3397
|
+
( localize(330, "Smooth caret animation is disabled.")),
|
|
3398
3398
|
( localize(
|
|
3399
|
-
|
|
3399
|
+
331,
|
|
3400
3400
|
"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
|
|
3401
3401
|
)),
|
|
3402
|
-
( localize(
|
|
3402
|
+
( localize(332, "Smooth caret animation is always enabled."))
|
|
3403
3403
|
],
|
|
3404
|
-
description: ( localize(
|
|
3404
|
+
description: ( localize(333, "Controls whether the smooth caret animation should be enabled."))
|
|
3405
3405
|
}
|
|
3406
3406
|
)))),
|
|
3407
3407
|
cursorStyle: register(( (new EditorEnumOption(
|
|
@@ -3411,7 +3411,7 @@ const EditorOptions = {
|
|
|
3411
3411
|
'line',
|
|
3412
3412
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3413
3413
|
_cursorStyleFromString,
|
|
3414
|
-
{ description: ( localize(
|
|
3414
|
+
{ description: ( localize(334, "Controls the cursor style.")) }
|
|
3415
3415
|
)))),
|
|
3416
3416
|
cursorSurroundingLines: register(( (new EditorIntOption(
|
|
3417
3417
|
EditorOption.cursorSurroundingLines,
|
|
@@ -3420,7 +3420,7 @@ const EditorOptions = {
|
|
|
3420
3420
|
0,
|
|
3421
3421
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3422
3422
|
{ description: ( localize(
|
|
3423
|
-
|
|
3423
|
+
335,
|
|
3424
3424
|
"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."
|
|
3425
3425
|
)) }
|
|
3426
3426
|
)))),
|
|
@@ -3432,12 +3432,12 @@ const EditorOptions = {
|
|
|
3432
3432
|
{
|
|
3433
3433
|
enumDescriptions: [
|
|
3434
3434
|
( localize(
|
|
3435
|
-
|
|
3435
|
+
336,
|
|
3436
3436
|
"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
|
|
3437
3437
|
)),
|
|
3438
|
-
( localize(
|
|
3438
|
+
( localize(337, "`cursorSurroundingLines` is enforced always."))
|
|
3439
3439
|
],
|
|
3440
|
-
markdownDescription: ( localize(
|
|
3440
|
+
markdownDescription: ( localize(338, "Controls when `#editor.cursorSurroundingLines#` should be enforced."))
|
|
3441
3441
|
}
|
|
3442
3442
|
)))),
|
|
3443
3443
|
cursorWidth: register(( (new EditorIntOption(
|
|
@@ -3447,7 +3447,7 @@ const EditorOptions = {
|
|
|
3447
3447
|
0,
|
|
3448
3448
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3449
3449
|
{ markdownDescription: ( localize(
|
|
3450
|
-
|
|
3450
|
+
339,
|
|
3451
3451
|
"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
|
|
3452
3452
|
)) }
|
|
3453
3453
|
)))),
|
|
@@ -3463,7 +3463,7 @@ const EditorOptions = {
|
|
|
3463
3463
|
'dragAndDrop',
|
|
3464
3464
|
true,
|
|
3465
3465
|
{ description: ( localize(
|
|
3466
|
-
|
|
3466
|
+
340,
|
|
3467
3467
|
"Controls whether the editor should allow moving selections via drag and drop."
|
|
3468
3468
|
)) }
|
|
3469
3469
|
)))),
|
|
@@ -3477,12 +3477,12 @@ const EditorOptions = {
|
|
|
3477
3477
|
['svg', 'font', 'off'],
|
|
3478
3478
|
{
|
|
3479
3479
|
enumDescriptions: [
|
|
3480
|
-
( localize(
|
|
3481
|
-
( localize(
|
|
3482
|
-
( localize(
|
|
3480
|
+
( localize(341, "Use a new rendering method with svgs.")),
|
|
3481
|
+
( localize(342, "Use a new rendering method with font characters.")),
|
|
3482
|
+
( localize(343, "Use the stable rendering method.")),
|
|
3483
3483
|
],
|
|
3484
3484
|
description: ( localize(
|
|
3485
|
-
|
|
3485
|
+
344,
|
|
3486
3486
|
"Controls whether whitespace is rendered with a new, experimental method."
|
|
3487
3487
|
))
|
|
3488
3488
|
}
|
|
@@ -3493,11 +3493,11 @@ const EditorOptions = {
|
|
|
3493
3493
|
'fastScrollSensitivity',
|
|
3494
3494
|
5,
|
|
3495
3495
|
x => (x <= 0 ? 5 : x),
|
|
3496
|
-
{ markdownDescription: ( localize(
|
|
3496
|
+
{ markdownDescription: ( localize(345, "Scrolling speed multiplier when pressing `Alt`.")) }
|
|
3497
3497
|
)))),
|
|
3498
3498
|
find: register(( (new EditorFind()))),
|
|
3499
3499
|
fixedOverflowWidgets: register(( (new EditorBooleanOption(EditorOption.fixedOverflowWidgets, 'fixedOverflowWidgets', false)))),
|
|
3500
|
-
folding: register(( (new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(
|
|
3500
|
+
folding: register(( (new EditorBooleanOption(EditorOption.folding, 'folding', true, { description: ( localize(346, "Controls whether the editor has code folding enabled.")) })))),
|
|
3501
3501
|
foldingStrategy: register(( (new EditorStringEnumOption(
|
|
3502
3502
|
EditorOption.foldingStrategy,
|
|
3503
3503
|
'foldingStrategy',
|
|
@@ -3506,25 +3506,25 @@ const EditorOptions = {
|
|
|
3506
3506
|
{
|
|
3507
3507
|
enumDescriptions: [
|
|
3508
3508
|
( localize(
|
|
3509
|
-
|
|
3509
|
+
347,
|
|
3510
3510
|
"Use a language-specific folding strategy if available, else the indentation-based one."
|
|
3511
3511
|
)),
|
|
3512
|
-
( localize(
|
|
3512
|
+
( localize(348, "Use the indentation-based folding strategy.")),
|
|
3513
3513
|
],
|
|
3514
|
-
description: ( localize(
|
|
3514
|
+
description: ( localize(349, "Controls the strategy for computing folding ranges."))
|
|
3515
3515
|
}
|
|
3516
3516
|
)))),
|
|
3517
3517
|
foldingHighlight: register(( (new EditorBooleanOption(
|
|
3518
3518
|
EditorOption.foldingHighlight,
|
|
3519
3519
|
'foldingHighlight',
|
|
3520
3520
|
true,
|
|
3521
|
-
{ description: ( localize(
|
|
3521
|
+
{ description: ( localize(350, "Controls whether the editor should highlight folded ranges.")) }
|
|
3522
3522
|
)))),
|
|
3523
3523
|
foldingImportsByDefault: register(( (new EditorBooleanOption(
|
|
3524
3524
|
EditorOption.foldingImportsByDefault,
|
|
3525
3525
|
'foldingImportsByDefault',
|
|
3526
3526
|
false,
|
|
3527
|
-
{ description: ( localize(
|
|
3527
|
+
{ description: ( localize(351, "Controls whether the editor automatically collapses import ranges.")) }
|
|
3528
3528
|
)))),
|
|
3529
3529
|
foldingMaximumRegions: register(( (new EditorIntOption(
|
|
3530
3530
|
EditorOption.foldingMaximumRegions,
|
|
@@ -3533,7 +3533,7 @@ const EditorOptions = {
|
|
|
3533
3533
|
10,
|
|
3534
3534
|
65000,
|
|
3535
3535
|
{ description: ( localize(
|
|
3536
|
-
|
|
3536
|
+
352,
|
|
3537
3537
|
"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."
|
|
3538
3538
|
)) }
|
|
3539
3539
|
)))),
|
|
@@ -3542,7 +3542,7 @@ const EditorOptions = {
|
|
|
3542
3542
|
'unfoldOnClickAfterEndOfLine',
|
|
3543
3543
|
false,
|
|
3544
3544
|
{ description: ( localize(
|
|
3545
|
-
|
|
3545
|
+
353,
|
|
3546
3546
|
"Controls whether clicking on the empty content after a folded line will unfold the line."
|
|
3547
3547
|
)) }
|
|
3548
3548
|
)))),
|
|
@@ -3550,7 +3550,7 @@ const EditorOptions = {
|
|
|
3550
3550
|
EditorOption.fontFamily,
|
|
3551
3551
|
'fontFamily',
|
|
3552
3552
|
EDITOR_FONT_DEFAULTS.fontFamily,
|
|
3553
|
-
{ description: ( localize(
|
|
3553
|
+
{ description: ( localize(354, "Controls the font family.")) }
|
|
3554
3554
|
)))),
|
|
3555
3555
|
fontInfo: register(( (new EditorFontInfo()))),
|
|
3556
3556
|
fontLigatures2: register(( (new EditorFontLigatures()))),
|
|
@@ -3562,7 +3562,7 @@ const EditorOptions = {
|
|
|
3562
3562
|
'formatOnPaste',
|
|
3563
3563
|
false,
|
|
3564
3564
|
{ description: ( localize(
|
|
3565
|
-
|
|
3565
|
+
355,
|
|
3566
3566
|
"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."
|
|
3567
3567
|
)) }
|
|
3568
3568
|
)))),
|
|
@@ -3571,7 +3571,7 @@ const EditorOptions = {
|
|
|
3571
3571
|
'formatOnType',
|
|
3572
3572
|
false,
|
|
3573
3573
|
{ description: ( localize(
|
|
3574
|
-
|
|
3574
|
+
356,
|
|
3575
3575
|
"Controls whether the editor should automatically format the line after typing."
|
|
3576
3576
|
)) }
|
|
3577
3577
|
)))),
|
|
@@ -3580,7 +3580,7 @@ const EditorOptions = {
|
|
|
3580
3580
|
'glyphMargin',
|
|
3581
3581
|
true,
|
|
3582
3582
|
{ description: ( localize(
|
|
3583
|
-
|
|
3583
|
+
357,
|
|
3584
3584
|
"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
|
|
3585
3585
|
)) }
|
|
3586
3586
|
)))),
|
|
@@ -3589,7 +3589,7 @@ const EditorOptions = {
|
|
|
3589
3589
|
EditorOption.hideCursorInOverviewRuler,
|
|
3590
3590
|
'hideCursorInOverviewRuler',
|
|
3591
3591
|
false,
|
|
3592
|
-
{ description: ( localize(
|
|
3592
|
+
{ description: ( localize(358, "Controls whether the cursor should be hidden in the overview ruler.")) }
|
|
3593
3593
|
)))),
|
|
3594
3594
|
hover: register(( (new EditorHover()))),
|
|
3595
3595
|
inDiffEditor: register(( (new EditorBooleanOption(EditorOption.inDiffEditor, 'inDiffEditor', false)))),
|
|
@@ -3598,7 +3598,7 @@ const EditorOptions = {
|
|
|
3598
3598
|
'letterSpacing',
|
|
3599
3599
|
EDITOR_FONT_DEFAULTS.letterSpacing,
|
|
3600
3600
|
x => EditorFloatOption.clamp(x, -5, 20),
|
|
3601
|
-
{ description: ( localize(
|
|
3601
|
+
{ description: ( localize(359, "Controls the letter spacing in pixels.")) }
|
|
3602
3602
|
)))),
|
|
3603
3603
|
lightbulb: register(( (new EditorLightbulb()))),
|
|
3604
3604
|
lineDecorationsWidth: register(( (new EditorLineDecorationsWidth()))),
|
|
@@ -3610,12 +3610,12 @@ const EditorOptions = {
|
|
|
3610
3610
|
'linkedEditing',
|
|
3611
3611
|
false,
|
|
3612
3612
|
{ description: ( localize(
|
|
3613
|
-
|
|
3613
|
+
360,
|
|
3614
3614
|
"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
|
|
3615
3615
|
)) }
|
|
3616
3616
|
)))),
|
|
3617
3617
|
links: register(( (new EditorBooleanOption(EditorOption.links, 'links', true, { description: ( localize(
|
|
3618
|
-
|
|
3618
|
+
361,
|
|
3619
3619
|
"Controls whether the editor should detect links and make them clickable."
|
|
3620
3620
|
)) })))),
|
|
3621
3621
|
matchBrackets: register(( (new EditorStringEnumOption(
|
|
@@ -3623,7 +3623,7 @@ const EditorOptions = {
|
|
|
3623
3623
|
'matchBrackets',
|
|
3624
3624
|
'always',
|
|
3625
3625
|
['always', 'near', 'never'],
|
|
3626
|
-
{ description: ( localize(
|
|
3626
|
+
{ description: ( localize(362, "Highlight matching brackets.")) }
|
|
3627
3627
|
)))),
|
|
3628
3628
|
minimap: register(( (new EditorMinimap()))),
|
|
3629
3629
|
mouseStyle: register(( (new EditorStringEnumOption(EditorOption.mouseStyle, 'mouseStyle', 'text', ['text', 'default', 'copy'])))),
|
|
@@ -3633,18 +3633,18 @@ const EditorOptions = {
|
|
|
3633
3633
|
1,
|
|
3634
3634
|
x => (x === 0 ? 1 : x),
|
|
3635
3635
|
{ markdownDescription: ( localize(
|
|
3636
|
-
|
|
3636
|
+
363,
|
|
3637
3637
|
"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
|
|
3638
3638
|
)) }
|
|
3639
3639
|
)))),
|
|
3640
3640
|
mouseWheelZoom: register(( (new EditorBooleanOption(EditorOption.mouseWheelZoom, 'mouseWheelZoom', false, {
|
|
3641
3641
|
markdownDescription: isMacintosh
|
|
3642
3642
|
? ( localize(
|
|
3643
|
-
|
|
3643
|
+
364,
|
|
3644
3644
|
"Zoom the font of the editor when using mouse wheel and holding `Cmd`."
|
|
3645
3645
|
))
|
|
3646
3646
|
: ( localize(
|
|
3647
|
-
|
|
3647
|
+
365,
|
|
3648
3648
|
"Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
|
|
3649
3649
|
))
|
|
3650
3650
|
})))),
|
|
@@ -3652,7 +3652,7 @@ const EditorOptions = {
|
|
|
3652
3652
|
EditorOption.multiCursorMergeOverlapping,
|
|
3653
3653
|
'multiCursorMergeOverlapping',
|
|
3654
3654
|
true,
|
|
3655
|
-
{ description: ( localize(
|
|
3655
|
+
{ description: ( localize(366, "Merge multiple cursors when they are overlapping.")) }
|
|
3656
3656
|
)))),
|
|
3657
3657
|
multiCursorModifier: register(( (new EditorEnumOption(
|
|
3658
3658
|
EditorOption.multiCursorModifier,
|
|
@@ -3663,11 +3663,11 @@ const EditorOptions = {
|
|
|
3663
3663
|
_multiCursorModifierFromString,
|
|
3664
3664
|
{
|
|
3665
3665
|
markdownEnumDescriptions: [
|
|
3666
|
-
( localize(
|
|
3667
|
-
( localize(
|
|
3666
|
+
( localize(367, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
|
|
3667
|
+
( localize(368, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
|
|
3668
3668
|
],
|
|
3669
3669
|
markdownDescription: ( localize(
|
|
3670
|
-
|
|
3670
|
+
369,
|
|
3671
3671
|
"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)."
|
|
3672
3672
|
))
|
|
3673
3673
|
}
|
|
@@ -3679,18 +3679,18 @@ const EditorOptions = {
|
|
|
3679
3679
|
['spread', 'full'],
|
|
3680
3680
|
{
|
|
3681
3681
|
markdownEnumDescriptions: [
|
|
3682
|
-
( localize(
|
|
3683
|
-
( localize(
|
|
3682
|
+
( localize(370, "Each cursor pastes a single line of the text.")),
|
|
3683
|
+
( localize(371, "Each cursor pastes the full text."))
|
|
3684
3684
|
],
|
|
3685
3685
|
markdownDescription: ( localize(
|
|
3686
|
-
|
|
3686
|
+
372,
|
|
3687
3687
|
"Controls pasting when the line count of the pasted text matches the cursor count."
|
|
3688
3688
|
))
|
|
3689
3689
|
}
|
|
3690
3690
|
)))),
|
|
3691
3691
|
multiCursorLimit: register(( (new EditorIntOption(EditorOption.multiCursorLimit, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3692
3692
|
markdownDescription: ( localize(
|
|
3693
|
-
|
|
3693
|
+
373,
|
|
3694
3694
|
"Controls the max number of cursors that can be in an active editor at once."
|
|
3695
3695
|
))
|
|
3696
3696
|
})))),
|
|
@@ -3701,12 +3701,12 @@ const EditorOptions = {
|
|
|
3701
3701
|
['off', 'singleFile', 'multiFile'],
|
|
3702
3702
|
{
|
|
3703
3703
|
markdownEnumDescriptions: [
|
|
3704
|
-
( localize(
|
|
3705
|
-
( localize(
|
|
3706
|
-
( localize(
|
|
3704
|
+
( localize(374, "Does not highlight occurrences.")),
|
|
3705
|
+
( localize(375, "Highlights occurrences only in the current file.")),
|
|
3706
|
+
( localize(376, "Experimental: Highlights occurrences across all valid open files."))
|
|
3707
3707
|
],
|
|
3708
3708
|
markdownDescription: ( localize(
|
|
3709
|
-
|
|
3709
|
+
377,
|
|
3710
3710
|
"Controls whether occurrences should be highlighted across open files."
|
|
3711
3711
|
))
|
|
3712
3712
|
}
|
|
@@ -3716,7 +3716,7 @@ const EditorOptions = {
|
|
|
3716
3716
|
'overviewRulerBorder',
|
|
3717
3717
|
true,
|
|
3718
3718
|
{ description: ( localize(
|
|
3719
|
-
|
|
3719
|
+
378,
|
|
3720
3720
|
"Controls whether a border should be drawn around the overview ruler."
|
|
3721
3721
|
)) }
|
|
3722
3722
|
)))),
|
|
@@ -3731,11 +3731,11 @@ const EditorOptions = {
|
|
|
3731
3731
|
['tree', 'editor'],
|
|
3732
3732
|
{
|
|
3733
3733
|
enumDescriptions: [
|
|
3734
|
-
( localize(
|
|
3735
|
-
( localize(
|
|
3734
|
+
( localize(379, "Focus the tree when opening peek")),
|
|
3735
|
+
( localize(380, "Focus the editor when opening peek"))
|
|
3736
3736
|
],
|
|
3737
3737
|
description: ( localize(
|
|
3738
|
-
|
|
3738
|
+
381,
|
|
3739
3739
|
"Controls whether to focus the inline editor or the tree in the peek widget."
|
|
3740
3740
|
))
|
|
3741
3741
|
}
|
|
@@ -3746,7 +3746,7 @@ const EditorOptions = {
|
|
|
3746
3746
|
'definitionLinkOpensInPeek',
|
|
3747
3747
|
false,
|
|
3748
3748
|
{ description: ( localize(
|
|
3749
|
-
|
|
3749
|
+
382,
|
|
3750
3750
|
"Controls whether the Go to Definition mouse gesture always opens the peek widget."
|
|
3751
3751
|
)) }
|
|
3752
3752
|
)))),
|
|
@@ -3758,7 +3758,7 @@ const EditorOptions = {
|
|
|
3758
3758
|
0,
|
|
3759
3759
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3760
3760
|
{ description: ( localize(
|
|
3761
|
-
|
|
3761
|
+
383,
|
|
3762
3762
|
"Controls the delay in milliseconds after which quick suggestions will show up."
|
|
3763
3763
|
)) }
|
|
3764
3764
|
)))),
|
|
@@ -3768,20 +3768,20 @@ const EditorOptions = {
|
|
|
3768
3768
|
EditorOption.renameOnType,
|
|
3769
3769
|
'renameOnType',
|
|
3770
3770
|
false,
|
|
3771
|
-
{ description: ( localize(
|
|
3771
|
+
{ description: ( localize(384, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localize(385, "Deprecated, use `editor.linkedEditing` instead.")) }
|
|
3772
3772
|
)))),
|
|
3773
3773
|
renderControlCharacters: register(( (new EditorBooleanOption(
|
|
3774
3774
|
EditorOption.renderControlCharacters,
|
|
3775
3775
|
'renderControlCharacters',
|
|
3776
3776
|
true,
|
|
3777
|
-
{ description: ( localize(
|
|
3777
|
+
{ description: ( localize(386, "Controls whether the editor should render control characters.")), restricted: true }
|
|
3778
3778
|
)))),
|
|
3779
3779
|
renderFinalNewline: register(( (new EditorStringEnumOption(
|
|
3780
3780
|
EditorOption.renderFinalNewline,
|
|
3781
3781
|
'renderFinalNewline',
|
|
3782
3782
|
(isLinux ? 'dimmed' : 'on'),
|
|
3783
3783
|
['off', 'on', 'dimmed'],
|
|
3784
|
-
{ description: ( localize(
|
|
3784
|
+
{ description: ( localize(387, "Render last line number when the file ends with a newline.")) }
|
|
3785
3785
|
)))),
|
|
3786
3786
|
renderLineHighlight: register(( (new EditorStringEnumOption(
|
|
3787
3787
|
EditorOption.renderLineHighlight,
|
|
@@ -3793,9 +3793,9 @@ const EditorOptions = {
|
|
|
3793
3793
|
'',
|
|
3794
3794
|
'',
|
|
3795
3795
|
'',
|
|
3796
|
-
( localize(
|
|
3796
|
+
( localize(388, "Highlights both the gutter and the current line.")),
|
|
3797
3797
|
],
|
|
3798
|
-
description: ( localize(
|
|
3798
|
+
description: ( localize(389, "Controls how the editor should render the current line highlight."))
|
|
3799
3799
|
}
|
|
3800
3800
|
)))),
|
|
3801
3801
|
renderLineHighlightOnlyWhenFocus: register(( (new EditorBooleanOption(
|
|
@@ -3803,7 +3803,7 @@ const EditorOptions = {
|
|
|
3803
3803
|
'renderLineHighlightOnlyWhenFocus',
|
|
3804
3804
|
false,
|
|
3805
3805
|
{ description: ( localize(
|
|
3806
|
-
|
|
3806
|
+
390,
|
|
3807
3807
|
"Controls if the editor should render the current line highlight only when the editor is focused."
|
|
3808
3808
|
)) }
|
|
3809
3809
|
)))),
|
|
@@ -3822,14 +3822,14 @@ const EditorOptions = {
|
|
|
3822
3822
|
enumDescriptions: [
|
|
3823
3823
|
'',
|
|
3824
3824
|
( localize(
|
|
3825
|
-
|
|
3825
|
+
391,
|
|
3826
3826
|
"Render whitespace characters except for single spaces between words."
|
|
3827
3827
|
)),
|
|
3828
|
-
( localize(
|
|
3829
|
-
( localize(
|
|
3828
|
+
( localize(392, "Render whitespace characters only on selected text.")),
|
|
3829
|
+
( localize(393, "Render only trailing whitespace characters.")),
|
|
3830
3830
|
''
|
|
3831
3831
|
],
|
|
3832
|
-
description: ( localize(
|
|
3832
|
+
description: ( localize(394, "Controls how the editor should render whitespace characters."))
|
|
3833
3833
|
}
|
|
3834
3834
|
)))),
|
|
3835
3835
|
revealHorizontalRightPadding: register(( (new EditorIntOption(
|
|
@@ -3843,7 +3843,7 @@ const EditorOptions = {
|
|
|
3843
3843
|
EditorOption.roundedSelection,
|
|
3844
3844
|
'roundedSelection',
|
|
3845
3845
|
true,
|
|
3846
|
-
{ description: ( localize(
|
|
3846
|
+
{ description: ( localize(395, "Controls whether selections should have rounded corners.")) }
|
|
3847
3847
|
)))),
|
|
3848
3848
|
rulers: register(( (new EditorRulers()))),
|
|
3849
3849
|
scrollbar: register(( (new EditorScrollbar()))),
|
|
@@ -3854,7 +3854,7 @@ const EditorOptions = {
|
|
|
3854
3854
|
0,
|
|
3855
3855
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
3856
3856
|
{ description: ( localize(
|
|
3857
|
-
|
|
3857
|
+
396,
|
|
3858
3858
|
"Controls the number of extra characters beyond which the editor will scroll horizontally."
|
|
3859
3859
|
)) }
|
|
3860
3860
|
)))),
|
|
@@ -3862,19 +3862,19 @@ const EditorOptions = {
|
|
|
3862
3862
|
EditorOption.scrollBeyondLastLine,
|
|
3863
3863
|
'scrollBeyondLastLine',
|
|
3864
3864
|
true,
|
|
3865
|
-
{ description: ( localize(
|
|
3865
|
+
{ description: ( localize(397, "Controls whether the editor will scroll beyond the last line.")) }
|
|
3866
3866
|
)))),
|
|
3867
3867
|
scrollPredominantAxis: register(( (new EditorBooleanOption(
|
|
3868
3868
|
EditorOption.scrollPredominantAxis,
|
|
3869
3869
|
'scrollPredominantAxis',
|
|
3870
3870
|
true,
|
|
3871
3871
|
{ description: ( localize(
|
|
3872
|
-
|
|
3872
|
+
398,
|
|
3873
3873
|
"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."
|
|
3874
3874
|
)) }
|
|
3875
3875
|
)))),
|
|
3876
3876
|
selectionClipboard: register(( (new EditorBooleanOption(EditorOption.selectionClipboard, 'selectionClipboard', true, {
|
|
3877
|
-
description: ( localize(
|
|
3877
|
+
description: ( localize(399, "Controls whether the Linux primary clipboard should be supported.")),
|
|
3878
3878
|
included: isLinux
|
|
3879
3879
|
})))),
|
|
3880
3880
|
selectionHighlight: register(( (new EditorBooleanOption(
|
|
@@ -3882,7 +3882,7 @@ const EditorOptions = {
|
|
|
3882
3882
|
'selectionHighlight',
|
|
3883
3883
|
true,
|
|
3884
3884
|
{ description: ( localize(
|
|
3885
|
-
|
|
3885
|
+
400,
|
|
3886
3886
|
"Controls whether the editor should highlight matches similar to the selection."
|
|
3887
3887
|
)) }
|
|
3888
3888
|
)))),
|
|
@@ -3894,19 +3894,19 @@ const EditorOptions = {
|
|
|
3894
3894
|
['always', 'never', 'mouseover'],
|
|
3895
3895
|
{
|
|
3896
3896
|
enumDescriptions: [
|
|
3897
|
-
( localize(
|
|
3898
|
-
( localize(
|
|
3899
|
-
( localize(
|
|
3897
|
+
( localize(401, "Always show the folding controls.")),
|
|
3898
|
+
( localize(402, "Never show the folding controls and reduce the gutter size.")),
|
|
3899
|
+
( localize(403, "Only show the folding controls when the mouse is over the gutter.")),
|
|
3900
3900
|
],
|
|
3901
|
-
description: ( localize(
|
|
3901
|
+
description: ( localize(404, "Controls when the folding controls on the gutter are shown."))
|
|
3902
3902
|
}
|
|
3903
3903
|
)))),
|
|
3904
|
-
showUnused: register(( (new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(
|
|
3904
|
+
showUnused: register(( (new EditorBooleanOption(EditorOption.showUnused, 'showUnused', true, { description: ( localize(405, "Controls fading out of unused code.")) })))),
|
|
3905
3905
|
showDeprecated: register(( (new EditorBooleanOption(
|
|
3906
3906
|
EditorOption.showDeprecated,
|
|
3907
3907
|
'showDeprecated',
|
|
3908
3908
|
true,
|
|
3909
|
-
{ description: ( localize(
|
|
3909
|
+
{ description: ( localize(406, "Controls strikethrough deprecated variables.")) }
|
|
3910
3910
|
)))),
|
|
3911
3911
|
inlayHints: register(( (new EditorInlayHints()))),
|
|
3912
3912
|
snippetSuggestions: register(( (new EditorStringEnumOption(
|
|
@@ -3916,13 +3916,13 @@ const EditorOptions = {
|
|
|
3916
3916
|
['top', 'bottom', 'inline', 'none'],
|
|
3917
3917
|
{
|
|
3918
3918
|
enumDescriptions: [
|
|
3919
|
-
( localize(
|
|
3920
|
-
( localize(
|
|
3921
|
-
( localize(
|
|
3922
|
-
( localize(
|
|
3919
|
+
( localize(407, "Show snippet suggestions on top of other suggestions.")),
|
|
3920
|
+
( localize(408, "Show snippet suggestions below other suggestions.")),
|
|
3921
|
+
( localize(409, "Show snippets suggestions with other suggestions.")),
|
|
3922
|
+
( localize(410, "Do not show snippet suggestions.")),
|
|
3923
3923
|
],
|
|
3924
3924
|
description: ( localize(
|
|
3925
|
-
|
|
3925
|
+
411,
|
|
3926
3926
|
"Controls whether snippets are shown with other suggestions and how they are sorted."
|
|
3927
3927
|
))
|
|
3928
3928
|
}
|
|
@@ -3932,7 +3932,7 @@ const EditorOptions = {
|
|
|
3932
3932
|
EditorOption.smoothScrolling,
|
|
3933
3933
|
'smoothScrolling',
|
|
3934
3934
|
false,
|
|
3935
|
-
{ description: ( localize(
|
|
3935
|
+
{ description: ( localize(412, "Controls whether the editor will scroll using an animation.")) }
|
|
3936
3936
|
)))),
|
|
3937
3937
|
stopRenderingLineAfter: register(( (new EditorIntOption(
|
|
3938
3938
|
EditorOption.stopRenderingLineAfter,
|
|
@@ -3949,7 +3949,7 @@ const EditorOptions = {
|
|
|
3949
3949
|
'inlineCompletionsAccessibilityVerbose',
|
|
3950
3950
|
false,
|
|
3951
3951
|
{ description: ( localize(
|
|
3952
|
-
|
|
3952
|
+
413,
|
|
3953
3953
|
"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
|
|
3954
3954
|
)) }
|
|
3955
3955
|
)))),
|
|
@@ -3960,7 +3960,7 @@ const EditorOptions = {
|
|
|
3960
3960
|
0,
|
|
3961
3961
|
1000,
|
|
3962
3962
|
{ markdownDescription: ( localize(
|
|
3963
|
-
|
|
3963
|
+
414,
|
|
3964
3964
|
"Font size for the suggest widget. When set to {0}, the value of {1} is used.",
|
|
3965
3965
|
'`0`',
|
|
3966
3966
|
'`#editor.fontSize#`'
|
|
@@ -3973,7 +3973,7 @@ const EditorOptions = {
|
|
|
3973
3973
|
0,
|
|
3974
3974
|
1000,
|
|
3975
3975
|
{ markdownDescription: ( localize(
|
|
3976
|
-
|
|
3976
|
+
415,
|
|
3977
3977
|
"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
|
|
3978
3978
|
'`0`',
|
|
3979
3979
|
'`#editor.lineHeight#`'
|
|
@@ -3984,7 +3984,7 @@ const EditorOptions = {
|
|
|
3984
3984
|
'suggestOnTriggerCharacters',
|
|
3985
3985
|
true,
|
|
3986
3986
|
{ description: ( localize(
|
|
3987
|
-
|
|
3987
|
+
416,
|
|
3988
3988
|
"Controls whether suggestions should automatically show up when typing trigger characters."
|
|
3989
3989
|
)) }
|
|
3990
3990
|
)))),
|
|
@@ -3995,18 +3995,18 @@ const EditorOptions = {
|
|
|
3995
3995
|
['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
|
|
3996
3996
|
{
|
|
3997
3997
|
markdownEnumDescriptions: [
|
|
3998
|
-
( localize(
|
|
3998
|
+
( localize(417, "Always select the first suggestion.")),
|
|
3999
3999
|
( localize(
|
|
4000
|
-
|
|
4000
|
+
418,
|
|
4001
4001
|
"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
|
|
4002
4002
|
)),
|
|
4003
4003
|
( localize(
|
|
4004
|
-
|
|
4004
|
+
419,
|
|
4005
4005
|
"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
|
|
4006
4006
|
)),
|
|
4007
4007
|
],
|
|
4008
4008
|
description: ( localize(
|
|
4009
|
-
|
|
4009
|
+
420,
|
|
4010
4010
|
"Controls how suggestions are pre-selected when showing the suggest list."
|
|
4011
4011
|
))
|
|
4012
4012
|
}
|
|
@@ -4019,16 +4019,16 @@ const EditorOptions = {
|
|
|
4019
4019
|
{
|
|
4020
4020
|
enumDescriptions: [
|
|
4021
4021
|
( localize(
|
|
4022
|
-
|
|
4022
|
+
421,
|
|
4023
4023
|
"Tab complete will insert the best matching suggestion when pressing tab."
|
|
4024
4024
|
)),
|
|
4025
|
-
( localize(
|
|
4025
|
+
( localize(422, "Disable tab completions.")),
|
|
4026
4026
|
( localize(
|
|
4027
|
-
|
|
4027
|
+
423,
|
|
4028
4028
|
"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
|
|
4029
4029
|
)),
|
|
4030
4030
|
],
|
|
4031
|
-
description: ( localize(
|
|
4031
|
+
description: ( localize(424, "Enables tab completions."))
|
|
4032
4032
|
}
|
|
4033
4033
|
)))),
|
|
4034
4034
|
tabIndex: register(( (new EditorIntOption(EditorOption.tabIndex, 'tabIndex', 0, -1, Constants.MAX_SAFE_SMALL_INTEGER)))),
|
|
@@ -4040,11 +4040,11 @@ const EditorOptions = {
|
|
|
4040
4040
|
['auto', 'off', 'prompt'],
|
|
4041
4041
|
{
|
|
4042
4042
|
enumDescriptions: [
|
|
4043
|
-
( localize(
|
|
4044
|
-
( localize(
|
|
4045
|
-
( localize(
|
|
4043
|
+
( localize(425, "Unusual line terminators are automatically removed.")),
|
|
4044
|
+
( localize(426, "Unusual line terminators are ignored.")),
|
|
4045
|
+
( localize(427, "Unusual line terminators prompt to be removed.")),
|
|
4046
4046
|
],
|
|
4047
|
-
description: ( localize(
|
|
4047
|
+
description: ( localize(428, "Remove unusual line terminators that might cause problems."))
|
|
4048
4048
|
}
|
|
4049
4049
|
)))),
|
|
4050
4050
|
useShadowDOM: register(( (new EditorBooleanOption(EditorOption.useShadowDOM, 'useShadowDOM', true)))),
|
|
@@ -4053,20 +4053,20 @@ const EditorOptions = {
|
|
|
4053
4053
|
'useTabStops',
|
|
4054
4054
|
true,
|
|
4055
4055
|
{ description: ( localize(
|
|
4056
|
-
|
|
4056
|
+
429,
|
|
4057
4057
|
"Spaces and tabs are inserted and deleted in alignment with tab stops."
|
|
4058
4058
|
)) }
|
|
4059
4059
|
)))),
|
|
4060
4060
|
wordBreak: register(( (new EditorStringEnumOption(EditorOption.wordBreak, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
4061
4061
|
markdownEnumDescriptions: [
|
|
4062
|
-
( localize(
|
|
4062
|
+
( localize(430, "Use the default line break rule.")),
|
|
4063
4063
|
( localize(
|
|
4064
|
-
|
|
4064
|
+
431,
|
|
4065
4065
|
"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
|
|
4066
4066
|
)),
|
|
4067
4067
|
],
|
|
4068
4068
|
description: ( localize(
|
|
4069
|
-
|
|
4069
|
+
432,
|
|
4070
4070
|
"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
|
|
4071
4071
|
))
|
|
4072
4072
|
})))),
|
|
@@ -4076,7 +4076,7 @@ const EditorOptions = {
|
|
|
4076
4076
|
'wordSeparators',
|
|
4077
4077
|
USUAL_WORD_SEPARATORS,
|
|
4078
4078
|
{ description: ( localize(
|
|
4079
|
-
|
|
4079
|
+
433,
|
|
4080
4080
|
"Characters that will be used as word separators when doing word related navigations or operations."
|
|
4081
4081
|
)) }
|
|
4082
4082
|
)))),
|
|
@@ -4087,15 +4087,15 @@ const EditorOptions = {
|
|
|
4087
4087
|
['off', 'on', 'wordWrapColumn', 'bounded'],
|
|
4088
4088
|
{
|
|
4089
4089
|
markdownEnumDescriptions: [
|
|
4090
|
-
( localize(
|
|
4091
|
-
( localize(
|
|
4092
|
-
( localize(
|
|
4090
|
+
( localize(434, "Lines will never wrap.")),
|
|
4091
|
+
( localize(435, "Lines will wrap at the viewport width.")),
|
|
4092
|
+
( localize(436, "Lines will wrap at `#editor.wordWrapColumn#`.")),
|
|
4093
4093
|
( localize(
|
|
4094
|
-
|
|
4094
|
+
437,
|
|
4095
4095
|
"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
|
|
4096
4096
|
)),
|
|
4097
4097
|
],
|
|
4098
|
-
description: ( localize(
|
|
4098
|
+
description: ( localize(438, "Controls how lines should wrap."))
|
|
4099
4099
|
}
|
|
4100
4100
|
)))),
|
|
4101
4101
|
wordWrapBreakAfterCharacters: register(( (new EditorStringOption(
|
|
@@ -4116,7 +4116,7 @@ const EditorOptions = {
|
|
|
4116
4116
|
Constants.MAX_SAFE_SMALL_INTEGER,
|
|
4117
4117
|
{
|
|
4118
4118
|
markdownDescription: ( localize(
|
|
4119
|
-
|
|
4119
|
+
439,
|
|
4120
4120
|
"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
|
|
4121
4121
|
))
|
|
4122
4122
|
}
|
|
@@ -4139,7 +4139,7 @@ const EditorOptions = {
|
|
|
4139
4139
|
'defaultColorDecorators',
|
|
4140
4140
|
false,
|
|
4141
4141
|
{ markdownDescription: ( localize(
|
|
4142
|
-
|
|
4142
|
+
440,
|
|
4143
4143
|
"Controls whether inline color decorations should be shown using the default document color provider"
|
|
4144
4144
|
)) }
|
|
4145
4145
|
)))),
|
|
@@ -4149,7 +4149,7 @@ const EditorOptions = {
|
|
|
4149
4149
|
'tabFocusMode',
|
|
4150
4150
|
false,
|
|
4151
4151
|
{ markdownDescription: ( localize(
|
|
4152
|
-
|
|
4152
|
+
441,
|
|
4153
4153
|
"Controls whether the editor receives tabs or defers them to the workbench for navigation."
|
|
4154
4154
|
)) }
|
|
4155
4155
|
)))),
|