monaco-editor 0.56.0-dev-20260121 → 0.56.0-dev-20260123
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/dev/vs/assets/{css.worker-C1mHXZTT.js → css.worker-ffp49_cC.js} +58 -56
- package/dev/vs/assets/{editor.worker-DMuwmZqI.js → editor.worker-waqpqn9S.js} +58 -56
- package/dev/vs/assets/{editorWebWorkerMain-BF9MKtzx.js → editorWebWorkerMain-rsQTQBqS.js} +58 -56
- package/dev/vs/assets/{html.worker-CnU9mi9l.js → html.worker-B-Dhwg_P.js} +58 -56
- package/dev/vs/assets/{json.worker-CnKP0LWf.js → json.worker-Cz-hJJ-X.js} +58 -56
- package/dev/vs/assets/{ts.worker-Cw4JXdL0.js → ts.worker-BHSjxfUg.js} +58 -56
- package/dev/vs/basic-languages/monaco.contribution.js +18 -18
- package/dev/vs/{css.worker-B9TJsr2Z.js → css.worker-DbKG6W5b.js} +2 -2
- package/dev/vs/{cssMode-B0VkNrib.js → cssMode-C3CjCC4D.js} +1 -1
- package/dev/vs/editor/editor.main.css +20 -49
- package/dev/vs/editor/editor.main.js +2 -2
- package/dev/vs/editor/editor.worker.js +1 -1
- package/dev/vs/{editor-CR18QzPP.js → editor-ByVgNwiX.js} +1232 -1136
- package/dev/vs/editor.js +1 -1
- package/dev/vs/{editorWorkerHost--0eDLpc-.js → editorWorkerHost-CSCfA6JO.js} +60 -58
- package/dev/vs/{freemarker2-Byr9HmH9.js → freemarker2-Bnmb8_zY.js} +1 -1
- package/dev/vs/{handlebars-BEVXeROF.js → handlebars-Dc4pj4ST.js} +1 -1
- package/dev/vs/{html-CetHjWIf.js → html-Gx48L-1h.js} +1 -1
- package/dev/vs/{html.worker-B4TnFQEA.js → html.worker-Q3fLApWB.js} +2 -2
- package/dev/vs/{htmlMode-BNKYUVNo.js → htmlMode-C0cIjK2m.js} +1 -1
- package/dev/vs/{index-g_7JbDIY.js → index-BmuewTCy.js} +1 -1
- package/dev/vs/index.js +1 -1
- package/dev/vs/{initialize-Bfvoywyr.js → initialize-J9jkp405.js} +1 -1
- package/dev/vs/{javascript-BEgEU725.js → javascript-D0xbuIYt.js} +1 -1
- package/dev/vs/{json.worker-C2LEGBju.js → json.worker-Byvb_Y0q.js} +2 -2
- package/dev/vs/{jsonMode-CT2UkfFE.js → jsonMode-Dc1J228j.js} +1 -1
- package/dev/vs/language/css/css.worker.js +1 -1
- package/dev/vs/language/css/monaco.contribution.js +1 -1
- package/dev/vs/language/html/html.worker.js +1 -1
- package/dev/vs/language/html/monaco.contribution.js +1 -1
- package/dev/vs/language/json/json.worker.js +1 -1
- package/dev/vs/language/json/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/monaco.contribution.js +1 -1
- package/dev/vs/language/typescript/ts.worker.js +1 -1
- package/dev/vs/{liquid-D-aiCb1P.js → liquid-BS75ollB.js} +1 -1
- package/dev/vs/{lspLanguageFeatures-CE9Occyu.js → lspLanguageFeatures-9tffJ5tN.js} +1 -1
- package/dev/vs/{mdx-DchJ8pbq.js → mdx-BafRHPZZ.js} +1 -1
- package/dev/vs/{monaco.contribution-CVBrIlxn.js → monaco.contribution-BOrU-t9u.js} +2 -2
- package/dev/vs/{monaco.contribution-CZxuzvA9.js → monaco.contribution-BuTPNIwn.js} +2 -2
- package/dev/vs/{monaco.contribution-Cw4OdERZ.js → monaco.contribution-D_m9AMAg.js} +2 -2
- package/dev/vs/{monaco.contribution-CHqb1dWh.js → monaco.contribution-DhNNHvGu.js} +2 -2
- package/dev/vs/nls/lang/cs.js +2 -2
- package/dev/vs/nls/lang/de.js +2 -2
- package/dev/vs/nls/lang/es.js +2 -2
- package/dev/vs/nls/lang/fr.js +2 -2
- package/dev/vs/nls/lang/it.js +2 -2
- package/dev/vs/nls/lang/ja.js +2 -2
- package/dev/vs/nls/lang/ko.js +2 -2
- package/dev/vs/nls/lang/pl.js +2 -2
- package/dev/vs/nls/lang/pt-br.js +2 -2
- package/dev/vs/nls/lang/ru.js +2 -2
- package/dev/vs/nls/lang/tr.js +2 -2
- package/dev/vs/nls/lang/zh-cn.js +2 -2
- package/dev/vs/nls/lang/zh-tw.js +2 -2
- package/dev/vs/{python-BCOSaCC8.js → python-D-c3bdyL.js} +1 -1
- package/dev/vs/{razor-BM2tZCwj.js → razor-v7al5kd4.js} +1 -1
- package/dev/vs/{toggleHighContrast-CLgtrrIB.js → toggleHighContrast-DkOkzJmE.js} +952 -839
- package/dev/vs/{ts.worker-CArJhH03.js → ts.worker-D8b1uxsf.js} +2 -2
- package/dev/vs/{tsMode-jpkv3SbL.js → tsMode-KTRrMuzt.js} +1 -1
- package/dev/vs/{typescript-f8pt88eA.js → typescript-BSiaiq-E.js} +1 -1
- package/dev/vs/{workers-zrUx_2Gw.js → workers-CRiEObDp.js} +1 -1
- package/dev/vs/{xml-CmSjtiR0.js → xml-CNu5z8S7.js} +1 -1
- package/dev/vs/{yaml-PRriLGdw.js → yaml-3Fy2WUAc.js} +1 -1
- package/esm/vs/base/browser/markdownRenderer.js +0 -1
- package/esm/vs/base/browser/ui/codicons/codicon/codicon.ttf +0 -0
- package/esm/vs/base/browser/ui/tree/abstractTree.js +15 -2
- package/esm/vs/base/common/actions.js +1 -1
- package/esm/vs/base/common/codiconsLibrary.js +2 -0
- package/esm/vs/base/common/errorMessage.js +6 -6
- package/esm/vs/base/common/keybindingLabels.js +20 -20
- package/esm/vs/base/common/network.js +0 -2
- package/esm/vs/base/common/observableInternal/observables/derivedImpl.js +10 -4
- package/esm/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +1 -1
- package/esm/vs/editor/browser/controller/editContext/screenReaderUtils.js +4 -4
- package/esm/vs/editor/browser/controller/editContext/textArea/textAreaEditContext.js +1 -1
- package/esm/vs/editor/browser/coreCommands.js +3 -3
- package/esm/vs/editor/browser/editorExtensions.js +9 -9
- package/esm/vs/editor/browser/gpu/viewGpuContext.js +1 -1
- package/esm/vs/editor/browser/observableCodeEditor.js +41 -0
- package/esm/vs/editor/browser/services/inlineCompletionsService.js +4 -4
- package/esm/vs/editor/browser/services/renameSymbolTrackerService.js +18 -0
- package/esm/vs/editor/browser/view.js +3 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLine.js +14 -0
- package/esm/vs/editor/browser/viewParts/viewLines/viewLines.js +7 -0
- package/esm/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +8 -2
- package/esm/vs/editor/browser/widget/diffEditor/commands.js +12 -12
- package/esm/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +14 -14
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +1 -1
- package/esm/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +7 -7
- package/esm/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +2 -2
- package/esm/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/esm/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/esm/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +2 -2
- package/esm/vs/editor/browser/widget/multiDiffEditor/style.css +2 -41
- package/esm/vs/editor/common/config/editorConfigurationSchema.js +55 -55
- package/esm/vs/editor/common/config/editorOptions.js +410 -410
- package/esm/vs/editor/common/core/editorColorRegistry.js +70 -70
- package/esm/vs/editor/common/editorContextKeys.js +48 -48
- package/esm/vs/editor/common/languages/modesRegistry.js +1 -1
- package/esm/vs/editor/common/languages.js +56 -56
- package/esm/vs/editor/common/model/editStack.js +1 -1
- package/esm/vs/editor/common/standaloneStrings.js +11 -11
- package/esm/vs/editor/common/viewLayout/viewLineRenderer.js +2 -2
- package/esm/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +6 -6
- package/esm/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +6 -6
- package/esm/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/esm/vs/editor/contrib/caretOperations/browser/transpose.js +1 -1
- package/esm/vs/editor/contrib/clipboard/browser/clipboard.js +17 -17
- package/esm/vs/editor/contrib/codeAction/browser/codeAction.js +1 -1
- package/esm/vs/editor/contrib/codeAction/browser/codeActionCommands.js +44 -34
- package/esm/vs/editor/contrib/codeAction/browser/codeActionContributions.js +5 -4
- package/esm/vs/editor/contrib/codeAction/browser/codeActionController.js +3 -3
- package/esm/vs/editor/contrib/codeAction/browser/codeActionMenu.js +8 -8
- package/esm/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +9 -9
- package/esm/vs/editor/contrib/codelens/browser/codelensController.js +2 -2
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +1 -1
- package/esm/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerActions.js +7 -7
- package/esm/vs/editor/contrib/comment/browser/comment.js +6 -6
- package/esm/vs/editor/contrib/contextmenu/browser/contextmenu.js +10 -10
- package/esm/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +2 -2
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +4 -4
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +9 -9
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +3 -3
- package/esm/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +2 -2
- package/esm/vs/editor/contrib/editorState/browser/keybindingCancellation.js +1 -1
- package/esm/vs/editor/contrib/find/browser/findController.js +16 -16
- package/esm/vs/editor/contrib/find/browser/findWidget.css +5 -6
- package/esm/vs/editor/contrib/find/browser/findWidget.js +26 -26
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.css +2 -1
- package/esm/vs/editor/contrib/floatingMenu/browser/floatingMenu.js +55 -47
- package/esm/vs/editor/contrib/folding/browser/folding.js +20 -20
- package/esm/vs/editor/contrib/folding/browser/foldingDecorations.js +9 -9
- package/esm/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/esm/vs/editor/contrib/format/browser/formatActions.js +2 -2
- package/esm/vs/editor/contrib/gotoError/browser/gotoError.js +8 -8
- package/esm/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +14 -14
- package/esm/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +40 -40
- package/esm/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +1 -1
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +3 -3
- package/esm/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +8 -8
- package/esm/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +3 -3
- package/esm/vs/editor/contrib/gpu/browser/gpuActions.js +4 -4
- package/esm/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/hoverActions.js +24 -24
- package/esm/vs/editor/contrib/hover/browser/hoverCopyButton.js +2 -2
- package/esm/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +7 -7
- package/esm/vs/editor/contrib/hover/browser/markerHoverParticipant.js +5 -5
- package/esm/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +2 -2
- package/esm/vs/editor/contrib/indentation/browser/indentation.js +20 -20
- package/esm/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +8 -8
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +21 -21
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +13 -13
- package/esm/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +2 -2
- package/esm/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/inlineCompletions/browser/model/renameSymbolProcessor.js +107 -18
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorMenu.js +6 -6
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/components/gutterIndicatorView.js +1 -1
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsViews/inlineEditsWordReplacementView.js +3 -3
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/theme.js +20 -20
- package/esm/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +2 -8
- package/esm/vs/editor/contrib/insertFinalNewLine/browser/insertFinalNewLine.js +1 -1
- package/esm/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/esm/vs/editor/contrib/linesOperations/browser/linesOperations.js +31 -31
- package/esm/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +2 -2
- package/esm/vs/editor/contrib/links/browser/links.js +10 -10
- package/esm/vs/editor/contrib/message/browser/messageController.js +1 -1
- package/esm/vs/editor/contrib/multicursor/browser/multicursor.js +22 -22
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHints.js +1 -1
- package/esm/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +4 -4
- package/esm/vs/editor/contrib/peekView/browser/peekView.js +18 -18
- package/esm/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +1 -1
- package/esm/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -10
- package/esm/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +32 -32
- package/esm/vs/editor/contrib/readOnlyMessage/browser/contribution.js +2 -2
- package/esm/vs/editor/contrib/rename/browser/rename.js +11 -11
- package/esm/vs/editor/contrib/rename/browser/renameWidget.js +7 -7
- package/esm/vs/editor/contrib/smartSelect/browser/smartSelect.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetController2.js +4 -4
- package/esm/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/esm/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggest.js +9 -9
- package/esm/vs/editor/contrib/suggest/browser/suggestController.js +11 -11
- package/esm/vs/editor/contrib/suggest/browser/suggestWidget.js +17 -17
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +2 -2
- package/esm/vs/editor/contrib/suggest/browser/wordContextKey.js +1 -1
- package/esm/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/esm/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +4 -4
- package/esm/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/bannerController.js +1 -1
- package/esm/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +24 -24
- package/esm/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +5 -5
- package/esm/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +9 -9
- package/esm/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +3 -3
- package/esm/vs/editor/contrib/wordOperations/browser/wordOperations.js +3 -3
- package/esm/vs/editor/standalone/browser/services/standaloneWebWorkerService.js +2 -1
- package/esm/vs/editor/standalone/browser/standaloneServices.js +2 -0
- package/esm/vs/nls/lang/cs.js +2 -2
- package/esm/vs/nls/lang/de.js +2 -2
- package/esm/vs/nls/lang/es.js +2 -2
- package/esm/vs/nls/lang/fr.js +2 -2
- package/esm/vs/nls/lang/it.js +2 -2
- package/esm/vs/nls/lang/ja.js +2 -2
- package/esm/vs/nls/lang/ko.js +2 -2
- package/esm/vs/nls/lang/pl.js +2 -2
- package/esm/vs/nls/lang/pt-br.js +2 -2
- package/esm/vs/nls/lang/ru.js +2 -2
- package/esm/vs/nls/lang/tr.js +2 -2
- package/esm/vs/nls/lang/zh-cn.js +2 -2
- package/esm/vs/nls/lang/zh-tw.js +2 -2
- package/esm/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +62 -62
- package/esm/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/esm/vs/platform/actionWidget/browser/actionList.js +35 -12
- package/esm/vs/platform/actionWidget/browser/actionWidget.css +10 -0
- package/esm/vs/platform/actionWidget/browser/actionWidget.js +7 -7
- package/esm/vs/platform/actions/browser/menuEntryActionViewItem.js +3 -3
- package/esm/vs/platform/actions/browser/toolbar.js +2 -2
- package/esm/vs/platform/actions/common/actions.js +2 -0
- package/esm/vs/platform/actions/common/menuService.js +2 -2
- package/esm/vs/platform/configuration/common/configurationRegistry.js +10 -10
- package/esm/vs/platform/contextkey/browser/contextKeyService.js +1 -1
- package/esm/vs/platform/contextkey/common/contextkey.js +9 -9
- package/esm/vs/platform/contextkey/common/contextkeys.js +9 -9
- package/esm/vs/platform/contextkey/common/scanner.js +5 -5
- package/esm/vs/platform/history/browser/contextScopedHistoryWidget.js +1 -1
- package/esm/vs/platform/hover/browser/hoverWidget.js +1 -1
- package/esm/vs/platform/hover/browser/updatableHoverWidget.js +1 -1
- package/esm/vs/platform/keybinding/common/abstractKeybindingService.js +5 -5
- package/esm/vs/platform/list/browser/listService.js +27 -27
- package/esm/vs/platform/markers/common/markerService.js +2 -2
- package/esm/vs/platform/markers/common/markers.js +6 -6
- package/esm/vs/platform/quickinput/browser/commandsQuickAccess.js +8 -8
- package/esm/vs/platform/quickinput/browser/helpQuickAccess.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInput.js +10 -10
- package/esm/vs/platform/quickinput/browser/quickInputActions.js +5 -5
- package/esm/vs/platform/quickinput/browser/quickInputController.js +6 -6
- package/esm/vs/platform/quickinput/browser/quickInputList.js +1 -1
- package/esm/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickInputTreeAccessibilityProvider.js +1 -1
- package/esm/vs/platform/quickinput/browser/tree/quickTree.js +1 -1
- package/esm/vs/platform/theme/common/colorUtils.js +2 -2
- package/esm/vs/platform/theme/common/colors/baseColors.js +18 -18
- package/esm/vs/platform/theme/common/colors/chartsColors.js +8 -8
- package/esm/vs/platform/theme/common/colors/editorColors.js +95 -95
- package/esm/vs/platform/theme/common/colors/inputColors.js +47 -47
- package/esm/vs/platform/theme/common/colors/listColors.js +36 -36
- package/esm/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/esm/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/esm/vs/platform/theme/common/colors/miscColors.js +16 -16
- package/esm/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/esm/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/esm/vs/platform/theme/common/iconRegistry.js +6 -6
- package/esm/vs/platform/undoRedo/common/undoRedoService.js +20 -20
- package/esm/vs/platform/workspace/common/workspace.js +1 -1
- package/min/vs/assets/{css.worker-57ylMqdQ.js → css.worker-vaqto7sr.js} +1 -1
- package/min/vs/assets/{editor.worker-C7rTzOHm.js → editor.worker-BuSZtiLy.js} +1 -1
- package/min/vs/assets/{editorWebWorkerMain-CRWuSSWk.js → editorWebWorkerMain-CcySIMs1.js} +1 -1
- package/min/vs/assets/{html.worker-DUkJXKh4.js → html.worker-tjoOkh5c.js} +29 -29
- package/min/vs/assets/{json.worker-DHFIjIvp.js → json.worker-ChdyNJDo.js} +1 -1
- package/min/vs/assets/{ts.worker-CKcSPjM2.js → ts.worker-2vlHj5mS.js} +1 -1
- package/min/vs/basic-languages/monaco.contribution.js +1 -1
- package/min/vs/css.worker-BZUqk_6e.js +1 -0
- package/min/vs/{cssMode-CheCY05R.js → cssMode-EV9AppWM.js} +1 -1
- package/min/vs/editor/editor.main.css +1 -1
- package/min/vs/editor/editor.main.js +1 -1
- package/min/vs/editor/editor.worker.js +1 -1
- package/min/vs/{editor-DxYWA3-X.js → editor-CWlwBnTd.js} +100 -100
- package/min/vs/editor.js +1 -1
- package/min/vs/{editorWorkerHost-DnKHgOKB.js → editorWorkerHost-BdAdaHF2.js} +2 -2
- package/min/vs/{freemarker2-C7J7V1Hp.js → freemarker2-CVBBrC8k.js} +1 -1
- package/min/vs/{handlebars-DsCar5Ix.js → handlebars-jFcyrSuz.js} +1 -1
- package/min/vs/{html-BGLIaUZV.js → html-IMKtsVBe.js} +1 -1
- package/min/vs/html.worker-BWiqWL_n.js +1 -0
- package/min/vs/{htmlMode-BB6WOoy3.js → htmlMode-GF6ANT1a.js} +1 -1
- package/min/vs/{index-BdR0nSqf.js → index-Duco_ua_.js} +1 -1
- package/min/vs/index.js +1 -1
- package/min/vs/{initialize-BZ6ciHHH.js → initialize-ChT-7fRb.js} +1 -1
- package/min/vs/{javascript-CXE3i1eX.js → javascript-CBNkgHAf.js} +1 -1
- package/min/vs/json.worker-ByICzyV2.js +1 -0
- package/min/vs/{jsonMode-rtaE9alu.js → jsonMode-Dcnh-7Ad.js} +1 -1
- package/min/vs/language/css/css.worker.js +1 -1
- package/min/vs/language/css/monaco.contribution.js +1 -1
- package/min/vs/language/html/html.worker.js +1 -1
- package/min/vs/language/html/monaco.contribution.js +1 -1
- package/min/vs/language/json/json.worker.js +1 -1
- package/min/vs/language/json/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/monaco.contribution.js +1 -1
- package/min/vs/language/typescript/ts.worker.js +1 -1
- package/min/vs/{liquid-CEdn0ovR.js → liquid-_SgSuP3b.js} +1 -1
- package/min/vs/{lspLanguageFeatures-CRAjJmzF.js → lspLanguageFeatures-GNn6MJbu.js} +1 -1
- package/min/vs/{mdx-DLDMIqnu.js → mdx-Erxbe_-t.js} +1 -1
- package/min/vs/{monaco.contribution-C67XgReK.js → monaco.contribution-0dpFCE3L.js} +1 -1
- package/min/vs/{monaco.contribution-DjiQkKLa.js → monaco.contribution-BnqxFPvj.js} +1 -1
- package/min/vs/{monaco.contribution-BrRAk-VA.js → monaco.contribution-BxCvVJFk.js} +1 -1
- package/min/vs/{monaco.contribution-CYT-Sx3l.js → monaco.contribution-CeyPlyhD.js} +1 -1
- package/min/vs/nls/lang/cs.js +2 -2
- package/min/vs/nls/lang/de.js +2 -2
- package/min/vs/nls/lang/es.js +2 -2
- package/min/vs/nls/lang/fr.js +2 -2
- package/min/vs/nls/lang/it.js +2 -2
- package/min/vs/nls/lang/ja.js +2 -2
- package/min/vs/nls/lang/ko.js +2 -2
- package/min/vs/nls/lang/pl.js +2 -2
- package/min/vs/nls/lang/pt-br.js +2 -2
- package/min/vs/nls/lang/ru.js +2 -2
- package/min/vs/nls/lang/tr.js +2 -2
- package/min/vs/nls/lang/zh-cn.js +2 -2
- package/min/vs/nls/lang/zh-tw.js +2 -2
- package/min/vs/{python-CKbl_I3e.js → python-DzOjdI_x.js} +1 -1
- package/min/vs/{razor--RjiPxbd.js → razor-Dwx3J3cB.js} +1 -1
- package/min/vs/{toggleHighContrast-BKDMxisH.js → toggleHighContrast-Bg5GLQ5J.js} +32 -32
- package/min/vs/ts.worker-GOUX_DXT.js +1 -0
- package/min/vs/{tsMode-C48d5M22.js → tsMode-DxnLySbu.js} +1 -1
- package/min/vs/{typescript-e7oUhPyX.js → typescript-Blb6Hbmt.js} +1 -1
- package/min/vs/{workers-CtpYUoCo.js → workers-BmNNZ7XJ.js} +1 -1
- package/min/vs/{xml-tOyfgws7.js → xml-VvrpA2Ly.js} +1 -1
- package/min/vs/{yaml-Cmf9NYDf.js → yaml-CsmbXG_T.js} +1 -1
- package/package.json +3 -3
- package/min/vs/css.worker-CkPP9VjP.js +0 -1
- package/min/vs/html.worker-uHOusrcK.js +0 -1
- package/min/vs/json.worker-DGsNKzKv.js +0 -1
- package/min/vs/ts.worker-DyDnfuDL.js +0 -1
|
@@ -305,13 +305,13 @@ class EditorAccessibilitySupport extends BaseEditorOption {
|
|
|
305
305
|
type: 'string',
|
|
306
306
|
enum: ['auto', 'on', 'off'],
|
|
307
307
|
enumDescriptions: [
|
|
308
|
-
localize(
|
|
309
|
-
localize(
|
|
310
|
-
localize(
|
|
308
|
+
localize(204, "Use platform APIs to detect when a Screen Reader is attached."),
|
|
309
|
+
localize(205, "Optimize for usage with a Screen Reader."),
|
|
310
|
+
localize(206, "Assume a screen reader is not attached."),
|
|
311
311
|
],
|
|
312
312
|
default: 'auto',
|
|
313
313
|
tags: ['accessibility'],
|
|
314
|
-
description: localize(
|
|
314
|
+
description: localize(207, "Controls if the UI should run in a mode where it is optimized for screen readers.")
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
317
|
validate(input) {
|
|
@@ -340,12 +340,12 @@ class EditorComments extends BaseEditorOption {
|
|
|
340
340
|
'editor.comments.insertSpace': {
|
|
341
341
|
type: 'boolean',
|
|
342
342
|
default: defaults.insertSpace,
|
|
343
|
-
description: localize(
|
|
343
|
+
description: localize(208, "Controls whether a space character is inserted when commenting.")
|
|
344
344
|
},
|
|
345
345
|
'editor.comments.ignoreEmptyLines': {
|
|
346
346
|
type: 'boolean',
|
|
347
347
|
default: defaults.ignoreEmptyLines,
|
|
348
|
-
description: localize(
|
|
348
|
+
description: localize(209, 'Controls if empty lines should be ignored with toggle, add or remove actions for line comments.')
|
|
349
349
|
},
|
|
350
350
|
});
|
|
351
351
|
}
|
|
@@ -450,7 +450,7 @@ class EditorClassName extends ComputedEditorOption {
|
|
|
450
450
|
//#region emptySelectionClipboard
|
|
451
451
|
class EditorEmptySelectionClipboard extends EditorBooleanOption {
|
|
452
452
|
constructor() {
|
|
453
|
-
super(45 /* EditorOption.emptySelectionClipboard */, 'emptySelectionClipboard', true, { description: localize(
|
|
453
|
+
super(45 /* EditorOption.emptySelectionClipboard */, 'emptySelectionClipboard', true, { description: localize(210, "Controls whether copying without a selection copies the current line.") });
|
|
454
454
|
}
|
|
455
455
|
compute(env, options, value) {
|
|
456
456
|
return value && env.emptySelectionClipboard;
|
|
@@ -473,70 +473,70 @@ class EditorFind extends BaseEditorOption {
|
|
|
473
473
|
'editor.find.cursorMoveOnType': {
|
|
474
474
|
type: 'boolean',
|
|
475
475
|
default: defaults.cursorMoveOnType,
|
|
476
|
-
description: localize(
|
|
476
|
+
description: localize(211, "Controls whether the cursor should jump to find matches while typing.")
|
|
477
477
|
},
|
|
478
478
|
'editor.find.seedSearchStringFromSelection': {
|
|
479
479
|
type: 'string',
|
|
480
480
|
enum: ['never', 'always', 'selection'],
|
|
481
481
|
default: defaults.seedSearchStringFromSelection,
|
|
482
482
|
enumDescriptions: [
|
|
483
|
-
localize(
|
|
484
|
-
localize(
|
|
485
|
-
localize(
|
|
483
|
+
localize(212, 'Never seed search string from the editor selection.'),
|
|
484
|
+
localize(213, 'Always seed search string from the editor selection, including word at cursor position.'),
|
|
485
|
+
localize(214, 'Only seed search string from the editor selection.')
|
|
486
486
|
],
|
|
487
|
-
description: localize(
|
|
487
|
+
description: localize(215, "Controls whether the search string in the Find Widget is seeded from the editor selection.")
|
|
488
488
|
},
|
|
489
489
|
'editor.find.autoFindInSelection': {
|
|
490
490
|
type: 'string',
|
|
491
491
|
enum: ['never', 'always', 'multiline'],
|
|
492
492
|
default: defaults.autoFindInSelection,
|
|
493
493
|
enumDescriptions: [
|
|
494
|
-
localize(
|
|
495
|
-
localize(
|
|
496
|
-
localize(
|
|
494
|
+
localize(216, 'Never turn on Find in Selection automatically (default).'),
|
|
495
|
+
localize(217, 'Always turn on Find in Selection automatically.'),
|
|
496
|
+
localize(218, 'Turn on Find in Selection automatically when multiple lines of content are selected.')
|
|
497
497
|
],
|
|
498
|
-
description: localize(
|
|
498
|
+
description: localize(219, "Controls the condition for turning on Find in Selection automatically.")
|
|
499
499
|
},
|
|
500
500
|
'editor.find.globalFindClipboard': {
|
|
501
501
|
type: 'boolean',
|
|
502
502
|
default: defaults.globalFindClipboard,
|
|
503
|
-
description: localize(
|
|
503
|
+
description: localize(220, "Controls whether the Find Widget should read or modify the shared find clipboard on macOS."),
|
|
504
504
|
included: isMacintosh
|
|
505
505
|
},
|
|
506
506
|
'editor.find.addExtraSpaceOnTop': {
|
|
507
507
|
type: 'boolean',
|
|
508
508
|
default: defaults.addExtraSpaceOnTop,
|
|
509
|
-
description: localize(
|
|
509
|
+
description: localize(221, "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.")
|
|
510
510
|
},
|
|
511
511
|
'editor.find.loop': {
|
|
512
512
|
type: 'boolean',
|
|
513
513
|
default: defaults.loop,
|
|
514
|
-
description: localize(
|
|
514
|
+
description: localize(222, "Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found.")
|
|
515
515
|
},
|
|
516
516
|
'editor.find.history': {
|
|
517
517
|
type: 'string',
|
|
518
518
|
enum: ['never', 'workspace'],
|
|
519
519
|
default: 'workspace',
|
|
520
520
|
enumDescriptions: [
|
|
521
|
-
localize(
|
|
522
|
-
localize(
|
|
521
|
+
localize(223, 'Do not store search history from the find widget.'),
|
|
522
|
+
localize(224, 'Store search history across the active workspace'),
|
|
523
523
|
],
|
|
524
|
-
description: localize(
|
|
524
|
+
description: localize(225, "Controls how the find widget history should be stored")
|
|
525
525
|
},
|
|
526
526
|
'editor.find.replaceHistory': {
|
|
527
527
|
type: 'string',
|
|
528
528
|
enum: ['never', 'workspace'],
|
|
529
529
|
default: 'workspace',
|
|
530
530
|
enumDescriptions: [
|
|
531
|
-
localize(
|
|
532
|
-
localize(
|
|
531
|
+
localize(226, 'Do not store history from the replace widget.'),
|
|
532
|
+
localize(227, 'Store replace history across the active workspace'),
|
|
533
533
|
],
|
|
534
|
-
description: localize(
|
|
534
|
+
description: localize(228, "Controls how the replace widget history should be stored")
|
|
535
535
|
},
|
|
536
536
|
'editor.find.findOnType': {
|
|
537
537
|
type: 'boolean',
|
|
538
538
|
default: defaults.findOnType,
|
|
539
|
-
description: localize(
|
|
539
|
+
description: localize(229, "Controls whether the Find Widget should search as you type.")
|
|
540
540
|
},
|
|
541
541
|
});
|
|
542
542
|
}
|
|
@@ -575,14 +575,14 @@ class EditorFontLigatures extends BaseEditorOption {
|
|
|
575
575
|
anyOf: [
|
|
576
576
|
{
|
|
577
577
|
type: 'boolean',
|
|
578
|
-
description: localize(
|
|
578
|
+
description: localize(230, "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."),
|
|
579
579
|
},
|
|
580
580
|
{
|
|
581
581
|
type: 'string',
|
|
582
|
-
description: localize(
|
|
582
|
+
description: localize(231, "Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures.")
|
|
583
583
|
}
|
|
584
584
|
],
|
|
585
|
-
description: localize(
|
|
585
|
+
description: localize(232, "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."),
|
|
586
586
|
default: false
|
|
587
587
|
});
|
|
588
588
|
}
|
|
@@ -620,14 +620,14 @@ class EditorFontVariations extends BaseEditorOption {
|
|
|
620
620
|
anyOf: [
|
|
621
621
|
{
|
|
622
622
|
type: 'boolean',
|
|
623
|
-
description: localize(
|
|
623
|
+
description: localize(233, "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."),
|
|
624
624
|
},
|
|
625
625
|
{
|
|
626
626
|
type: 'string',
|
|
627
|
-
description: localize(
|
|
627
|
+
description: localize(234, "Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings.")
|
|
628
628
|
}
|
|
629
629
|
],
|
|
630
|
-
description: localize(
|
|
630
|
+
description: localize(235, "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."),
|
|
631
631
|
default: false
|
|
632
632
|
});
|
|
633
633
|
}
|
|
@@ -729,7 +729,7 @@ class EditorFontSize extends SimpleEditorOption {
|
|
|
729
729
|
minimum: 6,
|
|
730
730
|
maximum: 100,
|
|
731
731
|
default: EDITOR_FONT_DEFAULTS.fontSize,
|
|
732
|
-
description: localize(
|
|
732
|
+
description: localize(236, "Controls the font size in pixels.")
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
735
|
validate(input) {
|
|
@@ -758,7 +758,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
758
758
|
type: 'number',
|
|
759
759
|
minimum: EditorFontWeight.MINIMUM_VALUE,
|
|
760
760
|
maximum: EditorFontWeight.MAXIMUM_VALUE,
|
|
761
|
-
errorMessage: localize(
|
|
761
|
+
errorMessage: localize(237, "Only \"normal\" and \"bold\" keywords or numbers between 1 and 1000 are allowed.")
|
|
762
762
|
},
|
|
763
763
|
{
|
|
764
764
|
type: 'string',
|
|
@@ -769,7 +769,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
769
769
|
}
|
|
770
770
|
],
|
|
771
771
|
default: EDITOR_FONT_DEFAULTS.fontWeight,
|
|
772
|
-
description: localize(
|
|
772
|
+
description: localize(238, "Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000.")
|
|
773
773
|
});
|
|
774
774
|
}
|
|
775
775
|
validate(input) {
|
|
@@ -801,65 +801,65 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
801
801
|
enum: ['peek', 'gotoAndPeek', 'goto'],
|
|
802
802
|
default: defaults.multiple,
|
|
803
803
|
enumDescriptions: [
|
|
804
|
-
localize(
|
|
805
|
-
localize(
|
|
806
|
-
localize(
|
|
804
|
+
localize(239, 'Show Peek view of the results (default)'),
|
|
805
|
+
localize(240, 'Go to the primary result and show a Peek view'),
|
|
806
|
+
localize(241, 'Go to the primary result and enable Peek-less navigation to others')
|
|
807
807
|
]
|
|
808
808
|
};
|
|
809
809
|
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'];
|
|
810
810
|
super(67 /* EditorOption.gotoLocation */, 'gotoLocation', defaults, {
|
|
811
811
|
'editor.gotoLocation.multiple': {
|
|
812
|
-
deprecationMessage: localize(
|
|
812
|
+
deprecationMessage: localize(242, "This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead."),
|
|
813
813
|
},
|
|
814
814
|
'editor.gotoLocation.multipleDefinitions': {
|
|
815
|
-
description: localize(
|
|
815
|
+
description: localize(243, "Controls the behavior the 'Go to Definition'-command when multiple target locations exist."),
|
|
816
816
|
...jsonSubset,
|
|
817
817
|
},
|
|
818
818
|
'editor.gotoLocation.multipleTypeDefinitions': {
|
|
819
|
-
description: localize(
|
|
819
|
+
description: localize(244, "Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."),
|
|
820
820
|
...jsonSubset,
|
|
821
821
|
},
|
|
822
822
|
'editor.gotoLocation.multipleDeclarations': {
|
|
823
|
-
description: localize(
|
|
823
|
+
description: localize(245, "Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."),
|
|
824
824
|
...jsonSubset,
|
|
825
825
|
},
|
|
826
826
|
'editor.gotoLocation.multipleImplementations': {
|
|
827
|
-
description: localize(
|
|
827
|
+
description: localize(246, "Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."),
|
|
828
828
|
...jsonSubset,
|
|
829
829
|
},
|
|
830
830
|
'editor.gotoLocation.multipleReferences': {
|
|
831
|
-
description: localize(
|
|
831
|
+
description: localize(247, "Controls the behavior the 'Go to References'-command when multiple target locations exist."),
|
|
832
832
|
...jsonSubset,
|
|
833
833
|
},
|
|
834
834
|
'editor.gotoLocation.alternativeDefinitionCommand': {
|
|
835
835
|
type: 'string',
|
|
836
836
|
default: defaults.alternativeDefinitionCommand,
|
|
837
837
|
enum: alternativeCommandOptions,
|
|
838
|
-
description: localize(
|
|
838
|
+
description: localize(248, "Alternative command id that is being executed when the result of 'Go to Definition' is the current location.")
|
|
839
839
|
},
|
|
840
840
|
'editor.gotoLocation.alternativeTypeDefinitionCommand': {
|
|
841
841
|
type: 'string',
|
|
842
842
|
default: defaults.alternativeTypeDefinitionCommand,
|
|
843
843
|
enum: alternativeCommandOptions,
|
|
844
|
-
description: localize(
|
|
844
|
+
description: localize(249, "Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location.")
|
|
845
845
|
},
|
|
846
846
|
'editor.gotoLocation.alternativeDeclarationCommand': {
|
|
847
847
|
type: 'string',
|
|
848
848
|
default: defaults.alternativeDeclarationCommand,
|
|
849
849
|
enum: alternativeCommandOptions,
|
|
850
|
-
description: localize(
|
|
850
|
+
description: localize(250, "Alternative command id that is being executed when the result of 'Go to Declaration' is the current location.")
|
|
851
851
|
},
|
|
852
852
|
'editor.gotoLocation.alternativeImplementationCommand': {
|
|
853
853
|
type: 'string',
|
|
854
854
|
default: defaults.alternativeImplementationCommand,
|
|
855
855
|
enum: alternativeCommandOptions,
|
|
856
|
-
description: localize(
|
|
856
|
+
description: localize(251, "Alternative command id that is being executed when the result of 'Go to Implementation' is the current location.")
|
|
857
857
|
},
|
|
858
858
|
'editor.gotoLocation.alternativeReferenceCommand': {
|
|
859
859
|
type: 'string',
|
|
860
860
|
default: defaults.alternativeReferenceCommand,
|
|
861
861
|
enum: alternativeCommandOptions,
|
|
862
|
-
description: localize(
|
|
862
|
+
description: localize(252, "Alternative command id that is being executed when the result of 'Go to Reference' is the current location.")
|
|
863
863
|
},
|
|
864
864
|
});
|
|
865
865
|
}
|
|
@@ -900,34 +900,34 @@ class EditorHover extends BaseEditorOption {
|
|
|
900
900
|
enum: ['on', 'off', 'onKeyboardModifier'],
|
|
901
901
|
default: defaults.enabled,
|
|
902
902
|
markdownEnumDescriptions: [
|
|
903
|
-
localize(
|
|
904
|
-
localize(
|
|
905
|
-
localize(
|
|
903
|
+
localize(253, "Hover is enabled."),
|
|
904
|
+
localize(254, "Hover is disabled."),
|
|
905
|
+
localize(255, "Hover is shown when holding `{0}` or `Alt` (the opposite modifier of `#editor.multiCursorModifier#`)", isMacintosh ? `Command` : `Control`)
|
|
906
906
|
],
|
|
907
|
-
description: localize(
|
|
907
|
+
description: localize(256, "Controls whether the hover is shown.")
|
|
908
908
|
},
|
|
909
909
|
'editor.hover.delay': {
|
|
910
910
|
type: 'number',
|
|
911
911
|
default: defaults.delay,
|
|
912
912
|
minimum: 0,
|
|
913
913
|
maximum: 10000,
|
|
914
|
-
description: localize(
|
|
914
|
+
description: localize(257, "Controls the delay in milliseconds after which the hover is shown.")
|
|
915
915
|
},
|
|
916
916
|
'editor.hover.sticky': {
|
|
917
917
|
type: 'boolean',
|
|
918
918
|
default: defaults.sticky,
|
|
919
|
-
description: localize(
|
|
919
|
+
description: localize(258, "Controls whether the hover should remain visible when mouse is moved over it.")
|
|
920
920
|
},
|
|
921
921
|
'editor.hover.hidingDelay': {
|
|
922
922
|
type: 'integer',
|
|
923
923
|
minimum: 0,
|
|
924
924
|
default: defaults.hidingDelay,
|
|
925
|
-
markdownDescription: localize(
|
|
925
|
+
markdownDescription: localize(259, "Controls the delay in milliseconds after which the hover is hidden. Requires `#editor.hover.sticky#` to be enabled.")
|
|
926
926
|
},
|
|
927
927
|
'editor.hover.above': {
|
|
928
928
|
type: 'boolean',
|
|
929
929
|
default: defaults.above,
|
|
930
|
-
description: localize(
|
|
930
|
+
description: localize(260, "Prefer showing hovers above the line, if there's space.")
|
|
931
931
|
},
|
|
932
932
|
});
|
|
933
933
|
}
|
|
@@ -1304,13 +1304,13 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1304
1304
|
super(156 /* EditorOption.wrappingStrategy */, 'wrappingStrategy', 'simple', {
|
|
1305
1305
|
'editor.wrappingStrategy': {
|
|
1306
1306
|
enumDescriptions: [
|
|
1307
|
-
localize(
|
|
1308
|
-
localize(
|
|
1307
|
+
localize(261, "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."),
|
|
1308
|
+
localize(262, "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.")
|
|
1309
1309
|
],
|
|
1310
1310
|
type: 'string',
|
|
1311
1311
|
enum: ['simple', 'advanced'],
|
|
1312
1312
|
default: 'simple',
|
|
1313
|
-
description: localize(
|
|
1313
|
+
description: localize(263, "Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience.")
|
|
1314
1314
|
}
|
|
1315
1315
|
});
|
|
1316
1316
|
}
|
|
@@ -1344,11 +1344,11 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1344
1344
|
enum: [ShowLightbulbIconMode.Off, ShowLightbulbIconMode.OnCode, ShowLightbulbIconMode.On],
|
|
1345
1345
|
default: defaults.enabled,
|
|
1346
1346
|
enumDescriptions: [
|
|
1347
|
-
localize(
|
|
1348
|
-
localize(
|
|
1349
|
-
localize(
|
|
1347
|
+
localize(264, 'Disable the code action menu.'),
|
|
1348
|
+
localize(265, 'Show the code action menu when the cursor is on lines with code.'),
|
|
1349
|
+
localize(266, 'Show the code action menu when the cursor is on lines with code or on empty lines.'),
|
|
1350
1350
|
],
|
|
1351
|
-
description: localize(
|
|
1351
|
+
description: localize(267, "Enables the Code Action lightbulb in the editor.")
|
|
1352
1352
|
}
|
|
1353
1353
|
});
|
|
1354
1354
|
}
|
|
@@ -1369,25 +1369,25 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1369
1369
|
'editor.stickyScroll.enabled': {
|
|
1370
1370
|
type: 'boolean',
|
|
1371
1371
|
default: defaults.enabled,
|
|
1372
|
-
description: localize(
|
|
1372
|
+
description: localize(268, "Shows the nested current scopes during the scroll at the top of the editor.")
|
|
1373
1373
|
},
|
|
1374
1374
|
'editor.stickyScroll.maxLineCount': {
|
|
1375
1375
|
type: 'number',
|
|
1376
1376
|
default: defaults.maxLineCount,
|
|
1377
1377
|
minimum: 1,
|
|
1378
1378
|
maximum: 20,
|
|
1379
|
-
description: localize(
|
|
1379
|
+
description: localize(269, "Defines the maximum number of sticky lines to show.")
|
|
1380
1380
|
},
|
|
1381
1381
|
'editor.stickyScroll.defaultModel': {
|
|
1382
1382
|
type: 'string',
|
|
1383
1383
|
enum: ['outlineModel', 'foldingProviderModel', 'indentationModel'],
|
|
1384
1384
|
default: defaults.defaultModel,
|
|
1385
|
-
description: localize(
|
|
1385
|
+
description: localize(270, "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.")
|
|
1386
1386
|
},
|
|
1387
1387
|
'editor.stickyScroll.scrollWithEditor': {
|
|
1388
1388
|
type: 'boolean',
|
|
1389
1389
|
default: defaults.scrollWithEditor,
|
|
1390
|
-
description: localize(
|
|
1390
|
+
description: localize(271, "Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar.")
|
|
1391
1391
|
},
|
|
1392
1392
|
});
|
|
1393
1393
|
}
|
|
@@ -1411,34 +1411,34 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1411
1411
|
'editor.inlayHints.enabled': {
|
|
1412
1412
|
type: 'string',
|
|
1413
1413
|
default: defaults.enabled,
|
|
1414
|
-
description: localize(
|
|
1414
|
+
description: localize(272, "Enables the inlay hints in the editor."),
|
|
1415
1415
|
enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
|
|
1416
1416
|
markdownEnumDescriptions: [
|
|
1417
|
-
localize(
|
|
1418
|
-
localize(
|
|
1419
|
-
localize(
|
|
1420
|
-
localize(
|
|
1417
|
+
localize(273, "Inlay hints are enabled"),
|
|
1418
|
+
localize(274, "Inlay hints are showing by default and hide when holding {0}", isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`),
|
|
1419
|
+
localize(275, "Inlay hints are hidden by default and show when holding {0}", isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`),
|
|
1420
|
+
localize(276, "Inlay hints are disabled"),
|
|
1421
1421
|
],
|
|
1422
1422
|
},
|
|
1423
1423
|
'editor.inlayHints.fontSize': {
|
|
1424
1424
|
type: 'number',
|
|
1425
1425
|
default: defaults.fontSize,
|
|
1426
|
-
markdownDescription: localize(
|
|
1426
|
+
markdownDescription: localize(277, "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.", '`#editor.fontSize#`', '`5`')
|
|
1427
1427
|
},
|
|
1428
1428
|
'editor.inlayHints.fontFamily': {
|
|
1429
1429
|
type: 'string',
|
|
1430
1430
|
default: defaults.fontFamily,
|
|
1431
|
-
markdownDescription: localize(
|
|
1431
|
+
markdownDescription: localize(278, "Controls font family of inlay hints in the editor. When set to empty, the {0} is used.", '`#editor.fontFamily#`')
|
|
1432
1432
|
},
|
|
1433
1433
|
'editor.inlayHints.padding': {
|
|
1434
1434
|
type: 'boolean',
|
|
1435
1435
|
default: defaults.padding,
|
|
1436
|
-
description: localize(
|
|
1436
|
+
description: localize(279, "Enables the padding around the inlay hints in the editor.")
|
|
1437
1437
|
},
|
|
1438
1438
|
'editor.inlayHints.maximumLength': {
|
|
1439
1439
|
type: 'number',
|
|
1440
1440
|
default: defaults.maximumLength,
|
|
1441
|
-
markdownDescription: localize(
|
|
1441
|
+
markdownDescription: localize(280, "Maximum overall length of inlay hints, for a single line, before they get truncated by the editor. Set to `0` to never truncate")
|
|
1442
1442
|
}
|
|
1443
1443
|
});
|
|
1444
1444
|
}
|
|
@@ -1488,7 +1488,7 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
|
1488
1488
|
//#region lineHeight
|
|
1489
1489
|
class EditorLineHeight extends EditorFloatOption {
|
|
1490
1490
|
constructor() {
|
|
1491
|
-
super(75 /* EditorOption.lineHeight */, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: localize(
|
|
1491
|
+
super(75 /* EditorOption.lineHeight */, 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: localize(281, "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.") }, 0, 150);
|
|
1492
1492
|
}
|
|
1493
1493
|
compute(env, options, value) {
|
|
1494
1494
|
// The lineHeight is computed from the fontSize if it is 0.
|
|
@@ -1518,41 +1518,41 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1518
1518
|
'editor.minimap.enabled': {
|
|
1519
1519
|
type: 'boolean',
|
|
1520
1520
|
default: defaults.enabled,
|
|
1521
|
-
description: localize(
|
|
1521
|
+
description: localize(282, "Controls whether the minimap is shown.")
|
|
1522
1522
|
},
|
|
1523
1523
|
'editor.minimap.autohide': {
|
|
1524
1524
|
type: 'string',
|
|
1525
1525
|
enum: ['none', 'mouseover', 'scroll'],
|
|
1526
1526
|
enumDescriptions: [
|
|
1527
|
-
localize(
|
|
1528
|
-
localize(
|
|
1529
|
-
localize(
|
|
1527
|
+
localize(283, "The minimap is always shown."),
|
|
1528
|
+
localize(284, "The minimap is hidden when mouse is not over the minimap and shown when mouse is over the minimap."),
|
|
1529
|
+
localize(285, "The minimap is only shown when the editor is scrolled"),
|
|
1530
1530
|
],
|
|
1531
1531
|
default: defaults.autohide,
|
|
1532
|
-
description: localize(
|
|
1532
|
+
description: localize(286, "Controls whether the minimap is hidden automatically.")
|
|
1533
1533
|
},
|
|
1534
1534
|
'editor.minimap.size': {
|
|
1535
1535
|
type: 'string',
|
|
1536
1536
|
enum: ['proportional', 'fill', 'fit'],
|
|
1537
1537
|
enumDescriptions: [
|
|
1538
|
-
localize(
|
|
1539
|
-
localize(
|
|
1540
|
-
localize(
|
|
1538
|
+
localize(287, "The minimap has the same size as the editor contents (and might scroll)."),
|
|
1539
|
+
localize(288, "The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."),
|
|
1540
|
+
localize(289, "The minimap will shrink as necessary to never be larger than the editor (no scrolling)."),
|
|
1541
1541
|
],
|
|
1542
1542
|
default: defaults.size,
|
|
1543
|
-
description: localize(
|
|
1543
|
+
description: localize(290, "Controls the size of the minimap.")
|
|
1544
1544
|
},
|
|
1545
1545
|
'editor.minimap.side': {
|
|
1546
1546
|
type: 'string',
|
|
1547
1547
|
enum: ['left', 'right'],
|
|
1548
1548
|
default: defaults.side,
|
|
1549
|
-
description: localize(
|
|
1549
|
+
description: localize(291, "Controls the side where to render the minimap.")
|
|
1550
1550
|
},
|
|
1551
1551
|
'editor.minimap.showSlider': {
|
|
1552
1552
|
type: 'string',
|
|
1553
1553
|
enum: ['always', 'mouseover'],
|
|
1554
1554
|
default: defaults.showSlider,
|
|
1555
|
-
description: localize(
|
|
1555
|
+
description: localize(292, "Controls when the minimap slider is shown.")
|
|
1556
1556
|
},
|
|
1557
1557
|
'editor.minimap.scale': {
|
|
1558
1558
|
type: 'number',
|
|
@@ -1560,42 +1560,42 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1560
1560
|
minimum: 1,
|
|
1561
1561
|
maximum: 3,
|
|
1562
1562
|
enum: [1, 2, 3],
|
|
1563
|
-
description: localize(
|
|
1563
|
+
description: localize(293, "Scale of content drawn in the minimap: 1, 2 or 3.")
|
|
1564
1564
|
},
|
|
1565
1565
|
'editor.minimap.renderCharacters': {
|
|
1566
1566
|
type: 'boolean',
|
|
1567
1567
|
default: defaults.renderCharacters,
|
|
1568
|
-
description: localize(
|
|
1568
|
+
description: localize(294, "Render the actual characters on a line as opposed to color blocks.")
|
|
1569
1569
|
},
|
|
1570
1570
|
'editor.minimap.maxColumn': {
|
|
1571
1571
|
type: 'number',
|
|
1572
1572
|
default: defaults.maxColumn,
|
|
1573
|
-
description: localize(
|
|
1573
|
+
description: localize(295, "Limit the width of the minimap to render at most a certain number of columns.")
|
|
1574
1574
|
},
|
|
1575
1575
|
'editor.minimap.showRegionSectionHeaders': {
|
|
1576
1576
|
type: 'boolean',
|
|
1577
1577
|
default: defaults.showRegionSectionHeaders,
|
|
1578
|
-
description: localize(
|
|
1578
|
+
description: localize(296, "Controls whether named regions are shown as section headers in the minimap.")
|
|
1579
1579
|
},
|
|
1580
1580
|
'editor.minimap.showMarkSectionHeaders': {
|
|
1581
1581
|
type: 'boolean',
|
|
1582
1582
|
default: defaults.showMarkSectionHeaders,
|
|
1583
|
-
description: localize(
|
|
1583
|
+
description: localize(297, "Controls whether MARK: comments are shown as section headers in the minimap.")
|
|
1584
1584
|
},
|
|
1585
1585
|
'editor.minimap.markSectionHeaderRegex': {
|
|
1586
1586
|
type: 'string',
|
|
1587
1587
|
default: defaults.markSectionHeaderRegex,
|
|
1588
|
-
description: localize(
|
|
1588
|
+
description: localize(298, "Defines the regular expression used to find section headers in comments. The regex must contain a named match group `label` (written as `(?<label>.+)`) that encapsulates the section header, otherwise it will not work. Optionally you can include another match group named `separator`. Use \\n in the pattern to match multi-line headers."),
|
|
1589
1589
|
},
|
|
1590
1590
|
'editor.minimap.sectionHeaderFontSize': {
|
|
1591
1591
|
type: 'number',
|
|
1592
1592
|
default: defaults.sectionHeaderFontSize,
|
|
1593
|
-
description: localize(
|
|
1593
|
+
description: localize(299, "Controls the font size of section headers in the minimap.")
|
|
1594
1594
|
},
|
|
1595
1595
|
'editor.minimap.sectionHeaderLetterSpacing': {
|
|
1596
1596
|
type: 'number',
|
|
1597
1597
|
default: defaults.sectionHeaderLetterSpacing,
|
|
1598
|
-
description: localize(
|
|
1598
|
+
description: localize(300, "Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes.")
|
|
1599
1599
|
}
|
|
1600
1600
|
});
|
|
1601
1601
|
}
|
|
@@ -1647,14 +1647,14 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1647
1647
|
default: 0,
|
|
1648
1648
|
minimum: 0,
|
|
1649
1649
|
maximum: 1000,
|
|
1650
|
-
description: localize(
|
|
1650
|
+
description: localize(301, "Controls the amount of space between the top edge of the editor and the first line.")
|
|
1651
1651
|
},
|
|
1652
1652
|
'editor.padding.bottom': {
|
|
1653
1653
|
type: 'number',
|
|
1654
1654
|
default: 0,
|
|
1655
1655
|
minimum: 0,
|
|
1656
1656
|
maximum: 1000,
|
|
1657
|
-
description: localize(
|
|
1657
|
+
description: localize(302, "Controls the amount of space between the bottom edge of the editor and the last line.")
|
|
1658
1658
|
}
|
|
1659
1659
|
});
|
|
1660
1660
|
}
|
|
@@ -1679,12 +1679,12 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1679
1679
|
'editor.parameterHints.enabled': {
|
|
1680
1680
|
type: 'boolean',
|
|
1681
1681
|
default: defaults.enabled,
|
|
1682
|
-
description: localize(
|
|
1682
|
+
description: localize(303, "Enables a pop-up that shows parameter documentation and type information as you type.")
|
|
1683
1683
|
},
|
|
1684
1684
|
'editor.parameterHints.cycle': {
|
|
1685
1685
|
type: 'boolean',
|
|
1686
1686
|
default: defaults.cycle,
|
|
1687
|
-
description: localize(
|
|
1687
|
+
description: localize(304, "Controls whether the parameter hints menu cycles or closes when reaching the end of the list.")
|
|
1688
1688
|
},
|
|
1689
1689
|
});
|
|
1690
1690
|
}
|
|
@@ -1737,7 +1737,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1737
1737
|
{
|
|
1738
1738
|
type: 'string',
|
|
1739
1739
|
enum: ['on', 'inline', 'off'],
|
|
1740
|
-
enumDescriptions: [localize(
|
|
1740
|
+
enumDescriptions: [localize(305, "Quick suggestions show inside the suggest widget"), localize(306, "Quick suggestions show as ghost text"), localize(307, "Quick suggestions are disabled")]
|
|
1741
1741
|
}
|
|
1742
1742
|
];
|
|
1743
1743
|
super(102 /* EditorOption.quickSuggestions */, 'quickSuggestions', defaults, {
|
|
@@ -1747,21 +1747,21 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1747
1747
|
strings: {
|
|
1748
1748
|
anyOf: types,
|
|
1749
1749
|
default: defaults.strings,
|
|
1750
|
-
description: localize(
|
|
1750
|
+
description: localize(308, "Enable quick suggestions inside strings.")
|
|
1751
1751
|
},
|
|
1752
1752
|
comments: {
|
|
1753
1753
|
anyOf: types,
|
|
1754
1754
|
default: defaults.comments,
|
|
1755
|
-
description: localize(
|
|
1755
|
+
description: localize(309, "Enable quick suggestions inside comments.")
|
|
1756
1756
|
},
|
|
1757
1757
|
other: {
|
|
1758
1758
|
anyOf: types,
|
|
1759
1759
|
default: defaults.other,
|
|
1760
|
-
description: localize(
|
|
1760
|
+
description: localize(310, "Enable quick suggestions outside of strings and comments.")
|
|
1761
1761
|
},
|
|
1762
1762
|
},
|
|
1763
1763
|
default: defaults,
|
|
1764
|
-
markdownDescription: localize(
|
|
1764
|
+
markdownDescription: localize(311, "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.", '`#editor.suggestOnTriggerCharacters#`')
|
|
1765
1765
|
});
|
|
1766
1766
|
this.defaultValue = defaults;
|
|
1767
1767
|
}
|
|
@@ -1811,13 +1811,13 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1811
1811
|
type: 'string',
|
|
1812
1812
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1813
1813
|
enumDescriptions: [
|
|
1814
|
-
localize(
|
|
1815
|
-
localize(
|
|
1816
|
-
localize(
|
|
1817
|
-
localize(
|
|
1814
|
+
localize(312, "Line numbers are not rendered."),
|
|
1815
|
+
localize(313, "Line numbers are rendered as absolute number."),
|
|
1816
|
+
localize(314, "Line numbers are rendered as distance in lines to cursor position."),
|
|
1817
|
+
localize(315, "Line numbers are rendered every 10 lines.")
|
|
1818
1818
|
],
|
|
1819
1819
|
default: 'on',
|
|
1820
|
-
description: localize(
|
|
1820
|
+
description: localize(316, "Controls the display of line numbers.")
|
|
1821
1821
|
});
|
|
1822
1822
|
}
|
|
1823
1823
|
validate(lineNumbers) {
|
|
@@ -1870,7 +1870,7 @@ function filterFontDecorations(options) {
|
|
|
1870
1870
|
class EditorRulers extends BaseEditorOption {
|
|
1871
1871
|
constructor() {
|
|
1872
1872
|
const defaults = [];
|
|
1873
|
-
const columnSchema = { type: 'number', description: localize(
|
|
1873
|
+
const columnSchema = { type: 'number', description: localize(317, "Number of monospace characters at which this editor ruler will render.") };
|
|
1874
1874
|
super(116 /* EditorOption.rulers */, 'rulers', defaults, {
|
|
1875
1875
|
type: 'array',
|
|
1876
1876
|
items: {
|
|
@@ -1884,7 +1884,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1884
1884
|
column: columnSchema,
|
|
1885
1885
|
color: {
|
|
1886
1886
|
type: 'string',
|
|
1887
|
-
description: localize(
|
|
1887
|
+
description: localize(318, "Color of this editor ruler."),
|
|
1888
1888
|
format: 'color-hex'
|
|
1889
1889
|
}
|
|
1890
1890
|
}
|
|
@@ -1892,7 +1892,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1892
1892
|
]
|
|
1893
1893
|
},
|
|
1894
1894
|
default: defaults,
|
|
1895
|
-
description: localize(
|
|
1895
|
+
description: localize(319, "Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty.")
|
|
1896
1896
|
});
|
|
1897
1897
|
}
|
|
1898
1898
|
validate(input) {
|
|
@@ -1969,43 +1969,43 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1969
1969
|
type: 'string',
|
|
1970
1970
|
enum: ['auto', 'visible', 'hidden'],
|
|
1971
1971
|
enumDescriptions: [
|
|
1972
|
-
localize(
|
|
1973
|
-
localize(
|
|
1974
|
-
localize(
|
|
1972
|
+
localize(320, "The vertical scrollbar will be visible only when necessary."),
|
|
1973
|
+
localize(321, "The vertical scrollbar will always be visible."),
|
|
1974
|
+
localize(322, "The vertical scrollbar will always be hidden."),
|
|
1975
1975
|
],
|
|
1976
1976
|
default: 'auto',
|
|
1977
|
-
description: localize(
|
|
1977
|
+
description: localize(323, "Controls the visibility of the vertical scrollbar.")
|
|
1978
1978
|
},
|
|
1979
1979
|
'editor.scrollbar.horizontal': {
|
|
1980
1980
|
type: 'string',
|
|
1981
1981
|
enum: ['auto', 'visible', 'hidden'],
|
|
1982
1982
|
enumDescriptions: [
|
|
1983
|
-
localize(
|
|
1984
|
-
localize(
|
|
1985
|
-
localize(
|
|
1983
|
+
localize(324, "The horizontal scrollbar will be visible only when necessary."),
|
|
1984
|
+
localize(325, "The horizontal scrollbar will always be visible."),
|
|
1985
|
+
localize(326, "The horizontal scrollbar will always be hidden."),
|
|
1986
1986
|
],
|
|
1987
1987
|
default: 'auto',
|
|
1988
|
-
description: localize(
|
|
1988
|
+
description: localize(327, "Controls the visibility of the horizontal scrollbar.")
|
|
1989
1989
|
},
|
|
1990
1990
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
1991
1991
|
type: 'number',
|
|
1992
1992
|
default: defaults.verticalScrollbarSize,
|
|
1993
|
-
description: localize(
|
|
1993
|
+
description: localize(328, "The width of the vertical scrollbar.")
|
|
1994
1994
|
},
|
|
1995
1995
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
1996
1996
|
type: 'number',
|
|
1997
1997
|
default: defaults.horizontalScrollbarSize,
|
|
1998
|
-
description: localize(
|
|
1998
|
+
description: localize(329, "The height of the horizontal scrollbar.")
|
|
1999
1999
|
},
|
|
2000
2000
|
'editor.scrollbar.scrollByPage': {
|
|
2001
2001
|
type: 'boolean',
|
|
2002
2002
|
default: defaults.scrollByPage,
|
|
2003
|
-
description: localize(
|
|
2003
|
+
description: localize(330, "Controls whether clicks scroll by page or jump to click position.")
|
|
2004
2004
|
},
|
|
2005
2005
|
'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
|
|
2006
2006
|
type: 'boolean',
|
|
2007
2007
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
2008
|
-
description: localize(
|
|
2008
|
+
description: localize(331, "When set, the horizontal scrollbar will not increase the size of the editor's content.")
|
|
2009
2009
|
}
|
|
2010
2010
|
});
|
|
2011
2011
|
}
|
|
@@ -2067,39 +2067,39 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2067
2067
|
type: ['boolean', 'string'],
|
|
2068
2068
|
enum: [true, false, inUntrustedWorkspace],
|
|
2069
2069
|
default: defaults.nonBasicASCII,
|
|
2070
|
-
description: localize(
|
|
2070
|
+
description: localize(332, "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.")
|
|
2071
2071
|
},
|
|
2072
2072
|
[unicodeHighlightConfigKeys.invisibleCharacters]: {
|
|
2073
2073
|
restricted: true,
|
|
2074
2074
|
type: 'boolean',
|
|
2075
2075
|
default: defaults.invisibleCharacters,
|
|
2076
|
-
description: localize(
|
|
2076
|
+
description: localize(333, "Controls whether characters that just reserve space or have no width at all are highlighted.")
|
|
2077
2077
|
},
|
|
2078
2078
|
[unicodeHighlightConfigKeys.ambiguousCharacters]: {
|
|
2079
2079
|
restricted: true,
|
|
2080
2080
|
type: 'boolean',
|
|
2081
2081
|
default: defaults.ambiguousCharacters,
|
|
2082
|
-
description: localize(
|
|
2082
|
+
description: localize(334, "Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale.")
|
|
2083
2083
|
},
|
|
2084
2084
|
[unicodeHighlightConfigKeys.includeComments]: {
|
|
2085
2085
|
restricted: true,
|
|
2086
2086
|
type: ['boolean', 'string'],
|
|
2087
2087
|
enum: [true, false, inUntrustedWorkspace],
|
|
2088
2088
|
default: defaults.includeComments,
|
|
2089
|
-
description: localize(
|
|
2089
|
+
description: localize(335, "Controls whether characters in comments should also be subject to Unicode highlighting.")
|
|
2090
2090
|
},
|
|
2091
2091
|
[unicodeHighlightConfigKeys.includeStrings]: {
|
|
2092
2092
|
restricted: true,
|
|
2093
2093
|
type: ['boolean', 'string'],
|
|
2094
2094
|
enum: [true, false, inUntrustedWorkspace],
|
|
2095
2095
|
default: defaults.includeStrings,
|
|
2096
|
-
description: localize(
|
|
2096
|
+
description: localize(336, "Controls whether characters in strings should also be subject to Unicode highlighting.")
|
|
2097
2097
|
},
|
|
2098
2098
|
[unicodeHighlightConfigKeys.allowedCharacters]: {
|
|
2099
2099
|
restricted: true,
|
|
2100
2100
|
type: 'object',
|
|
2101
2101
|
default: defaults.allowedCharacters,
|
|
2102
|
-
description: localize(
|
|
2102
|
+
description: localize(337, "Defines allowed characters that are not being highlighted."),
|
|
2103
2103
|
additionalProperties: {
|
|
2104
2104
|
type: 'boolean'
|
|
2105
2105
|
}
|
|
@@ -2111,7 +2111,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2111
2111
|
type: 'boolean'
|
|
2112
2112
|
},
|
|
2113
2113
|
default: defaults.allowedLocales,
|
|
2114
|
-
description: localize(
|
|
2114
|
+
description: localize(338, "Unicode characters that are common in allowed locales are not being highlighted.")
|
|
2115
2115
|
},
|
|
2116
2116
|
});
|
|
2117
2117
|
}
|
|
@@ -2198,46 +2198,46 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2198
2198
|
'editor.inlineSuggest.enabled': {
|
|
2199
2199
|
type: 'boolean',
|
|
2200
2200
|
default: defaults.enabled,
|
|
2201
|
-
description: localize(
|
|
2201
|
+
description: localize(339, "Controls whether to automatically show inline suggestions in the editor.")
|
|
2202
2202
|
},
|
|
2203
2203
|
'editor.inlineSuggest.showToolbar': {
|
|
2204
2204
|
type: 'string',
|
|
2205
2205
|
default: defaults.showToolbar,
|
|
2206
2206
|
enum: ['always', 'onHover', 'never'],
|
|
2207
2207
|
enumDescriptions: [
|
|
2208
|
-
localize(
|
|
2209
|
-
localize(
|
|
2210
|
-
localize(
|
|
2208
|
+
localize(340, "Show the inline suggestion toolbar whenever an inline suggestion is shown."),
|
|
2209
|
+
localize(341, "Show the inline suggestion toolbar when hovering over an inline suggestion."),
|
|
2210
|
+
localize(342, "Never show the inline suggestion toolbar."),
|
|
2211
2211
|
],
|
|
2212
|
-
description: localize(
|
|
2212
|
+
description: localize(343, "Controls when to show the inline suggestion toolbar."),
|
|
2213
2213
|
},
|
|
2214
2214
|
'editor.inlineSuggest.syntaxHighlightingEnabled': {
|
|
2215
2215
|
type: 'boolean',
|
|
2216
2216
|
default: defaults.syntaxHighlightingEnabled,
|
|
2217
|
-
description: localize(
|
|
2217
|
+
description: localize(344, "Controls whether to show syntax highlighting for inline suggestions in the editor."),
|
|
2218
2218
|
},
|
|
2219
2219
|
'editor.inlineSuggest.suppressSuggestions': {
|
|
2220
2220
|
type: 'boolean',
|
|
2221
2221
|
default: defaults.suppressSuggestions,
|
|
2222
|
-
description: localize(
|
|
2222
|
+
description: localize(345, "Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available.")
|
|
2223
2223
|
},
|
|
2224
2224
|
'editor.inlineSuggest.suppressInSnippetMode': {
|
|
2225
2225
|
type: 'boolean',
|
|
2226
2226
|
default: defaults.suppressInSnippetMode,
|
|
2227
|
-
description: localize(
|
|
2227
|
+
description: localize(346, "Controls whether inline suggestions are suppressed when in snippet mode."),
|
|
2228
2228
|
},
|
|
2229
2229
|
'editor.inlineSuggest.minShowDelay': {
|
|
2230
2230
|
type: 'number',
|
|
2231
2231
|
default: 0,
|
|
2232
2232
|
minimum: 0,
|
|
2233
2233
|
maximum: 10000,
|
|
2234
|
-
description: localize(
|
|
2234
|
+
description: localize(347, "Controls the minimal delay in milliseconds after which inline suggestions are shown after typing."),
|
|
2235
2235
|
},
|
|
2236
2236
|
'editor.inlineSuggest.experimental.suppressInlineSuggestions': {
|
|
2237
2237
|
type: 'string',
|
|
2238
2238
|
default: defaults.experimental.suppressInlineSuggestions,
|
|
2239
2239
|
tags: ['experimental'],
|
|
2240
|
-
description: localize(
|
|
2240
|
+
description: localize(348, "Suppresses inline completions for specified extension IDs -- comma separated."),
|
|
2241
2241
|
experiment: {
|
|
2242
2242
|
mode: 'auto'
|
|
2243
2243
|
}
|
|
@@ -2246,7 +2246,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2246
2246
|
type: 'boolean',
|
|
2247
2247
|
default: defaults.experimental.emptyResponseInformation,
|
|
2248
2248
|
tags: ['experimental'],
|
|
2249
|
-
description: localize(
|
|
2249
|
+
description: localize(349, "Controls whether to send request information from the inline suggestion provider."),
|
|
2250
2250
|
experiment: {
|
|
2251
2251
|
mode: 'auto'
|
|
2252
2252
|
}
|
|
@@ -2255,7 +2255,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2255
2255
|
type: 'boolean',
|
|
2256
2256
|
default: defaults.triggerCommandOnProviderChange,
|
|
2257
2257
|
tags: ['experimental'],
|
|
2258
|
-
description: localize(
|
|
2258
|
+
description: localize(350, "Controls whether to trigger a command when the inline suggestion provider changes."),
|
|
2259
2259
|
experiment: {
|
|
2260
2260
|
mode: 'auto'
|
|
2261
2261
|
}
|
|
@@ -2265,7 +2265,7 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2265
2265
|
default: defaults.experimental.showOnSuggestConflict,
|
|
2266
2266
|
tags: ['experimental'],
|
|
2267
2267
|
enum: ['always', 'never', 'whenSuggestListIsIncomplete'],
|
|
2268
|
-
description: localize(
|
|
2268
|
+
description: localize(351, "Controls whether to show inline suggestions when there is a suggest conflict."),
|
|
2269
2269
|
experiment: {
|
|
2270
2270
|
mode: 'auto'
|
|
2271
2271
|
}
|
|
@@ -2273,36 +2273,36 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2273
2273
|
'editor.inlineSuggest.fontFamily': {
|
|
2274
2274
|
type: 'string',
|
|
2275
2275
|
default: defaults.fontFamily,
|
|
2276
|
-
description: localize(
|
|
2276
|
+
description: localize(352, "Controls the font family of the inline suggestions.")
|
|
2277
2277
|
},
|
|
2278
2278
|
'editor.inlineSuggest.edits.allowCodeShifting': {
|
|
2279
2279
|
type: 'string',
|
|
2280
2280
|
default: defaults.edits.allowCodeShifting,
|
|
2281
|
-
description: localize(
|
|
2281
|
+
description: localize(353, "Controls whether showing a suggestion will shift the code to make space for the suggestion inline."),
|
|
2282
2282
|
enum: ['always', 'horizontal', 'never'],
|
|
2283
2283
|
tags: ['nextEditSuggestions']
|
|
2284
2284
|
},
|
|
2285
2285
|
'editor.inlineSuggest.edits.showLongDistanceHint': {
|
|
2286
2286
|
type: 'boolean',
|
|
2287
2287
|
default: defaults.edits.showLongDistanceHint,
|
|
2288
|
-
description: localize(
|
|
2288
|
+
description: localize(354, "Controls whether long distance inline suggestions are shown."),
|
|
2289
2289
|
tags: ['nextEditSuggestions', 'experimental']
|
|
2290
2290
|
},
|
|
2291
2291
|
'editor.inlineSuggest.edits.renderSideBySide': {
|
|
2292
2292
|
type: 'string',
|
|
2293
2293
|
default: defaults.edits.renderSideBySide,
|
|
2294
|
-
description: localize(
|
|
2294
|
+
description: localize(355, "Controls whether larger suggestions can be shown side by side."),
|
|
2295
2295
|
enum: ['auto', 'never'],
|
|
2296
2296
|
enumDescriptions: [
|
|
2297
|
-
localize(
|
|
2298
|
-
localize(
|
|
2297
|
+
localize(356, "Larger suggestions will show side by side if there is enough space, otherwise they will be shown below."),
|
|
2298
|
+
localize(357, "Larger suggestions are never shown side by side and will always be shown below."),
|
|
2299
2299
|
],
|
|
2300
2300
|
tags: ['nextEditSuggestions']
|
|
2301
2301
|
},
|
|
2302
2302
|
'editor.inlineSuggest.edits.showCollapsed': {
|
|
2303
2303
|
type: 'boolean',
|
|
2304
2304
|
default: defaults.edits.showCollapsed,
|
|
2305
|
-
description: localize(
|
|
2305
|
+
description: localize(358, "Controls whether the suggestion will show as collapsed until jumping to it."),
|
|
2306
2306
|
tags: ['nextEditSuggestions']
|
|
2307
2307
|
},
|
|
2308
2308
|
});
|
|
@@ -2365,12 +2365,12 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2365
2365
|
'editor.bracketPairColorization.enabled': {
|
|
2366
2366
|
type: 'boolean',
|
|
2367
2367
|
default: defaults.enabled,
|
|
2368
|
-
markdownDescription: localize(
|
|
2368
|
+
markdownDescription: localize(359, "Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.", '`#workbench.colorCustomizations#`')
|
|
2369
2369
|
},
|
|
2370
2370
|
'editor.bracketPairColorization.independentColorPoolPerBracketType': {
|
|
2371
2371
|
type: 'boolean',
|
|
2372
2372
|
default: defaults.independentColorPoolPerBracketType,
|
|
2373
|
-
description: localize(
|
|
2373
|
+
description: localize(360, "Controls whether each bracket type has its own independent color pool.")
|
|
2374
2374
|
},
|
|
2375
2375
|
});
|
|
2376
2376
|
}
|
|
@@ -2402,44 +2402,44 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2402
2402
|
type: ['boolean', 'string'],
|
|
2403
2403
|
enum: [true, 'active', false],
|
|
2404
2404
|
enumDescriptions: [
|
|
2405
|
-
localize(
|
|
2406
|
-
localize(
|
|
2407
|
-
localize(
|
|
2405
|
+
localize(361, "Enables bracket pair guides."),
|
|
2406
|
+
localize(362, "Enables bracket pair guides only for the active bracket pair."),
|
|
2407
|
+
localize(363, "Disables bracket pair guides."),
|
|
2408
2408
|
],
|
|
2409
2409
|
default: defaults.bracketPairs,
|
|
2410
|
-
description: localize(
|
|
2410
|
+
description: localize(364, "Controls whether bracket pair guides are enabled or not.")
|
|
2411
2411
|
},
|
|
2412
2412
|
'editor.guides.bracketPairsHorizontal': {
|
|
2413
2413
|
type: ['boolean', 'string'],
|
|
2414
2414
|
enum: [true, 'active', false],
|
|
2415
2415
|
enumDescriptions: [
|
|
2416
|
-
localize(
|
|
2417
|
-
localize(
|
|
2418
|
-
localize(
|
|
2416
|
+
localize(365, "Enables horizontal guides as addition to vertical bracket pair guides."),
|
|
2417
|
+
localize(366, "Enables horizontal guides only for the active bracket pair."),
|
|
2418
|
+
localize(367, "Disables horizontal bracket pair guides."),
|
|
2419
2419
|
],
|
|
2420
2420
|
default: defaults.bracketPairsHorizontal,
|
|
2421
|
-
description: localize(
|
|
2421
|
+
description: localize(368, "Controls whether horizontal bracket pair guides are enabled or not.")
|
|
2422
2422
|
},
|
|
2423
2423
|
'editor.guides.highlightActiveBracketPair': {
|
|
2424
2424
|
type: 'boolean',
|
|
2425
2425
|
default: defaults.highlightActiveBracketPair,
|
|
2426
|
-
description: localize(
|
|
2426
|
+
description: localize(369, "Controls whether the editor should highlight the active bracket pair.")
|
|
2427
2427
|
},
|
|
2428
2428
|
'editor.guides.indentation': {
|
|
2429
2429
|
type: 'boolean',
|
|
2430
2430
|
default: defaults.indentation,
|
|
2431
|
-
description: localize(
|
|
2431
|
+
description: localize(370, "Controls whether the editor should render indent guides.")
|
|
2432
2432
|
},
|
|
2433
2433
|
'editor.guides.highlightActiveIndentation': {
|
|
2434
2434
|
type: ['boolean', 'string'],
|
|
2435
2435
|
enum: [true, 'always', false],
|
|
2436
2436
|
enumDescriptions: [
|
|
2437
|
-
localize(
|
|
2438
|
-
localize(
|
|
2439
|
-
localize(
|
|
2437
|
+
localize(371, "Highlights the active indent guide."),
|
|
2438
|
+
localize(372, "Highlights the active indent guide even if bracket guides are highlighted."),
|
|
2439
|
+
localize(373, "Do not highlight the active indent guide."),
|
|
2440
2440
|
],
|
|
2441
2441
|
default: defaults.highlightActiveIndentation,
|
|
2442
|
-
description: localize(
|
|
2442
|
+
description: localize(374, "Controls whether the editor should highlight the active indent guide.")
|
|
2443
2443
|
}
|
|
2444
2444
|
});
|
|
2445
2445
|
}
|
|
@@ -2513,221 +2513,221 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2513
2513
|
type: 'string',
|
|
2514
2514
|
enum: ['insert', 'replace'],
|
|
2515
2515
|
enumDescriptions: [
|
|
2516
|
-
localize(
|
|
2517
|
-
localize(
|
|
2516
|
+
localize(375, "Insert suggestion without overwriting text right of the cursor."),
|
|
2517
|
+
localize(376, "Insert suggestion and overwrite text right of the cursor."),
|
|
2518
2518
|
],
|
|
2519
2519
|
default: defaults.insertMode,
|
|
2520
|
-
description: localize(
|
|
2520
|
+
description: localize(377, "Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature.")
|
|
2521
2521
|
},
|
|
2522
2522
|
'editor.suggest.filterGraceful': {
|
|
2523
2523
|
type: 'boolean',
|
|
2524
2524
|
default: defaults.filterGraceful,
|
|
2525
|
-
description: localize(
|
|
2525
|
+
description: localize(378, "Controls whether filtering and sorting suggestions accounts for small typos.")
|
|
2526
2526
|
},
|
|
2527
2527
|
'editor.suggest.localityBonus': {
|
|
2528
2528
|
type: 'boolean',
|
|
2529
2529
|
default: defaults.localityBonus,
|
|
2530
|
-
description: localize(
|
|
2530
|
+
description: localize(379, "Controls whether sorting favors words that appear close to the cursor.")
|
|
2531
2531
|
},
|
|
2532
2532
|
'editor.suggest.shareSuggestSelections': {
|
|
2533
2533
|
type: 'boolean',
|
|
2534
2534
|
default: defaults.shareSuggestSelections,
|
|
2535
|
-
markdownDescription: localize(
|
|
2535
|
+
markdownDescription: localize(380, "Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`).")
|
|
2536
2536
|
},
|
|
2537
2537
|
'editor.suggest.selectionMode': {
|
|
2538
2538
|
type: 'string',
|
|
2539
2539
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2540
2540
|
enumDescriptions: [
|
|
2541
|
-
localize(
|
|
2542
|
-
localize(
|
|
2543
|
-
localize(
|
|
2544
|
-
localize(
|
|
2541
|
+
localize(381, "Always select a suggestion when automatically triggering IntelliSense."),
|
|
2542
|
+
localize(382, "Never select a suggestion when automatically triggering IntelliSense."),
|
|
2543
|
+
localize(383, "Select a suggestion only when triggering IntelliSense from a trigger character."),
|
|
2544
|
+
localize(384, "Select a suggestion only when triggering IntelliSense as you type."),
|
|
2545
2545
|
],
|
|
2546
2546
|
default: defaults.selectionMode,
|
|
2547
|
-
markdownDescription: localize(
|
|
2547
|
+
markdownDescription: localize(385, "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`.", '`#editor.quickSuggestions#`', '`#editor.suggestOnTriggerCharacters#`')
|
|
2548
2548
|
},
|
|
2549
2549
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
2550
2550
|
type: 'boolean',
|
|
2551
2551
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2552
|
-
description: localize(
|
|
2552
|
+
description: localize(386, "Controls whether an active snippet prevents quick suggestions.")
|
|
2553
2553
|
},
|
|
2554
2554
|
'editor.suggest.showIcons': {
|
|
2555
2555
|
type: 'boolean',
|
|
2556
2556
|
default: defaults.showIcons,
|
|
2557
|
-
description: localize(
|
|
2557
|
+
description: localize(387, "Controls whether to show or hide icons in suggestions.")
|
|
2558
2558
|
},
|
|
2559
2559
|
'editor.suggest.showStatusBar': {
|
|
2560
2560
|
type: 'boolean',
|
|
2561
2561
|
default: defaults.showStatusBar,
|
|
2562
|
-
description: localize(
|
|
2562
|
+
description: localize(388, "Controls the visibility of the status bar at the bottom of the suggest widget.")
|
|
2563
2563
|
},
|
|
2564
2564
|
'editor.suggest.preview': {
|
|
2565
2565
|
type: 'boolean',
|
|
2566
2566
|
default: defaults.preview,
|
|
2567
|
-
description: localize(
|
|
2567
|
+
description: localize(389, "Controls whether to preview the suggestion outcome in the editor.")
|
|
2568
2568
|
},
|
|
2569
2569
|
'editor.suggest.showInlineDetails': {
|
|
2570
2570
|
type: 'boolean',
|
|
2571
2571
|
default: defaults.showInlineDetails,
|
|
2572
|
-
description: localize(
|
|
2572
|
+
description: localize(390, "Controls whether suggest details show inline with the label or only in the details widget.")
|
|
2573
2573
|
},
|
|
2574
2574
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2575
2575
|
type: 'number',
|
|
2576
|
-
deprecationMessage: localize(
|
|
2576
|
+
deprecationMessage: localize(391, "This setting is deprecated. The suggest widget can now be resized."),
|
|
2577
2577
|
},
|
|
2578
2578
|
'editor.suggest.filteredTypes': {
|
|
2579
2579
|
type: 'object',
|
|
2580
|
-
deprecationMessage: localize(
|
|
2580
|
+
deprecationMessage: localize(392, "This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead.")
|
|
2581
2581
|
},
|
|
2582
2582
|
'editor.suggest.showMethods': {
|
|
2583
2583
|
type: 'boolean',
|
|
2584
2584
|
default: true,
|
|
2585
|
-
markdownDescription: localize(
|
|
2585
|
+
markdownDescription: localize(393, "When enabled IntelliSense shows `method`-suggestions.")
|
|
2586
2586
|
},
|
|
2587
2587
|
'editor.suggest.showFunctions': {
|
|
2588
2588
|
type: 'boolean',
|
|
2589
2589
|
default: true,
|
|
2590
|
-
markdownDescription: localize(
|
|
2590
|
+
markdownDescription: localize(394, "When enabled IntelliSense shows `function`-suggestions.")
|
|
2591
2591
|
},
|
|
2592
2592
|
'editor.suggest.showConstructors': {
|
|
2593
2593
|
type: 'boolean',
|
|
2594
2594
|
default: true,
|
|
2595
|
-
markdownDescription: localize(
|
|
2595
|
+
markdownDescription: localize(395, "When enabled IntelliSense shows `constructor`-suggestions.")
|
|
2596
2596
|
},
|
|
2597
2597
|
'editor.suggest.showDeprecated': {
|
|
2598
2598
|
type: 'boolean',
|
|
2599
2599
|
default: true,
|
|
2600
|
-
markdownDescription: localize(
|
|
2600
|
+
markdownDescription: localize(396, "When enabled IntelliSense shows `deprecated`-suggestions.")
|
|
2601
2601
|
},
|
|
2602
2602
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2603
2603
|
type: 'boolean',
|
|
2604
2604
|
default: true,
|
|
2605
|
-
markdownDescription: localize(
|
|
2605
|
+
markdownDescription: localize(397, "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.")
|
|
2606
2606
|
},
|
|
2607
2607
|
'editor.suggest.showFields': {
|
|
2608
2608
|
type: 'boolean',
|
|
2609
2609
|
default: true,
|
|
2610
|
-
markdownDescription: localize(
|
|
2610
|
+
markdownDescription: localize(398, "When enabled IntelliSense shows `field`-suggestions.")
|
|
2611
2611
|
},
|
|
2612
2612
|
'editor.suggest.showVariables': {
|
|
2613
2613
|
type: 'boolean',
|
|
2614
2614
|
default: true,
|
|
2615
|
-
markdownDescription: localize(
|
|
2615
|
+
markdownDescription: localize(399, "When enabled IntelliSense shows `variable`-suggestions.")
|
|
2616
2616
|
},
|
|
2617
2617
|
'editor.suggest.showClasses': {
|
|
2618
2618
|
type: 'boolean',
|
|
2619
2619
|
default: true,
|
|
2620
|
-
markdownDescription: localize(
|
|
2620
|
+
markdownDescription: localize(400, "When enabled IntelliSense shows `class`-suggestions.")
|
|
2621
2621
|
},
|
|
2622
2622
|
'editor.suggest.showStructs': {
|
|
2623
2623
|
type: 'boolean',
|
|
2624
2624
|
default: true,
|
|
2625
|
-
markdownDescription: localize(
|
|
2625
|
+
markdownDescription: localize(401, "When enabled IntelliSense shows `struct`-suggestions.")
|
|
2626
2626
|
},
|
|
2627
2627
|
'editor.suggest.showInterfaces': {
|
|
2628
2628
|
type: 'boolean',
|
|
2629
2629
|
default: true,
|
|
2630
|
-
markdownDescription: localize(
|
|
2630
|
+
markdownDescription: localize(402, "When enabled IntelliSense shows `interface`-suggestions.")
|
|
2631
2631
|
},
|
|
2632
2632
|
'editor.suggest.showModules': {
|
|
2633
2633
|
type: 'boolean',
|
|
2634
2634
|
default: true,
|
|
2635
|
-
markdownDescription: localize(
|
|
2635
|
+
markdownDescription: localize(403, "When enabled IntelliSense shows `module`-suggestions.")
|
|
2636
2636
|
},
|
|
2637
2637
|
'editor.suggest.showProperties': {
|
|
2638
2638
|
type: 'boolean',
|
|
2639
2639
|
default: true,
|
|
2640
|
-
markdownDescription: localize(
|
|
2640
|
+
markdownDescription: localize(404, "When enabled IntelliSense shows `property`-suggestions.")
|
|
2641
2641
|
},
|
|
2642
2642
|
'editor.suggest.showEvents': {
|
|
2643
2643
|
type: 'boolean',
|
|
2644
2644
|
default: true,
|
|
2645
|
-
markdownDescription: localize(
|
|
2645
|
+
markdownDescription: localize(405, "When enabled IntelliSense shows `event`-suggestions.")
|
|
2646
2646
|
},
|
|
2647
2647
|
'editor.suggest.showOperators': {
|
|
2648
2648
|
type: 'boolean',
|
|
2649
2649
|
default: true,
|
|
2650
|
-
markdownDescription: localize(
|
|
2650
|
+
markdownDescription: localize(406, "When enabled IntelliSense shows `operator`-suggestions.")
|
|
2651
2651
|
},
|
|
2652
2652
|
'editor.suggest.showUnits': {
|
|
2653
2653
|
type: 'boolean',
|
|
2654
2654
|
default: true,
|
|
2655
|
-
markdownDescription: localize(
|
|
2655
|
+
markdownDescription: localize(407, "When enabled IntelliSense shows `unit`-suggestions.")
|
|
2656
2656
|
},
|
|
2657
2657
|
'editor.suggest.showValues': {
|
|
2658
2658
|
type: 'boolean',
|
|
2659
2659
|
default: true,
|
|
2660
|
-
markdownDescription: localize(
|
|
2660
|
+
markdownDescription: localize(408, "When enabled IntelliSense shows `value`-suggestions.")
|
|
2661
2661
|
},
|
|
2662
2662
|
'editor.suggest.showConstants': {
|
|
2663
2663
|
type: 'boolean',
|
|
2664
2664
|
default: true,
|
|
2665
|
-
markdownDescription: localize(
|
|
2665
|
+
markdownDescription: localize(409, "When enabled IntelliSense shows `constant`-suggestions.")
|
|
2666
2666
|
},
|
|
2667
2667
|
'editor.suggest.showEnums': {
|
|
2668
2668
|
type: 'boolean',
|
|
2669
2669
|
default: true,
|
|
2670
|
-
markdownDescription: localize(
|
|
2670
|
+
markdownDescription: localize(410, "When enabled IntelliSense shows `enum`-suggestions.")
|
|
2671
2671
|
},
|
|
2672
2672
|
'editor.suggest.showEnumMembers': {
|
|
2673
2673
|
type: 'boolean',
|
|
2674
2674
|
default: true,
|
|
2675
|
-
markdownDescription: localize(
|
|
2675
|
+
markdownDescription: localize(411, "When enabled IntelliSense shows `enumMember`-suggestions.")
|
|
2676
2676
|
},
|
|
2677
2677
|
'editor.suggest.showKeywords': {
|
|
2678
2678
|
type: 'boolean',
|
|
2679
2679
|
default: true,
|
|
2680
|
-
markdownDescription: localize(
|
|
2680
|
+
markdownDescription: localize(412, "When enabled IntelliSense shows `keyword`-suggestions.")
|
|
2681
2681
|
},
|
|
2682
2682
|
'editor.suggest.showWords': {
|
|
2683
2683
|
type: 'boolean',
|
|
2684
2684
|
default: true,
|
|
2685
|
-
markdownDescription: localize(
|
|
2685
|
+
markdownDescription: localize(413, "When enabled IntelliSense shows `text`-suggestions.")
|
|
2686
2686
|
},
|
|
2687
2687
|
'editor.suggest.showColors': {
|
|
2688
2688
|
type: 'boolean',
|
|
2689
2689
|
default: true,
|
|
2690
|
-
markdownDescription: localize(
|
|
2690
|
+
markdownDescription: localize(414, "When enabled IntelliSense shows `color`-suggestions.")
|
|
2691
2691
|
},
|
|
2692
2692
|
'editor.suggest.showFiles': {
|
|
2693
2693
|
type: 'boolean',
|
|
2694
2694
|
default: true,
|
|
2695
|
-
markdownDescription: localize(
|
|
2695
|
+
markdownDescription: localize(415, "When enabled IntelliSense shows `file`-suggestions.")
|
|
2696
2696
|
},
|
|
2697
2697
|
'editor.suggest.showReferences': {
|
|
2698
2698
|
type: 'boolean',
|
|
2699
2699
|
default: true,
|
|
2700
|
-
markdownDescription: localize(
|
|
2700
|
+
markdownDescription: localize(416, "When enabled IntelliSense shows `reference`-suggestions.")
|
|
2701
2701
|
},
|
|
2702
2702
|
'editor.suggest.showCustomcolors': {
|
|
2703
2703
|
type: 'boolean',
|
|
2704
2704
|
default: true,
|
|
2705
|
-
markdownDescription: localize(
|
|
2705
|
+
markdownDescription: localize(417, "When enabled IntelliSense shows `customcolor`-suggestions.")
|
|
2706
2706
|
},
|
|
2707
2707
|
'editor.suggest.showFolders': {
|
|
2708
2708
|
type: 'boolean',
|
|
2709
2709
|
default: true,
|
|
2710
|
-
markdownDescription: localize(
|
|
2710
|
+
markdownDescription: localize(418, "When enabled IntelliSense shows `folder`-suggestions.")
|
|
2711
2711
|
},
|
|
2712
2712
|
'editor.suggest.showTypeParameters': {
|
|
2713
2713
|
type: 'boolean',
|
|
2714
2714
|
default: true,
|
|
2715
|
-
markdownDescription: localize(
|
|
2715
|
+
markdownDescription: localize(419, "When enabled IntelliSense shows `typeParameter`-suggestions.")
|
|
2716
2716
|
},
|
|
2717
2717
|
'editor.suggest.showSnippets': {
|
|
2718
2718
|
type: 'boolean',
|
|
2719
2719
|
default: true,
|
|
2720
|
-
markdownDescription: localize(
|
|
2720
|
+
markdownDescription: localize(420, "When enabled IntelliSense shows `snippet`-suggestions.")
|
|
2721
2721
|
},
|
|
2722
2722
|
'editor.suggest.showUsers': {
|
|
2723
2723
|
type: 'boolean',
|
|
2724
2724
|
default: true,
|
|
2725
|
-
markdownDescription: localize(
|
|
2725
|
+
markdownDescription: localize(421, "When enabled IntelliSense shows `user`-suggestions.")
|
|
2726
2726
|
},
|
|
2727
2727
|
'editor.suggest.showIssues': {
|
|
2728
2728
|
type: 'boolean',
|
|
2729
2729
|
default: true,
|
|
2730
|
-
markdownDescription: localize(
|
|
2730
|
+
markdownDescription: localize(422, "When enabled IntelliSense shows `issues`-suggestions.")
|
|
2731
2731
|
}
|
|
2732
2732
|
});
|
|
2733
2733
|
}
|
|
@@ -2787,12 +2787,12 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2787
2787
|
selectSubwords: true,
|
|
2788
2788
|
}, {
|
|
2789
2789
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2790
|
-
description: localize(
|
|
2790
|
+
description: localize(423, "Whether leading and trailing whitespace should always be selected."),
|
|
2791
2791
|
default: true,
|
|
2792
2792
|
type: 'boolean'
|
|
2793
2793
|
},
|
|
2794
2794
|
'editor.smartSelect.selectSubwords': {
|
|
2795
|
-
description: localize(
|
|
2795
|
+
description: localize(424, "Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."),
|
|
2796
2796
|
default: true,
|
|
2797
2797
|
type: 'boolean'
|
|
2798
2798
|
}
|
|
@@ -2829,7 +2829,7 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2829
2829
|
}
|
|
2830
2830
|
}
|
|
2831
2831
|
],
|
|
2832
|
-
description: localize(
|
|
2832
|
+
description: localize(425, "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.)."),
|
|
2833
2833
|
type: 'array',
|
|
2834
2834
|
items: {
|
|
2835
2835
|
type: 'string',
|
|
@@ -2867,12 +2867,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
2867
2867
|
type: 'string',
|
|
2868
2868
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2869
2869
|
enumDescriptions: [
|
|
2870
|
-
localize(
|
|
2871
|
-
localize(
|
|
2872
|
-
localize(
|
|
2873
|
-
localize(
|
|
2870
|
+
localize(426, "No indentation. Wrapped lines begin at column 1."),
|
|
2871
|
+
localize(427, "Wrapped lines get the same indentation as the parent."),
|
|
2872
|
+
localize(428, "Wrapped lines get +1 indentation toward the parent."),
|
|
2873
|
+
localize(429, "Wrapped lines get +2 indentation toward the parent."),
|
|
2874
2874
|
],
|
|
2875
|
-
description: localize(
|
|
2875
|
+
description: localize(430, "Controls the indentation of wrapped lines."),
|
|
2876
2876
|
default: 'same'
|
|
2877
2877
|
}
|
|
2878
2878
|
});
|
|
@@ -2922,18 +2922,18 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2922
2922
|
'editor.dropIntoEditor.enabled': {
|
|
2923
2923
|
type: 'boolean',
|
|
2924
2924
|
default: defaults.enabled,
|
|
2925
|
-
markdownDescription: localize(
|
|
2925
|
+
markdownDescription: localize(431, "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)."),
|
|
2926
2926
|
},
|
|
2927
2927
|
'editor.dropIntoEditor.showDropSelector': {
|
|
2928
2928
|
type: 'string',
|
|
2929
|
-
markdownDescription: localize(
|
|
2929
|
+
markdownDescription: localize(432, "Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."),
|
|
2930
2930
|
enum: [
|
|
2931
2931
|
'afterDrop',
|
|
2932
2932
|
'never'
|
|
2933
2933
|
],
|
|
2934
2934
|
enumDescriptions: [
|
|
2935
|
-
localize(
|
|
2936
|
-
localize(
|
|
2935
|
+
localize(433, "Show the drop selector widget after a file is dropped into the editor."),
|
|
2936
|
+
localize(434, "Never show the drop selector widget. Instead the default drop provider is always used."),
|
|
2937
2937
|
],
|
|
2938
2938
|
default: 'afterDrop',
|
|
2939
2939
|
},
|
|
@@ -2957,18 +2957,18 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2957
2957
|
'editor.pasteAs.enabled': {
|
|
2958
2958
|
type: 'boolean',
|
|
2959
2959
|
default: defaults.enabled,
|
|
2960
|
-
markdownDescription: localize(
|
|
2960
|
+
markdownDescription: localize(435, "Controls whether you can paste content in different ways."),
|
|
2961
2961
|
},
|
|
2962
2962
|
'editor.pasteAs.showPasteSelector': {
|
|
2963
2963
|
type: 'string',
|
|
2964
|
-
markdownDescription: localize(
|
|
2964
|
+
markdownDescription: localize(436, "Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."),
|
|
2965
2965
|
enum: [
|
|
2966
2966
|
'afterPaste',
|
|
2967
2967
|
'never'
|
|
2968
2968
|
],
|
|
2969
2969
|
enumDescriptions: [
|
|
2970
|
-
localize(
|
|
2971
|
-
localize(
|
|
2970
|
+
localize(437, "Show the paste selector widget after content is pasted into the editor."),
|
|
2971
|
+
localize(438, "Never show the paste selector widget. Instead the default pasting behavior is always used."),
|
|
2972
2972
|
],
|
|
2973
2973
|
default: 'afterPaste',
|
|
2974
2974
|
},
|
|
@@ -2995,236 +2995,236 @@ function register(option) {
|
|
|
2995
2995
|
return option;
|
|
2996
2996
|
}
|
|
2997
2997
|
const EditorOptions = {
|
|
2998
|
-
acceptSuggestionOnCommitCharacter: register(new EditorBooleanOption(0 /* EditorOption.acceptSuggestionOnCommitCharacter */, 'acceptSuggestionOnCommitCharacter', true, { markdownDescription: localize(
|
|
2998
|
+
acceptSuggestionOnCommitCharacter: register(new EditorBooleanOption(0 /* EditorOption.acceptSuggestionOnCommitCharacter */, 'acceptSuggestionOnCommitCharacter', true, { markdownDescription: localize(439, "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.") })),
|
|
2999
2999
|
acceptSuggestionOnEnter: register(new EditorStringEnumOption(1 /* EditorOption.acceptSuggestionOnEnter */, 'acceptSuggestionOnEnter', 'on', ['on', 'smart', 'off'], {
|
|
3000
3000
|
markdownEnumDescriptions: [
|
|
3001
3001
|
'',
|
|
3002
|
-
localize(
|
|
3002
|
+
localize(440, "Only accept a suggestion with `Enter` when it makes a textual change."),
|
|
3003
3003
|
''
|
|
3004
3004
|
],
|
|
3005
|
-
markdownDescription: localize(
|
|
3005
|
+
markdownDescription: localize(441, "Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")
|
|
3006
3006
|
})),
|
|
3007
3007
|
accessibilitySupport: register(new EditorAccessibilitySupport()),
|
|
3008
3008
|
accessibilityPageSize: register(new EditorIntOption(3 /* EditorOption.accessibilityPageSize */, 'accessibilityPageSize', 500, 1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3009
|
-
description: localize(
|
|
3009
|
+
description: localize(442, "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."),
|
|
3010
3010
|
tags: ['accessibility']
|
|
3011
3011
|
})),
|
|
3012
3012
|
allowOverflow: register(new EditorBooleanOption(4 /* EditorOption.allowOverflow */, 'allowOverflow', true)),
|
|
3013
3013
|
allowVariableLineHeights: register(new EditorBooleanOption(5 /* EditorOption.allowVariableLineHeights */, 'allowVariableLineHeights', true, {
|
|
3014
|
-
description: localize(
|
|
3014
|
+
description: localize(443, "Controls whether to allow using variable line heights in the editor.")
|
|
3015
3015
|
})),
|
|
3016
3016
|
allowVariableFonts: register(new EditorBooleanOption(6 /* EditorOption.allowVariableFonts */, 'allowVariableFonts', true, {
|
|
3017
|
-
description: localize(
|
|
3017
|
+
description: localize(444, "Controls whether to allow using variable fonts in the editor.")
|
|
3018
3018
|
})),
|
|
3019
3019
|
allowVariableFontsInAccessibilityMode: register(new EditorBooleanOption(7 /* EditorOption.allowVariableFontsInAccessibilityMode */, 'allowVariableFontsInAccessibilityMode', false, {
|
|
3020
|
-
description: localize(
|
|
3020
|
+
description: localize(445, "Controls whether to allow using variable fonts in the editor in the accessibility mode."),
|
|
3021
3021
|
tags: ['accessibility']
|
|
3022
3022
|
})),
|
|
3023
|
-
ariaLabel: register(new EditorStringOption(8 /* EditorOption.ariaLabel */, 'ariaLabel', localize(
|
|
3023
|
+
ariaLabel: register(new EditorStringOption(8 /* EditorOption.ariaLabel */, 'ariaLabel', localize(446, "Editor content"))),
|
|
3024
3024
|
ariaRequired: register(new EditorBooleanOption(9 /* EditorOption.ariaRequired */, 'ariaRequired', false, undefined)),
|
|
3025
3025
|
screenReaderAnnounceInlineSuggestion: register(new EditorBooleanOption(12 /* EditorOption.screenReaderAnnounceInlineSuggestion */, 'screenReaderAnnounceInlineSuggestion', true, {
|
|
3026
|
-
description: localize(
|
|
3026
|
+
description: localize(447, "Control whether inline suggestions are announced by a screen reader."),
|
|
3027
3027
|
tags: ['accessibility']
|
|
3028
3028
|
})),
|
|
3029
3029
|
autoClosingBrackets: register(new EditorStringEnumOption(10 /* EditorOption.autoClosingBrackets */, 'autoClosingBrackets', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3030
3030
|
enumDescriptions: [
|
|
3031
3031
|
'',
|
|
3032
|
-
localize(
|
|
3033
|
-
localize(
|
|
3032
|
+
localize(448, "Use language configurations to determine when to autoclose brackets."),
|
|
3033
|
+
localize(449, "Autoclose brackets only when the cursor is to the left of whitespace."),
|
|
3034
3034
|
'',
|
|
3035
3035
|
],
|
|
3036
|
-
description: localize(
|
|
3036
|
+
description: localize(450, "Controls whether the editor should automatically close brackets after the user adds an opening bracket.")
|
|
3037
3037
|
})),
|
|
3038
3038
|
autoClosingComments: register(new EditorStringEnumOption(11 /* EditorOption.autoClosingComments */, 'autoClosingComments', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3039
3039
|
enumDescriptions: [
|
|
3040
3040
|
'',
|
|
3041
|
-
localize(
|
|
3042
|
-
localize(
|
|
3041
|
+
localize(451, "Use language configurations to determine when to autoclose comments."),
|
|
3042
|
+
localize(452, "Autoclose comments only when the cursor is to the left of whitespace."),
|
|
3043
3043
|
'',
|
|
3044
3044
|
],
|
|
3045
|
-
description: localize(
|
|
3045
|
+
description: localize(453, "Controls whether the editor should automatically close comments after the user adds an opening comment.")
|
|
3046
3046
|
})),
|
|
3047
3047
|
autoClosingDelete: register(new EditorStringEnumOption(13 /* EditorOption.autoClosingDelete */, 'autoClosingDelete', 'auto', ['always', 'auto', 'never'], {
|
|
3048
3048
|
enumDescriptions: [
|
|
3049
3049
|
'',
|
|
3050
|
-
localize(
|
|
3050
|
+
localize(454, "Remove adjacent closing quotes or brackets only if they were automatically inserted."),
|
|
3051
3051
|
'',
|
|
3052
3052
|
],
|
|
3053
|
-
description: localize(
|
|
3053
|
+
description: localize(455, "Controls whether the editor should remove adjacent closing quotes or brackets when deleting.")
|
|
3054
3054
|
})),
|
|
3055
3055
|
autoClosingOvertype: register(new EditorStringEnumOption(14 /* EditorOption.autoClosingOvertype */, 'autoClosingOvertype', 'auto', ['always', 'auto', 'never'], {
|
|
3056
3056
|
enumDescriptions: [
|
|
3057
3057
|
'',
|
|
3058
|
-
localize(
|
|
3058
|
+
localize(456, "Type over closing quotes or brackets only if they were automatically inserted."),
|
|
3059
3059
|
'',
|
|
3060
3060
|
],
|
|
3061
|
-
description: localize(
|
|
3061
|
+
description: localize(457, "Controls whether the editor should type over closing quotes or brackets.")
|
|
3062
3062
|
})),
|
|
3063
3063
|
autoClosingQuotes: register(new EditorStringEnumOption(15 /* EditorOption.autoClosingQuotes */, 'autoClosingQuotes', 'languageDefined', ['always', 'languageDefined', 'beforeWhitespace', 'never'], {
|
|
3064
3064
|
enumDescriptions: [
|
|
3065
3065
|
'',
|
|
3066
|
-
localize(
|
|
3067
|
-
localize(
|
|
3066
|
+
localize(458, "Use language configurations to determine when to autoclose quotes."),
|
|
3067
|
+
localize(459, "Autoclose quotes only when the cursor is to the left of whitespace."),
|
|
3068
3068
|
'',
|
|
3069
3069
|
],
|
|
3070
|
-
description: localize(
|
|
3070
|
+
description: localize(460, "Controls whether the editor should automatically close quotes after the user adds an opening quote.")
|
|
3071
3071
|
})),
|
|
3072
3072
|
autoIndent: register(new EditorEnumOption(16 /* EditorOption.autoIndent */, 'autoIndent', 4 /* EditorAutoIndentStrategy.Full */, 'full', ['none', 'keep', 'brackets', 'advanced', 'full'], _autoIndentFromString, {
|
|
3073
3073
|
enumDescriptions: [
|
|
3074
|
-
localize(
|
|
3075
|
-
localize(
|
|
3076
|
-
localize(
|
|
3077
|
-
localize(
|
|
3078
|
-
localize(
|
|
3074
|
+
localize(461, "The editor will not insert indentation automatically."),
|
|
3075
|
+
localize(462, "The editor will keep the current line's indentation."),
|
|
3076
|
+
localize(463, "The editor will keep the current line's indentation and honor language defined brackets."),
|
|
3077
|
+
localize(464, "The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."),
|
|
3078
|
+
localize(465, "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."),
|
|
3079
3079
|
],
|
|
3080
|
-
description: localize(
|
|
3080
|
+
description: localize(466, "Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines.")
|
|
3081
3081
|
})),
|
|
3082
|
-
autoIndentOnPaste: register(new EditorBooleanOption(17 /* EditorOption.autoIndentOnPaste */, 'autoIndentOnPaste', false, { description: localize(
|
|
3083
|
-
autoIndentOnPasteWithinString: register(new EditorBooleanOption(18 /* EditorOption.autoIndentOnPasteWithinString */, 'autoIndentOnPasteWithinString', true, { description: localize(
|
|
3082
|
+
autoIndentOnPaste: register(new EditorBooleanOption(17 /* EditorOption.autoIndentOnPaste */, 'autoIndentOnPaste', false, { description: localize(467, "Controls whether the editor should automatically auto-indent the pasted content.") })),
|
|
3083
|
+
autoIndentOnPasteWithinString: register(new EditorBooleanOption(18 /* EditorOption.autoIndentOnPasteWithinString */, 'autoIndentOnPasteWithinString', true, { description: localize(468, "Controls whether the editor should automatically auto-indent the pasted content when pasted within a string. This takes effect when autoIndentOnPaste is true.") })),
|
|
3084
3084
|
automaticLayout: register(new EditorBooleanOption(19 /* EditorOption.automaticLayout */, 'automaticLayout', false)),
|
|
3085
3085
|
autoSurround: register(new EditorStringEnumOption(20 /* EditorOption.autoSurround */, 'autoSurround', 'languageDefined', ['languageDefined', 'quotes', 'brackets', 'never'], {
|
|
3086
3086
|
enumDescriptions: [
|
|
3087
|
-
localize(
|
|
3088
|
-
localize(
|
|
3089
|
-
localize(
|
|
3087
|
+
localize(469, "Use language configurations to determine when to automatically surround selections."),
|
|
3088
|
+
localize(470, "Surround with quotes but not brackets."),
|
|
3089
|
+
localize(471, "Surround with brackets but not quotes."),
|
|
3090
3090
|
''
|
|
3091
3091
|
],
|
|
3092
|
-
description: localize(
|
|
3092
|
+
description: localize(472, "Controls whether the editor should automatically surround selections when typing quotes or brackets.")
|
|
3093
3093
|
})),
|
|
3094
3094
|
bracketPairColorization: register(new BracketPairColorization()),
|
|
3095
3095
|
bracketPairGuides: register(new GuideOptions()),
|
|
3096
|
-
stickyTabStops: register(new EditorBooleanOption(132 /* EditorOption.stickyTabStops */, 'stickyTabStops', false, { description: localize(
|
|
3097
|
-
codeLens: register(new EditorBooleanOption(23 /* EditorOption.codeLens */, 'codeLens', true, { description: localize(
|
|
3098
|
-
codeLensFontFamily: register(new EditorStringOption(24 /* EditorOption.codeLensFontFamily */, 'codeLensFontFamily', '', { description: localize(
|
|
3096
|
+
stickyTabStops: register(new EditorBooleanOption(132 /* EditorOption.stickyTabStops */, 'stickyTabStops', false, { description: localize(473, "Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.") })),
|
|
3097
|
+
codeLens: register(new EditorBooleanOption(23 /* EditorOption.codeLens */, 'codeLens', true, { description: localize(474, "Controls whether the editor shows CodeLens.") })),
|
|
3098
|
+
codeLensFontFamily: register(new EditorStringOption(24 /* EditorOption.codeLensFontFamily */, 'codeLensFontFamily', '', { description: localize(475, "Controls the font family for CodeLens.") })),
|
|
3099
3099
|
codeLensFontSize: register(new EditorIntOption(25 /* EditorOption.codeLensFontSize */, 'codeLensFontSize', 0, 0, 100, {
|
|
3100
3100
|
type: 'number',
|
|
3101
3101
|
default: 0,
|
|
3102
3102
|
minimum: 0,
|
|
3103
3103
|
maximum: 100,
|
|
3104
|
-
markdownDescription: localize(
|
|
3104
|
+
markdownDescription: localize(476, "Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used.")
|
|
3105
3105
|
})),
|
|
3106
|
-
colorDecorators: register(new EditorBooleanOption(26 /* EditorOption.colorDecorators */, 'colorDecorators', true, { description: localize(
|
|
3106
|
+
colorDecorators: register(new EditorBooleanOption(26 /* EditorOption.colorDecorators */, 'colorDecorators', true, { description: localize(477, "Controls whether the editor should render the inline color decorators and color picker.") })),
|
|
3107
3107
|
colorDecoratorActivatedOn: register(new EditorStringEnumOption(168 /* EditorOption.colorDecoratorsActivatedOn */, 'colorDecoratorsActivatedOn', 'clickAndHover', ['clickAndHover', 'hover', 'click'], {
|
|
3108
3108
|
enumDescriptions: [
|
|
3109
|
-
localize(
|
|
3110
|
-
localize(
|
|
3111
|
-
localize(
|
|
3109
|
+
localize(478, "Make the color picker appear both on click and hover of the color decorator"),
|
|
3110
|
+
localize(479, "Make the color picker appear on hover of the color decorator"),
|
|
3111
|
+
localize(480, "Make the color picker appear on click of the color decorator")
|
|
3112
3112
|
],
|
|
3113
|
-
description: localize(
|
|
3113
|
+
description: localize(481, "Controls the condition to make a color picker appear from a color decorator.")
|
|
3114
3114
|
})),
|
|
3115
3115
|
colorDecoratorsLimit: register(new EditorIntOption(27 /* EditorOption.colorDecoratorsLimit */, 'colorDecoratorsLimit', 500, 1, 1000000, {
|
|
3116
|
-
markdownDescription: localize(
|
|
3116
|
+
markdownDescription: localize(482, "Controls the max number of color decorators that can be rendered in an editor at once.")
|
|
3117
3117
|
})),
|
|
3118
|
-
columnSelection: register(new EditorBooleanOption(28 /* EditorOption.columnSelection */, 'columnSelection', false, { description: localize(
|
|
3118
|
+
columnSelection: register(new EditorBooleanOption(28 /* EditorOption.columnSelection */, 'columnSelection', false, { description: localize(483, "Enable that the selection with the mouse and keys is doing column selection.") })),
|
|
3119
3119
|
comments: register(new EditorComments()),
|
|
3120
3120
|
contextmenu: register(new EditorBooleanOption(30 /* EditorOption.contextmenu */, 'contextmenu', true)),
|
|
3121
|
-
copyWithSyntaxHighlighting: register(new EditorBooleanOption(31 /* EditorOption.copyWithSyntaxHighlighting */, 'copyWithSyntaxHighlighting', true, { description: localize(
|
|
3122
|
-
cursorBlinking: register(new EditorEnumOption(32 /* EditorOption.cursorBlinking */, 'cursorBlinking', 1 /* TextEditorCursorBlinkingStyle.Blink */, 'blink', ['blink', 'smooth', 'phase', 'expand', 'solid'], cursorBlinkingStyleFromString, { description: localize(
|
|
3121
|
+
copyWithSyntaxHighlighting: register(new EditorBooleanOption(31 /* EditorOption.copyWithSyntaxHighlighting */, 'copyWithSyntaxHighlighting', true, { description: localize(484, "Controls whether syntax highlighting should be copied into the clipboard.") })),
|
|
3122
|
+
cursorBlinking: register(new EditorEnumOption(32 /* EditorOption.cursorBlinking */, 'cursorBlinking', 1 /* TextEditorCursorBlinkingStyle.Blink */, 'blink', ['blink', 'smooth', 'phase', 'expand', 'solid'], cursorBlinkingStyleFromString, { description: localize(485, "Control the cursor animation style.") })),
|
|
3123
3123
|
cursorSmoothCaretAnimation: register(new EditorStringEnumOption(33 /* EditorOption.cursorSmoothCaretAnimation */, 'cursorSmoothCaretAnimation', 'off', ['off', 'explicit', 'on'], {
|
|
3124
3124
|
enumDescriptions: [
|
|
3125
|
-
localize(
|
|
3126
|
-
localize(
|
|
3127
|
-
localize(
|
|
3125
|
+
localize(486, "Smooth caret animation is disabled."),
|
|
3126
|
+
localize(487, "Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."),
|
|
3127
|
+
localize(488, "Smooth caret animation is always enabled.")
|
|
3128
3128
|
],
|
|
3129
|
-
description: localize(
|
|
3129
|
+
description: localize(489, "Controls whether the smooth caret animation should be enabled.")
|
|
3130
3130
|
})),
|
|
3131
|
-
cursorStyle: register(new EditorEnumOption(34 /* EditorOption.cursorStyle */, 'cursorStyle', TextEditorCursorStyle.Line, 'line', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: localize(
|
|
3132
|
-
overtypeCursorStyle: register(new EditorEnumOption(92 /* EditorOption.overtypeCursorStyle */, 'overtypeCursorStyle', TextEditorCursorStyle.Block, 'block', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: localize(
|
|
3133
|
-
cursorSurroundingLines: register(new EditorIntOption(35 /* EditorOption.cursorSurroundingLines */, 'cursorSurroundingLines', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: localize(
|
|
3131
|
+
cursorStyle: register(new EditorEnumOption(34 /* EditorOption.cursorStyle */, 'cursorStyle', TextEditorCursorStyle.Line, 'line', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: localize(490, "Controls the cursor style in insert input mode.") })),
|
|
3132
|
+
overtypeCursorStyle: register(new EditorEnumOption(92 /* EditorOption.overtypeCursorStyle */, 'overtypeCursorStyle', TextEditorCursorStyle.Block, 'block', ['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'], cursorStyleFromString, { description: localize(491, "Controls the cursor style in overtype input mode.") })),
|
|
3133
|
+
cursorSurroundingLines: register(new EditorIntOption(35 /* EditorOption.cursorSurroundingLines */, 'cursorSurroundingLines', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: localize(492, "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.") })),
|
|
3134
3134
|
cursorSurroundingLinesStyle: register(new EditorStringEnumOption(36 /* EditorOption.cursorSurroundingLinesStyle */, 'cursorSurroundingLinesStyle', 'default', ['default', 'all'], {
|
|
3135
3135
|
enumDescriptions: [
|
|
3136
|
-
localize(
|
|
3137
|
-
localize(
|
|
3136
|
+
localize(493, "`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),
|
|
3137
|
+
localize(494, "`cursorSurroundingLines` is enforced always.")
|
|
3138
3138
|
],
|
|
3139
|
-
markdownDescription: localize(
|
|
3139
|
+
markdownDescription: localize(495, "Controls when `#editor.cursorSurroundingLines#` should be enforced.")
|
|
3140
3140
|
})),
|
|
3141
|
-
cursorWidth: register(new EditorIntOption(37 /* EditorOption.cursorWidth */, 'cursorWidth', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: localize(
|
|
3142
|
-
cursorHeight: register(new EditorIntOption(38 /* EditorOption.cursorHeight */, 'cursorHeight', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: localize(
|
|
3141
|
+
cursorWidth: register(new EditorIntOption(37 /* EditorOption.cursorWidth */, 'cursorWidth', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: localize(496, "Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.") })),
|
|
3142
|
+
cursorHeight: register(new EditorIntOption(38 /* EditorOption.cursorHeight */, 'cursorHeight', 0, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { markdownDescription: localize(497, "Controls the height of the cursor when `#editor.cursorStyle#` is set to `line`. Cursor's max height depends on line height.") })),
|
|
3143
3143
|
disableLayerHinting: register(new EditorBooleanOption(39 /* EditorOption.disableLayerHinting */, 'disableLayerHinting', false)),
|
|
3144
3144
|
disableMonospaceOptimizations: register(new EditorBooleanOption(40 /* EditorOption.disableMonospaceOptimizations */, 'disableMonospaceOptimizations', false)),
|
|
3145
3145
|
domReadOnly: register(new EditorBooleanOption(41 /* EditorOption.domReadOnly */, 'domReadOnly', false)),
|
|
3146
|
-
dragAndDrop: register(new EditorBooleanOption(42 /* EditorOption.dragAndDrop */, 'dragAndDrop', true, { description: localize(
|
|
3146
|
+
dragAndDrop: register(new EditorBooleanOption(42 /* EditorOption.dragAndDrop */, 'dragAndDrop', true, { description: localize(498, "Controls whether the editor should allow moving selections via drag and drop.") })),
|
|
3147
3147
|
emptySelectionClipboard: register(new EditorEmptySelectionClipboard()),
|
|
3148
3148
|
dropIntoEditor: register(new EditorDropIntoEditor()),
|
|
3149
3149
|
editContext: register(new EditorBooleanOption(44 /* EditorOption.editContext */, 'editContext', true, {
|
|
3150
|
-
description: localize(
|
|
3150
|
+
description: localize(499, "Sets whether the EditContext API should be used instead of the text area to power input in the editor."),
|
|
3151
3151
|
included: isChrome || isEdge || isNative
|
|
3152
3152
|
})),
|
|
3153
3153
|
renderRichScreenReaderContent: register(new EditorBooleanOption(107 /* EditorOption.renderRichScreenReaderContent */, 'renderRichScreenReaderContent', false, {
|
|
3154
|
-
markdownDescription: localize(
|
|
3154
|
+
markdownDescription: localize(500, "Whether to render rich screen reader content when the `#editor.editContext#` setting is enabled."),
|
|
3155
3155
|
})),
|
|
3156
3156
|
stickyScroll: register(new EditorStickyScroll()),
|
|
3157
3157
|
experimentalGpuAcceleration: register(new EditorStringEnumOption(46 /* EditorOption.experimentalGpuAcceleration */, 'experimentalGpuAcceleration', 'off', ['off', 'on'], {
|
|
3158
3158
|
tags: ['experimental'],
|
|
3159
3159
|
enumDescriptions: [
|
|
3160
|
-
localize(
|
|
3161
|
-
localize(
|
|
3160
|
+
localize(501, "Use regular DOM-based rendering."),
|
|
3161
|
+
localize(502, "Use GPU acceleration."),
|
|
3162
3162
|
],
|
|
3163
|
-
description: localize(
|
|
3163
|
+
description: localize(503, "Controls whether to use the experimental GPU acceleration to render the editor.")
|
|
3164
3164
|
})),
|
|
3165
3165
|
experimentalWhitespaceRendering: register(new EditorStringEnumOption(47 /* EditorOption.experimentalWhitespaceRendering */, 'experimentalWhitespaceRendering', 'svg', ['svg', 'font', 'off'], {
|
|
3166
3166
|
enumDescriptions: [
|
|
3167
|
-
localize(
|
|
3168
|
-
localize(
|
|
3169
|
-
localize(
|
|
3167
|
+
localize(504, "Use a new rendering method with svgs."),
|
|
3168
|
+
localize(505, "Use a new rendering method with font characters."),
|
|
3169
|
+
localize(506, "Use the stable rendering method."),
|
|
3170
3170
|
],
|
|
3171
|
-
description: localize(
|
|
3171
|
+
description: localize(507, "Controls whether whitespace is rendered with a new, experimental method.")
|
|
3172
3172
|
})),
|
|
3173
3173
|
extraEditorClassName: register(new EditorStringOption(48 /* EditorOption.extraEditorClassName */, 'extraEditorClassName', '')),
|
|
3174
|
-
fastScrollSensitivity: register(new EditorFloatOption(49 /* EditorOption.fastScrollSensitivity */, 'fastScrollSensitivity', 5, x => (x <= 0 ? 5 : x), { markdownDescription: localize(
|
|
3174
|
+
fastScrollSensitivity: register(new EditorFloatOption(49 /* EditorOption.fastScrollSensitivity */, 'fastScrollSensitivity', 5, x => (x <= 0 ? 5 : x), { markdownDescription: localize(508, "Scrolling speed multiplier when pressing `Alt`.") })),
|
|
3175
3175
|
find: register(new EditorFind()),
|
|
3176
3176
|
fixedOverflowWidgets: register(new EditorBooleanOption(51 /* EditorOption.fixedOverflowWidgets */, 'fixedOverflowWidgets', false)),
|
|
3177
|
-
folding: register(new EditorBooleanOption(52 /* EditorOption.folding */, 'folding', true, { description: localize(
|
|
3177
|
+
folding: register(new EditorBooleanOption(52 /* EditorOption.folding */, 'folding', true, { description: localize(509, "Controls whether the editor has code folding enabled.") })),
|
|
3178
3178
|
foldingStrategy: register(new EditorStringEnumOption(53 /* EditorOption.foldingStrategy */, 'foldingStrategy', 'auto', ['auto', 'indentation'], {
|
|
3179
3179
|
enumDescriptions: [
|
|
3180
|
-
localize(
|
|
3181
|
-
localize(
|
|
3180
|
+
localize(510, "Use a language-specific folding strategy if available, else the indentation-based one."),
|
|
3181
|
+
localize(511, "Use the indentation-based folding strategy."),
|
|
3182
3182
|
],
|
|
3183
|
-
description: localize(
|
|
3183
|
+
description: localize(512, "Controls the strategy for computing folding ranges.")
|
|
3184
3184
|
})),
|
|
3185
|
-
foldingHighlight: register(new EditorBooleanOption(54 /* EditorOption.foldingHighlight */, 'foldingHighlight', true, { description: localize(
|
|
3186
|
-
foldingImportsByDefault: register(new EditorBooleanOption(55 /* EditorOption.foldingImportsByDefault */, 'foldingImportsByDefault', false, { description: localize(
|
|
3185
|
+
foldingHighlight: register(new EditorBooleanOption(54 /* EditorOption.foldingHighlight */, 'foldingHighlight', true, { description: localize(513, "Controls whether the editor should highlight folded ranges.") })),
|
|
3186
|
+
foldingImportsByDefault: register(new EditorBooleanOption(55 /* EditorOption.foldingImportsByDefault */, 'foldingImportsByDefault', false, { description: localize(514, "Controls whether the editor automatically collapses import ranges.") })),
|
|
3187
3187
|
foldingMaximumRegions: register(new EditorIntOption(56 /* EditorOption.foldingMaximumRegions */, 'foldingMaximumRegions', 5000, 10, 65000, // limit must be less than foldingRanges MAX_FOLDING_REGIONS
|
|
3188
|
-
{ description: localize(
|
|
3189
|
-
unfoldOnClickAfterEndOfLine: register(new EditorBooleanOption(57 /* EditorOption.unfoldOnClickAfterEndOfLine */, 'unfoldOnClickAfterEndOfLine', false, { description: localize(
|
|
3190
|
-
fontFamily: register(new EditorStringOption(58 /* EditorOption.fontFamily */, 'fontFamily', EDITOR_FONT_DEFAULTS.fontFamily, { description: localize(
|
|
3188
|
+
{ description: localize(515, "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.") })),
|
|
3189
|
+
unfoldOnClickAfterEndOfLine: register(new EditorBooleanOption(57 /* EditorOption.unfoldOnClickAfterEndOfLine */, 'unfoldOnClickAfterEndOfLine', false, { description: localize(516, "Controls whether clicking on the empty content after a folded line will unfold the line.") })),
|
|
3190
|
+
fontFamily: register(new EditorStringOption(58 /* EditorOption.fontFamily */, 'fontFamily', EDITOR_FONT_DEFAULTS.fontFamily, { description: localize(517, "Controls the font family.") })),
|
|
3191
3191
|
fontInfo: register(new EditorFontInfo()),
|
|
3192
3192
|
fontLigatures2: register(new EditorFontLigatures()),
|
|
3193
3193
|
fontSize: register(new EditorFontSize()),
|
|
3194
3194
|
fontWeight: register(new EditorFontWeight()),
|
|
3195
3195
|
fontVariations: register(new EditorFontVariations()),
|
|
3196
|
-
formatOnPaste: register(new EditorBooleanOption(64 /* EditorOption.formatOnPaste */, 'formatOnPaste', false, { description: localize(
|
|
3197
|
-
formatOnType: register(new EditorBooleanOption(65 /* EditorOption.formatOnType */, 'formatOnType', false, { description: localize(
|
|
3198
|
-
glyphMargin: register(new EditorBooleanOption(66 /* EditorOption.glyphMargin */, 'glyphMargin', true, { description: localize(
|
|
3196
|
+
formatOnPaste: register(new EditorBooleanOption(64 /* EditorOption.formatOnPaste */, 'formatOnPaste', false, { description: localize(518, "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.") })),
|
|
3197
|
+
formatOnType: register(new EditorBooleanOption(65 /* EditorOption.formatOnType */, 'formatOnType', false, { description: localize(519, "Controls whether the editor should automatically format the line after typing.") })),
|
|
3198
|
+
glyphMargin: register(new EditorBooleanOption(66 /* EditorOption.glyphMargin */, 'glyphMargin', true, { description: localize(520, "Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging.") })),
|
|
3199
3199
|
gotoLocation: register(new EditorGoToLocation()),
|
|
3200
|
-
hideCursorInOverviewRuler: register(new EditorBooleanOption(68 /* EditorOption.hideCursorInOverviewRuler */, 'hideCursorInOverviewRuler', false, { description: localize(
|
|
3200
|
+
hideCursorInOverviewRuler: register(new EditorBooleanOption(68 /* EditorOption.hideCursorInOverviewRuler */, 'hideCursorInOverviewRuler', false, { description: localize(521, "Controls whether the cursor should be hidden in the overview ruler.") })),
|
|
3201
3201
|
hover: register(new EditorHover()),
|
|
3202
3202
|
inDiffEditor: register(new EditorBooleanOption(70 /* EditorOption.inDiffEditor */, 'inDiffEditor', false)),
|
|
3203
|
-
inertialScroll: register(new EditorBooleanOption(158 /* EditorOption.inertialScroll */, 'inertialScroll', false, { description: localize(
|
|
3204
|
-
letterSpacing: register(new EditorFloatOption(72 /* EditorOption.letterSpacing */, 'letterSpacing', EDITOR_FONT_DEFAULTS.letterSpacing, x => EditorFloatOption.clamp(x, -5, 20), { description: localize(
|
|
3203
|
+
inertialScroll: register(new EditorBooleanOption(158 /* EditorOption.inertialScroll */, 'inertialScroll', false, { description: localize(522, "Make scrolling inertial - mostly useful with touchpad on linux.") })),
|
|
3204
|
+
letterSpacing: register(new EditorFloatOption(72 /* EditorOption.letterSpacing */, 'letterSpacing', EDITOR_FONT_DEFAULTS.letterSpacing, x => EditorFloatOption.clamp(x, -5, 20), { description: localize(523, "Controls the letter spacing in pixels.") })),
|
|
3205
3205
|
lightbulb: register(new EditorLightbulb()),
|
|
3206
3206
|
lineDecorationsWidth: register(new EditorLineDecorationsWidth()),
|
|
3207
3207
|
lineHeight: register(new EditorLineHeight()),
|
|
3208
3208
|
lineNumbers: register(new EditorRenderLineNumbersOption()),
|
|
3209
3209
|
lineNumbersMinChars: register(new EditorIntOption(77 /* EditorOption.lineNumbersMinChars */, 'lineNumbersMinChars', 5, 1, 300)),
|
|
3210
|
-
linkedEditing: register(new EditorBooleanOption(78 /* EditorOption.linkedEditing */, 'linkedEditing', false, { description: localize(
|
|
3211
|
-
links: register(new EditorBooleanOption(79 /* EditorOption.links */, 'links', true, { description: localize(
|
|
3212
|
-
matchBrackets: register(new EditorStringEnumOption(80 /* EditorOption.matchBrackets */, 'matchBrackets', 'always', ['always', 'near', 'never'], { description: localize(
|
|
3210
|
+
linkedEditing: register(new EditorBooleanOption(78 /* EditorOption.linkedEditing */, 'linkedEditing', false, { description: localize(524, "Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.") })),
|
|
3211
|
+
links: register(new EditorBooleanOption(79 /* EditorOption.links */, 'links', true, { description: localize(525, "Controls whether the editor should detect links and make them clickable.") })),
|
|
3212
|
+
matchBrackets: register(new EditorStringEnumOption(80 /* EditorOption.matchBrackets */, 'matchBrackets', 'always', ['always', 'near', 'never'], { description: localize(526, "Highlight matching brackets.") })),
|
|
3213
3213
|
minimap: register(new EditorMinimap()),
|
|
3214
3214
|
mouseStyle: register(new EditorStringEnumOption(82 /* EditorOption.mouseStyle */, 'mouseStyle', 'text', ['text', 'default', 'copy'])),
|
|
3215
|
-
mouseWheelScrollSensitivity: register(new EditorFloatOption(83 /* EditorOption.mouseWheelScrollSensitivity */, 'mouseWheelScrollSensitivity', 1, x => (x === 0 ? 1 : x), { markdownDescription: localize(
|
|
3215
|
+
mouseWheelScrollSensitivity: register(new EditorFloatOption(83 /* EditorOption.mouseWheelScrollSensitivity */, 'mouseWheelScrollSensitivity', 1, x => (x === 0 ? 1 : x), { markdownDescription: localize(527, "A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events.") })),
|
|
3216
3216
|
mouseWheelZoom: register(new EditorBooleanOption(84 /* EditorOption.mouseWheelZoom */, 'mouseWheelZoom', false, {
|
|
3217
3217
|
markdownDescription: isMacintosh
|
|
3218
|
-
? localize(
|
|
3219
|
-
: localize(
|
|
3218
|
+
? localize(528, "Zoom the font of the editor when using mouse wheel and holding `Cmd`.")
|
|
3219
|
+
: localize(529, "Zoom the font of the editor when using mouse wheel and holding `Ctrl`.")
|
|
3220
3220
|
})),
|
|
3221
|
-
multiCursorMergeOverlapping: register(new EditorBooleanOption(85 /* EditorOption.multiCursorMergeOverlapping */, 'multiCursorMergeOverlapping', true, { description: localize(
|
|
3221
|
+
multiCursorMergeOverlapping: register(new EditorBooleanOption(85 /* EditorOption.multiCursorMergeOverlapping */, 'multiCursorMergeOverlapping', true, { description: localize(530, "Merge multiple cursors when they are overlapping.") })),
|
|
3222
3222
|
multiCursorModifier: register(new EditorEnumOption(86 /* EditorOption.multiCursorModifier */, 'multiCursorModifier', 'altKey', 'alt', ['ctrlCmd', 'alt'], _multiCursorModifierFromString, {
|
|
3223
3223
|
markdownEnumDescriptions: [
|
|
3224
|
-
localize(
|
|
3225
|
-
localize(
|
|
3224
|
+
localize(531, "Maps to `Control` on Windows and Linux and to `Command` on macOS."),
|
|
3225
|
+
localize(532, "Maps to `Alt` on Windows and Linux and to `Option` on macOS.")
|
|
3226
3226
|
],
|
|
3227
|
-
markdownDescription: localize(
|
|
3227
|
+
markdownDescription: localize(533, "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).")
|
|
3228
3228
|
|
|
3229
3229
|
|
|
3230
3230
|
|
|
@@ -3232,171 +3232,171 @@ const EditorOptions = {
|
|
|
3232
3232
|
|
|
3233
3233
|
|
|
3234
3234
|
})),
|
|
3235
|
-
mouseMiddleClickAction: register(new EditorStringEnumOption(87 /* EditorOption.mouseMiddleClickAction */, 'mouseMiddleClickAction', 'default', ['default', 'openLink', 'ctrlLeftClick'], { description: localize(
|
|
3235
|
+
mouseMiddleClickAction: register(new EditorStringEnumOption(87 /* EditorOption.mouseMiddleClickAction */, 'mouseMiddleClickAction', 'default', ['default', 'openLink', 'ctrlLeftClick'], { description: localize(534, "Controls what happens when middle mouse button is clicked in the editor.") })),
|
|
3236
3236
|
multiCursorPaste: register(new EditorStringEnumOption(88 /* EditorOption.multiCursorPaste */, 'multiCursorPaste', 'spread', ['spread', 'full'], {
|
|
3237
3237
|
markdownEnumDescriptions: [
|
|
3238
|
-
localize(
|
|
3239
|
-
localize(
|
|
3238
|
+
localize(535, "Each cursor pastes a single line of the text."),
|
|
3239
|
+
localize(536, "Each cursor pastes the full text.")
|
|
3240
3240
|
],
|
|
3241
|
-
markdownDescription: localize(
|
|
3241
|
+
markdownDescription: localize(537, "Controls pasting when the line count of the pasted text matches the cursor count.")
|
|
3242
3242
|
})),
|
|
3243
3243
|
multiCursorLimit: register(new EditorIntOption(89 /* EditorOption.multiCursorLimit */, 'multiCursorLimit', 10000, 1, 100000, {
|
|
3244
|
-
markdownDescription: localize(
|
|
3244
|
+
markdownDescription: localize(538, "Controls the max number of cursors that can be in an active editor at once.")
|
|
3245
3245
|
})),
|
|
3246
3246
|
occurrencesHighlight: register(new EditorStringEnumOption(90 /* EditorOption.occurrencesHighlight */, 'occurrencesHighlight', 'singleFile', ['off', 'singleFile', 'multiFile'], {
|
|
3247
3247
|
markdownEnumDescriptions: [
|
|
3248
|
-
localize(
|
|
3249
|
-
localize(
|
|
3250
|
-
localize(
|
|
3248
|
+
localize(539, "Does not highlight occurrences."),
|
|
3249
|
+
localize(540, "Highlights occurrences only in the current file."),
|
|
3250
|
+
localize(541, "Experimental: Highlights occurrences across all valid open files.")
|
|
3251
3251
|
],
|
|
3252
|
-
markdownDescription: localize(
|
|
3252
|
+
markdownDescription: localize(542, "Controls whether occurrences should be highlighted across open files.")
|
|
3253
3253
|
})),
|
|
3254
3254
|
occurrencesHighlightDelay: register(new EditorIntOption(91 /* EditorOption.occurrencesHighlightDelay */, 'occurrencesHighlightDelay', 0, 0, 2000, {
|
|
3255
|
-
description: localize(
|
|
3255
|
+
description: localize(543, "Controls the delay in milliseconds after which occurrences are highlighted."),
|
|
3256
3256
|
tags: ['preview']
|
|
3257
3257
|
})),
|
|
3258
|
-
overtypeOnPaste: register(new EditorBooleanOption(93 /* EditorOption.overtypeOnPaste */, 'overtypeOnPaste', true, { description: localize(
|
|
3259
|
-
overviewRulerBorder: register(new EditorBooleanOption(94 /* EditorOption.overviewRulerBorder */, 'overviewRulerBorder', true, { description: localize(
|
|
3258
|
+
overtypeOnPaste: register(new EditorBooleanOption(93 /* EditorOption.overtypeOnPaste */, 'overtypeOnPaste', true, { description: localize(544, "Controls whether pasting should overtype.") })),
|
|
3259
|
+
overviewRulerBorder: register(new EditorBooleanOption(94 /* EditorOption.overviewRulerBorder */, 'overviewRulerBorder', true, { description: localize(545, "Controls whether a border should be drawn around the overview ruler.") })),
|
|
3260
3260
|
overviewRulerLanes: register(new EditorIntOption(95 /* EditorOption.overviewRulerLanes */, 'overviewRulerLanes', 3, 0, 3)),
|
|
3261
3261
|
padding: register(new EditorPadding()),
|
|
3262
3262
|
pasteAs: register(new EditorPasteAs()),
|
|
3263
3263
|
parameterHints: register(new EditorParameterHints()),
|
|
3264
3264
|
peekWidgetDefaultFocus: register(new EditorStringEnumOption(99 /* EditorOption.peekWidgetDefaultFocus */, 'peekWidgetDefaultFocus', 'tree', ['tree', 'editor'], {
|
|
3265
3265
|
enumDescriptions: [
|
|
3266
|
-
localize(
|
|
3267
|
-
localize(
|
|
3266
|
+
localize(546, "Focus the tree when opening peek"),
|
|
3267
|
+
localize(547, "Focus the editor when opening peek")
|
|
3268
3268
|
],
|
|
3269
|
-
description: localize(
|
|
3269
|
+
description: localize(548, "Controls whether to focus the inline editor or the tree in the peek widget.")
|
|
3270
3270
|
})),
|
|
3271
3271
|
placeholder: register(new PlaceholderOption()),
|
|
3272
|
-
definitionLinkOpensInPeek: register(new EditorBooleanOption(101 /* EditorOption.definitionLinkOpensInPeek */, 'definitionLinkOpensInPeek', false, { description: localize(
|
|
3272
|
+
definitionLinkOpensInPeek: register(new EditorBooleanOption(101 /* EditorOption.definitionLinkOpensInPeek */, 'definitionLinkOpensInPeek', false, { description: localize(549, "Controls whether the Go to Definition mouse gesture always opens the peek widget.") })),
|
|
3273
3273
|
quickSuggestions: register(new EditorQuickSuggestions()),
|
|
3274
3274
|
quickSuggestionsDelay: register(new EditorIntOption(103 /* EditorOption.quickSuggestionsDelay */, 'quickSuggestionsDelay', 10, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3275
|
-
description: localize(
|
|
3275
|
+
description: localize(550, "Controls the delay in milliseconds after which quick suggestions will show up."),
|
|
3276
3276
|
experiment: {
|
|
3277
3277
|
mode: 'auto'
|
|
3278
3278
|
}
|
|
3279
3279
|
})),
|
|
3280
3280
|
readOnly: register(new EditorBooleanOption(104 /* EditorOption.readOnly */, 'readOnly', false)),
|
|
3281
3281
|
readOnlyMessage: register(new ReadonlyMessage()),
|
|
3282
|
-
renameOnType: register(new EditorBooleanOption(106 /* EditorOption.renameOnType */, 'renameOnType', false, { description: localize(
|
|
3283
|
-
renderControlCharacters: register(new EditorBooleanOption(108 /* EditorOption.renderControlCharacters */, 'renderControlCharacters', true, { description: localize(
|
|
3284
|
-
renderFinalNewline: register(new EditorStringEnumOption(109 /* EditorOption.renderFinalNewline */, 'renderFinalNewline', (isLinux ? 'dimmed' : 'on'), ['off', 'on', 'dimmed'], { description: localize(
|
|
3282
|
+
renameOnType: register(new EditorBooleanOption(106 /* EditorOption.renameOnType */, 'renameOnType', false, { description: localize(551, "Controls whether the editor auto renames on type."), markdownDeprecationMessage: localize(552, "Deprecated, use `#editor.linkedEditing#` instead.") })),
|
|
3283
|
+
renderControlCharacters: register(new EditorBooleanOption(108 /* EditorOption.renderControlCharacters */, 'renderControlCharacters', true, { description: localize(553, "Controls whether the editor should render control characters."), restricted: true })),
|
|
3284
|
+
renderFinalNewline: register(new EditorStringEnumOption(109 /* EditorOption.renderFinalNewline */, 'renderFinalNewline', (isLinux ? 'dimmed' : 'on'), ['off', 'on', 'dimmed'], { description: localize(554, "Render last line number when the file ends with a newline.") })),
|
|
3285
3285
|
renderLineHighlight: register(new EditorStringEnumOption(110 /* EditorOption.renderLineHighlight */, 'renderLineHighlight', 'line', ['none', 'gutter', 'line', 'all'], {
|
|
3286
3286
|
enumDescriptions: [
|
|
3287
3287
|
'',
|
|
3288
3288
|
'',
|
|
3289
3289
|
'',
|
|
3290
|
-
localize(
|
|
3290
|
+
localize(555, "Highlights both the gutter and the current line."),
|
|
3291
3291
|
],
|
|
3292
|
-
description: localize(
|
|
3292
|
+
description: localize(556, "Controls how the editor should render the current line highlight.")
|
|
3293
3293
|
})),
|
|
3294
|
-
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(111 /* EditorOption.renderLineHighlightOnlyWhenFocus */, 'renderLineHighlightOnlyWhenFocus', false, { description: localize(
|
|
3294
|
+
renderLineHighlightOnlyWhenFocus: register(new EditorBooleanOption(111 /* EditorOption.renderLineHighlightOnlyWhenFocus */, 'renderLineHighlightOnlyWhenFocus', false, { description: localize(557, "Controls if the editor should render the current line highlight only when the editor is focused.") })),
|
|
3295
3295
|
renderValidationDecorations: register(new EditorStringEnumOption(112 /* EditorOption.renderValidationDecorations */, 'renderValidationDecorations', 'editable', ['editable', 'on', 'off'])),
|
|
3296
3296
|
renderWhitespace: register(new EditorStringEnumOption(113 /* EditorOption.renderWhitespace */, 'renderWhitespace', 'selection', ['none', 'boundary', 'selection', 'trailing', 'all'], {
|
|
3297
3297
|
enumDescriptions: [
|
|
3298
3298
|
'',
|
|
3299
|
-
localize(
|
|
3300
|
-
localize(
|
|
3301
|
-
localize(
|
|
3299
|
+
localize(558, "Render whitespace characters except for single spaces between words."),
|
|
3300
|
+
localize(559, "Render whitespace characters only on selected text."),
|
|
3301
|
+
localize(560, "Render only trailing whitespace characters."),
|
|
3302
3302
|
''
|
|
3303
3303
|
],
|
|
3304
|
-
description: localize(
|
|
3304
|
+
description: localize(561, "Controls how the editor should render whitespace characters.")
|
|
3305
3305
|
})),
|
|
3306
3306
|
revealHorizontalRightPadding: register(new EditorIntOption(114 /* EditorOption.revealHorizontalRightPadding */, 'revealHorizontalRightPadding', 15, 0, 1000)),
|
|
3307
|
-
roundedSelection: register(new EditorBooleanOption(115 /* EditorOption.roundedSelection */, 'roundedSelection', true, { description: localize(
|
|
3307
|
+
roundedSelection: register(new EditorBooleanOption(115 /* EditorOption.roundedSelection */, 'roundedSelection', true, { description: localize(562, "Controls whether selections should have rounded corners.") })),
|
|
3308
3308
|
rulers: register(new EditorRulers()),
|
|
3309
3309
|
scrollbar: register(new EditorScrollbar()),
|
|
3310
|
-
scrollBeyondLastColumn: register(new EditorIntOption(118 /* EditorOption.scrollBeyondLastColumn */, 'scrollBeyondLastColumn', 4, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: localize(
|
|
3311
|
-
scrollBeyondLastLine: register(new EditorBooleanOption(119 /* EditorOption.scrollBeyondLastLine */, 'scrollBeyondLastLine', true, { description: localize(
|
|
3312
|
-
scrollOnMiddleClick: register(new EditorBooleanOption(171 /* EditorOption.scrollOnMiddleClick */, 'scrollOnMiddleClick', false, { description: localize(
|
|
3313
|
-
scrollPredominantAxis: register(new EditorBooleanOption(120 /* EditorOption.scrollPredominantAxis */, 'scrollPredominantAxis', true, { description: localize(
|
|
3310
|
+
scrollBeyondLastColumn: register(new EditorIntOption(118 /* EditorOption.scrollBeyondLastColumn */, 'scrollBeyondLastColumn', 4, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: localize(563, "Controls the number of extra characters beyond which the editor will scroll horizontally.") })),
|
|
3311
|
+
scrollBeyondLastLine: register(new EditorBooleanOption(119 /* EditorOption.scrollBeyondLastLine */, 'scrollBeyondLastLine', true, { description: localize(564, "Controls whether the editor will scroll beyond the last line.") })),
|
|
3312
|
+
scrollOnMiddleClick: register(new EditorBooleanOption(171 /* EditorOption.scrollOnMiddleClick */, 'scrollOnMiddleClick', false, { description: localize(565, "Controls whether the editor will scroll when the middle button is pressed.") })),
|
|
3313
|
+
scrollPredominantAxis: register(new EditorBooleanOption(120 /* EditorOption.scrollPredominantAxis */, 'scrollPredominantAxis', true, { description: localize(566, "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.") })),
|
|
3314
3314
|
selectionClipboard: register(new EditorBooleanOption(121 /* EditorOption.selectionClipboard */, 'selectionClipboard', true, {
|
|
3315
|
-
description: localize(
|
|
3315
|
+
description: localize(567, "Controls whether the Linux primary clipboard should be supported."),
|
|
3316
3316
|
included: isLinux
|
|
3317
3317
|
})),
|
|
3318
|
-
selectionHighlight: register(new EditorBooleanOption(122 /* EditorOption.selectionHighlight */, 'selectionHighlight', true, { description: localize(
|
|
3319
|
-
selectionHighlightMaxLength: register(new EditorIntOption(123 /* EditorOption.selectionHighlightMaxLength */, 'selectionHighlightMaxLength', 200, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: localize(
|
|
3320
|
-
selectionHighlightMultiline: register(new EditorBooleanOption(124 /* EditorOption.selectionHighlightMultiline */, 'selectionHighlightMultiline', false, { description: localize(
|
|
3318
|
+
selectionHighlight: register(new EditorBooleanOption(122 /* EditorOption.selectionHighlight */, 'selectionHighlight', true, { description: localize(568, "Controls whether the editor should highlight matches similar to the selection.") })),
|
|
3319
|
+
selectionHighlightMaxLength: register(new EditorIntOption(123 /* EditorOption.selectionHighlightMaxLength */, 'selectionHighlightMaxLength', 200, 0, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, { description: localize(569, "Controls how many characters can be in the selection before similiar matches are not highlighted. Set to zero for unlimited.") })),
|
|
3320
|
+
selectionHighlightMultiline: register(new EditorBooleanOption(124 /* EditorOption.selectionHighlightMultiline */, 'selectionHighlightMultiline', false, { description: localize(570, "Controls whether the editor should highlight selection matches that span multiple lines.") })),
|
|
3321
3321
|
selectOnLineNumbers: register(new EditorBooleanOption(125 /* EditorOption.selectOnLineNumbers */, 'selectOnLineNumbers', true)),
|
|
3322
3322
|
showFoldingControls: register(new EditorStringEnumOption(126 /* EditorOption.showFoldingControls */, 'showFoldingControls', 'mouseover', ['always', 'never', 'mouseover'], {
|
|
3323
3323
|
enumDescriptions: [
|
|
3324
|
-
localize(
|
|
3325
|
-
localize(
|
|
3326
|
-
localize(
|
|
3324
|
+
localize(571, "Always show the folding controls."),
|
|
3325
|
+
localize(572, "Never show the folding controls and reduce the gutter size."),
|
|
3326
|
+
localize(573, "Only show the folding controls when the mouse is over the gutter."),
|
|
3327
3327
|
],
|
|
3328
|
-
description: localize(
|
|
3328
|
+
description: localize(574, "Controls when the folding controls on the gutter are shown.")
|
|
3329
3329
|
})),
|
|
3330
|
-
showUnused: register(new EditorBooleanOption(127 /* EditorOption.showUnused */, 'showUnused', true, { description: localize(
|
|
3331
|
-
showDeprecated: register(new EditorBooleanOption(157 /* EditorOption.showDeprecated */, 'showDeprecated', true, { description: localize(
|
|
3330
|
+
showUnused: register(new EditorBooleanOption(127 /* EditorOption.showUnused */, 'showUnused', true, { description: localize(575, "Controls fading out of unused code.") })),
|
|
3331
|
+
showDeprecated: register(new EditorBooleanOption(157 /* EditorOption.showDeprecated */, 'showDeprecated', true, { description: localize(576, "Controls strikethrough deprecated variables.") })),
|
|
3332
3332
|
inlayHints: register(new EditorInlayHints()),
|
|
3333
3333
|
snippetSuggestions: register(new EditorStringEnumOption(128 /* EditorOption.snippetSuggestions */, 'snippetSuggestions', 'inline', ['top', 'bottom', 'inline', 'none'], {
|
|
3334
3334
|
enumDescriptions: [
|
|
3335
|
-
localize(
|
|
3336
|
-
localize(
|
|
3337
|
-
localize(
|
|
3338
|
-
localize(
|
|
3335
|
+
localize(577, "Show snippet suggestions on top of other suggestions."),
|
|
3336
|
+
localize(578, "Show snippet suggestions below other suggestions."),
|
|
3337
|
+
localize(579, "Show snippets suggestions with other suggestions."),
|
|
3338
|
+
localize(580, "Do not show snippet suggestions."),
|
|
3339
3339
|
],
|
|
3340
|
-
description: localize(
|
|
3340
|
+
description: localize(581, "Controls whether snippets are shown with other suggestions and how they are sorted.")
|
|
3341
3341
|
})),
|
|
3342
3342
|
smartSelect: register(new SmartSelect()),
|
|
3343
|
-
smoothScrolling: register(new EditorBooleanOption(130 /* EditorOption.smoothScrolling */, 'smoothScrolling', false, { description: localize(
|
|
3343
|
+
smoothScrolling: register(new EditorBooleanOption(130 /* EditorOption.smoothScrolling */, 'smoothScrolling', false, { description: localize(582, "Controls whether the editor will scroll using an animation.") })),
|
|
3344
3344
|
stopRenderingLineAfter: register(new EditorIntOption(133 /* EditorOption.stopRenderingLineAfter */, 'stopRenderingLineAfter', 10000, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3345
3345
|
suggest: register(new EditorSuggest()),
|
|
3346
3346
|
inlineSuggest: register(new InlineEditorSuggest()),
|
|
3347
|
-
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */, 'inlineCompletionsAccessibilityVerbose', false, { description: localize(
|
|
3348
|
-
suggestFontSize: register(new EditorIntOption(135 /* EditorOption.suggestFontSize */, 'suggestFontSize', 0, 0, 1000, { markdownDescription: localize(
|
|
3349
|
-
suggestLineHeight: register(new EditorIntOption(136 /* EditorOption.suggestLineHeight */, 'suggestLineHeight', 0, 0, 1000, { markdownDescription: localize(
|
|
3350
|
-
suggestOnTriggerCharacters: register(new EditorBooleanOption(137 /* EditorOption.suggestOnTriggerCharacters */, 'suggestOnTriggerCharacters', true, { description: localize(
|
|
3347
|
+
inlineCompletionsAccessibilityVerbose: register(new EditorBooleanOption(169 /* EditorOption.inlineCompletionsAccessibilityVerbose */, 'inlineCompletionsAccessibilityVerbose', false, { description: localize(583, "Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown.") })),
|
|
3348
|
+
suggestFontSize: register(new EditorIntOption(135 /* EditorOption.suggestFontSize */, 'suggestFontSize', 0, 0, 1000, { markdownDescription: localize(584, "Font size for the suggest widget. When set to {0}, the value of {1} is used.", '`0`', '`#editor.fontSize#`') })),
|
|
3349
|
+
suggestLineHeight: register(new EditorIntOption(136 /* EditorOption.suggestLineHeight */, 'suggestLineHeight', 0, 0, 1000, { markdownDescription: localize(585, "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.", '`0`', '`#editor.lineHeight#`') })),
|
|
3350
|
+
suggestOnTriggerCharacters: register(new EditorBooleanOption(137 /* EditorOption.suggestOnTriggerCharacters */, 'suggestOnTriggerCharacters', true, { description: localize(586, "Controls whether suggestions should automatically show up when typing trigger characters.") })),
|
|
3351
3351
|
suggestSelection: register(new EditorStringEnumOption(138 /* EditorOption.suggestSelection */, 'suggestSelection', 'first', ['first', 'recentlyUsed', 'recentlyUsedByPrefix'], {
|
|
3352
3352
|
markdownEnumDescriptions: [
|
|
3353
|
-
localize(
|
|
3354
|
-
localize(
|
|
3355
|
-
localize(
|
|
3353
|
+
localize(587, "Always select the first suggestion."),
|
|
3354
|
+
localize(588, "Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."),
|
|
3355
|
+
localize(589, "Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."),
|
|
3356
3356
|
],
|
|
3357
|
-
description: localize(
|
|
3357
|
+
description: localize(590, "Controls how suggestions are pre-selected when showing the suggest list.")
|
|
3358
3358
|
})),
|
|
3359
3359
|
tabCompletion: register(new EditorStringEnumOption(139 /* EditorOption.tabCompletion */, 'tabCompletion', 'off', ['on', 'off', 'onlySnippets'], {
|
|
3360
3360
|
enumDescriptions: [
|
|
3361
|
-
localize(
|
|
3362
|
-
localize(
|
|
3363
|
-
localize(
|
|
3361
|
+
localize(591, "Tab complete will insert the best matching suggestion when pressing tab."),
|
|
3362
|
+
localize(592, "Disable tab completions."),
|
|
3363
|
+
localize(593, "Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."),
|
|
3364
3364
|
],
|
|
3365
|
-
description: localize(
|
|
3365
|
+
description: localize(594, "Enables tab completions.")
|
|
3366
3366
|
})),
|
|
3367
3367
|
tabIndex: register(new EditorIntOption(140 /* EditorOption.tabIndex */, 'tabIndex', 0, -1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */)),
|
|
3368
|
-
trimWhitespaceOnDelete: register(new EditorBooleanOption(141 /* EditorOption.trimWhitespaceOnDelete */, 'trimWhitespaceOnDelete', false, { description: localize(
|
|
3368
|
+
trimWhitespaceOnDelete: register(new EditorBooleanOption(141 /* EditorOption.trimWhitespaceOnDelete */, 'trimWhitespaceOnDelete', false, { description: localize(595, "Controls whether the editor will also delete the next line's indentation whitespace when deleting a newline.") })),
|
|
3369
3369
|
unicodeHighlight: register(new UnicodeHighlight()),
|
|
3370
3370
|
unusualLineTerminators: register(new EditorStringEnumOption(143 /* EditorOption.unusualLineTerminators */, 'unusualLineTerminators', 'prompt', ['auto', 'off', 'prompt'], {
|
|
3371
3371
|
enumDescriptions: [
|
|
3372
|
-
localize(
|
|
3373
|
-
localize(
|
|
3374
|
-
localize(
|
|
3372
|
+
localize(596, "Unusual line terminators are automatically removed."),
|
|
3373
|
+
localize(597, "Unusual line terminators are ignored."),
|
|
3374
|
+
localize(598, "Unusual line terminators prompt to be removed."),
|
|
3375
3375
|
],
|
|
3376
|
-
description: localize(
|
|
3376
|
+
description: localize(599, "Remove unusual line terminators that might cause problems.")
|
|
3377
3377
|
})),
|
|
3378
3378
|
useShadowDOM: register(new EditorBooleanOption(144 /* EditorOption.useShadowDOM */, 'useShadowDOM', true)),
|
|
3379
|
-
useTabStops: register(new EditorBooleanOption(145 /* EditorOption.useTabStops */, 'useTabStops', true, { description: localize(
|
|
3379
|
+
useTabStops: register(new EditorBooleanOption(145 /* EditorOption.useTabStops */, 'useTabStops', true, { description: localize(600, "Spaces and tabs are inserted and deleted in alignment with tab stops.") })),
|
|
3380
3380
|
wordBreak: register(new EditorStringEnumOption(146 /* EditorOption.wordBreak */, 'wordBreak', 'normal', ['normal', 'keepAll'], {
|
|
3381
3381
|
markdownEnumDescriptions: [
|
|
3382
|
-
localize(
|
|
3383
|
-
localize(
|
|
3382
|
+
localize(601, "Use the default line break rule."),
|
|
3383
|
+
localize(602, "Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."),
|
|
3384
3384
|
],
|
|
3385
|
-
description: localize(
|
|
3385
|
+
description: localize(603, "Controls the word break rules used for Chinese/Japanese/Korean (CJK) text.")
|
|
3386
3386
|
})),
|
|
3387
3387
|
wordSegmenterLocales: register(new WordSegmenterLocales()),
|
|
3388
|
-
wordSeparators: register(new EditorStringOption(148 /* EditorOption.wordSeparators */, 'wordSeparators', USUAL_WORD_SEPARATORS, { description: localize(
|
|
3388
|
+
wordSeparators: register(new EditorStringOption(148 /* EditorOption.wordSeparators */, 'wordSeparators', USUAL_WORD_SEPARATORS, { description: localize(604, "Characters that will be used as word separators when doing word related navigations or operations.") })),
|
|
3389
3389
|
wordWrap: register(new EditorStringEnumOption(149 /* EditorOption.wordWrap */, 'wordWrap', 'off', ['off', 'on', 'wordWrapColumn', 'bounded'], {
|
|
3390
3390
|
markdownEnumDescriptions: [
|
|
3391
|
-
localize(
|
|
3392
|
-
localize(
|
|
3393
|
-
localize(
|
|
3391
|
+
localize(605, "Lines will never wrap."),
|
|
3392
|
+
localize(606, "Lines will wrap at the viewport width."),
|
|
3393
|
+
localize(607, "Lines will wrap at `#editor.wordWrapColumn#`."),
|
|
3394
3394
|
|
|
3395
3395
|
|
|
3396
3396
|
|
|
3397
3397
|
|
|
3398
3398
|
|
|
3399
|
-
localize(
|
|
3399
|
+
localize(608, "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."),
|
|
3400
3400
|
|
|
3401
3401
|
|
|
3402
3402
|
|
|
@@ -3404,7 +3404,7 @@ const EditorOptions = {
|
|
|
3404
3404
|
|
|
3405
3405
|
|
|
3406
3406
|
],
|
|
3407
|
-
description: localize(
|
|
3407
|
+
description: localize(609, "Controls how lines should wrap.")
|
|
3408
3408
|
|
|
3409
3409
|
|
|
3410
3410
|
|
|
@@ -3419,7 +3419,7 @@ const EditorOptions = {
|
|
|
3419
3419
|
// allow-any-unicode-next-line
|
|
3420
3420
|
'([{‘“〈《「『【〔([{「£¥$£¥++')),
|
|
3421
3421
|
wordWrapColumn: register(new EditorIntOption(152 /* EditorOption.wordWrapColumn */, 'wordWrapColumn', 80, 1, 1073741824 /* Constants.MAX_SAFE_SMALL_INTEGER */, {
|
|
3422
|
-
markdownDescription: localize(
|
|
3422
|
+
markdownDescription: localize(610, "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`.")
|
|
3423
3423
|
|
|
3424
3424
|
|
|
3425
3425
|
|
|
@@ -3429,20 +3429,20 @@ const EditorOptions = {
|
|
|
3429
3429
|
})),
|
|
3430
3430
|
wordWrapOverride1: register(new EditorStringEnumOption(153 /* EditorOption.wordWrapOverride1 */, 'wordWrapOverride1', 'inherit', ['off', 'on', 'inherit'])),
|
|
3431
3431
|
wordWrapOverride2: register(new EditorStringEnumOption(154 /* EditorOption.wordWrapOverride2 */, 'wordWrapOverride2', 'inherit', ['off', 'on', 'inherit'])),
|
|
3432
|
-
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(160 /* EditorOption.wrapOnEscapedLineFeeds */, 'wrapOnEscapedLineFeeds', false, { markdownDescription: localize(
|
|
3432
|
+
wrapOnEscapedLineFeeds: register(new EditorBooleanOption(160 /* EditorOption.wrapOnEscapedLineFeeds */, 'wrapOnEscapedLineFeeds', false, { markdownDescription: localize(611, "Controls whether literal `\\n` shall trigger a wordWrap when `#editor.wordWrap#` is enabled.\n\nFor example:\n```c\nchar* str=\"hello\\nworld\"\n```\nwill be displayed as\n```c\nchar* str=\"hello\\n\n world\"\n```") })),
|
|
3433
3433
|
// Leave these at the end (because they have dependencies!)
|
|
3434
3434
|
effectiveCursorStyle: register(new EffectiveCursorStyle()),
|
|
3435
3435
|
editorClassName: register(new EditorClassName()),
|
|
3436
3436
|
defaultColorDecorators: register(new EditorStringEnumOption(167 /* EditorOption.defaultColorDecorators */, 'defaultColorDecorators', 'auto', ['auto', 'always', 'never'], {
|
|
3437
3437
|
enumDescriptions: [
|
|
3438
|
-
localize(
|
|
3439
|
-
localize(
|
|
3440
|
-
localize(
|
|
3438
|
+
localize(612, "Show default color decorators only when no extension provides colors decorators."),
|
|
3439
|
+
localize(613, "Always show default color decorators."),
|
|
3440
|
+
localize(614, "Never show default color decorators."),
|
|
3441
3441
|
],
|
|
3442
|
-
description: localize(
|
|
3442
|
+
description: localize(615, "Controls whether inline color decorations should be shown using the default document color provider.")
|
|
3443
3443
|
})),
|
|
3444
3444
|
pixelRatio: register(new EditorPixelRatio()),
|
|
3445
|
-
tabFocusMode: register(new EditorBooleanOption(164 /* EditorOption.tabFocusMode */, 'tabFocusMode', false, { markdownDescription: localize(
|
|
3445
|
+
tabFocusMode: register(new EditorBooleanOption(164 /* EditorOption.tabFocusMode */, 'tabFocusMode', false, { markdownDescription: localize(616, "Controls whether the editor receives tabs or defers them to the workbench for navigation.") })),
|
|
3446
3446
|
layoutInfo: register(new EditorLayoutInfoComputer()),
|
|
3447
3447
|
wrappingInfo: register(new EditorWrappingInfoComputer()),
|
|
3448
3448
|
wrappingIndent: register(new WrappingIndentOption()),
|