@codingame/monaco-vscode-api 4.5.0 → 4.5.2
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/editor.api.d.ts +8 -0
- package/extensions.js +10 -2
- package/localExtensionHost.d.ts +41 -0
- package/package.json +10 -8
- package/service-override/accessibility.d.ts +5 -0
- package/service-override/ai.d.ts +5 -0
- package/service-override/authentication.d.ts +5 -0
- package/service-override/base.d.ts +5 -0
- package/service-override/bulkEdit.d.ts +5 -0
- package/service-override/chat.d.ts +5 -0
- package/service-override/comments.d.ts +5 -0
- package/service-override/configuration.d.ts +31 -0
- package/service-override/debug.d.ts +5 -0
- package/service-override/dialogs.d.ts +12 -0
- package/service-override/editSessions.d.ts +5 -0
- package/service-override/editor.d.ts +10 -0
- package/service-override/emmet.d.ts +5 -0
- package/service-override/environment.d.ts +10 -0
- package/service-override/explorer.d.ts +5 -0
- package/service-override/extensionGallery.d.ts +12 -0
- package/service-override/extensions.d.ts +43 -0
- package/service-override/files.d.ts +164 -0
- package/service-override/host.d.ts +5 -0
- package/service-override/interactive.d.ts +5 -0
- package/service-override/issue.d.ts +5 -0
- package/service-override/keybindings.d.ts +21 -0
- package/service-override/languageDetectionWorker.d.ts +5 -0
- package/service-override/languages.d.ts +6 -0
- package/service-override/layout.d.ts +128 -0
- package/service-override/lifecycle.d.ts +5 -0
- package/service-override/localization.d.ts +14 -0
- package/service-override/log.d.ts +14 -0
- package/service-override/markers.d.ts +5 -0
- package/service-override/model.d.ts +5 -0
- package/service-override/monarch.d.ts +5 -0
- package/service-override/multiDiffEditor.d.ts +5 -0
- package/service-override/notebook.d.ts +5 -0
- package/service-override/notifications.d.ts +5 -0
- package/service-override/outline.d.ts +5 -0
- package/service-override/output.d.ts +10 -0
- package/service-override/performance.d.ts +5 -0
- package/service-override/preferences.d.ts +5 -0
- package/service-override/quickaccess.d.ts +11 -0
- package/service-override/relauncher.d.ts +5 -0
- package/service-override/remoteAgent.d.ts +12 -0
- package/service-override/scm.d.ts +5 -0
- package/service-override/search.d.ts +12 -0
- package/service-override/secretStorage.d.ts +5 -0
- package/service-override/share.d.ts +5 -0
- package/service-override/snippets.d.ts +9 -0
- package/service-override/speech.d.ts +5 -0
- package/service-override/storage.d.ts +66 -0
- package/service-override/survey.d.ts +5 -0
- package/service-override/task.d.ts +5 -0
- package/service-override/terminal.d.ts +71 -0
- package/service-override/testing.d.ts +5 -0
- package/service-override/textmate.d.ts +6 -0
- package/service-override/theme.d.ts +7 -0
- package/service-override/timeline.d.ts +5 -0
- package/service-override/update.d.ts +5 -0
- package/service-override/userDataSync.d.ts +5 -0
- package/service-override/viewBanner.d.ts +6 -0
- package/service-override/viewCommon.d.ts +6 -0
- package/service-override/viewStatusBar.d.ts +6 -0
- package/service-override/viewTitleBar.d.ts +5 -0
- package/service-override/views.d.ts +47 -0
- package/service-override/walkthrough.d.ts +5 -0
- package/service-override/welcome.d.ts +5 -0
- package/service-override/workbench.d.ts +18 -0
- package/service-override/workingCopy.d.ts +5 -0
- package/service-override/workspaceTrust.d.ts +5 -0
- package/services.js +1 -0
- package/vscode/src/vs/base/browser/defaultWorkerFactory.js +4 -2
- package/vscode/src/vs/base/browser/dom.js +3 -3
- package/vscode/src/vs/base/browser/iframe.js +3 -1
- package/vscode/src/vs/base/browser/indexedDB.d.ts +17 -0
- package/vscode/src/vs/base/browser/indexedDB.js +2 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +4 -9
- package/vscode/src/vs/base/browser/ui/button/button.js +16 -19
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +168 -165
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +5 -8
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +19 -18
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -15
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +13 -16
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +10 -12
- package/vscode/src/vs/base/browser/ui/hover/updatableHoverWidget.js +13 -14
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +19 -39
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +3 -2
- package/vscode/src/vs/base/browser/ui/list/listView.js +6 -6
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +7 -7
- package/vscode/src/vs/base/browser/ui/list/rowCache.js +2 -2
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +24 -23
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +12 -15
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +25 -25
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +10 -10
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +62 -0
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +11 -10
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +177 -152
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +7 -7
- package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/dataTree.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +4 -4
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -1
- package/vscode/src/vs/base/common/actions.js +6 -5
- package/vscode/src/vs/base/common/arrays.js +2 -2
- package/vscode/src/vs/base/common/arraysFind.js +3 -1
- package/vscode/src/vs/base/common/assert.js +2 -2
- package/vscode/src/vs/base/common/async.js +3 -3
- package/vscode/src/vs/base/common/buffer.js +2 -2
- package/vscode/src/vs/base/common/codiconsUtil.js +1 -1
- package/vscode/src/vs/base/common/color.js +2 -2
- package/vscode/src/vs/base/common/date.js +70 -284
- package/vscode/src/vs/base/common/decorators.js +2 -2
- package/vscode/src/vs/base/common/diff/diff.js +1 -1
- package/vscode/src/vs/base/common/errorMessage.js +12 -22
- package/vscode/src/vs/base/common/errors.js +2 -2
- package/vscode/src/vs/base/common/event.js +2 -2
- package/vscode/src/vs/base/common/extpath.js +1 -1
- package/vscode/src/vs/base/common/filters.js +1 -1
- package/vscode/src/vs/base/common/history.js +1 -1
- package/vscode/src/vs/base/common/jsonEdit.js +6 -4
- package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -45
- package/vscode/src/vs/base/common/keyCodes.js +3 -1
- package/vscode/src/vs/base/common/keybindingLabels.js +29 -108
- package/vscode/src/vs/base/common/labels.js +2 -2
- package/vscode/src/vs/base/common/lifecycle.js +5 -5
- package/vscode/src/vs/base/common/map.js +11 -11
- package/vscode/src/vs/base/common/objects.js +1 -1
- package/vscode/src/vs/base/common/path.js +2 -2
- package/vscode/src/vs/base/common/platform.js +7 -26
- package/vscode/src/vs/base/common/stream.js +1 -1
- package/vscode/src/vs/base/common/strings.js +2 -2
- package/vscode/src/vs/base/common/ternarySearchTree.js +3 -3
- package/vscode/src/vs/base/common/types.js +7 -5
- package/vscode/src/vs/base/common/uri.js +11 -5
- package/vscode/src/vs/base/common/worker/simpleWorker.js +7 -7
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +1 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +1 -1
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +47 -42
- package/vscode/src/vs/editor/browser/coreCommands.js +104 -115
- package/vscode/src/vs/editor/browser/editorExtensions.js +24 -35
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -2
- package/vscode/src/vs/editor/browser/services/bulkEditService.js +1 -1
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +18 -22
- package/vscode/src/vs/editor/browser/services/openerService.js +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
- package/vscode/src/vs/editor/browser/view.js +6 -6
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +129 -128
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +25 -68
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +66 -99
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +10 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +15 -34
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +25 -41
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +27 -51
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +40 -31
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +13 -20
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +8 -19
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -15
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +83 -154
- package/vscode/src/vs/editor/common/config/editorOptions.js +863 -1427
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +110 -253
- package/vscode/src/vs/editor/common/core/lineRange.js +4 -2
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -3
- package/vscode/src/vs/editor/common/core/textEdit.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +1 -1
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +1 -1
- package/vscode/src/vs/editor/common/editorContextKeys.js +80 -239
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +5 -8
- package/vscode/src/vs/editor/common/languages/supports/tokenization.js +2 -2
- package/vscode/src/vs/editor/common/languages.js +68 -71
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +12 -12
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +2 -2
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.js +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +2 -2
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +47 -36
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +3 -3
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +2 -2
- package/vscode/src/vs/editor/common/model/textModel.js +9 -9
- package/vscode/src/vs/editor/common/model/textModelPart.js +1 -1
- package/vscode/src/vs/editor/common/model/textModelTokens.js +2 -2
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +2 -2
- package/vscode/src/vs/editor/common/services/modelService.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +56 -115
- package/vscode/src/vs/editor/common/textModelGuides.js +1 -1
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +2 -2
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +79 -67
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +12 -12
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +12 -31
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +25 -40
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +4 -11
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +3 -6
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -76
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +36 -25
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +54 -143
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +8 -7
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +30 -37
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +25 -54
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +15 -28
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +30 -37
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +24 -31
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +7 -24
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +11 -34
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +37 -70
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +15 -14
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +6 -13
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +33 -50
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +37 -68
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +4 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +20 -27
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +8 -7
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +83 -120
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +59 -143
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +51 -117
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +13 -32
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +2 -2
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -15
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +28 -35
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +21 -52
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +38 -77
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +109 -246
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +21 -23
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +40 -30
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +23 -34
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +31 -42
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +33 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +24 -23
- package/vscode/src/vs/editor/contrib/hover/browser/hover.js +31 -95
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +41 -32
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +18 -37
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +11 -18
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +29 -76
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +80 -99
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +30 -63
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +45 -42
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +11 -18
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +28 -23
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +39 -60
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +3 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -5
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +135 -234
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +26 -33
- package/vscode/src/vs/editor/contrib/links/browser/links.js +32 -64
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +13 -16
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +122 -195
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +17 -20
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +16 -32
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +43 -86
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -24
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +46 -170
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -10
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +54 -76
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +37 -45
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +73 -86
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +23 -38
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +13 -80
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +20 -56
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +55 -72
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +161 -147
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +43 -95
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +21 -28
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +16 -23
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +11 -10
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -66
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +6 -13
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +3 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +72 -136
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +11 -26
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +19 -22
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +66 -59
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +72 -51
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +3 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +7 -7
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +2 -2
- package/vscode/src/vs/nls.js +1 -4
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +88 -255
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +9 -16
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +21 -41
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +18 -45
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +19 -24
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +40 -51
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +73 -0
- package/vscode/src/vs/platform/actions/browser/toolbar.js +24 -23
- package/vscode/src/vs/platform/actions/common/actions.contribution.js +5 -0
- package/vscode/src/vs/platform/actions/common/actions.js +4 -2
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +21 -0
- package/vscode/src/vs/platform/actions/common/menuService.js +49 -51
- package/vscode/src/vs/platform/commands/common/commands.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +38 -61
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +68 -51
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +168 -130
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +14 -45
- package/vscode/src/vs/platform/contextkey/common/scanner.js +12 -26
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +18 -33
- package/vscode/src/vs/platform/dnd/browser/dnd.js +24 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +8 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +335 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +915 -0
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +36 -43
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.d.ts +43 -0
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +23 -16
- package/vscode/src/vs/platform/files/browser/indexedDBFileSystemProvider.d.ts +48 -0
- package/vscode/src/vs/platform/files/common/files.js +41 -58
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.d.ts +59 -0
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +28 -21
- package/vscode/src/vs/platform/hover/browser/hover.js +2 -2
- package/vscode/src/vs/platform/instantiation/common/instantiation.js +1 -1
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +7 -7
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +21 -20
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +75 -6
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +4 -2
- package/vscode/src/vs/platform/list/browser/listService.js +159 -189
- package/vscode/src/vs/platform/log/common/log.js +20 -19
- package/vscode/src/vs/platform/markers/common/markerService.js +1 -1
- package/vscode/src/vs/platform/markers/common/markers.js +15 -14
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +34 -47
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +183 -193
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +107 -98
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +9 -8
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +5 -12
- package/vscode/src/vs/platform/remote/common/remoteExtensionsScanner.service.d.ts +13 -0
- package/vscode/src/vs/platform/request/common/request.js +31 -40
- package/vscode/src/vs/platform/terminal/common/terminal.js +3 -1
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +28 -59
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -40
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +151 -350
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +51 -170
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +63 -90
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -35
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +14 -53
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +13 -32
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +14 -37
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +6 -13
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +9 -24
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +64 -207
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +111 -114
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +51 -54
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +20 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +25 -32
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +7 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +173 -35
- package/vscode/src/vs/platform/workspace/common/workspace.js +8 -9
- package/vscode/src/vs/platform/workspaces/common/workspaces.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +55 -46
- package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +9 -5
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +10 -4
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +17 -15
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +40 -24
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +37 -34
- package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +12 -8
- package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +22 -7
- package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +16 -16
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +9 -9
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +272 -200
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +49 -42
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +6 -13
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +20 -14
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +20 -18
- package/vscode/src/vs/workbench/api/common/extHostNotebookRenderers.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostOutput.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +8 -6
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +41 -38
- package/vscode/src/vs/workbench/api/common/extHostTask.js +15 -11
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +22 -21
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +109 -94
- package/vscode/src/vs/workbench/api/common/extHostTestItem.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +9 -7
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +6 -6
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +17 -10
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +31 -36
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +11 -11
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +31 -27
- package/vscode/src/vs/workbench/api/common/extHostUriOpener.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostUrls.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebview.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostWebviewView.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +51 -48
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +29 -44
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -3
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +93 -157
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +270 -614
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +31 -30
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +49 -123
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +63 -119
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +11 -26
- package/vscode/src/vs/workbench/browser/dnd.d.ts +14 -0
- package/vscode/src/vs/workbench/browser/editor.js +62 -55
- package/vscode/src/vs/workbench/browser/labels.js +40 -51
- package/vscode/src/vs/workbench/browser/part.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +61 -0
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +23 -56
- package/vscode/src/vs/workbench/browser/parts/banner/bannerPart.d.ts +46 -0
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.d.ts +21 -0
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +72 -115
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +89 -0
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +12 -17
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +11 -18
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +51 -198
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +60 -101
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +51 -48
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +10 -33
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +176 -684
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +51 -104
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +61 -91
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +26 -77
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +19 -27
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +41 -60
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +86 -94
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +124 -353
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +21 -30
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +45 -48
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +34 -31
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -5
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +27 -24
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +21 -18
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +117 -135
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +42 -109
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +11 -10
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +25 -52
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +24 -59
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +22 -30
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +21 -61
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +23 -25
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +32 -50
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.d.ts +108 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +138 -0
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +58 -196
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +35 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +48 -0
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +73 -124
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +19 -30
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +6 -5
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +152 -141
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -16
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +62 -72
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +68 -85
- package/vscode/src/vs/workbench/browser/quickaccess.js +12 -12
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +381 -589
- package/vscode/src/vs/workbench/browser/workbench.d.ts +10 -0
- package/vscode/src/vs/workbench/common/configuration.js +33 -52
- package/vscode/src/vs/workbench/common/contextkeys.js +117 -348
- package/vscode/src/vs/workbench/common/contributions.js +9 -3
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -15
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +18 -15
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +14 -11
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +31 -36
- package/vscode/src/vs/workbench/common/theme.js +359 -406
- package/vscode/src/vs/workbench/common/views.js +36 -35
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +221 -488
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +4 -22
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +37 -52
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +56 -127
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +18 -41
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +55 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +27 -71
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +13 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +13 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +21 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +17 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +8 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +40 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +83 -138
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +31 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +20 -19
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -30
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +29 -64
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +14 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +33 -40
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +24 -61
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +11 -34
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +22 -38
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +23 -34
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +23 -67
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +14 -17
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +25 -45
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +47 -55
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +13 -28
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +29 -41
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +14 -37
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +82 -88
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +19 -22
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +17 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +15 -18
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +33 -64
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +108 -124
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +16 -19
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +43 -79
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +46 -61
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -51
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +30 -44
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +24 -51
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +22 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +18 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +84 -242
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +33 -74
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +220 -412
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +14 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +20 -67
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +62 -273
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +12 -17
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +227 -290
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +147 -141
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +13 -14
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +4 -11
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +25 -22
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +617 -1086
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +42 -69
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +10 -13
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +9 -15
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +32 -29
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +9 -12
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +26 -35
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +38 -49
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +60 -107
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +71 -100
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +161 -373
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.save.js +10 -13
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +11 -22
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +151 -244
- package/vscode/src/vs/workbench/contrib/files/browser/files.configuration.contribution.js +105 -156
- package/vscode/src/vs/workbench/contrib/files/browser/files.editorPane.contribution.js +10 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +18 -21
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +14 -25
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +52 -72
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +122 -155
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +55 -78
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +22 -25
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +8 -16
- package/vscode/src/vs/workbench/contrib/files/common/files.js +61 -84
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -14
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +58 -106
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +9 -22
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +6 -9
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +15 -26
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +122 -171
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +53 -78
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +19 -30
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +7 -7
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +46 -67
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +56 -65
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +7 -10
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +3 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +78 -165
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +14 -18
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +74 -145
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +64 -53
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +19 -50
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -5
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +58 -55
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +97 -157
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +40 -60
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +57 -120
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +19 -35
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +36 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +2 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +11 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +50 -63
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +12 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +90 -152
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +8 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +18 -45
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +6 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +58 -49
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +155 -210
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -135
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +17 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +63 -82
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +16 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +8 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +11 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +8 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +12 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +20 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +89 -100
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +66 -73
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +10 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +48 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +15 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +21 -23
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +32 -44
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +16 -51
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +52 -91
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +52 -231
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +34 -105
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +128 -156
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +19 -82
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +250 -445
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +9 -16
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +123 -180
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +21 -62
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -10
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +18 -17
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +18 -24
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +71 -70
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +35 -146
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +18 -23
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +19 -23
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +134 -123
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +795 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +149 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +48 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +19 -26
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.d.ts +25 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.d.ts +8 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +168 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +55 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/environmentVariable.d.ts +9 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +238 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -29
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +42 -78
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +106 -138
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +5 -5
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +36 -31
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -11
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -23
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +6 -9
- package/vscode/src/vs/workbench/services/activity/browser/activityService.d.ts +28 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +18 -8
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +23 -62
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +99 -18
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +9 -8
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +53 -0
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +3 -6
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +106 -0
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +40 -57
- package/vscode/src/vs/workbench/services/extensions/browser/extensionService.d.ts +45 -0
- package/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.d.ts +11 -0
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +162 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.d.ts +18 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManagers.d.ts +39 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProxy.d.ts +17 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.service.d.ts +20 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocationTracker.d.ts +45 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +6 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensionsProposedApi.d.ts +17 -0
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +176 -223
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.d.ts +6 -0
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +5 -3
- package/vscode/src/vs/workbench/services/extensions/worker/polyfillNestedWorker.js +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +35 -38
- package/vscode/src/vs/workbench/services/language/common/languageService.js +55 -119
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +6 -13
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +33 -60
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +8 -15
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +79 -72
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +54 -141
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +50 -0
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +30 -42
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.d.ts +40 -0
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.d.ts +185 -0
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +92 -101
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +50 -45
- package/vscode/src/vs/workbench/services/storage/browser/storageService.d.ts +41 -0
- package/vscode/src/vs/workbench/services/textMate/browser/textMateTokenizationFeature.service.d.ts +11 -0
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +15 -30
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +4 -1
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +3 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +32 -35
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +48 -83
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +26 -45
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.d.ts +11 -0
- package/vscode/src/vs/workbench/services/userData/browser/userDataInit.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +14 -23
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -5
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +22 -62
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +49 -78
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +48 -87
- package/tools/l10n.js +0 -177
|
@@ -4,6 +4,7 @@ import { isMacintosh, isLinux } from '../../../base/common/platform.js';
|
|
|
4
4
|
import { EDITOR_MODEL_DEFAULTS } from '../core/textModelDefaults.js';
|
|
5
5
|
import { USUAL_WORD_SEPARATORS } from '../core/wordHelper.js';
|
|
6
6
|
import { localizeWithPath } from '../../../nls.js';
|
|
7
|
+
const _moduleId = "vs/editor/common/config/editorOptions";
|
|
7
8
|
const MINIMAP_GUTTER_WIDTH = 8;
|
|
8
9
|
class ConfigurationChangedEvent {
|
|
9
10
|
constructor(values) {
|
|
@@ -42,11 +43,15 @@ class ApplyUpdateResult {
|
|
|
42
43
|
}
|
|
43
44
|
function applyUpdate(value, update) {
|
|
44
45
|
if (typeof value !== 'object' || typeof update !== 'object' || !value || !update) {
|
|
45
|
-
return (
|
|
46
|
+
return (
|
|
47
|
+
(new ApplyUpdateResult(update, value !== update))
|
|
48
|
+
);
|
|
46
49
|
}
|
|
47
50
|
if (Array.isArray(value) || Array.isArray(update)) {
|
|
48
51
|
const arrayEquals = Array.isArray(value) && Array.isArray(update) && equals(value, update);
|
|
49
|
-
return (
|
|
52
|
+
return (
|
|
53
|
+
(new ApplyUpdateResult(update, !arrayEquals))
|
|
54
|
+
);
|
|
50
55
|
}
|
|
51
56
|
let didChange = false;
|
|
52
57
|
for (const key in update) {
|
|
@@ -58,7 +63,9 @@ function applyUpdate(value, update) {
|
|
|
58
63
|
}
|
|
59
64
|
}
|
|
60
65
|
}
|
|
61
|
-
return (
|
|
66
|
+
return (
|
|
67
|
+
(new ApplyUpdateResult(value, didChange))
|
|
68
|
+
);
|
|
62
69
|
}
|
|
63
70
|
class ComputedEditorOption {
|
|
64
71
|
constructor(id) {
|
|
@@ -266,26 +273,18 @@ class EditorAccessibilitySupport extends BaseEditorOption {
|
|
|
266
273
|
enum: ['auto', 'on', 'off'],
|
|
267
274
|
enumDescriptions: [
|
|
268
275
|
( localizeWithPath(
|
|
269
|
-
|
|
270
|
-
|
|
276
|
+
_moduleId,
|
|
277
|
+
0,
|
|
271
278
|
"Use platform APIs to detect when a Screen Reader is attached."
|
|
272
279
|
)),
|
|
273
|
-
( localizeWithPath(
|
|
274
|
-
|
|
275
|
-
'accessibilitySupport.on',
|
|
276
|
-
"Optimize for usage with a Screen Reader."
|
|
277
|
-
)),
|
|
278
|
-
( localizeWithPath(
|
|
279
|
-
'vs/editor/common/config/editorOptions',
|
|
280
|
-
'accessibilitySupport.off',
|
|
281
|
-
"Assume a screen reader is not attached."
|
|
282
|
-
)),
|
|
280
|
+
( localizeWithPath(_moduleId, 1, "Optimize for usage with a Screen Reader.")),
|
|
281
|
+
( localizeWithPath(_moduleId, 2, "Assume a screen reader is not attached.")),
|
|
283
282
|
],
|
|
284
283
|
default: 'auto',
|
|
285
284
|
tags: ['accessibility'],
|
|
286
285
|
description: ( localizeWithPath(
|
|
287
|
-
|
|
288
|
-
|
|
286
|
+
_moduleId,
|
|
287
|
+
3,
|
|
289
288
|
"Controls if the UI should run in a mode where it is optimized for screen readers."
|
|
290
289
|
))
|
|
291
290
|
});
|
|
@@ -316,8 +315,8 @@ class EditorComments extends BaseEditorOption {
|
|
|
316
315
|
type: 'boolean',
|
|
317
316
|
default: defaults.insertSpace,
|
|
318
317
|
description: ( localizeWithPath(
|
|
319
|
-
|
|
320
|
-
|
|
318
|
+
_moduleId,
|
|
319
|
+
4,
|
|
321
320
|
"Controls whether a space character is inserted when commenting."
|
|
322
321
|
))
|
|
323
322
|
},
|
|
@@ -325,8 +324,8 @@ class EditorComments extends BaseEditorOption {
|
|
|
325
324
|
type: 'boolean',
|
|
326
325
|
default: defaults.ignoreEmptyLines,
|
|
327
326
|
description: ( localizeWithPath(
|
|
328
|
-
|
|
329
|
-
|
|
327
|
+
_moduleId,
|
|
328
|
+
5,
|
|
330
329
|
'Controls if empty lines should be ignored with toggle, add or remove actions for line comments.'
|
|
331
330
|
))
|
|
332
331
|
},
|
|
@@ -353,14 +352,14 @@ function _cursorBlinkingStyleFromString(cursorBlinkingStyle) {
|
|
|
353
352
|
}
|
|
354
353
|
}
|
|
355
354
|
var TextEditorCursorStyle;
|
|
356
|
-
( (function(TextEditorCursorStyle) {
|
|
355
|
+
( ((function(TextEditorCursorStyle) {
|
|
357
356
|
TextEditorCursorStyle[TextEditorCursorStyle["Line"] = 1] = "Line";
|
|
358
357
|
TextEditorCursorStyle[TextEditorCursorStyle["Block"] = 2] = "Block";
|
|
359
358
|
TextEditorCursorStyle[TextEditorCursorStyle["Underline"] = 3] = "Underline";
|
|
360
359
|
TextEditorCursorStyle[TextEditorCursorStyle["LineThin"] = 4] = "LineThin";
|
|
361
360
|
TextEditorCursorStyle[TextEditorCursorStyle["BlockOutline"] = 5] = "BlockOutline";
|
|
362
361
|
TextEditorCursorStyle[TextEditorCursorStyle["UnderlineThin"] = 6] = "UnderlineThin";
|
|
363
|
-
})(TextEditorCursorStyle || (TextEditorCursorStyle = {})));
|
|
362
|
+
})(TextEditorCursorStyle || (TextEditorCursorStyle = {}))));
|
|
364
363
|
function cursorStyleToString(cursorStyle) {
|
|
365
364
|
switch (cursorStyle) {
|
|
366
365
|
case TextEditorCursorStyle.Line: return 'line';
|
|
@@ -411,8 +410,8 @@ class EditorClassName extends ComputedEditorOption {
|
|
|
411
410
|
class EditorEmptySelectionClipboard extends EditorBooleanOption {
|
|
412
411
|
constructor() {
|
|
413
412
|
super(37 , 'emptySelectionClipboard', true, { description: ( localizeWithPath(
|
|
414
|
-
|
|
415
|
-
|
|
413
|
+
_moduleId,
|
|
414
|
+
6,
|
|
416
415
|
"Controls whether copying without a selection copies the current line."
|
|
417
416
|
)) });
|
|
418
417
|
}
|
|
@@ -435,8 +434,8 @@ class EditorFind extends BaseEditorOption {
|
|
|
435
434
|
type: 'boolean',
|
|
436
435
|
default: defaults.cursorMoveOnType,
|
|
437
436
|
description: ( localizeWithPath(
|
|
438
|
-
|
|
439
|
-
|
|
437
|
+
_moduleId,
|
|
438
|
+
7,
|
|
440
439
|
"Controls whether the cursor should jump to find matches while typing."
|
|
441
440
|
))
|
|
442
441
|
},
|
|
@@ -445,25 +444,17 @@ class EditorFind extends BaseEditorOption {
|
|
|
445
444
|
enum: ['never', 'always', 'selection'],
|
|
446
445
|
default: defaults.seedSearchStringFromSelection,
|
|
447
446
|
enumDescriptions: [
|
|
447
|
+
( localizeWithPath(_moduleId, 8, 'Never seed search string from the editor selection.')),
|
|
448
448
|
( localizeWithPath(
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
'Never seed search string from the editor selection.'
|
|
452
|
-
)),
|
|
453
|
-
( localizeWithPath(
|
|
454
|
-
'vs/editor/common/config/editorOptions',
|
|
455
|
-
'editor.find.seedSearchStringFromSelection.always',
|
|
449
|
+
_moduleId,
|
|
450
|
+
9,
|
|
456
451
|
'Always seed search string from the editor selection, including word at cursor position.'
|
|
457
452
|
)),
|
|
458
|
-
( localizeWithPath(
|
|
459
|
-
'vs/editor/common/config/editorOptions',
|
|
460
|
-
'editor.find.seedSearchStringFromSelection.selection',
|
|
461
|
-
'Only seed search string from the editor selection.'
|
|
462
|
-
))
|
|
453
|
+
( localizeWithPath(_moduleId, 10, 'Only seed search string from the editor selection.'))
|
|
463
454
|
],
|
|
464
455
|
description: ( localizeWithPath(
|
|
465
|
-
|
|
466
|
-
|
|
456
|
+
_moduleId,
|
|
457
|
+
11,
|
|
467
458
|
"Controls whether the search string in the Find Widget is seeded from the editor selection."
|
|
468
459
|
))
|
|
469
460
|
},
|
|
@@ -472,25 +463,17 @@ class EditorFind extends BaseEditorOption {
|
|
|
472
463
|
enum: ['never', 'always', 'multiline'],
|
|
473
464
|
default: defaults.autoFindInSelection,
|
|
474
465
|
enumDescriptions: [
|
|
466
|
+
( localizeWithPath(_moduleId, 12, 'Never turn on Find in Selection automatically (default).')),
|
|
467
|
+
( localizeWithPath(_moduleId, 13, 'Always turn on Find in Selection automatically.')),
|
|
475
468
|
( localizeWithPath(
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
'Never turn on Find in Selection automatically (default).'
|
|
479
|
-
)),
|
|
480
|
-
( localizeWithPath(
|
|
481
|
-
'vs/editor/common/config/editorOptions',
|
|
482
|
-
'editor.find.autoFindInSelection.always',
|
|
483
|
-
'Always turn on Find in Selection automatically.'
|
|
484
|
-
)),
|
|
485
|
-
( localizeWithPath(
|
|
486
|
-
'vs/editor/common/config/editorOptions',
|
|
487
|
-
'editor.find.autoFindInSelection.multiline',
|
|
469
|
+
_moduleId,
|
|
470
|
+
14,
|
|
488
471
|
'Turn on Find in Selection automatically when multiple lines of content are selected.'
|
|
489
472
|
))
|
|
490
473
|
],
|
|
491
474
|
description: ( localizeWithPath(
|
|
492
|
-
|
|
493
|
-
|
|
475
|
+
_moduleId,
|
|
476
|
+
15,
|
|
494
477
|
"Controls the condition for turning on Find in Selection automatically."
|
|
495
478
|
))
|
|
496
479
|
},
|
|
@@ -498,8 +481,8 @@ class EditorFind extends BaseEditorOption {
|
|
|
498
481
|
type: 'boolean',
|
|
499
482
|
default: defaults.globalFindClipboard,
|
|
500
483
|
description: ( localizeWithPath(
|
|
501
|
-
|
|
502
|
-
|
|
484
|
+
_moduleId,
|
|
485
|
+
16,
|
|
503
486
|
"Controls whether the Find Widget should read or modify the shared find clipboard on macOS."
|
|
504
487
|
)),
|
|
505
488
|
included: isMacintosh
|
|
@@ -508,8 +491,8 @@ class EditorFind extends BaseEditorOption {
|
|
|
508
491
|
type: 'boolean',
|
|
509
492
|
default: defaults.addExtraSpaceOnTop,
|
|
510
493
|
description: ( localizeWithPath(
|
|
511
|
-
|
|
512
|
-
|
|
494
|
+
_moduleId,
|
|
495
|
+
17,
|
|
513
496
|
"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."
|
|
514
497
|
))
|
|
515
498
|
},
|
|
@@ -517,8 +500,8 @@ class EditorFind extends BaseEditorOption {
|
|
|
517
500
|
type: 'boolean',
|
|
518
501
|
default: defaults.loop,
|
|
519
502
|
description: ( localizeWithPath(
|
|
520
|
-
|
|
521
|
-
|
|
503
|
+
_moduleId,
|
|
504
|
+
18,
|
|
522
505
|
"Controls whether the search automatically restarts from the beginning (or the end) when no further matches can be found."
|
|
523
506
|
))
|
|
524
507
|
},
|
|
@@ -552,23 +535,23 @@ class EditorFontLigatures extends BaseEditorOption {
|
|
|
552
535
|
{
|
|
553
536
|
type: 'boolean',
|
|
554
537
|
description: ( localizeWithPath(
|
|
555
|
-
|
|
556
|
-
|
|
538
|
+
_moduleId,
|
|
539
|
+
19,
|
|
557
540
|
"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."
|
|
558
541
|
)),
|
|
559
542
|
},
|
|
560
543
|
{
|
|
561
544
|
type: 'string',
|
|
562
545
|
description: ( localizeWithPath(
|
|
563
|
-
|
|
564
|
-
|
|
546
|
+
_moduleId,
|
|
547
|
+
20,
|
|
565
548
|
"Explicit 'font-feature-settings' CSS property. A boolean can be passed instead if one only needs to turn on/off ligatures."
|
|
566
549
|
))
|
|
567
550
|
}
|
|
568
551
|
],
|
|
569
552
|
description: ( localizeWithPath(
|
|
570
|
-
|
|
571
|
-
|
|
553
|
+
_moduleId,
|
|
554
|
+
21,
|
|
572
555
|
"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."
|
|
573
556
|
)),
|
|
574
557
|
default: false
|
|
@@ -602,23 +585,23 @@ class EditorFontVariations extends BaseEditorOption {
|
|
|
602
585
|
{
|
|
603
586
|
type: 'boolean',
|
|
604
587
|
description: ( localizeWithPath(
|
|
605
|
-
|
|
606
|
-
|
|
588
|
+
_moduleId,
|
|
589
|
+
22,
|
|
607
590
|
"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."
|
|
608
591
|
)),
|
|
609
592
|
},
|
|
610
593
|
{
|
|
611
594
|
type: 'string',
|
|
612
595
|
description: ( localizeWithPath(
|
|
613
|
-
|
|
614
|
-
|
|
596
|
+
_moduleId,
|
|
597
|
+
23,
|
|
615
598
|
"Explicit 'font-variation-settings' CSS property. A boolean can be passed instead if one only needs to translate font-weight to font-variation-settings."
|
|
616
599
|
))
|
|
617
600
|
}
|
|
618
601
|
],
|
|
619
602
|
description: ( localizeWithPath(
|
|
620
|
-
|
|
621
|
-
|
|
603
|
+
_moduleId,
|
|
604
|
+
24,
|
|
622
605
|
"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."
|
|
623
606
|
)),
|
|
624
607
|
default: false
|
|
@@ -661,11 +644,7 @@ class EditorFontSize extends SimpleEditorOption {
|
|
|
661
644
|
minimum: 6,
|
|
662
645
|
maximum: 100,
|
|
663
646
|
default: EDITOR_FONT_DEFAULTS.fontSize,
|
|
664
|
-
description: ( localizeWithPath(
|
|
665
|
-
'vs/editor/common/config/editorOptions',
|
|
666
|
-
'fontSize',
|
|
667
|
-
"Controls the font size in pixels."
|
|
668
|
-
))
|
|
647
|
+
description: ( localizeWithPath(_moduleId, 25, "Controls the font size in pixels."))
|
|
669
648
|
});
|
|
670
649
|
}
|
|
671
650
|
validate(input) {
|
|
@@ -691,8 +670,8 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
691
670
|
minimum: EditorFontWeight.MINIMUM_VALUE,
|
|
692
671
|
maximum: EditorFontWeight.MAXIMUM_VALUE,
|
|
693
672
|
errorMessage: ( localizeWithPath(
|
|
694
|
-
|
|
695
|
-
|
|
673
|
+
_moduleId,
|
|
674
|
+
26,
|
|
696
675
|
"Only \"normal\" and \"bold\" keywords or numbers between 1 and 1000 are allowed."
|
|
697
676
|
))
|
|
698
677
|
},
|
|
@@ -706,8 +685,8 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
706
685
|
],
|
|
707
686
|
default: EDITOR_FONT_DEFAULTS.fontWeight,
|
|
708
687
|
description: ( localizeWithPath(
|
|
709
|
-
|
|
710
|
-
|
|
688
|
+
_moduleId,
|
|
689
|
+
27,
|
|
711
690
|
"Controls the font weight. Accepts \"normal\" and \"bold\" keywords or numbers between 1 and 1000."
|
|
712
691
|
))
|
|
713
692
|
});
|
|
@@ -739,19 +718,11 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
739
718
|
enum: ['peek', 'gotoAndPeek', 'goto'],
|
|
740
719
|
default: defaults.multiple,
|
|
741
720
|
enumDescriptions: [
|
|
721
|
+
( localizeWithPath(_moduleId, 28, 'Show Peek view of the results (default)')),
|
|
722
|
+
( localizeWithPath(_moduleId, 29, 'Go to the primary result and show a Peek view')),
|
|
742
723
|
( localizeWithPath(
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
'Show Peek view of the results (default)'
|
|
746
|
-
)),
|
|
747
|
-
( localizeWithPath(
|
|
748
|
-
'vs/editor/common/config/editorOptions',
|
|
749
|
-
'editor.gotoLocation.multiple.gotoAndPeek',
|
|
750
|
-
'Go to the primary result and show a Peek view'
|
|
751
|
-
)),
|
|
752
|
-
( localizeWithPath(
|
|
753
|
-
'vs/editor/common/config/editorOptions',
|
|
754
|
-
'editor.gotoLocation.multiple.goto',
|
|
724
|
+
_moduleId,
|
|
725
|
+
30,
|
|
755
726
|
'Go to the primary result and enable Peek-less navigation to others'
|
|
756
727
|
))
|
|
757
728
|
]
|
|
@@ -760,47 +731,47 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
760
731
|
super(58 , 'gotoLocation', defaults, {
|
|
761
732
|
'editor.gotoLocation.multiple': {
|
|
762
733
|
deprecationMessage: ( localizeWithPath(
|
|
763
|
-
|
|
764
|
-
|
|
734
|
+
_moduleId,
|
|
735
|
+
31,
|
|
765
736
|
"This setting is deprecated, please use separate settings like 'editor.editor.gotoLocation.multipleDefinitions' or 'editor.editor.gotoLocation.multipleImplementations' instead."
|
|
766
737
|
)),
|
|
767
738
|
},
|
|
768
739
|
'editor.gotoLocation.multipleDefinitions': {
|
|
769
740
|
description: ( localizeWithPath(
|
|
770
|
-
|
|
771
|
-
|
|
741
|
+
_moduleId,
|
|
742
|
+
32,
|
|
772
743
|
"Controls the behavior the 'Go to Definition'-command when multiple target locations exist."
|
|
773
744
|
)),
|
|
774
745
|
...jsonSubset,
|
|
775
746
|
},
|
|
776
747
|
'editor.gotoLocation.multipleTypeDefinitions': {
|
|
777
748
|
description: ( localizeWithPath(
|
|
778
|
-
|
|
779
|
-
|
|
749
|
+
_moduleId,
|
|
750
|
+
33,
|
|
780
751
|
"Controls the behavior the 'Go to Type Definition'-command when multiple target locations exist."
|
|
781
752
|
)),
|
|
782
753
|
...jsonSubset,
|
|
783
754
|
},
|
|
784
755
|
'editor.gotoLocation.multipleDeclarations': {
|
|
785
756
|
description: ( localizeWithPath(
|
|
786
|
-
|
|
787
|
-
|
|
757
|
+
_moduleId,
|
|
758
|
+
34,
|
|
788
759
|
"Controls the behavior the 'Go to Declaration'-command when multiple target locations exist."
|
|
789
760
|
)),
|
|
790
761
|
...jsonSubset,
|
|
791
762
|
},
|
|
792
763
|
'editor.gotoLocation.multipleImplementations': {
|
|
793
764
|
description: ( localizeWithPath(
|
|
794
|
-
|
|
795
|
-
|
|
765
|
+
_moduleId,
|
|
766
|
+
35,
|
|
796
767
|
"Controls the behavior the 'Go to Implementations'-command when multiple target locations exist."
|
|
797
768
|
)),
|
|
798
769
|
...jsonSubset,
|
|
799
770
|
},
|
|
800
771
|
'editor.gotoLocation.multipleReferences': {
|
|
801
772
|
description: ( localizeWithPath(
|
|
802
|
-
|
|
803
|
-
|
|
773
|
+
_moduleId,
|
|
774
|
+
36,
|
|
804
775
|
"Controls the behavior the 'Go to References'-command when multiple target locations exist."
|
|
805
776
|
)),
|
|
806
777
|
...jsonSubset,
|
|
@@ -810,8 +781,8 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
810
781
|
default: defaults.alternativeDefinitionCommand,
|
|
811
782
|
enum: alternativeCommandOptions,
|
|
812
783
|
description: ( localizeWithPath(
|
|
813
|
-
|
|
814
|
-
|
|
784
|
+
_moduleId,
|
|
785
|
+
37,
|
|
815
786
|
"Alternative command id that is being executed when the result of 'Go to Definition' is the current location."
|
|
816
787
|
))
|
|
817
788
|
},
|
|
@@ -820,8 +791,8 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
820
791
|
default: defaults.alternativeTypeDefinitionCommand,
|
|
821
792
|
enum: alternativeCommandOptions,
|
|
822
793
|
description: ( localizeWithPath(
|
|
823
|
-
|
|
824
|
-
|
|
794
|
+
_moduleId,
|
|
795
|
+
38,
|
|
825
796
|
"Alternative command id that is being executed when the result of 'Go to Type Definition' is the current location."
|
|
826
797
|
))
|
|
827
798
|
},
|
|
@@ -830,8 +801,8 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
830
801
|
default: defaults.alternativeDeclarationCommand,
|
|
831
802
|
enum: alternativeCommandOptions,
|
|
832
803
|
description: ( localizeWithPath(
|
|
833
|
-
|
|
834
|
-
|
|
804
|
+
_moduleId,
|
|
805
|
+
39,
|
|
835
806
|
"Alternative command id that is being executed when the result of 'Go to Declaration' is the current location."
|
|
836
807
|
))
|
|
837
808
|
},
|
|
@@ -840,8 +811,8 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
840
811
|
default: defaults.alternativeImplementationCommand,
|
|
841
812
|
enum: alternativeCommandOptions,
|
|
842
813
|
description: ( localizeWithPath(
|
|
843
|
-
|
|
844
|
-
|
|
814
|
+
_moduleId,
|
|
815
|
+
40,
|
|
845
816
|
"Alternative command id that is being executed when the result of 'Go to Implementation' is the current location."
|
|
846
817
|
))
|
|
847
818
|
},
|
|
@@ -850,8 +821,8 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
850
821
|
default: defaults.alternativeReferenceCommand,
|
|
851
822
|
enum: alternativeCommandOptions,
|
|
852
823
|
description: ( localizeWithPath(
|
|
853
|
-
|
|
854
|
-
|
|
824
|
+
_moduleId,
|
|
825
|
+
41,
|
|
855
826
|
"Alternative command id that is being executed when the result of 'Go to Reference' is the current location."
|
|
856
827
|
))
|
|
857
828
|
},
|
|
@@ -890,11 +861,7 @@ class EditorHover extends BaseEditorOption {
|
|
|
890
861
|
'editor.hover.enabled': {
|
|
891
862
|
type: 'boolean',
|
|
892
863
|
default: defaults.enabled,
|
|
893
|
-
description: ( localizeWithPath(
|
|
894
|
-
'vs/editor/common/config/editorOptions',
|
|
895
|
-
'hover.enabled',
|
|
896
|
-
"Controls whether the hover is shown."
|
|
897
|
-
))
|
|
864
|
+
description: ( localizeWithPath(_moduleId, 42, "Controls whether the hover is shown."))
|
|
898
865
|
},
|
|
899
866
|
'editor.hover.delay': {
|
|
900
867
|
type: 'number',
|
|
@@ -902,8 +869,8 @@ class EditorHover extends BaseEditorOption {
|
|
|
902
869
|
minimum: 0,
|
|
903
870
|
maximum: 10000,
|
|
904
871
|
description: ( localizeWithPath(
|
|
905
|
-
|
|
906
|
-
|
|
872
|
+
_moduleId,
|
|
873
|
+
43,
|
|
907
874
|
"Controls the delay in milliseconds after which the hover is shown."
|
|
908
875
|
))
|
|
909
876
|
},
|
|
@@ -911,8 +878,8 @@ class EditorHover extends BaseEditorOption {
|
|
|
911
878
|
type: 'boolean',
|
|
912
879
|
default: defaults.sticky,
|
|
913
880
|
description: ( localizeWithPath(
|
|
914
|
-
|
|
915
|
-
|
|
881
|
+
_moduleId,
|
|
882
|
+
44,
|
|
916
883
|
"Controls whether the hover should remain visible when mouse is moved over it."
|
|
917
884
|
))
|
|
918
885
|
},
|
|
@@ -921,19 +888,15 @@ class EditorHover extends BaseEditorOption {
|
|
|
921
888
|
minimum: 0,
|
|
922
889
|
default: defaults.hidingDelay,
|
|
923
890
|
description: ( localizeWithPath(
|
|
924
|
-
|
|
925
|
-
|
|
891
|
+
_moduleId,
|
|
892
|
+
45,
|
|
926
893
|
"Controls the delay in milliseconds after which the hover is hidden. Requires `editor.hover.sticky` to be enabled."
|
|
927
894
|
))
|
|
928
895
|
},
|
|
929
896
|
'editor.hover.above': {
|
|
930
897
|
type: 'boolean',
|
|
931
898
|
default: defaults.above,
|
|
932
|
-
description: ( localizeWithPath(
|
|
933
|
-
'vs/editor/common/config/editorOptions',
|
|
934
|
-
'hover.above',
|
|
935
|
-
"Prefer showing hovers above the line, if there's space."
|
|
936
|
-
))
|
|
899
|
+
description: ( localizeWithPath(_moduleId, 46, "Prefer showing hovers above the line, if there's space."))
|
|
937
900
|
},
|
|
938
901
|
});
|
|
939
902
|
}
|
|
@@ -1187,7 +1150,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1187
1150
|
viewLineCount: viewLineCount,
|
|
1188
1151
|
remainingWidth: remainingWidth,
|
|
1189
1152
|
isViewportWrapping: isViewportWrapping,
|
|
1190
|
-
}, env.memory || ( new ComputeOptionsMemory()));
|
|
1153
|
+
}, env.memory || ( (new ComputeOptionsMemory())));
|
|
1191
1154
|
if (minimapLayout.renderMinimap !== 0 && minimapLayout.minimapLeft === 0) {
|
|
1192
1155
|
glyphMarginLeft += minimapLayout.minimapWidth;
|
|
1193
1156
|
lineNumbersLeft += minimapLayout.minimapWidth;
|
|
@@ -1237,13 +1200,13 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1237
1200
|
'editor.wrappingStrategy': {
|
|
1238
1201
|
enumDescriptions: [
|
|
1239
1202
|
( localizeWithPath(
|
|
1240
|
-
|
|
1241
|
-
|
|
1203
|
+
_moduleId,
|
|
1204
|
+
47,
|
|
1242
1205
|
"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."
|
|
1243
1206
|
)),
|
|
1244
1207
|
( localizeWithPath(
|
|
1245
|
-
|
|
1246
|
-
|
|
1208
|
+
_moduleId,
|
|
1209
|
+
48,
|
|
1247
1210
|
"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."
|
|
1248
1211
|
))
|
|
1249
1212
|
],
|
|
@@ -1251,8 +1214,8 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1251
1214
|
enum: ['simple', 'advanced'],
|
|
1252
1215
|
default: 'simple',
|
|
1253
1216
|
description: ( localizeWithPath(
|
|
1254
|
-
|
|
1255
|
-
|
|
1217
|
+
_moduleId,
|
|
1218
|
+
49,
|
|
1256
1219
|
"Controls the algorithm that computes wrapping points. Note that when in accessibility mode, advanced will be used for the best experience."
|
|
1257
1220
|
))
|
|
1258
1221
|
}
|
|
@@ -1270,11 +1233,11 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1270
1233
|
}
|
|
1271
1234
|
}
|
|
1272
1235
|
var ShowLightbulbIconMode;
|
|
1273
|
-
( (function(ShowLightbulbIconMode) {
|
|
1236
|
+
( ((function(ShowLightbulbIconMode) {
|
|
1274
1237
|
ShowLightbulbIconMode["Off"] = "off";
|
|
1275
1238
|
ShowLightbulbIconMode["OnCode"] = "onCode";
|
|
1276
1239
|
ShowLightbulbIconMode["On"] = "on";
|
|
1277
|
-
})(ShowLightbulbIconMode || (ShowLightbulbIconMode = {})));
|
|
1240
|
+
})(ShowLightbulbIconMode || (ShowLightbulbIconMode = {}))));
|
|
1278
1241
|
class EditorLightbulb extends BaseEditorOption {
|
|
1279
1242
|
constructor() {
|
|
1280
1243
|
const defaults = { enabled: ShowLightbulbIconMode.On };
|
|
@@ -1285,27 +1248,19 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1285
1248
|
enum: [ShowLightbulbIconMode.Off, ShowLightbulbIconMode.OnCode, ShowLightbulbIconMode.On],
|
|
1286
1249
|
default: defaults.enabled,
|
|
1287
1250
|
enumDescriptions: [
|
|
1251
|
+
( localizeWithPath(_moduleId, 50, 'Disable the code action menu.')),
|
|
1288
1252
|
( localizeWithPath(
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
'Disable the code action menu.'
|
|
1292
|
-
)),
|
|
1293
|
-
( localizeWithPath(
|
|
1294
|
-
'vs/editor/common/config/editorOptions',
|
|
1295
|
-
'editor.lightbulb.enabled.onCode',
|
|
1253
|
+
_moduleId,
|
|
1254
|
+
51,
|
|
1296
1255
|
'Show the code action menu when the cursor is on lines with code.'
|
|
1297
1256
|
)),
|
|
1298
1257
|
( localizeWithPath(
|
|
1299
|
-
|
|
1300
|
-
|
|
1258
|
+
_moduleId,
|
|
1259
|
+
52,
|
|
1301
1260
|
'Show the code action menu when the cursor is on lines with code or on empty lines.'
|
|
1302
1261
|
)),
|
|
1303
1262
|
],
|
|
1304
|
-
description: ( localizeWithPath(
|
|
1305
|
-
'vs/editor/common/config/editorOptions',
|
|
1306
|
-
'enabled',
|
|
1307
|
-
"Enables the Code Action lightbulb in the editor."
|
|
1308
|
-
))
|
|
1263
|
+
description: ( localizeWithPath(_moduleId, 53, "Enables the Code Action lightbulb in the editor."))
|
|
1309
1264
|
}
|
|
1310
1265
|
});
|
|
1311
1266
|
}
|
|
@@ -1327,8 +1282,8 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1327
1282
|
type: 'boolean',
|
|
1328
1283
|
default: defaults.enabled,
|
|
1329
1284
|
description: ( localizeWithPath(
|
|
1330
|
-
|
|
1331
|
-
|
|
1285
|
+
_moduleId,
|
|
1286
|
+
54,
|
|
1332
1287
|
"Shows the nested current scopes during the scroll at the top of the editor."
|
|
1333
1288
|
)),
|
|
1334
1289
|
tags: ['experimental']
|
|
@@ -1338,19 +1293,15 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1338
1293
|
default: defaults.maxLineCount,
|
|
1339
1294
|
minimum: 1,
|
|
1340
1295
|
maximum: 20,
|
|
1341
|
-
description: ( localizeWithPath(
|
|
1342
|
-
'vs/editor/common/config/editorOptions',
|
|
1343
|
-
'editor.stickyScroll.maxLineCount',
|
|
1344
|
-
"Defines the maximum number of sticky lines to show."
|
|
1345
|
-
))
|
|
1296
|
+
description: ( localizeWithPath(_moduleId, 55, "Defines the maximum number of sticky lines to show."))
|
|
1346
1297
|
},
|
|
1347
1298
|
'editor.stickyScroll.defaultModel': {
|
|
1348
1299
|
type: 'string',
|
|
1349
1300
|
enum: ['outlineModel', 'foldingProviderModel', 'indentationModel'],
|
|
1350
1301
|
default: defaults.defaultModel,
|
|
1351
1302
|
description: ( localizeWithPath(
|
|
1352
|
-
|
|
1353
|
-
|
|
1303
|
+
_moduleId,
|
|
1304
|
+
56,
|
|
1354
1305
|
"Defines the model to use for determining which lines to stick. If the outline model does not exist, it will fall back on the folding provider model which falls back on the indentation model. This order is respected in all three cases."
|
|
1355
1306
|
))
|
|
1356
1307
|
},
|
|
@@ -1358,8 +1309,8 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1358
1309
|
type: 'boolean',
|
|
1359
1310
|
default: defaults.scrollWithEditor,
|
|
1360
1311
|
description: ( localizeWithPath(
|
|
1361
|
-
|
|
1362
|
-
|
|
1312
|
+
_moduleId,
|
|
1313
|
+
57,
|
|
1363
1314
|
"Enable scrolling of Sticky Scroll with the editor's horizontal scrollbar."
|
|
1364
1315
|
))
|
|
1365
1316
|
},
|
|
@@ -1385,43 +1336,31 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1385
1336
|
'editor.inlayHints.enabled': {
|
|
1386
1337
|
type: 'string',
|
|
1387
1338
|
default: defaults.enabled,
|
|
1388
|
-
description: ( localizeWithPath(
|
|
1389
|
-
'vs/editor/common/config/editorOptions',
|
|
1390
|
-
'inlayHints.enable',
|
|
1391
|
-
"Enables the inlay hints in the editor."
|
|
1392
|
-
)),
|
|
1339
|
+
description: ( localizeWithPath(_moduleId, 58, "Enables the inlay hints in the editor.")),
|
|
1393
1340
|
enum: ['on', 'onUnlessPressed', 'offUnlessPressed', 'off'],
|
|
1394
1341
|
markdownEnumDescriptions: [
|
|
1342
|
+
( localizeWithPath(_moduleId, 59, "Inlay hints are enabled")),
|
|
1395
1343
|
( localizeWithPath(
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
"Inlay hints are enabled"
|
|
1399
|
-
)),
|
|
1400
|
-
( localizeWithPath(
|
|
1401
|
-
'vs/editor/common/config/editorOptions',
|
|
1402
|
-
'editor.inlayHints.onUnlessPressed',
|
|
1344
|
+
_moduleId,
|
|
1345
|
+
60,
|
|
1403
1346
|
"Inlay hints are showing by default and hide when holding {0}",
|
|
1404
1347
|
isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
|
|
1405
1348
|
)),
|
|
1406
1349
|
( localizeWithPath(
|
|
1407
|
-
|
|
1408
|
-
|
|
1350
|
+
_moduleId,
|
|
1351
|
+
61,
|
|
1409
1352
|
"Inlay hints are hidden by default and show when holding {0}",
|
|
1410
1353
|
isMacintosh ? `Ctrl+Option` : `Ctrl+Alt`
|
|
1411
1354
|
)),
|
|
1412
|
-
( localizeWithPath(
|
|
1413
|
-
'vs/editor/common/config/editorOptions',
|
|
1414
|
-
'editor.inlayHints.off',
|
|
1415
|
-
"Inlay hints are disabled"
|
|
1416
|
-
)),
|
|
1355
|
+
( localizeWithPath(_moduleId, 62, "Inlay hints are disabled")),
|
|
1417
1356
|
],
|
|
1418
1357
|
},
|
|
1419
1358
|
'editor.inlayHints.fontSize': {
|
|
1420
1359
|
type: 'number',
|
|
1421
1360
|
default: defaults.fontSize,
|
|
1422
1361
|
markdownDescription: ( localizeWithPath(
|
|
1423
|
-
|
|
1424
|
-
|
|
1362
|
+
_moduleId,
|
|
1363
|
+
63,
|
|
1425
1364
|
"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.",
|
|
1426
1365
|
'`#editor.fontSize#`',
|
|
1427
1366
|
'`5`'
|
|
@@ -1431,8 +1370,8 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1431
1370
|
type: 'string',
|
|
1432
1371
|
default: defaults.fontFamily,
|
|
1433
1372
|
markdownDescription: ( localizeWithPath(
|
|
1434
|
-
|
|
1435
|
-
|
|
1373
|
+
_moduleId,
|
|
1374
|
+
64,
|
|
1436
1375
|
"Controls font family of inlay hints in the editor. When set to empty, the {0} is used.",
|
|
1437
1376
|
'`#editor.fontFamily#`'
|
|
1438
1377
|
))
|
|
@@ -1440,11 +1379,7 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1440
1379
|
'editor.inlayHints.padding': {
|
|
1441
1380
|
type: 'boolean',
|
|
1442
1381
|
default: defaults.padding,
|
|
1443
|
-
description: ( localizeWithPath(
|
|
1444
|
-
'vs/editor/common/config/editorOptions',
|
|
1445
|
-
'inlayHints.padding',
|
|
1446
|
-
"Enables the padding around the inlay hints in the editor."
|
|
1447
|
-
))
|
|
1382
|
+
description: ( localizeWithPath(_moduleId, 65, "Enables the padding around the inlay hints in the editor."))
|
|
1448
1383
|
}
|
|
1449
1384
|
});
|
|
1450
1385
|
}
|
|
@@ -1489,8 +1424,8 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
|
1489
1424
|
class EditorLineHeight extends EditorFloatOption {
|
|
1490
1425
|
constructor() {
|
|
1491
1426
|
super(67 , 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localizeWithPath(
|
|
1492
|
-
|
|
1493
|
-
|
|
1427
|
+
_moduleId,
|
|
1428
|
+
66,
|
|
1494
1429
|
"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."
|
|
1495
1430
|
)) });
|
|
1496
1431
|
}
|
|
@@ -1517,67 +1452,47 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1517
1452
|
'editor.minimap.enabled': {
|
|
1518
1453
|
type: 'boolean',
|
|
1519
1454
|
default: defaults.enabled,
|
|
1520
|
-
description: ( localizeWithPath(
|
|
1521
|
-
'vs/editor/common/config/editorOptions',
|
|
1522
|
-
'minimap.enabled',
|
|
1523
|
-
"Controls whether the minimap is shown."
|
|
1524
|
-
))
|
|
1455
|
+
description: ( localizeWithPath(_moduleId, 67, "Controls whether the minimap is shown."))
|
|
1525
1456
|
},
|
|
1526
1457
|
'editor.minimap.autohide': {
|
|
1527
1458
|
type: 'boolean',
|
|
1528
1459
|
default: defaults.autohide,
|
|
1529
|
-
description: ( localizeWithPath(
|
|
1530
|
-
'vs/editor/common/config/editorOptions',
|
|
1531
|
-
'minimap.autohide',
|
|
1532
|
-
"Controls whether the minimap is hidden automatically."
|
|
1533
|
-
))
|
|
1460
|
+
description: ( localizeWithPath(_moduleId, 68, "Controls whether the minimap is hidden automatically."))
|
|
1534
1461
|
},
|
|
1535
1462
|
'editor.minimap.size': {
|
|
1536
1463
|
type: 'string',
|
|
1537
1464
|
enum: ['proportional', 'fill', 'fit'],
|
|
1538
1465
|
enumDescriptions: [
|
|
1539
1466
|
( localizeWithPath(
|
|
1540
|
-
|
|
1541
|
-
|
|
1467
|
+
_moduleId,
|
|
1468
|
+
69,
|
|
1542
1469
|
"The minimap has the same size as the editor contents (and might scroll)."
|
|
1543
1470
|
)),
|
|
1544
1471
|
( localizeWithPath(
|
|
1545
|
-
|
|
1546
|
-
|
|
1472
|
+
_moduleId,
|
|
1473
|
+
70,
|
|
1547
1474
|
"The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."
|
|
1548
1475
|
)),
|
|
1549
1476
|
( localizeWithPath(
|
|
1550
|
-
|
|
1551
|
-
|
|
1477
|
+
_moduleId,
|
|
1478
|
+
71,
|
|
1552
1479
|
"The minimap will shrink as necessary to never be larger than the editor (no scrolling)."
|
|
1553
1480
|
)),
|
|
1554
1481
|
],
|
|
1555
1482
|
default: defaults.size,
|
|
1556
|
-
description: ( localizeWithPath(
|
|
1557
|
-
'vs/editor/common/config/editorOptions',
|
|
1558
|
-
'minimap.size',
|
|
1559
|
-
"Controls the size of the minimap."
|
|
1560
|
-
))
|
|
1483
|
+
description: ( localizeWithPath(_moduleId, 72, "Controls the size of the minimap."))
|
|
1561
1484
|
},
|
|
1562
1485
|
'editor.minimap.side': {
|
|
1563
1486
|
type: 'string',
|
|
1564
1487
|
enum: ['left', 'right'],
|
|
1565
1488
|
default: defaults.side,
|
|
1566
|
-
description: ( localizeWithPath(
|
|
1567
|
-
'vs/editor/common/config/editorOptions',
|
|
1568
|
-
'minimap.side',
|
|
1569
|
-
"Controls the side where to render the minimap."
|
|
1570
|
-
))
|
|
1489
|
+
description: ( localizeWithPath(_moduleId, 73, "Controls the side where to render the minimap."))
|
|
1571
1490
|
},
|
|
1572
1491
|
'editor.minimap.showSlider': {
|
|
1573
1492
|
type: 'string',
|
|
1574
1493
|
enum: ['always', 'mouseover'],
|
|
1575
1494
|
default: defaults.showSlider,
|
|
1576
|
-
description: ( localizeWithPath(
|
|
1577
|
-
'vs/editor/common/config/editorOptions',
|
|
1578
|
-
'minimap.showSlider',
|
|
1579
|
-
"Controls when the minimap slider is shown."
|
|
1580
|
-
))
|
|
1495
|
+
description: ( localizeWithPath(_moduleId, 74, "Controls when the minimap slider is shown."))
|
|
1581
1496
|
},
|
|
1582
1497
|
'editor.minimap.scale': {
|
|
1583
1498
|
type: 'number',
|
|
@@ -1585,18 +1500,14 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1585
1500
|
minimum: 1,
|
|
1586
1501
|
maximum: 3,
|
|
1587
1502
|
enum: [1, 2, 3],
|
|
1588
|
-
description: ( localizeWithPath(
|
|
1589
|
-
'vs/editor/common/config/editorOptions',
|
|
1590
|
-
'minimap.scale',
|
|
1591
|
-
"Scale of content drawn in the minimap: 1, 2 or 3."
|
|
1592
|
-
))
|
|
1503
|
+
description: ( localizeWithPath(_moduleId, 75, "Scale of content drawn in the minimap: 1, 2 or 3."))
|
|
1593
1504
|
},
|
|
1594
1505
|
'editor.minimap.renderCharacters': {
|
|
1595
1506
|
type: 'boolean',
|
|
1596
1507
|
default: defaults.renderCharacters,
|
|
1597
1508
|
description: ( localizeWithPath(
|
|
1598
|
-
|
|
1599
|
-
|
|
1509
|
+
_moduleId,
|
|
1510
|
+
76,
|
|
1600
1511
|
"Render the actual characters on a line as opposed to color blocks."
|
|
1601
1512
|
))
|
|
1602
1513
|
},
|
|
@@ -1604,8 +1515,8 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1604
1515
|
type: 'number',
|
|
1605
1516
|
default: defaults.maxColumn,
|
|
1606
1517
|
description: ( localizeWithPath(
|
|
1607
|
-
|
|
1608
|
-
|
|
1518
|
+
_moduleId,
|
|
1519
|
+
77,
|
|
1609
1520
|
"Limit the width of the minimap to render at most a certain number of columns."
|
|
1610
1521
|
))
|
|
1611
1522
|
},
|
|
@@ -1613,8 +1524,8 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1613
1524
|
type: 'boolean',
|
|
1614
1525
|
default: defaults.showRegionSectionHeaders,
|
|
1615
1526
|
description: ( localizeWithPath(
|
|
1616
|
-
|
|
1617
|
-
|
|
1527
|
+
_moduleId,
|
|
1528
|
+
78,
|
|
1618
1529
|
"Controls whether named regions are shown as section headers in the minimap."
|
|
1619
1530
|
))
|
|
1620
1531
|
},
|
|
@@ -1622,19 +1533,15 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1622
1533
|
type: 'boolean',
|
|
1623
1534
|
default: defaults.showMarkSectionHeaders,
|
|
1624
1535
|
description: ( localizeWithPath(
|
|
1625
|
-
|
|
1626
|
-
|
|
1536
|
+
_moduleId,
|
|
1537
|
+
79,
|
|
1627
1538
|
"Controls whether MARK: comments are shown as section headers in the minimap."
|
|
1628
1539
|
))
|
|
1629
1540
|
},
|
|
1630
1541
|
'editor.minimap.sectionHeaderFontSize': {
|
|
1631
1542
|
type: 'number',
|
|
1632
1543
|
default: defaults.sectionHeaderFontSize,
|
|
1633
|
-
description: ( localizeWithPath(
|
|
1634
|
-
'vs/editor/common/config/editorOptions',
|
|
1635
|
-
'minimap.sectionHeaderFontSize',
|
|
1636
|
-
"Controls the font size of section headers in the minimap."
|
|
1637
|
-
))
|
|
1544
|
+
description: ( localizeWithPath(_moduleId, 80, "Controls the font size of section headers in the minimap."))
|
|
1638
1545
|
}
|
|
1639
1546
|
});
|
|
1640
1547
|
}
|
|
@@ -1673,8 +1580,8 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1673
1580
|
minimum: 0,
|
|
1674
1581
|
maximum: 1000,
|
|
1675
1582
|
description: ( localizeWithPath(
|
|
1676
|
-
|
|
1677
|
-
|
|
1583
|
+
_moduleId,
|
|
1584
|
+
81,
|
|
1678
1585
|
"Controls the amount of space between the top edge of the editor and the first line."
|
|
1679
1586
|
))
|
|
1680
1587
|
},
|
|
@@ -1684,8 +1591,8 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1684
1591
|
minimum: 0,
|
|
1685
1592
|
maximum: 1000,
|
|
1686
1593
|
description: ( localizeWithPath(
|
|
1687
|
-
|
|
1688
|
-
|
|
1594
|
+
_moduleId,
|
|
1595
|
+
82,
|
|
1689
1596
|
"Controls the amount of space between the bottom edge of the editor and the last line."
|
|
1690
1597
|
))
|
|
1691
1598
|
}
|
|
@@ -1713,8 +1620,8 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1713
1620
|
type: 'boolean',
|
|
1714
1621
|
default: defaults.enabled,
|
|
1715
1622
|
description: ( localizeWithPath(
|
|
1716
|
-
|
|
1717
|
-
|
|
1623
|
+
_moduleId,
|
|
1624
|
+
83,
|
|
1718
1625
|
"Enables a pop-up that shows parameter documentation and type information as you type."
|
|
1719
1626
|
))
|
|
1720
1627
|
},
|
|
@@ -1722,8 +1629,8 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1722
1629
|
type: 'boolean',
|
|
1723
1630
|
default: defaults.cycle,
|
|
1724
1631
|
description: ( localizeWithPath(
|
|
1725
|
-
|
|
1726
|
-
|
|
1632
|
+
_moduleId,
|
|
1633
|
+
84,
|
|
1727
1634
|
"Controls whether the parameter hints menu cycles or closes when reaching the end of the list."
|
|
1728
1635
|
))
|
|
1729
1636
|
},
|
|
@@ -1760,19 +1667,7 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1760
1667
|
{
|
|
1761
1668
|
type: 'string',
|
|
1762
1669
|
enum: ['on', 'inline', 'off'],
|
|
1763
|
-
enumDescriptions: [( localizeWithPath(
|
|
1764
|
-
'vs/editor/common/config/editorOptions',
|
|
1765
|
-
'on',
|
|
1766
|
-
"Quick suggestions show inside the suggest widget"
|
|
1767
|
-
)), ( localizeWithPath(
|
|
1768
|
-
'vs/editor/common/config/editorOptions',
|
|
1769
|
-
'inline',
|
|
1770
|
-
"Quick suggestions show as ghost text"
|
|
1771
|
-
)), ( localizeWithPath(
|
|
1772
|
-
'vs/editor/common/config/editorOptions',
|
|
1773
|
-
'off',
|
|
1774
|
-
"Quick suggestions are disabled"
|
|
1775
|
-
))]
|
|
1670
|
+
enumDescriptions: [( localizeWithPath(_moduleId, 85, "Quick suggestions show inside the suggest widget")), ( localizeWithPath(_moduleId, 86, "Quick suggestions show as ghost text")), ( localizeWithPath(_moduleId, 87, "Quick suggestions are disabled"))]
|
|
1776
1671
|
}
|
|
1777
1672
|
];
|
|
1778
1673
|
super(89 , 'quickSuggestions', defaults, {
|
|
@@ -1782,35 +1677,23 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1782
1677
|
strings: {
|
|
1783
1678
|
anyOf: types,
|
|
1784
1679
|
default: defaults.strings,
|
|
1785
|
-
description: ( localizeWithPath(
|
|
1786
|
-
'vs/editor/common/config/editorOptions',
|
|
1787
|
-
'quickSuggestions.strings',
|
|
1788
|
-
"Enable quick suggestions inside strings."
|
|
1789
|
-
))
|
|
1680
|
+
description: ( localizeWithPath(_moduleId, 88, "Enable quick suggestions inside strings."))
|
|
1790
1681
|
},
|
|
1791
1682
|
comments: {
|
|
1792
1683
|
anyOf: types,
|
|
1793
1684
|
default: defaults.comments,
|
|
1794
|
-
description: ( localizeWithPath(
|
|
1795
|
-
'vs/editor/common/config/editorOptions',
|
|
1796
|
-
'quickSuggestions.comments',
|
|
1797
|
-
"Enable quick suggestions inside comments."
|
|
1798
|
-
))
|
|
1685
|
+
description: ( localizeWithPath(_moduleId, 89, "Enable quick suggestions inside comments."))
|
|
1799
1686
|
},
|
|
1800
1687
|
other: {
|
|
1801
1688
|
anyOf: types,
|
|
1802
1689
|
default: defaults.other,
|
|
1803
|
-
description: ( localizeWithPath(
|
|
1804
|
-
'vs/editor/common/config/editorOptions',
|
|
1805
|
-
'quickSuggestions.other',
|
|
1806
|
-
"Enable quick suggestions outside of strings and comments."
|
|
1807
|
-
))
|
|
1690
|
+
description: ( localizeWithPath(_moduleId, 90, "Enable quick suggestions outside of strings and comments."))
|
|
1808
1691
|
},
|
|
1809
1692
|
},
|
|
1810
1693
|
default: defaults,
|
|
1811
1694
|
markdownDescription: ( localizeWithPath(
|
|
1812
|
-
|
|
1813
|
-
|
|
1695
|
+
_moduleId,
|
|
1696
|
+
91,
|
|
1814
1697
|
"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.",
|
|
1815
1698
|
`#editor.suggestOnTriggerCharacters#`
|
|
1816
1699
|
))
|
|
@@ -1861,33 +1744,17 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1861
1744
|
type: 'string',
|
|
1862
1745
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1863
1746
|
enumDescriptions: [
|
|
1747
|
+
( localizeWithPath(_moduleId, 92, "Line numbers are not rendered.")),
|
|
1748
|
+
( localizeWithPath(_moduleId, 93, "Line numbers are rendered as absolute number.")),
|
|
1864
1749
|
( localizeWithPath(
|
|
1865
|
-
|
|
1866
|
-
|
|
1867
|
-
"Line numbers are not rendered."
|
|
1868
|
-
)),
|
|
1869
|
-
( localizeWithPath(
|
|
1870
|
-
'vs/editor/common/config/editorOptions',
|
|
1871
|
-
'lineNumbers.on',
|
|
1872
|
-
"Line numbers are rendered as absolute number."
|
|
1873
|
-
)),
|
|
1874
|
-
( localizeWithPath(
|
|
1875
|
-
'vs/editor/common/config/editorOptions',
|
|
1876
|
-
'lineNumbers.relative',
|
|
1750
|
+
_moduleId,
|
|
1751
|
+
94,
|
|
1877
1752
|
"Line numbers are rendered as distance in lines to cursor position."
|
|
1878
1753
|
)),
|
|
1879
|
-
( localizeWithPath(
|
|
1880
|
-
'vs/editor/common/config/editorOptions',
|
|
1881
|
-
'lineNumbers.interval',
|
|
1882
|
-
"Line numbers are rendered every 10 lines."
|
|
1883
|
-
))
|
|
1754
|
+
( localizeWithPath(_moduleId, 95, "Line numbers are rendered every 10 lines."))
|
|
1884
1755
|
],
|
|
1885
1756
|
default: 'on',
|
|
1886
|
-
description: ( localizeWithPath(
|
|
1887
|
-
'vs/editor/common/config/editorOptions',
|
|
1888
|
-
'lineNumbers',
|
|
1889
|
-
"Controls the display of line numbers."
|
|
1890
|
-
))
|
|
1757
|
+
description: ( localizeWithPath(_moduleId, 96, "Controls the display of line numbers."))
|
|
1891
1758
|
});
|
|
1892
1759
|
}
|
|
1893
1760
|
validate(lineNumbers) {
|
|
@@ -1928,8 +1795,8 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1928
1795
|
constructor() {
|
|
1929
1796
|
const defaults = [];
|
|
1930
1797
|
const columnSchema = { type: 'number', description: ( localizeWithPath(
|
|
1931
|
-
|
|
1932
|
-
|
|
1798
|
+
_moduleId,
|
|
1799
|
+
97,
|
|
1933
1800
|
"Number of monospace characters at which this editor ruler will render."
|
|
1934
1801
|
)) };
|
|
1935
1802
|
super(102 , 'rulers', defaults, {
|
|
@@ -1945,11 +1812,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1945
1812
|
column: columnSchema,
|
|
1946
1813
|
color: {
|
|
1947
1814
|
type: 'string',
|
|
1948
|
-
description: ( localizeWithPath(
|
|
1949
|
-
'vs/editor/common/config/editorOptions',
|
|
1950
|
-
'rulers.color',
|
|
1951
|
-
"Color of this editor ruler."
|
|
1952
|
-
)),
|
|
1815
|
+
description: ( localizeWithPath(_moduleId, 98, "Color of this editor ruler.")),
|
|
1953
1816
|
format: 'color-hex'
|
|
1954
1817
|
}
|
|
1955
1818
|
}
|
|
@@ -1958,8 +1821,8 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1958
1821
|
},
|
|
1959
1822
|
default: defaults,
|
|
1960
1823
|
description: ( localizeWithPath(
|
|
1961
|
-
|
|
1962
|
-
|
|
1824
|
+
_moduleId,
|
|
1825
|
+
99,
|
|
1963
1826
|
"Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."
|
|
1964
1827
|
))
|
|
1965
1828
|
});
|
|
@@ -2034,79 +1897,47 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
2034
1897
|
enum: ['auto', 'visible', 'hidden'],
|
|
2035
1898
|
enumDescriptions: [
|
|
2036
1899
|
( localizeWithPath(
|
|
2037
|
-
|
|
2038
|
-
|
|
1900
|
+
_moduleId,
|
|
1901
|
+
100,
|
|
2039
1902
|
"The vertical scrollbar will be visible only when necessary."
|
|
2040
1903
|
)),
|
|
2041
|
-
( localizeWithPath(
|
|
2042
|
-
|
|
2043
|
-
'scrollbar.vertical.visible',
|
|
2044
|
-
"The vertical scrollbar will always be visible."
|
|
2045
|
-
)),
|
|
2046
|
-
( localizeWithPath(
|
|
2047
|
-
'vs/editor/common/config/editorOptions',
|
|
2048
|
-
'scrollbar.vertical.fit',
|
|
2049
|
-
"The vertical scrollbar will always be hidden."
|
|
2050
|
-
)),
|
|
1904
|
+
( localizeWithPath(_moduleId, 101, "The vertical scrollbar will always be visible.")),
|
|
1905
|
+
( localizeWithPath(_moduleId, 102, "The vertical scrollbar will always be hidden.")),
|
|
2051
1906
|
],
|
|
2052
1907
|
default: 'auto',
|
|
2053
|
-
description: ( localizeWithPath(
|
|
2054
|
-
'vs/editor/common/config/editorOptions',
|
|
2055
|
-
'scrollbar.vertical',
|
|
2056
|
-
"Controls the visibility of the vertical scrollbar."
|
|
2057
|
-
))
|
|
1908
|
+
description: ( localizeWithPath(_moduleId, 103, "Controls the visibility of the vertical scrollbar."))
|
|
2058
1909
|
},
|
|
2059
1910
|
'editor.scrollbar.horizontal': {
|
|
2060
1911
|
type: 'string',
|
|
2061
1912
|
enum: ['auto', 'visible', 'hidden'],
|
|
2062
1913
|
enumDescriptions: [
|
|
2063
1914
|
( localizeWithPath(
|
|
2064
|
-
|
|
2065
|
-
|
|
1915
|
+
_moduleId,
|
|
1916
|
+
104,
|
|
2066
1917
|
"The horizontal scrollbar will be visible only when necessary."
|
|
2067
1918
|
)),
|
|
2068
|
-
( localizeWithPath(
|
|
2069
|
-
|
|
2070
|
-
'scrollbar.horizontal.visible',
|
|
2071
|
-
"The horizontal scrollbar will always be visible."
|
|
2072
|
-
)),
|
|
2073
|
-
( localizeWithPath(
|
|
2074
|
-
'vs/editor/common/config/editorOptions',
|
|
2075
|
-
'scrollbar.horizontal.fit',
|
|
2076
|
-
"The horizontal scrollbar will always be hidden."
|
|
2077
|
-
)),
|
|
1919
|
+
( localizeWithPath(_moduleId, 105, "The horizontal scrollbar will always be visible.")),
|
|
1920
|
+
( localizeWithPath(_moduleId, 106, "The horizontal scrollbar will always be hidden.")),
|
|
2078
1921
|
],
|
|
2079
1922
|
default: 'auto',
|
|
2080
|
-
description: ( localizeWithPath(
|
|
2081
|
-
'vs/editor/common/config/editorOptions',
|
|
2082
|
-
'scrollbar.horizontal',
|
|
2083
|
-
"Controls the visibility of the horizontal scrollbar."
|
|
2084
|
-
))
|
|
1923
|
+
description: ( localizeWithPath(_moduleId, 107, "Controls the visibility of the horizontal scrollbar."))
|
|
2085
1924
|
},
|
|
2086
1925
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
2087
1926
|
type: 'number',
|
|
2088
1927
|
default: defaults.verticalScrollbarSize,
|
|
2089
|
-
description: ( localizeWithPath(
|
|
2090
|
-
'vs/editor/common/config/editorOptions',
|
|
2091
|
-
'scrollbar.verticalScrollbarSize',
|
|
2092
|
-
"The width of the vertical scrollbar."
|
|
2093
|
-
))
|
|
1928
|
+
description: ( localizeWithPath(_moduleId, 108, "The width of the vertical scrollbar."))
|
|
2094
1929
|
},
|
|
2095
1930
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
2096
1931
|
type: 'number',
|
|
2097
1932
|
default: defaults.horizontalScrollbarSize,
|
|
2098
|
-
description: ( localizeWithPath(
|
|
2099
|
-
'vs/editor/common/config/editorOptions',
|
|
2100
|
-
'scrollbar.horizontalScrollbarSize',
|
|
2101
|
-
"The height of the horizontal scrollbar."
|
|
2102
|
-
))
|
|
1933
|
+
description: ( localizeWithPath(_moduleId, 109, "The height of the horizontal scrollbar."))
|
|
2103
1934
|
},
|
|
2104
1935
|
'editor.scrollbar.scrollByPage': {
|
|
2105
1936
|
type: 'boolean',
|
|
2106
1937
|
default: defaults.scrollByPage,
|
|
2107
1938
|
description: ( localizeWithPath(
|
|
2108
|
-
|
|
2109
|
-
|
|
1939
|
+
_moduleId,
|
|
1940
|
+
110,
|
|
2110
1941
|
"Controls whether clicks scroll by page or jump to click position."
|
|
2111
1942
|
))
|
|
2112
1943
|
},
|
|
@@ -2114,8 +1945,8 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
2114
1945
|
type: 'boolean',
|
|
2115
1946
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
2116
1947
|
description: ( localizeWithPath(
|
|
2117
|
-
|
|
2118
|
-
|
|
1948
|
+
_moduleId,
|
|
1949
|
+
111,
|
|
2119
1950
|
"When set, the horizontal scrollbar will not increase the size of the editor's content."
|
|
2120
1951
|
))
|
|
2121
1952
|
}
|
|
@@ -2174,8 +2005,8 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2174
2005
|
enum: [true, false, inUntrustedWorkspace],
|
|
2175
2006
|
default: defaults.nonBasicASCII,
|
|
2176
2007
|
description: ( localizeWithPath(
|
|
2177
|
-
|
|
2178
|
-
|
|
2008
|
+
_moduleId,
|
|
2009
|
+
112,
|
|
2179
2010
|
"Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII."
|
|
2180
2011
|
))
|
|
2181
2012
|
},
|
|
@@ -2184,8 +2015,8 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2184
2015
|
type: 'boolean',
|
|
2185
2016
|
default: defaults.invisibleCharacters,
|
|
2186
2017
|
description: ( localizeWithPath(
|
|
2187
|
-
|
|
2188
|
-
|
|
2018
|
+
_moduleId,
|
|
2019
|
+
113,
|
|
2189
2020
|
"Controls whether characters that just reserve space or have no width at all are highlighted."
|
|
2190
2021
|
))
|
|
2191
2022
|
},
|
|
@@ -2194,8 +2025,8 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2194
2025
|
type: 'boolean',
|
|
2195
2026
|
default: defaults.ambiguousCharacters,
|
|
2196
2027
|
description: ( localizeWithPath(
|
|
2197
|
-
|
|
2198
|
-
|
|
2028
|
+
_moduleId,
|
|
2029
|
+
114,
|
|
2199
2030
|
"Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."
|
|
2200
2031
|
))
|
|
2201
2032
|
},
|
|
@@ -2205,8 +2036,8 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2205
2036
|
enum: [true, false, inUntrustedWorkspace],
|
|
2206
2037
|
default: defaults.includeComments,
|
|
2207
2038
|
description: ( localizeWithPath(
|
|
2208
|
-
|
|
2209
|
-
|
|
2039
|
+
_moduleId,
|
|
2040
|
+
115,
|
|
2210
2041
|
"Controls whether characters in comments should also be subject to Unicode highlighting."
|
|
2211
2042
|
))
|
|
2212
2043
|
},
|
|
@@ -2216,8 +2047,8 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2216
2047
|
enum: [true, false, inUntrustedWorkspace],
|
|
2217
2048
|
default: defaults.includeStrings,
|
|
2218
2049
|
description: ( localizeWithPath(
|
|
2219
|
-
|
|
2220
|
-
|
|
2050
|
+
_moduleId,
|
|
2051
|
+
116,
|
|
2221
2052
|
"Controls whether characters in strings should also be subject to Unicode highlighting."
|
|
2222
2053
|
))
|
|
2223
2054
|
},
|
|
@@ -2226,8 +2057,8 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2226
2057
|
type: 'object',
|
|
2227
2058
|
default: defaults.allowedCharacters,
|
|
2228
2059
|
description: ( localizeWithPath(
|
|
2229
|
-
|
|
2230
|
-
|
|
2060
|
+
_moduleId,
|
|
2061
|
+
117,
|
|
2231
2062
|
"Defines allowed characters that are not being highlighted."
|
|
2232
2063
|
)),
|
|
2233
2064
|
additionalProperties: {
|
|
@@ -2242,8 +2073,8 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2242
2073
|
},
|
|
2243
2074
|
default: defaults.allowedLocales,
|
|
2244
2075
|
description: ( localizeWithPath(
|
|
2245
|
-
|
|
2246
|
-
|
|
2076
|
+
_moduleId,
|
|
2077
|
+
118,
|
|
2247
2078
|
"Unicode characters that are common in allowed locales are not being highlighted."
|
|
2248
2079
|
))
|
|
2249
2080
|
},
|
|
@@ -2265,7 +2096,9 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2265
2096
|
}
|
|
2266
2097
|
const result = super.applyUpdate(value, update);
|
|
2267
2098
|
if (didChange) {
|
|
2268
|
-
return (
|
|
2099
|
+
return (
|
|
2100
|
+
(new ApplyUpdateResult(result.newValue, true))
|
|
2101
|
+
);
|
|
2269
2102
|
}
|
|
2270
2103
|
return result;
|
|
2271
2104
|
}
|
|
@@ -2312,8 +2145,8 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2312
2145
|
type: 'boolean',
|
|
2313
2146
|
default: defaults.enabled,
|
|
2314
2147
|
description: ( localizeWithPath(
|
|
2315
|
-
|
|
2316
|
-
|
|
2148
|
+
_moduleId,
|
|
2149
|
+
119,
|
|
2317
2150
|
"Controls whether to automatically show inline suggestions in the editor."
|
|
2318
2151
|
))
|
|
2319
2152
|
},
|
|
@@ -2323,44 +2156,32 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2323
2156
|
enum: ['always', 'onHover', 'never'],
|
|
2324
2157
|
enumDescriptions: [
|
|
2325
2158
|
( localizeWithPath(
|
|
2326
|
-
|
|
2327
|
-
|
|
2159
|
+
_moduleId,
|
|
2160
|
+
120,
|
|
2328
2161
|
"Show the inline suggestion toolbar whenever an inline suggestion is shown."
|
|
2329
2162
|
)),
|
|
2330
2163
|
( localizeWithPath(
|
|
2331
|
-
|
|
2332
|
-
|
|
2164
|
+
_moduleId,
|
|
2165
|
+
121,
|
|
2333
2166
|
"Show the inline suggestion toolbar when hovering over an inline suggestion."
|
|
2334
2167
|
)),
|
|
2335
|
-
( localizeWithPath(
|
|
2336
|
-
'vs/editor/common/config/editorOptions',
|
|
2337
|
-
'inlineSuggest.showToolbar.never',
|
|
2338
|
-
"Never show the inline suggestion toolbar."
|
|
2339
|
-
)),
|
|
2168
|
+
( localizeWithPath(_moduleId, 122, "Never show the inline suggestion toolbar.")),
|
|
2340
2169
|
],
|
|
2341
|
-
description: ( localizeWithPath(
|
|
2342
|
-
'vs/editor/common/config/editorOptions',
|
|
2343
|
-
'inlineSuggest.showToolbar',
|
|
2344
|
-
"Controls when to show the inline suggestion toolbar."
|
|
2345
|
-
)),
|
|
2170
|
+
description: ( localizeWithPath(_moduleId, 123, "Controls when to show the inline suggestion toolbar.")),
|
|
2346
2171
|
},
|
|
2347
2172
|
'editor.inlineSuggest.suppressSuggestions': {
|
|
2348
2173
|
type: 'boolean',
|
|
2349
2174
|
default: defaults.suppressSuggestions,
|
|
2350
2175
|
description: ( localizeWithPath(
|
|
2351
|
-
|
|
2352
|
-
|
|
2176
|
+
_moduleId,
|
|
2177
|
+
124,
|
|
2353
2178
|
"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
|
|
2354
2179
|
))
|
|
2355
2180
|
},
|
|
2356
2181
|
'editor.inlineSuggest.fontFamily': {
|
|
2357
2182
|
type: 'string',
|
|
2358
2183
|
default: defaults.fontFamily,
|
|
2359
|
-
description: ( localizeWithPath(
|
|
2360
|
-
'vs/editor/common/config/editorOptions',
|
|
2361
|
-
'inlineSuggest.fontFamily',
|
|
2362
|
-
"Controls the font family of the inline suggestions."
|
|
2363
|
-
))
|
|
2184
|
+
description: ( localizeWithPath(_moduleId, 125, "Controls the font family of the inline suggestions."))
|
|
2364
2185
|
},
|
|
2365
2186
|
});
|
|
2366
2187
|
}
|
|
@@ -2392,11 +2213,7 @@ class InlineEditorEdit extends BaseEditorOption {
|
|
|
2392
2213
|
'editor.experimentalInlineEdit.enabled': {
|
|
2393
2214
|
type: 'boolean',
|
|
2394
2215
|
default: defaults.enabled,
|
|
2395
|
-
description: ( localizeWithPath(
|
|
2396
|
-
'vs/editor/common/config/editorOptions',
|
|
2397
|
-
'inlineEdit.enabled',
|
|
2398
|
-
"Controls whether to show inline edits in the editor."
|
|
2399
|
-
))
|
|
2216
|
+
description: ( localizeWithPath(_moduleId, 126, "Controls whether to show inline edits in the editor."))
|
|
2400
2217
|
},
|
|
2401
2218
|
'editor.experimentalInlineEdit.showToolbar': {
|
|
2402
2219
|
type: 'string',
|
|
@@ -2404,42 +2221,30 @@ class InlineEditorEdit extends BaseEditorOption {
|
|
|
2404
2221
|
enum: ['always', 'onHover', 'never'],
|
|
2405
2222
|
enumDescriptions: [
|
|
2406
2223
|
( localizeWithPath(
|
|
2407
|
-
|
|
2408
|
-
|
|
2224
|
+
_moduleId,
|
|
2225
|
+
127,
|
|
2409
2226
|
"Show the inline edit toolbar whenever an inline suggestion is shown."
|
|
2410
2227
|
)),
|
|
2411
2228
|
( localizeWithPath(
|
|
2412
|
-
|
|
2413
|
-
|
|
2229
|
+
_moduleId,
|
|
2230
|
+
128,
|
|
2414
2231
|
"Show the inline edit toolbar when hovering over an inline suggestion."
|
|
2415
2232
|
)),
|
|
2416
|
-
( localizeWithPath(
|
|
2417
|
-
'vs/editor/common/config/editorOptions',
|
|
2418
|
-
'inlineEdit.showToolbar.never',
|
|
2419
|
-
"Never show the inline edit toolbar."
|
|
2420
|
-
)),
|
|
2233
|
+
( localizeWithPath(_moduleId, 129, "Never show the inline edit toolbar.")),
|
|
2421
2234
|
],
|
|
2422
|
-
description: ( localizeWithPath(
|
|
2423
|
-
'vs/editor/common/config/editorOptions',
|
|
2424
|
-
'inlineEdit.showToolbar',
|
|
2425
|
-
"Controls when to show the inline edit toolbar."
|
|
2426
|
-
)),
|
|
2235
|
+
description: ( localizeWithPath(_moduleId, 130, "Controls when to show the inline edit toolbar.")),
|
|
2427
2236
|
},
|
|
2428
2237
|
'editor.experimentalInlineEdit.fontFamily': {
|
|
2429
2238
|
type: 'string',
|
|
2430
2239
|
default: defaults.fontFamily,
|
|
2431
|
-
description: ( localizeWithPath(
|
|
2432
|
-
'vs/editor/common/config/editorOptions',
|
|
2433
|
-
'inlineEdit.fontFamily',
|
|
2434
|
-
"Controls the font family of the inline edit."
|
|
2435
|
-
))
|
|
2240
|
+
description: ( localizeWithPath(_moduleId, 131, "Controls the font family of the inline edit."))
|
|
2436
2241
|
},
|
|
2437
2242
|
'editor.experimentalInlineEdit.backgroundColoring': {
|
|
2438
2243
|
type: 'boolean',
|
|
2439
2244
|
default: defaults.backgroundColoring,
|
|
2440
2245
|
description: ( localizeWithPath(
|
|
2441
|
-
|
|
2442
|
-
|
|
2246
|
+
_moduleId,
|
|
2247
|
+
132,
|
|
2443
2248
|
"Controls whether to color the background of inline edits."
|
|
2444
2249
|
))
|
|
2445
2250
|
},
|
|
@@ -2470,8 +2275,8 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2470
2275
|
type: 'boolean',
|
|
2471
2276
|
default: defaults.enabled,
|
|
2472
2277
|
markdownDescription: ( localizeWithPath(
|
|
2473
|
-
|
|
2474
|
-
|
|
2278
|
+
_moduleId,
|
|
2279
|
+
133,
|
|
2475
2280
|
"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
|
|
2476
2281
|
'`#workbench.colorCustomizations#`'
|
|
2477
2282
|
))
|
|
@@ -2480,8 +2285,8 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2480
2285
|
type: 'boolean',
|
|
2481
2286
|
default: defaults.independentColorPoolPerBracketType,
|
|
2482
2287
|
description: ( localizeWithPath(
|
|
2483
|
-
|
|
2484
|
-
|
|
2288
|
+
_moduleId,
|
|
2289
|
+
134,
|
|
2485
2290
|
"Controls whether each bracket type has its own independent color pool."
|
|
2486
2291
|
))
|
|
2487
2292
|
},
|
|
@@ -2512,53 +2317,37 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2512
2317
|
type: ['boolean', 'string'],
|
|
2513
2318
|
enum: [true, 'active', false],
|
|
2514
2319
|
enumDescriptions: [
|
|
2320
|
+
( localizeWithPath(_moduleId, 135, "Enables bracket pair guides.")),
|
|
2515
2321
|
( localizeWithPath(
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
"Enables bracket pair guides."
|
|
2519
|
-
)),
|
|
2520
|
-
( localizeWithPath(
|
|
2521
|
-
'vs/editor/common/config/editorOptions',
|
|
2522
|
-
'editor.guides.bracketPairs.active',
|
|
2322
|
+
_moduleId,
|
|
2323
|
+
136,
|
|
2523
2324
|
"Enables bracket pair guides only for the active bracket pair."
|
|
2524
2325
|
)),
|
|
2525
|
-
( localizeWithPath(
|
|
2526
|
-
'vs/editor/common/config/editorOptions',
|
|
2527
|
-
'editor.guides.bracketPairs.false',
|
|
2528
|
-
"Disables bracket pair guides."
|
|
2529
|
-
)),
|
|
2326
|
+
( localizeWithPath(_moduleId, 137, "Disables bracket pair guides.")),
|
|
2530
2327
|
],
|
|
2531
2328
|
default: defaults.bracketPairs,
|
|
2532
|
-
description: ( localizeWithPath(
|
|
2533
|
-
'vs/editor/common/config/editorOptions',
|
|
2534
|
-
'editor.guides.bracketPairs',
|
|
2535
|
-
"Controls whether bracket pair guides are enabled or not."
|
|
2536
|
-
))
|
|
2329
|
+
description: ( localizeWithPath(_moduleId, 138, "Controls whether bracket pair guides are enabled or not."))
|
|
2537
2330
|
},
|
|
2538
2331
|
'editor.guides.bracketPairsHorizontal': {
|
|
2539
2332
|
type: ['boolean', 'string'],
|
|
2540
2333
|
enum: [true, 'active', false],
|
|
2541
2334
|
enumDescriptions: [
|
|
2542
2335
|
( localizeWithPath(
|
|
2543
|
-
|
|
2544
|
-
|
|
2336
|
+
_moduleId,
|
|
2337
|
+
139,
|
|
2545
2338
|
"Enables horizontal guides as addition to vertical bracket pair guides."
|
|
2546
2339
|
)),
|
|
2547
2340
|
( localizeWithPath(
|
|
2548
|
-
|
|
2549
|
-
|
|
2341
|
+
_moduleId,
|
|
2342
|
+
140,
|
|
2550
2343
|
"Enables horizontal guides only for the active bracket pair."
|
|
2551
2344
|
)),
|
|
2552
|
-
( localizeWithPath(
|
|
2553
|
-
'vs/editor/common/config/editorOptions',
|
|
2554
|
-
'editor.guides.bracketPairsHorizontal.false',
|
|
2555
|
-
"Disables horizontal bracket pair guides."
|
|
2556
|
-
)),
|
|
2345
|
+
( localizeWithPath(_moduleId, 141, "Disables horizontal bracket pair guides.")),
|
|
2557
2346
|
],
|
|
2558
2347
|
default: defaults.bracketPairsHorizontal,
|
|
2559
2348
|
description: ( localizeWithPath(
|
|
2560
|
-
|
|
2561
|
-
|
|
2349
|
+
_moduleId,
|
|
2350
|
+
142,
|
|
2562
2351
|
"Controls whether horizontal bracket pair guides are enabled or not."
|
|
2563
2352
|
))
|
|
2564
2353
|
},
|
|
@@ -2566,44 +2355,32 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2566
2355
|
type: 'boolean',
|
|
2567
2356
|
default: defaults.highlightActiveBracketPair,
|
|
2568
2357
|
description: ( localizeWithPath(
|
|
2569
|
-
|
|
2570
|
-
|
|
2358
|
+
_moduleId,
|
|
2359
|
+
143,
|
|
2571
2360
|
"Controls whether the editor should highlight the active bracket pair."
|
|
2572
2361
|
))
|
|
2573
2362
|
},
|
|
2574
2363
|
'editor.guides.indentation': {
|
|
2575
2364
|
type: 'boolean',
|
|
2576
2365
|
default: defaults.indentation,
|
|
2577
|
-
description: ( localizeWithPath(
|
|
2578
|
-
'vs/editor/common/config/editorOptions',
|
|
2579
|
-
'editor.guides.indentation',
|
|
2580
|
-
"Controls whether the editor should render indent guides."
|
|
2581
|
-
))
|
|
2366
|
+
description: ( localizeWithPath(_moduleId, 144, "Controls whether the editor should render indent guides."))
|
|
2582
2367
|
},
|
|
2583
2368
|
'editor.guides.highlightActiveIndentation': {
|
|
2584
2369
|
type: ['boolean', 'string'],
|
|
2585
2370
|
enum: [true, 'always', false],
|
|
2586
2371
|
enumDescriptions: [
|
|
2372
|
+
( localizeWithPath(_moduleId, 145, "Highlights the active indent guide.")),
|
|
2587
2373
|
( localizeWithPath(
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
"Highlights the active indent guide."
|
|
2591
|
-
)),
|
|
2592
|
-
( localizeWithPath(
|
|
2593
|
-
'vs/editor/common/config/editorOptions',
|
|
2594
|
-
'editor.guides.highlightActiveIndentation.always',
|
|
2374
|
+
_moduleId,
|
|
2375
|
+
146,
|
|
2595
2376
|
"Highlights the active indent guide even if bracket guides are highlighted."
|
|
2596
2377
|
)),
|
|
2597
|
-
( localizeWithPath(
|
|
2598
|
-
'vs/editor/common/config/editorOptions',
|
|
2599
|
-
'editor.guides.highlightActiveIndentation.false',
|
|
2600
|
-
"Do not highlight the active indent guide."
|
|
2601
|
-
)),
|
|
2378
|
+
( localizeWithPath(_moduleId, 147, "Do not highlight the active indent guide.")),
|
|
2602
2379
|
],
|
|
2603
2380
|
default: defaults.highlightActiveIndentation,
|
|
2604
2381
|
description: ( localizeWithPath(
|
|
2605
|
-
|
|
2606
|
-
|
|
2382
|
+
_moduleId,
|
|
2383
|
+
148,
|
|
2607
2384
|
"Controls whether the editor should highlight the active indent guide."
|
|
2608
2385
|
))
|
|
2609
2386
|
}
|
|
@@ -2680,20 +2457,20 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2680
2457
|
enum: ['insert', 'replace'],
|
|
2681
2458
|
enumDescriptions: [
|
|
2682
2459
|
( localizeWithPath(
|
|
2683
|
-
|
|
2684
|
-
|
|
2460
|
+
_moduleId,
|
|
2461
|
+
149,
|
|
2685
2462
|
"Insert suggestion without overwriting text right of the cursor."
|
|
2686
2463
|
)),
|
|
2687
2464
|
( localizeWithPath(
|
|
2688
|
-
|
|
2689
|
-
|
|
2465
|
+
_moduleId,
|
|
2466
|
+
150,
|
|
2690
2467
|
"Insert suggestion and overwrite text right of the cursor."
|
|
2691
2468
|
)),
|
|
2692
2469
|
],
|
|
2693
2470
|
default: defaults.insertMode,
|
|
2694
2471
|
description: ( localizeWithPath(
|
|
2695
|
-
|
|
2696
|
-
|
|
2472
|
+
_moduleId,
|
|
2473
|
+
151,
|
|
2697
2474
|
"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
|
|
2698
2475
|
))
|
|
2699
2476
|
},
|
|
@@ -2701,8 +2478,8 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2701
2478
|
type: 'boolean',
|
|
2702
2479
|
default: defaults.filterGraceful,
|
|
2703
2480
|
description: ( localizeWithPath(
|
|
2704
|
-
|
|
2705
|
-
|
|
2481
|
+
_moduleId,
|
|
2482
|
+
152,
|
|
2706
2483
|
"Controls whether filtering and sorting suggestions accounts for small typos."
|
|
2707
2484
|
))
|
|
2708
2485
|
},
|
|
@@ -2710,8 +2487,8 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2710
2487
|
type: 'boolean',
|
|
2711
2488
|
default: defaults.localityBonus,
|
|
2712
2489
|
description: ( localizeWithPath(
|
|
2713
|
-
|
|
2714
|
-
|
|
2490
|
+
_moduleId,
|
|
2491
|
+
153,
|
|
2715
2492
|
"Controls whether sorting favors words that appear close to the cursor."
|
|
2716
2493
|
))
|
|
2717
2494
|
},
|
|
@@ -2719,8 +2496,8 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2719
2496
|
type: 'boolean',
|
|
2720
2497
|
default: defaults.shareSuggestSelections,
|
|
2721
2498
|
markdownDescription: ( localizeWithPath(
|
|
2722
|
-
|
|
2723
|
-
|
|
2499
|
+
_moduleId,
|
|
2500
|
+
154,
|
|
2724
2501
|
"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
|
|
2725
2502
|
))
|
|
2726
2503
|
},
|
|
@@ -2729,30 +2506,30 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2729
2506
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2730
2507
|
enumDescriptions: [
|
|
2731
2508
|
( localizeWithPath(
|
|
2732
|
-
|
|
2733
|
-
|
|
2509
|
+
_moduleId,
|
|
2510
|
+
155,
|
|
2734
2511
|
"Always select a suggestion when automatically triggering IntelliSense."
|
|
2735
2512
|
)),
|
|
2736
2513
|
( localizeWithPath(
|
|
2737
|
-
|
|
2738
|
-
|
|
2514
|
+
_moduleId,
|
|
2515
|
+
156,
|
|
2739
2516
|
"Never select a suggestion when automatically triggering IntelliSense."
|
|
2740
2517
|
)),
|
|
2741
2518
|
( localizeWithPath(
|
|
2742
|
-
|
|
2743
|
-
|
|
2519
|
+
_moduleId,
|
|
2520
|
+
157,
|
|
2744
2521
|
"Select a suggestion only when triggering IntelliSense from a trigger character."
|
|
2745
2522
|
)),
|
|
2746
2523
|
( localizeWithPath(
|
|
2747
|
-
|
|
2748
|
-
|
|
2524
|
+
_moduleId,
|
|
2525
|
+
158,
|
|
2749
2526
|
"Select a suggestion only when triggering IntelliSense as you type."
|
|
2750
2527
|
)),
|
|
2751
2528
|
],
|
|
2752
2529
|
default: defaults.selectionMode,
|
|
2753
2530
|
markdownDescription: ( localizeWithPath(
|
|
2754
|
-
|
|
2755
|
-
|
|
2531
|
+
_moduleId,
|
|
2532
|
+
159,
|
|
2756
2533
|
"Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions (`#editor.quickSuggestions#` and `#editor.suggestOnTriggerCharacters#`) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`."
|
|
2757
2534
|
))
|
|
2758
2535
|
},
|
|
@@ -2760,26 +2537,22 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2760
2537
|
type: 'boolean',
|
|
2761
2538
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2762
2539
|
description: ( localizeWithPath(
|
|
2763
|
-
|
|
2764
|
-
|
|
2540
|
+
_moduleId,
|
|
2541
|
+
160,
|
|
2765
2542
|
"Controls whether an active snippet prevents quick suggestions."
|
|
2766
2543
|
))
|
|
2767
2544
|
},
|
|
2768
2545
|
'editor.suggest.showIcons': {
|
|
2769
2546
|
type: 'boolean',
|
|
2770
2547
|
default: defaults.showIcons,
|
|
2771
|
-
description: ( localizeWithPath(
|
|
2772
|
-
'vs/editor/common/config/editorOptions',
|
|
2773
|
-
'suggest.showIcons',
|
|
2774
|
-
"Controls whether to show or hide icons in suggestions."
|
|
2775
|
-
))
|
|
2548
|
+
description: ( localizeWithPath(_moduleId, 161, "Controls whether to show or hide icons in suggestions."))
|
|
2776
2549
|
},
|
|
2777
2550
|
'editor.suggest.showStatusBar': {
|
|
2778
2551
|
type: 'boolean',
|
|
2779
2552
|
default: defaults.showStatusBar,
|
|
2780
2553
|
description: ( localizeWithPath(
|
|
2781
|
-
|
|
2782
|
-
|
|
2554
|
+
_moduleId,
|
|
2555
|
+
162,
|
|
2783
2556
|
"Controls the visibility of the status bar at the bottom of the suggest widget."
|
|
2784
2557
|
))
|
|
2785
2558
|
},
|
|
@@ -2787,8 +2560,8 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2787
2560
|
type: 'boolean',
|
|
2788
2561
|
default: defaults.preview,
|
|
2789
2562
|
description: ( localizeWithPath(
|
|
2790
|
-
|
|
2791
|
-
|
|
2563
|
+
_moduleId,
|
|
2564
|
+
163,
|
|
2792
2565
|
"Controls whether to preview the suggestion outcome in the editor."
|
|
2793
2566
|
))
|
|
2794
2567
|
},
|
|
@@ -2796,51 +2569,43 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2796
2569
|
type: 'boolean',
|
|
2797
2570
|
default: defaults.showInlineDetails,
|
|
2798
2571
|
description: ( localizeWithPath(
|
|
2799
|
-
|
|
2800
|
-
|
|
2572
|
+
_moduleId,
|
|
2573
|
+
164,
|
|
2801
2574
|
"Controls whether suggest details show inline with the label or only in the details widget."
|
|
2802
2575
|
))
|
|
2803
2576
|
},
|
|
2804
2577
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2805
2578
|
type: 'number',
|
|
2806
2579
|
deprecationMessage: ( localizeWithPath(
|
|
2807
|
-
|
|
2808
|
-
|
|
2580
|
+
_moduleId,
|
|
2581
|
+
165,
|
|
2809
2582
|
"This setting is deprecated. The suggest widget can now be resized."
|
|
2810
2583
|
)),
|
|
2811
2584
|
},
|
|
2812
2585
|
'editor.suggest.filteredTypes': {
|
|
2813
2586
|
type: 'object',
|
|
2814
2587
|
deprecationMessage: ( localizeWithPath(
|
|
2815
|
-
|
|
2816
|
-
|
|
2588
|
+
_moduleId,
|
|
2589
|
+
166,
|
|
2817
2590
|
"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
|
|
2818
2591
|
))
|
|
2819
2592
|
},
|
|
2820
2593
|
'editor.suggest.showMethods': {
|
|
2821
2594
|
type: 'boolean',
|
|
2822
2595
|
default: true,
|
|
2823
|
-
markdownDescription: ( localizeWithPath(
|
|
2824
|
-
'vs/editor/common/config/editorOptions',
|
|
2825
|
-
'editor.suggest.showMethods',
|
|
2826
|
-
"When enabled IntelliSense shows `method`-suggestions."
|
|
2827
|
-
))
|
|
2596
|
+
markdownDescription: ( localizeWithPath(_moduleId, 167, "When enabled IntelliSense shows `method`-suggestions."))
|
|
2828
2597
|
},
|
|
2829
2598
|
'editor.suggest.showFunctions': {
|
|
2830
2599
|
type: 'boolean',
|
|
2831
2600
|
default: true,
|
|
2832
|
-
markdownDescription: ( localizeWithPath(
|
|
2833
|
-
'vs/editor/common/config/editorOptions',
|
|
2834
|
-
'editor.suggest.showFunctions',
|
|
2835
|
-
"When enabled IntelliSense shows `function`-suggestions."
|
|
2836
|
-
))
|
|
2601
|
+
markdownDescription: ( localizeWithPath(_moduleId, 168, "When enabled IntelliSense shows `function`-suggestions."))
|
|
2837
2602
|
},
|
|
2838
2603
|
'editor.suggest.showConstructors': {
|
|
2839
2604
|
type: 'boolean',
|
|
2840
2605
|
default: true,
|
|
2841
2606
|
markdownDescription: ( localizeWithPath(
|
|
2842
|
-
|
|
2843
|
-
|
|
2607
|
+
_moduleId,
|
|
2608
|
+
169,
|
|
2844
2609
|
"When enabled IntelliSense shows `constructor`-suggestions."
|
|
2845
2610
|
))
|
|
2846
2611
|
},
|
|
@@ -2848,8 +2613,8 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2848
2613
|
type: 'boolean',
|
|
2849
2614
|
default: true,
|
|
2850
2615
|
markdownDescription: ( localizeWithPath(
|
|
2851
|
-
|
|
2852
|
-
|
|
2616
|
+
_moduleId,
|
|
2617
|
+
170,
|
|
2853
2618
|
"When enabled IntelliSense shows `deprecated`-suggestions."
|
|
2854
2619
|
))
|
|
2855
2620
|
},
|
|
@@ -2857,235 +2622,147 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2857
2622
|
type: 'boolean',
|
|
2858
2623
|
default: true,
|
|
2859
2624
|
markdownDescription: ( localizeWithPath(
|
|
2860
|
-
|
|
2861
|
-
|
|
2625
|
+
_moduleId,
|
|
2626
|
+
171,
|
|
2862
2627
|
"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."
|
|
2863
2628
|
))
|
|
2864
2629
|
},
|
|
2865
2630
|
'editor.suggest.showFields': {
|
|
2866
2631
|
type: 'boolean',
|
|
2867
2632
|
default: true,
|
|
2868
|
-
markdownDescription: ( localizeWithPath(
|
|
2869
|
-
'vs/editor/common/config/editorOptions',
|
|
2870
|
-
'editor.suggest.showFields',
|
|
2871
|
-
"When enabled IntelliSense shows `field`-suggestions."
|
|
2872
|
-
))
|
|
2633
|
+
markdownDescription: ( localizeWithPath(_moduleId, 172, "When enabled IntelliSense shows `field`-suggestions."))
|
|
2873
2634
|
},
|
|
2874
2635
|
'editor.suggest.showVariables': {
|
|
2875
2636
|
type: 'boolean',
|
|
2876
2637
|
default: true,
|
|
2877
|
-
markdownDescription: ( localizeWithPath(
|
|
2878
|
-
'vs/editor/common/config/editorOptions',
|
|
2879
|
-
'editor.suggest.showVariables',
|
|
2880
|
-
"When enabled IntelliSense shows `variable`-suggestions."
|
|
2881
|
-
))
|
|
2638
|
+
markdownDescription: ( localizeWithPath(_moduleId, 173, "When enabled IntelliSense shows `variable`-suggestions."))
|
|
2882
2639
|
},
|
|
2883
2640
|
'editor.suggest.showClasses': {
|
|
2884
2641
|
type: 'boolean',
|
|
2885
2642
|
default: true,
|
|
2886
|
-
markdownDescription: ( localizeWithPath(
|
|
2887
|
-
'vs/editor/common/config/editorOptions',
|
|
2888
|
-
'editor.suggest.showClasss',
|
|
2889
|
-
"When enabled IntelliSense shows `class`-suggestions."
|
|
2890
|
-
))
|
|
2643
|
+
markdownDescription: ( localizeWithPath(_moduleId, 174, "When enabled IntelliSense shows `class`-suggestions."))
|
|
2891
2644
|
},
|
|
2892
2645
|
'editor.suggest.showStructs': {
|
|
2893
2646
|
type: 'boolean',
|
|
2894
2647
|
default: true,
|
|
2895
|
-
markdownDescription: ( localizeWithPath(
|
|
2896
|
-
'vs/editor/common/config/editorOptions',
|
|
2897
|
-
'editor.suggest.showStructs',
|
|
2898
|
-
"When enabled IntelliSense shows `struct`-suggestions."
|
|
2899
|
-
))
|
|
2648
|
+
markdownDescription: ( localizeWithPath(_moduleId, 175, "When enabled IntelliSense shows `struct`-suggestions."))
|
|
2900
2649
|
},
|
|
2901
2650
|
'editor.suggest.showInterfaces': {
|
|
2902
2651
|
type: 'boolean',
|
|
2903
2652
|
default: true,
|
|
2904
|
-
markdownDescription: ( localizeWithPath(
|
|
2905
|
-
'vs/editor/common/config/editorOptions',
|
|
2906
|
-
'editor.suggest.showInterfaces',
|
|
2907
|
-
"When enabled IntelliSense shows `interface`-suggestions."
|
|
2908
|
-
))
|
|
2653
|
+
markdownDescription: ( localizeWithPath(_moduleId, 176, "When enabled IntelliSense shows `interface`-suggestions."))
|
|
2909
2654
|
},
|
|
2910
2655
|
'editor.suggest.showModules': {
|
|
2911
2656
|
type: 'boolean',
|
|
2912
2657
|
default: true,
|
|
2913
|
-
markdownDescription: ( localizeWithPath(
|
|
2914
|
-
'vs/editor/common/config/editorOptions',
|
|
2915
|
-
'editor.suggest.showModules',
|
|
2916
|
-
"When enabled IntelliSense shows `module`-suggestions."
|
|
2917
|
-
))
|
|
2658
|
+
markdownDescription: ( localizeWithPath(_moduleId, 177, "When enabled IntelliSense shows `module`-suggestions."))
|
|
2918
2659
|
},
|
|
2919
2660
|
'editor.suggest.showProperties': {
|
|
2920
2661
|
type: 'boolean',
|
|
2921
2662
|
default: true,
|
|
2922
|
-
markdownDescription: ( localizeWithPath(
|
|
2923
|
-
'vs/editor/common/config/editorOptions',
|
|
2924
|
-
'editor.suggest.showPropertys',
|
|
2925
|
-
"When enabled IntelliSense shows `property`-suggestions."
|
|
2926
|
-
))
|
|
2663
|
+
markdownDescription: ( localizeWithPath(_moduleId, 178, "When enabled IntelliSense shows `property`-suggestions."))
|
|
2927
2664
|
},
|
|
2928
2665
|
'editor.suggest.showEvents': {
|
|
2929
2666
|
type: 'boolean',
|
|
2930
2667
|
default: true,
|
|
2931
|
-
markdownDescription: ( localizeWithPath(
|
|
2932
|
-
'vs/editor/common/config/editorOptions',
|
|
2933
|
-
'editor.suggest.showEvents',
|
|
2934
|
-
"When enabled IntelliSense shows `event`-suggestions."
|
|
2935
|
-
))
|
|
2668
|
+
markdownDescription: ( localizeWithPath(_moduleId, 179, "When enabled IntelliSense shows `event`-suggestions."))
|
|
2936
2669
|
},
|
|
2937
2670
|
'editor.suggest.showOperators': {
|
|
2938
2671
|
type: 'boolean',
|
|
2939
2672
|
default: true,
|
|
2940
|
-
markdownDescription: ( localizeWithPath(
|
|
2941
|
-
'vs/editor/common/config/editorOptions',
|
|
2942
|
-
'editor.suggest.showOperators',
|
|
2943
|
-
"When enabled IntelliSense shows `operator`-suggestions."
|
|
2944
|
-
))
|
|
2673
|
+
markdownDescription: ( localizeWithPath(_moduleId, 180, "When enabled IntelliSense shows `operator`-suggestions."))
|
|
2945
2674
|
},
|
|
2946
2675
|
'editor.suggest.showUnits': {
|
|
2947
2676
|
type: 'boolean',
|
|
2948
2677
|
default: true,
|
|
2949
|
-
markdownDescription: ( localizeWithPath(
|
|
2950
|
-
'vs/editor/common/config/editorOptions',
|
|
2951
|
-
'editor.suggest.showUnits',
|
|
2952
|
-
"When enabled IntelliSense shows `unit`-suggestions."
|
|
2953
|
-
))
|
|
2678
|
+
markdownDescription: ( localizeWithPath(_moduleId, 181, "When enabled IntelliSense shows `unit`-suggestions."))
|
|
2954
2679
|
},
|
|
2955
2680
|
'editor.suggest.showValues': {
|
|
2956
2681
|
type: 'boolean',
|
|
2957
2682
|
default: true,
|
|
2958
|
-
markdownDescription: ( localizeWithPath(
|
|
2959
|
-
'vs/editor/common/config/editorOptions',
|
|
2960
|
-
'editor.suggest.showValues',
|
|
2961
|
-
"When enabled IntelliSense shows `value`-suggestions."
|
|
2962
|
-
))
|
|
2683
|
+
markdownDescription: ( localizeWithPath(_moduleId, 182, "When enabled IntelliSense shows `value`-suggestions."))
|
|
2963
2684
|
},
|
|
2964
2685
|
'editor.suggest.showConstants': {
|
|
2965
2686
|
type: 'boolean',
|
|
2966
2687
|
default: true,
|
|
2967
|
-
markdownDescription: ( localizeWithPath(
|
|
2968
|
-
'vs/editor/common/config/editorOptions',
|
|
2969
|
-
'editor.suggest.showConstants',
|
|
2970
|
-
"When enabled IntelliSense shows `constant`-suggestions."
|
|
2971
|
-
))
|
|
2688
|
+
markdownDescription: ( localizeWithPath(_moduleId, 183, "When enabled IntelliSense shows `constant`-suggestions."))
|
|
2972
2689
|
},
|
|
2973
2690
|
'editor.suggest.showEnums': {
|
|
2974
2691
|
type: 'boolean',
|
|
2975
2692
|
default: true,
|
|
2976
|
-
markdownDescription: ( localizeWithPath(
|
|
2977
|
-
'vs/editor/common/config/editorOptions',
|
|
2978
|
-
'editor.suggest.showEnums',
|
|
2979
|
-
"When enabled IntelliSense shows `enum`-suggestions."
|
|
2980
|
-
))
|
|
2693
|
+
markdownDescription: ( localizeWithPath(_moduleId, 184, "When enabled IntelliSense shows `enum`-suggestions."))
|
|
2981
2694
|
},
|
|
2982
2695
|
'editor.suggest.showEnumMembers': {
|
|
2983
2696
|
type: 'boolean',
|
|
2984
2697
|
default: true,
|
|
2985
2698
|
markdownDescription: ( localizeWithPath(
|
|
2986
|
-
|
|
2987
|
-
|
|
2699
|
+
_moduleId,
|
|
2700
|
+
185,
|
|
2988
2701
|
"When enabled IntelliSense shows `enumMember`-suggestions."
|
|
2989
2702
|
))
|
|
2990
2703
|
},
|
|
2991
2704
|
'editor.suggest.showKeywords': {
|
|
2992
2705
|
type: 'boolean',
|
|
2993
2706
|
default: true,
|
|
2994
|
-
markdownDescription: ( localizeWithPath(
|
|
2995
|
-
'vs/editor/common/config/editorOptions',
|
|
2996
|
-
'editor.suggest.showKeywords',
|
|
2997
|
-
"When enabled IntelliSense shows `keyword`-suggestions."
|
|
2998
|
-
))
|
|
2707
|
+
markdownDescription: ( localizeWithPath(_moduleId, 186, "When enabled IntelliSense shows `keyword`-suggestions."))
|
|
2999
2708
|
},
|
|
3000
2709
|
'editor.suggest.showWords': {
|
|
3001
2710
|
type: 'boolean',
|
|
3002
2711
|
default: true,
|
|
3003
|
-
markdownDescription: ( localizeWithPath(
|
|
3004
|
-
'vs/editor/common/config/editorOptions',
|
|
3005
|
-
'editor.suggest.showTexts',
|
|
3006
|
-
"When enabled IntelliSense shows `text`-suggestions."
|
|
3007
|
-
))
|
|
2712
|
+
markdownDescription: ( localizeWithPath(_moduleId, 187, "When enabled IntelliSense shows `text`-suggestions."))
|
|
3008
2713
|
},
|
|
3009
2714
|
'editor.suggest.showColors': {
|
|
3010
2715
|
type: 'boolean',
|
|
3011
2716
|
default: true,
|
|
3012
|
-
markdownDescription: ( localizeWithPath(
|
|
3013
|
-
'vs/editor/common/config/editorOptions',
|
|
3014
|
-
'editor.suggest.showColors',
|
|
3015
|
-
"When enabled IntelliSense shows `color`-suggestions."
|
|
3016
|
-
))
|
|
2717
|
+
markdownDescription: ( localizeWithPath(_moduleId, 188, "When enabled IntelliSense shows `color`-suggestions."))
|
|
3017
2718
|
},
|
|
3018
2719
|
'editor.suggest.showFiles': {
|
|
3019
2720
|
type: 'boolean',
|
|
3020
2721
|
default: true,
|
|
3021
|
-
markdownDescription: ( localizeWithPath(
|
|
3022
|
-
'vs/editor/common/config/editorOptions',
|
|
3023
|
-
'editor.suggest.showFiles',
|
|
3024
|
-
"When enabled IntelliSense shows `file`-suggestions."
|
|
3025
|
-
))
|
|
2722
|
+
markdownDescription: ( localizeWithPath(_moduleId, 189, "When enabled IntelliSense shows `file`-suggestions."))
|
|
3026
2723
|
},
|
|
3027
2724
|
'editor.suggest.showReferences': {
|
|
3028
2725
|
type: 'boolean',
|
|
3029
2726
|
default: true,
|
|
3030
|
-
markdownDescription: ( localizeWithPath(
|
|
3031
|
-
'vs/editor/common/config/editorOptions',
|
|
3032
|
-
'editor.suggest.showReferences',
|
|
3033
|
-
"When enabled IntelliSense shows `reference`-suggestions."
|
|
3034
|
-
))
|
|
2727
|
+
markdownDescription: ( localizeWithPath(_moduleId, 190, "When enabled IntelliSense shows `reference`-suggestions."))
|
|
3035
2728
|
},
|
|
3036
2729
|
'editor.suggest.showCustomcolors': {
|
|
3037
2730
|
type: 'boolean',
|
|
3038
2731
|
default: true,
|
|
3039
2732
|
markdownDescription: ( localizeWithPath(
|
|
3040
|
-
|
|
3041
|
-
|
|
2733
|
+
_moduleId,
|
|
2734
|
+
191,
|
|
3042
2735
|
"When enabled IntelliSense shows `customcolor`-suggestions."
|
|
3043
2736
|
))
|
|
3044
2737
|
},
|
|
3045
2738
|
'editor.suggest.showFolders': {
|
|
3046
2739
|
type: 'boolean',
|
|
3047
2740
|
default: true,
|
|
3048
|
-
markdownDescription: ( localizeWithPath(
|
|
3049
|
-
'vs/editor/common/config/editorOptions',
|
|
3050
|
-
'editor.suggest.showFolders',
|
|
3051
|
-
"When enabled IntelliSense shows `folder`-suggestions."
|
|
3052
|
-
))
|
|
2741
|
+
markdownDescription: ( localizeWithPath(_moduleId, 192, "When enabled IntelliSense shows `folder`-suggestions."))
|
|
3053
2742
|
},
|
|
3054
2743
|
'editor.suggest.showTypeParameters': {
|
|
3055
2744
|
type: 'boolean',
|
|
3056
2745
|
default: true,
|
|
3057
2746
|
markdownDescription: ( localizeWithPath(
|
|
3058
|
-
|
|
3059
|
-
|
|
2747
|
+
_moduleId,
|
|
2748
|
+
193,
|
|
3060
2749
|
"When enabled IntelliSense shows `typeParameter`-suggestions."
|
|
3061
2750
|
))
|
|
3062
2751
|
},
|
|
3063
2752
|
'editor.suggest.showSnippets': {
|
|
3064
2753
|
type: 'boolean',
|
|
3065
2754
|
default: true,
|
|
3066
|
-
markdownDescription: ( localizeWithPath(
|
|
3067
|
-
'vs/editor/common/config/editorOptions',
|
|
3068
|
-
'editor.suggest.showSnippets',
|
|
3069
|
-
"When enabled IntelliSense shows `snippet`-suggestions."
|
|
3070
|
-
))
|
|
2755
|
+
markdownDescription: ( localizeWithPath(_moduleId, 194, "When enabled IntelliSense shows `snippet`-suggestions."))
|
|
3071
2756
|
},
|
|
3072
2757
|
'editor.suggest.showUsers': {
|
|
3073
2758
|
type: 'boolean',
|
|
3074
2759
|
default: true,
|
|
3075
|
-
markdownDescription: ( localizeWithPath(
|
|
3076
|
-
'vs/editor/common/config/editorOptions',
|
|
3077
|
-
'editor.suggest.showUsers',
|
|
3078
|
-
"When enabled IntelliSense shows `user`-suggestions."
|
|
3079
|
-
))
|
|
2760
|
+
markdownDescription: ( localizeWithPath(_moduleId, 195, "When enabled IntelliSense shows `user`-suggestions."))
|
|
3080
2761
|
},
|
|
3081
2762
|
'editor.suggest.showIssues': {
|
|
3082
2763
|
type: 'boolean',
|
|
3083
2764
|
default: true,
|
|
3084
|
-
markdownDescription: ( localizeWithPath(
|
|
3085
|
-
'vs/editor/common/config/editorOptions',
|
|
3086
|
-
'editor.suggest.showIssues',
|
|
3087
|
-
"When enabled IntelliSense shows `issues`-suggestions."
|
|
3088
|
-
))
|
|
2765
|
+
markdownDescription: ( localizeWithPath(_moduleId, 196, "When enabled IntelliSense shows `issues`-suggestions."))
|
|
3089
2766
|
}
|
|
3090
2767
|
});
|
|
3091
2768
|
}
|
|
@@ -3146,8 +2823,8 @@ class SmartSelect extends BaseEditorOption {
|
|
|
3146
2823
|
}, {
|
|
3147
2824
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
3148
2825
|
description: ( localizeWithPath(
|
|
3149
|
-
|
|
3150
|
-
|
|
2826
|
+
_moduleId,
|
|
2827
|
+
197,
|
|
3151
2828
|
"Whether leading and trailing whitespace should always be selected."
|
|
3152
2829
|
)),
|
|
3153
2830
|
default: true,
|
|
@@ -3155,8 +2832,8 @@ class SmartSelect extends BaseEditorOption {
|
|
|
3155
2832
|
},
|
|
3156
2833
|
'editor.smartSelect.selectSubwords': {
|
|
3157
2834
|
description: ( localizeWithPath(
|
|
3158
|
-
|
|
3159
|
-
|
|
2835
|
+
_moduleId,
|
|
2836
|
+
198,
|
|
3160
2837
|
"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
|
|
3161
2838
|
)),
|
|
3162
2839
|
default: true,
|
|
@@ -3181,15 +2858,15 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
3181
2858
|
anyOf: [
|
|
3182
2859
|
{
|
|
3183
2860
|
description: ( localizeWithPath(
|
|
3184
|
-
|
|
3185
|
-
|
|
2861
|
+
_moduleId,
|
|
2862
|
+
199,
|
|
3186
2863
|
"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.)."
|
|
3187
2864
|
)),
|
|
3188
2865
|
type: 'string',
|
|
3189
2866
|
}, {
|
|
3190
2867
|
description: ( localizeWithPath(
|
|
3191
|
-
|
|
3192
|
-
|
|
2868
|
+
_moduleId,
|
|
2869
|
+
199,
|
|
3193
2870
|
"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.)."
|
|
3194
2871
|
)),
|
|
3195
2872
|
type: 'array',
|
|
@@ -3229,32 +2906,12 @@ class WrappingIndentOption extends BaseEditorOption {
|
|
|
3229
2906
|
type: 'string',
|
|
3230
2907
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
3231
2908
|
enumDescriptions: [
|
|
3232
|
-
( localizeWithPath(
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
)),
|
|
3237
|
-
( localizeWithPath(
|
|
3238
|
-
'vs/editor/common/config/editorOptions',
|
|
3239
|
-
'wrappingIndent.same',
|
|
3240
|
-
"Wrapped lines get the same indentation as the parent."
|
|
3241
|
-
)),
|
|
3242
|
-
( localizeWithPath(
|
|
3243
|
-
'vs/editor/common/config/editorOptions',
|
|
3244
|
-
'wrappingIndent.indent',
|
|
3245
|
-
"Wrapped lines get +1 indentation toward the parent."
|
|
3246
|
-
)),
|
|
3247
|
-
( localizeWithPath(
|
|
3248
|
-
'vs/editor/common/config/editorOptions',
|
|
3249
|
-
'wrappingIndent.deepIndent',
|
|
3250
|
-
"Wrapped lines get +2 indentation toward the parent."
|
|
3251
|
-
)),
|
|
2909
|
+
( localizeWithPath(_moduleId, 200, "No indentation. Wrapped lines begin at column 1.")),
|
|
2910
|
+
( localizeWithPath(_moduleId, 201, "Wrapped lines get the same indentation as the parent.")),
|
|
2911
|
+
( localizeWithPath(_moduleId, 202, "Wrapped lines get +1 indentation toward the parent.")),
|
|
2912
|
+
( localizeWithPath(_moduleId, 203, "Wrapped lines get +2 indentation toward the parent.")),
|
|
3252
2913
|
],
|
|
3253
|
-
description: ( localizeWithPath(
|
|
3254
|
-
'vs/editor/common/config/editorOptions',
|
|
3255
|
-
'wrappingIndent',
|
|
3256
|
-
"Controls the indentation of wrapped lines."
|
|
3257
|
-
)),
|
|
2914
|
+
description: ( localizeWithPath(_moduleId, 204, "Controls the indentation of wrapped lines.")),
|
|
3258
2915
|
default: 'same'
|
|
3259
2916
|
}
|
|
3260
2917
|
});
|
|
@@ -3298,16 +2955,16 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
3298
2955
|
type: 'boolean',
|
|
3299
2956
|
default: defaults.enabled,
|
|
3300
2957
|
markdownDescription: ( localizeWithPath(
|
|
3301
|
-
|
|
3302
|
-
|
|
2958
|
+
_moduleId,
|
|
2959
|
+
205,
|
|
3303
2960
|
"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)."
|
|
3304
2961
|
)),
|
|
3305
2962
|
},
|
|
3306
2963
|
'editor.dropIntoEditor.showDropSelector': {
|
|
3307
2964
|
type: 'string',
|
|
3308
2965
|
markdownDescription: ( localizeWithPath(
|
|
3309
|
-
|
|
3310
|
-
|
|
2966
|
+
_moduleId,
|
|
2967
|
+
206,
|
|
3311
2968
|
"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
|
|
3312
2969
|
)),
|
|
3313
2970
|
enum: [
|
|
@@ -3316,13 +2973,13 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
3316
2973
|
],
|
|
3317
2974
|
enumDescriptions: [
|
|
3318
2975
|
( localizeWithPath(
|
|
3319
|
-
|
|
3320
|
-
|
|
2976
|
+
_moduleId,
|
|
2977
|
+
207,
|
|
3321
2978
|
"Show the drop selector widget after a file is dropped into the editor."
|
|
3322
2979
|
)),
|
|
3323
2980
|
( localizeWithPath(
|
|
3324
|
-
|
|
3325
|
-
|
|
2981
|
+
_moduleId,
|
|
2982
|
+
208,
|
|
3326
2983
|
"Never show the drop selector widget. Instead the default drop provider is always used."
|
|
3327
2984
|
)),
|
|
3328
2985
|
],
|
|
@@ -3349,16 +3006,16 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
3349
3006
|
type: 'boolean',
|
|
3350
3007
|
default: defaults.enabled,
|
|
3351
3008
|
markdownDescription: ( localizeWithPath(
|
|
3352
|
-
|
|
3353
|
-
|
|
3009
|
+
_moduleId,
|
|
3010
|
+
209,
|
|
3354
3011
|
"Controls whether you can paste content in different ways."
|
|
3355
3012
|
)),
|
|
3356
3013
|
},
|
|
3357
3014
|
'editor.pasteAs.showPasteSelector': {
|
|
3358
3015
|
type: 'string',
|
|
3359
3016
|
markdownDescription: ( localizeWithPath(
|
|
3360
|
-
|
|
3361
|
-
|
|
3017
|
+
_moduleId,
|
|
3018
|
+
210,
|
|
3362
3019
|
"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
|
|
3363
3020
|
)),
|
|
3364
3021
|
enum: [
|
|
@@ -3367,13 +3024,13 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
3367
3024
|
],
|
|
3368
3025
|
enumDescriptions: [
|
|
3369
3026
|
( localizeWithPath(
|
|
3370
|
-
|
|
3371
|
-
|
|
3027
|
+
_moduleId,
|
|
3028
|
+
211,
|
|
3372
3029
|
"Show the paste selector widget after content is pasted into the editor."
|
|
3373
3030
|
)),
|
|
3374
3031
|
( localizeWithPath(
|
|
3375
|
-
|
|
3376
|
-
|
|
3032
|
+
_moduleId,
|
|
3033
|
+
212,
|
|
3377
3034
|
"Never show the paste selector widget. Instead the default pasting behavior is always used."
|
|
3378
3035
|
)),
|
|
3379
3036
|
],
|
|
@@ -3408,17 +3065,17 @@ function register(option) {
|
|
|
3408
3065
|
return option;
|
|
3409
3066
|
}
|
|
3410
3067
|
const EditorOptions = {
|
|
3411
|
-
acceptSuggestionOnCommitCharacter: register(( new EditorBooleanOption(
|
|
3068
|
+
acceptSuggestionOnCommitCharacter: register(( (new EditorBooleanOption(
|
|
3412
3069
|
0 ,
|
|
3413
3070
|
'acceptSuggestionOnCommitCharacter',
|
|
3414
3071
|
true,
|
|
3415
3072
|
{ markdownDescription: ( localizeWithPath(
|
|
3416
|
-
|
|
3417
|
-
|
|
3073
|
+
_moduleId,
|
|
3074
|
+
213,
|
|
3418
3075
|
"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."
|
|
3419
3076
|
)) }
|
|
3420
|
-
))),
|
|
3421
|
-
acceptSuggestionOnEnter: register(( new EditorStringEnumOption(
|
|
3077
|
+
)))),
|
|
3078
|
+
acceptSuggestionOnEnter: register(( (new EditorStringEnumOption(
|
|
3422
3079
|
1 ,
|
|
3423
3080
|
'acceptSuggestionOnEnter',
|
|
3424
3081
|
'on',
|
|
@@ -3427,21 +3084,21 @@ const EditorOptions = {
|
|
|
3427
3084
|
markdownEnumDescriptions: [
|
|
3428
3085
|
'',
|
|
3429
3086
|
( localizeWithPath(
|
|
3430
|
-
|
|
3431
|
-
|
|
3087
|
+
_moduleId,
|
|
3088
|
+
214,
|
|
3432
3089
|
"Only accept a suggestion with `Enter` when it makes a textual change."
|
|
3433
3090
|
)),
|
|
3434
3091
|
''
|
|
3435
3092
|
],
|
|
3436
3093
|
markdownDescription: ( localizeWithPath(
|
|
3437
|
-
|
|
3438
|
-
|
|
3094
|
+
_moduleId,
|
|
3095
|
+
215,
|
|
3439
3096
|
"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
|
|
3440
3097
|
))
|
|
3441
3098
|
}
|
|
3442
|
-
))),
|
|
3443
|
-
accessibilitySupport: register(( new EditorAccessibilitySupport())),
|
|
3444
|
-
accessibilityPageSize: register(( new EditorIntOption(
|
|
3099
|
+
)))),
|
|
3100
|
+
accessibilitySupport: register(( (new EditorAccessibilitySupport()))),
|
|
3101
|
+
accessibilityPageSize: register(( (new EditorIntOption(
|
|
3445
3102
|
3 ,
|
|
3446
3103
|
'accessibilityPageSize',
|
|
3447
3104
|
10,
|
|
@@ -3449,33 +3106,29 @@ const EditorOptions = {
|
|
|
3449
3106
|
1073741824 ,
|
|
3450
3107
|
{
|
|
3451
3108
|
description: ( localizeWithPath(
|
|
3452
|
-
|
|
3453
|
-
|
|
3109
|
+
_moduleId,
|
|
3110
|
+
216,
|
|
3454
3111
|
"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."
|
|
3455
3112
|
)),
|
|
3456
3113
|
tags: ['accessibility']
|
|
3457
3114
|
}
|
|
3458
|
-
))),
|
|
3459
|
-
ariaLabel: register(( new EditorStringOption(4 , 'ariaLabel', ( localizeWithPath(
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
"Editor content"
|
|
3463
|
-
))))),
|
|
3464
|
-
ariaRequired: register(( new EditorBooleanOption(5 , 'ariaRequired', false, undefined))),
|
|
3465
|
-
screenReaderAnnounceInlineSuggestion: register(( new EditorBooleanOption(
|
|
3115
|
+
)))),
|
|
3116
|
+
ariaLabel: register(( (new EditorStringOption(4 , 'ariaLabel', ( localizeWithPath(_moduleId, 217, "Editor content")))))),
|
|
3117
|
+
ariaRequired: register(( (new EditorBooleanOption(5 , 'ariaRequired', false, undefined)))),
|
|
3118
|
+
screenReaderAnnounceInlineSuggestion: register(( (new EditorBooleanOption(
|
|
3466
3119
|
8 ,
|
|
3467
3120
|
'screenReaderAnnounceInlineSuggestion',
|
|
3468
3121
|
true,
|
|
3469
3122
|
{
|
|
3470
3123
|
description: ( localizeWithPath(
|
|
3471
|
-
|
|
3472
|
-
|
|
3124
|
+
_moduleId,
|
|
3125
|
+
218,
|
|
3473
3126
|
"Control whether inline suggestions are announced by a screen reader."
|
|
3474
3127
|
)),
|
|
3475
3128
|
tags: ['accessibility']
|
|
3476
3129
|
}
|
|
3477
|
-
))),
|
|
3478
|
-
autoClosingBrackets: register(( new EditorStringEnumOption(
|
|
3130
|
+
)))),
|
|
3131
|
+
autoClosingBrackets: register(( (new EditorStringEnumOption(
|
|
3479
3132
|
6 ,
|
|
3480
3133
|
'autoClosingBrackets',
|
|
3481
3134
|
'languageDefined',
|
|
@@ -3484,25 +3137,25 @@ const EditorOptions = {
|
|
|
3484
3137
|
enumDescriptions: [
|
|
3485
3138
|
'',
|
|
3486
3139
|
( localizeWithPath(
|
|
3487
|
-
|
|
3488
|
-
|
|
3140
|
+
_moduleId,
|
|
3141
|
+
219,
|
|
3489
3142
|
"Use language configurations to determine when to autoclose brackets."
|
|
3490
3143
|
)),
|
|
3491
3144
|
( localizeWithPath(
|
|
3492
|
-
|
|
3493
|
-
|
|
3145
|
+
_moduleId,
|
|
3146
|
+
220,
|
|
3494
3147
|
"Autoclose brackets only when the cursor is to the left of whitespace."
|
|
3495
3148
|
)),
|
|
3496
3149
|
'',
|
|
3497
3150
|
],
|
|
3498
3151
|
description: ( localizeWithPath(
|
|
3499
|
-
|
|
3500
|
-
|
|
3152
|
+
_moduleId,
|
|
3153
|
+
221,
|
|
3501
3154
|
"Controls whether the editor should automatically close brackets after the user adds an opening bracket."
|
|
3502
3155
|
))
|
|
3503
3156
|
}
|
|
3504
|
-
))),
|
|
3505
|
-
autoClosingComments: register(( new EditorStringEnumOption(
|
|
3157
|
+
)))),
|
|
3158
|
+
autoClosingComments: register(( (new EditorStringEnumOption(
|
|
3506
3159
|
7 ,
|
|
3507
3160
|
'autoClosingComments',
|
|
3508
3161
|
'languageDefined',
|
|
@@ -3511,25 +3164,25 @@ const EditorOptions = {
|
|
|
3511
3164
|
enumDescriptions: [
|
|
3512
3165
|
'',
|
|
3513
3166
|
( localizeWithPath(
|
|
3514
|
-
|
|
3515
|
-
|
|
3167
|
+
_moduleId,
|
|
3168
|
+
222,
|
|
3516
3169
|
"Use language configurations to determine when to autoclose comments."
|
|
3517
3170
|
)),
|
|
3518
3171
|
( localizeWithPath(
|
|
3519
|
-
|
|
3520
|
-
|
|
3172
|
+
_moduleId,
|
|
3173
|
+
223,
|
|
3521
3174
|
"Autoclose comments only when the cursor is to the left of whitespace."
|
|
3522
3175
|
)),
|
|
3523
3176
|
'',
|
|
3524
3177
|
],
|
|
3525
3178
|
description: ( localizeWithPath(
|
|
3526
|
-
|
|
3527
|
-
|
|
3179
|
+
_moduleId,
|
|
3180
|
+
224,
|
|
3528
3181
|
"Controls whether the editor should automatically close comments after the user adds an opening comment."
|
|
3529
3182
|
))
|
|
3530
3183
|
}
|
|
3531
|
-
))),
|
|
3532
|
-
autoClosingDelete: register(( new EditorStringEnumOption(
|
|
3184
|
+
)))),
|
|
3185
|
+
autoClosingDelete: register(( (new EditorStringEnumOption(
|
|
3533
3186
|
9 ,
|
|
3534
3187
|
'autoClosingDelete',
|
|
3535
3188
|
'auto',
|
|
@@ -3538,20 +3191,20 @@ const EditorOptions = {
|
|
|
3538
3191
|
enumDescriptions: [
|
|
3539
3192
|
'',
|
|
3540
3193
|
( localizeWithPath(
|
|
3541
|
-
|
|
3542
|
-
|
|
3194
|
+
_moduleId,
|
|
3195
|
+
225,
|
|
3543
3196
|
"Remove adjacent closing quotes or brackets only if they were automatically inserted."
|
|
3544
3197
|
)),
|
|
3545
3198
|
'',
|
|
3546
3199
|
],
|
|
3547
3200
|
description: ( localizeWithPath(
|
|
3548
|
-
|
|
3549
|
-
|
|
3201
|
+
_moduleId,
|
|
3202
|
+
226,
|
|
3550
3203
|
"Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
|
|
3551
3204
|
))
|
|
3552
3205
|
}
|
|
3553
|
-
))),
|
|
3554
|
-
autoClosingOvertype: register(( new EditorStringEnumOption(
|
|
3206
|
+
)))),
|
|
3207
|
+
autoClosingOvertype: register(( (new EditorStringEnumOption(
|
|
3555
3208
|
10 ,
|
|
3556
3209
|
'autoClosingOvertype',
|
|
3557
3210
|
'auto',
|
|
@@ -3560,20 +3213,20 @@ const EditorOptions = {
|
|
|
3560
3213
|
enumDescriptions: [
|
|
3561
3214
|
'',
|
|
3562
3215
|
( localizeWithPath(
|
|
3563
|
-
|
|
3564
|
-
|
|
3216
|
+
_moduleId,
|
|
3217
|
+
227,
|
|
3565
3218
|
"Type over closing quotes or brackets only if they were automatically inserted."
|
|
3566
3219
|
)),
|
|
3567
3220
|
'',
|
|
3568
3221
|
],
|
|
3569
3222
|
description: ( localizeWithPath(
|
|
3570
|
-
|
|
3571
|
-
|
|
3223
|
+
_moduleId,
|
|
3224
|
+
228,
|
|
3572
3225
|
"Controls whether the editor should type over closing quotes or brackets."
|
|
3573
3226
|
))
|
|
3574
3227
|
}
|
|
3575
|
-
))),
|
|
3576
|
-
autoClosingQuotes: register(( new EditorStringEnumOption(
|
|
3228
|
+
)))),
|
|
3229
|
+
autoClosingQuotes: register(( (new EditorStringEnumOption(
|
|
3577
3230
|
11 ,
|
|
3578
3231
|
'autoClosingQuotes',
|
|
3579
3232
|
'languageDefined',
|
|
@@ -3582,25 +3235,25 @@ const EditorOptions = {
|
|
|
3582
3235
|
enumDescriptions: [
|
|
3583
3236
|
'',
|
|
3584
3237
|
( localizeWithPath(
|
|
3585
|
-
|
|
3586
|
-
|
|
3238
|
+
_moduleId,
|
|
3239
|
+
229,
|
|
3587
3240
|
"Use language configurations to determine when to autoclose quotes."
|
|
3588
3241
|
)),
|
|
3589
3242
|
( localizeWithPath(
|
|
3590
|
-
|
|
3591
|
-
|
|
3243
|
+
_moduleId,
|
|
3244
|
+
230,
|
|
3592
3245
|
"Autoclose quotes only when the cursor is to the left of whitespace."
|
|
3593
3246
|
)),
|
|
3594
3247
|
'',
|
|
3595
3248
|
],
|
|
3596
3249
|
description: ( localizeWithPath(
|
|
3597
|
-
|
|
3598
|
-
|
|
3250
|
+
_moduleId,
|
|
3251
|
+
231,
|
|
3599
3252
|
"Controls whether the editor should automatically close quotes after the user adds an opening quote."
|
|
3600
3253
|
))
|
|
3601
3254
|
}
|
|
3602
|
-
))),
|
|
3603
|
-
autoIndent: register(( new EditorEnumOption(
|
|
3255
|
+
)))),
|
|
3256
|
+
autoIndent: register(( (new EditorEnumOption(
|
|
3604
3257
|
12 ,
|
|
3605
3258
|
'autoIndent',
|
|
3606
3259
|
4 ,
|
|
@@ -3609,41 +3262,33 @@ const EditorOptions = {
|
|
|
3609
3262
|
_autoIndentFromString,
|
|
3610
3263
|
{
|
|
3611
3264
|
enumDescriptions: [
|
|
3265
|
+
( localizeWithPath(_moduleId, 232, "The editor will not insert indentation automatically.")),
|
|
3266
|
+
( localizeWithPath(_moduleId, 233, "The editor will keep the current line's indentation.")),
|
|
3612
3267
|
( localizeWithPath(
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
"The editor will not insert indentation automatically."
|
|
3616
|
-
)),
|
|
3617
|
-
( localizeWithPath(
|
|
3618
|
-
'vs/editor/common/config/editorOptions',
|
|
3619
|
-
'editor.autoIndent.keep',
|
|
3620
|
-
"The editor will keep the current line's indentation."
|
|
3621
|
-
)),
|
|
3622
|
-
( localizeWithPath(
|
|
3623
|
-
'vs/editor/common/config/editorOptions',
|
|
3624
|
-
'editor.autoIndent.brackets',
|
|
3268
|
+
_moduleId,
|
|
3269
|
+
234,
|
|
3625
3270
|
"The editor will keep the current line's indentation and honor language defined brackets."
|
|
3626
3271
|
)),
|
|
3627
3272
|
( localizeWithPath(
|
|
3628
|
-
|
|
3629
|
-
|
|
3273
|
+
_moduleId,
|
|
3274
|
+
235,
|
|
3630
3275
|
"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
|
|
3631
3276
|
)),
|
|
3632
3277
|
( localizeWithPath(
|
|
3633
|
-
|
|
3634
|
-
|
|
3278
|
+
_moduleId,
|
|
3279
|
+
236,
|
|
3635
3280
|
"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."
|
|
3636
3281
|
)),
|
|
3637
3282
|
],
|
|
3638
3283
|
description: ( localizeWithPath(
|
|
3639
|
-
|
|
3640
|
-
|
|
3284
|
+
_moduleId,
|
|
3285
|
+
237,
|
|
3641
3286
|
"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
|
|
3642
3287
|
))
|
|
3643
3288
|
}
|
|
3644
|
-
))),
|
|
3645
|
-
automaticLayout: register(( new EditorBooleanOption(13 , 'automaticLayout', false))),
|
|
3646
|
-
autoSurround: register(( new EditorStringEnumOption(
|
|
3289
|
+
)))),
|
|
3290
|
+
automaticLayout: register(( (new EditorBooleanOption(13 , 'automaticLayout', false)))),
|
|
3291
|
+
autoSurround: register(( (new EditorStringEnumOption(
|
|
3647
3292
|
14 ,
|
|
3648
3293
|
'autoSurround',
|
|
3649
3294
|
'languageDefined',
|
|
@@ -3651,83 +3296,67 @@ const EditorOptions = {
|
|
|
3651
3296
|
{
|
|
3652
3297
|
enumDescriptions: [
|
|
3653
3298
|
( localizeWithPath(
|
|
3654
|
-
|
|
3655
|
-
|
|
3299
|
+
_moduleId,
|
|
3300
|
+
238,
|
|
3656
3301
|
"Use language configurations to determine when to automatically surround selections."
|
|
3657
3302
|
)),
|
|
3658
|
-
( localizeWithPath(
|
|
3659
|
-
|
|
3660
|
-
'editor.autoSurround.quotes',
|
|
3661
|
-
"Surround with quotes but not brackets."
|
|
3662
|
-
)),
|
|
3663
|
-
( localizeWithPath(
|
|
3664
|
-
'vs/editor/common/config/editorOptions',
|
|
3665
|
-
'editor.autoSurround.brackets',
|
|
3666
|
-
"Surround with brackets but not quotes."
|
|
3667
|
-
)),
|
|
3303
|
+
( localizeWithPath(_moduleId, 239, "Surround with quotes but not brackets.")),
|
|
3304
|
+
( localizeWithPath(_moduleId, 240, "Surround with brackets but not quotes.")),
|
|
3668
3305
|
''
|
|
3669
3306
|
],
|
|
3670
3307
|
description: ( localizeWithPath(
|
|
3671
|
-
|
|
3672
|
-
|
|
3308
|
+
_moduleId,
|
|
3309
|
+
241,
|
|
3673
3310
|
"Controls whether the editor should automatically surround selections when typing quotes or brackets."
|
|
3674
3311
|
))
|
|
3675
3312
|
}
|
|
3676
|
-
))),
|
|
3677
|
-
bracketPairColorization: register(( new BracketPairColorization())),
|
|
3678
|
-
bracketPairGuides: register(( new GuideOptions())),
|
|
3679
|
-
stickyTabStops: register(( new EditorBooleanOption(
|
|
3313
|
+
)))),
|
|
3314
|
+
bracketPairColorization: register(( (new BracketPairColorization()))),
|
|
3315
|
+
bracketPairGuides: register(( (new GuideOptions()))),
|
|
3316
|
+
stickyTabStops: register(( (new EditorBooleanOption(
|
|
3680
3317
|
116 ,
|
|
3681
3318
|
'stickyTabStops',
|
|
3682
3319
|
false,
|
|
3683
3320
|
{ description: ( localizeWithPath(
|
|
3684
|
-
|
|
3685
|
-
|
|
3321
|
+
_moduleId,
|
|
3322
|
+
242,
|
|
3686
3323
|
"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
|
|
3687
3324
|
)) }
|
|
3688
|
-
))),
|
|
3689
|
-
codeLens: register(( new EditorBooleanOption(
|
|
3325
|
+
)))),
|
|
3326
|
+
codeLens: register(( (new EditorBooleanOption(
|
|
3690
3327
|
17 ,
|
|
3691
3328
|
'codeLens',
|
|
3692
3329
|
true,
|
|
3693
|
-
{ description: ( localizeWithPath(
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
"Controls whether the editor shows CodeLens."
|
|
3697
|
-
)) }
|
|
3698
|
-
))),
|
|
3699
|
-
codeLensFontFamily: register(( new EditorStringOption(
|
|
3330
|
+
{ description: ( localizeWithPath(_moduleId, 243, "Controls whether the editor shows CodeLens.")) }
|
|
3331
|
+
)))),
|
|
3332
|
+
codeLensFontFamily: register(( (new EditorStringOption(
|
|
3700
3333
|
18 ,
|
|
3701
3334
|
'codeLensFontFamily',
|
|
3702
3335
|
'',
|
|
3703
|
-
{ description: ( localizeWithPath(
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
"Controls the font family for CodeLens."
|
|
3707
|
-
)) }
|
|
3708
|
-
))),
|
|
3709
|
-
codeLensFontSize: register(( new EditorIntOption(19 , 'codeLensFontSize', 0, 0, 100, {
|
|
3336
|
+
{ description: ( localizeWithPath(_moduleId, 244, "Controls the font family for CodeLens.")) }
|
|
3337
|
+
)))),
|
|
3338
|
+
codeLensFontSize: register(( (new EditorIntOption(19 , 'codeLensFontSize', 0, 0, 100, {
|
|
3710
3339
|
type: 'number',
|
|
3711
3340
|
default: 0,
|
|
3712
3341
|
minimum: 0,
|
|
3713
3342
|
maximum: 100,
|
|
3714
3343
|
markdownDescription: ( localizeWithPath(
|
|
3715
|
-
|
|
3716
|
-
|
|
3344
|
+
_moduleId,
|
|
3345
|
+
245,
|
|
3717
3346
|
"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
|
|
3718
3347
|
))
|
|
3719
|
-
}))),
|
|
3720
|
-
colorDecorators: register(( new EditorBooleanOption(
|
|
3348
|
+
})))),
|
|
3349
|
+
colorDecorators: register(( (new EditorBooleanOption(
|
|
3721
3350
|
20 ,
|
|
3722
3351
|
'colorDecorators',
|
|
3723
3352
|
true,
|
|
3724
3353
|
{ description: ( localizeWithPath(
|
|
3725
|
-
|
|
3726
|
-
|
|
3354
|
+
_moduleId,
|
|
3355
|
+
246,
|
|
3727
3356
|
"Controls whether the editor should render the inline color decorators and color picker."
|
|
3728
3357
|
)) }
|
|
3729
|
-
))),
|
|
3730
|
-
colorDecoratorActivatedOn: register(( new EditorStringEnumOption(
|
|
3358
|
+
)))),
|
|
3359
|
+
colorDecoratorActivatedOn: register(( (new EditorStringEnumOption(
|
|
3731
3360
|
148 ,
|
|
3732
3361
|
'colorDecoratorsActivatedOn',
|
|
3733
3362
|
'clickAndHover',
|
|
@@ -3735,29 +3364,29 @@ const EditorOptions = {
|
|
|
3735
3364
|
{
|
|
3736
3365
|
enumDescriptions: [
|
|
3737
3366
|
( localizeWithPath(
|
|
3738
|
-
|
|
3739
|
-
|
|
3367
|
+
_moduleId,
|
|
3368
|
+
247,
|
|
3740
3369
|
"Make the color picker appear both on click and hover of the color decorator"
|
|
3741
3370
|
)),
|
|
3742
3371
|
( localizeWithPath(
|
|
3743
|
-
|
|
3744
|
-
|
|
3372
|
+
_moduleId,
|
|
3373
|
+
248,
|
|
3745
3374
|
"Make the color picker appear on hover of the color decorator"
|
|
3746
3375
|
)),
|
|
3747
3376
|
( localizeWithPath(
|
|
3748
|
-
|
|
3749
|
-
|
|
3377
|
+
_moduleId,
|
|
3378
|
+
249,
|
|
3750
3379
|
"Make the color picker appear on click of the color decorator"
|
|
3751
3380
|
))
|
|
3752
3381
|
],
|
|
3753
3382
|
description: ( localizeWithPath(
|
|
3754
|
-
|
|
3755
|
-
|
|
3383
|
+
_moduleId,
|
|
3384
|
+
250,
|
|
3756
3385
|
"Controls the condition to make a color picker appear from a color decorator"
|
|
3757
3386
|
))
|
|
3758
3387
|
}
|
|
3759
|
-
))),
|
|
3760
|
-
colorDecoratorsLimit: register(( new EditorIntOption(
|
|
3388
|
+
)))),
|
|
3389
|
+
colorDecoratorsLimit: register(( (new EditorIntOption(
|
|
3761
3390
|
21 ,
|
|
3762
3391
|
'colorDecoratorsLimit',
|
|
3763
3392
|
500,
|
|
@@ -3765,103 +3394,87 @@ const EditorOptions = {
|
|
|
3765
3394
|
1000000,
|
|
3766
3395
|
{
|
|
3767
3396
|
markdownDescription: ( localizeWithPath(
|
|
3768
|
-
|
|
3769
|
-
|
|
3397
|
+
_moduleId,
|
|
3398
|
+
251,
|
|
3770
3399
|
"Controls the max number of color decorators that can be rendered in an editor at once."
|
|
3771
3400
|
))
|
|
3772
3401
|
}
|
|
3773
|
-
))),
|
|
3774
|
-
columnSelection: register(( new EditorBooleanOption(
|
|
3402
|
+
)))),
|
|
3403
|
+
columnSelection: register(( (new EditorBooleanOption(
|
|
3775
3404
|
22 ,
|
|
3776
3405
|
'columnSelection',
|
|
3777
3406
|
false,
|
|
3778
3407
|
{ description: ( localizeWithPath(
|
|
3779
|
-
|
|
3780
|
-
|
|
3408
|
+
_moduleId,
|
|
3409
|
+
252,
|
|
3781
3410
|
"Enable that the selection with the mouse and keys is doing column selection."
|
|
3782
3411
|
)) }
|
|
3783
|
-
))),
|
|
3784
|
-
comments: register(( new EditorComments())),
|
|
3785
|
-
contextmenu: register(( new EditorBooleanOption(24 , 'contextmenu', true))),
|
|
3786
|
-
copyWithSyntaxHighlighting: register(( new EditorBooleanOption(
|
|
3412
|
+
)))),
|
|
3413
|
+
comments: register(( (new EditorComments()))),
|
|
3414
|
+
contextmenu: register(( (new EditorBooleanOption(24 , 'contextmenu', true)))),
|
|
3415
|
+
copyWithSyntaxHighlighting: register(( (new EditorBooleanOption(
|
|
3787
3416
|
25 ,
|
|
3788
3417
|
'copyWithSyntaxHighlighting',
|
|
3789
3418
|
true,
|
|
3790
3419
|
{ description: ( localizeWithPath(
|
|
3791
|
-
|
|
3792
|
-
|
|
3420
|
+
_moduleId,
|
|
3421
|
+
253,
|
|
3793
3422
|
"Controls whether syntax highlighting should be copied into the clipboard."
|
|
3794
3423
|
)) }
|
|
3795
|
-
))),
|
|
3796
|
-
cursorBlinking: register(( new EditorEnumOption(
|
|
3424
|
+
)))),
|
|
3425
|
+
cursorBlinking: register(( (new EditorEnumOption(
|
|
3797
3426
|
26 ,
|
|
3798
3427
|
'cursorBlinking',
|
|
3799
3428
|
1 ,
|
|
3800
3429
|
'blink',
|
|
3801
3430
|
['blink', 'smooth', 'phase', 'expand', 'solid'],
|
|
3802
3431
|
_cursorBlinkingStyleFromString,
|
|
3803
|
-
{ description: ( localizeWithPath(
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
"Control the cursor animation style."
|
|
3807
|
-
)) }
|
|
3808
|
-
))),
|
|
3809
|
-
cursorSmoothCaretAnimation: register(( new EditorStringEnumOption(
|
|
3432
|
+
{ description: ( localizeWithPath(_moduleId, 254, "Control the cursor animation style.")) }
|
|
3433
|
+
)))),
|
|
3434
|
+
cursorSmoothCaretAnimation: register(( (new EditorStringEnumOption(
|
|
3810
3435
|
27 ,
|
|
3811
3436
|
'cursorSmoothCaretAnimation',
|
|
3812
3437
|
'off',
|
|
3813
3438
|
['off', 'explicit', 'on'],
|
|
3814
3439
|
{
|
|
3815
3440
|
enumDescriptions: [
|
|
3441
|
+
( localizeWithPath(_moduleId, 255, "Smooth caret animation is disabled.")),
|
|
3816
3442
|
( localizeWithPath(
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
"Smooth caret animation is disabled."
|
|
3820
|
-
)),
|
|
3821
|
-
( localizeWithPath(
|
|
3822
|
-
'vs/editor/common/config/editorOptions',
|
|
3823
|
-
'cursorSmoothCaretAnimation.explicit',
|
|
3443
|
+
_moduleId,
|
|
3444
|
+
256,
|
|
3824
3445
|
"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
|
|
3825
3446
|
)),
|
|
3826
|
-
( localizeWithPath(
|
|
3827
|
-
'vs/editor/common/config/editorOptions',
|
|
3828
|
-
'cursorSmoothCaretAnimation.on',
|
|
3829
|
-
"Smooth caret animation is always enabled."
|
|
3830
|
-
))
|
|
3447
|
+
( localizeWithPath(_moduleId, 257, "Smooth caret animation is always enabled."))
|
|
3831
3448
|
],
|
|
3832
3449
|
description: ( localizeWithPath(
|
|
3833
|
-
|
|
3834
|
-
|
|
3450
|
+
_moduleId,
|
|
3451
|
+
258,
|
|
3835
3452
|
"Controls whether the smooth caret animation should be enabled."
|
|
3836
3453
|
))
|
|
3837
3454
|
}
|
|
3838
|
-
))),
|
|
3839
|
-
cursorStyle: register(( new EditorEnumOption(
|
|
3455
|
+
)))),
|
|
3456
|
+
cursorStyle: register(( (new EditorEnumOption(
|
|
3840
3457
|
28 ,
|
|
3841
3458
|
'cursorStyle',
|
|
3842
3459
|
TextEditorCursorStyle.Line,
|
|
3843
3460
|
'line',
|
|
3844
3461
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3845
3462
|
_cursorStyleFromString,
|
|
3846
|
-
{ description: ( localizeWithPath(
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
"Controls the cursor style."
|
|
3850
|
-
)) }
|
|
3851
|
-
))),
|
|
3852
|
-
cursorSurroundingLines: register(( new EditorIntOption(
|
|
3463
|
+
{ description: ( localizeWithPath(_moduleId, 259, "Controls the cursor style.")) }
|
|
3464
|
+
)))),
|
|
3465
|
+
cursorSurroundingLines: register(( (new EditorIntOption(
|
|
3853
3466
|
29 ,
|
|
3854
3467
|
'cursorSurroundingLines',
|
|
3855
3468
|
0,
|
|
3856
3469
|
0,
|
|
3857
3470
|
1073741824 ,
|
|
3858
3471
|
{ description: ( localizeWithPath(
|
|
3859
|
-
|
|
3860
|
-
|
|
3472
|
+
_moduleId,
|
|
3473
|
+
260,
|
|
3861
3474
|
"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."
|
|
3862
3475
|
)) }
|
|
3863
|
-
))),
|
|
3864
|
-
cursorSurroundingLinesStyle: register(( new EditorStringEnumOption(
|
|
3476
|
+
)))),
|
|
3477
|
+
cursorSurroundingLinesStyle: register(( (new EditorStringEnumOption(
|
|
3865
3478
|
30 ,
|
|
3866
3479
|
'cursorSurroundingLinesStyle',
|
|
3867
3480
|
'default',
|
|
@@ -3869,110 +3482,86 @@ const EditorOptions = {
|
|
|
3869
3482
|
{
|
|
3870
3483
|
enumDescriptions: [
|
|
3871
3484
|
( localizeWithPath(
|
|
3872
|
-
|
|
3873
|
-
|
|
3485
|
+
_moduleId,
|
|
3486
|
+
261,
|
|
3874
3487
|
"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
|
|
3875
3488
|
)),
|
|
3876
|
-
( localizeWithPath(
|
|
3877
|
-
'vs/editor/common/config/editorOptions',
|
|
3878
|
-
'cursorSurroundingLinesStyle.all',
|
|
3879
|
-
"`cursorSurroundingLines` is enforced always."
|
|
3880
|
-
))
|
|
3489
|
+
( localizeWithPath(_moduleId, 262, "`cursorSurroundingLines` is enforced always."))
|
|
3881
3490
|
],
|
|
3882
3491
|
markdownDescription: ( localizeWithPath(
|
|
3883
|
-
|
|
3884
|
-
|
|
3492
|
+
_moduleId,
|
|
3493
|
+
263,
|
|
3885
3494
|
"Controls when `#editor.cursorSurroundingLines#` should be enforced."
|
|
3886
3495
|
))
|
|
3887
3496
|
}
|
|
3888
|
-
))),
|
|
3889
|
-
cursorWidth: register(( new EditorIntOption(
|
|
3497
|
+
)))),
|
|
3498
|
+
cursorWidth: register(( (new EditorIntOption(
|
|
3890
3499
|
31 ,
|
|
3891
3500
|
'cursorWidth',
|
|
3892
3501
|
0,
|
|
3893
3502
|
0,
|
|
3894
3503
|
1073741824 ,
|
|
3895
3504
|
{ markdownDescription: ( localizeWithPath(
|
|
3896
|
-
|
|
3897
|
-
|
|
3505
|
+
_moduleId,
|
|
3506
|
+
264,
|
|
3898
3507
|
"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
|
|
3899
3508
|
)) }
|
|
3900
|
-
))),
|
|
3901
|
-
disableLayerHinting: register(( new EditorBooleanOption(32 , 'disableLayerHinting', false))),
|
|
3902
|
-
disableMonospaceOptimizations: register(( new EditorBooleanOption(
|
|
3509
|
+
)))),
|
|
3510
|
+
disableLayerHinting: register(( (new EditorBooleanOption(32 , 'disableLayerHinting', false)))),
|
|
3511
|
+
disableMonospaceOptimizations: register(( (new EditorBooleanOption(
|
|
3903
3512
|
33 ,
|
|
3904
3513
|
'disableMonospaceOptimizations',
|
|
3905
3514
|
false
|
|
3906
|
-
))),
|
|
3907
|
-
domReadOnly: register(( new EditorBooleanOption(34 , 'domReadOnly', false))),
|
|
3908
|
-
dragAndDrop: register(( new EditorBooleanOption(
|
|
3515
|
+
)))),
|
|
3516
|
+
domReadOnly: register(( (new EditorBooleanOption(34 , 'domReadOnly', false)))),
|
|
3517
|
+
dragAndDrop: register(( (new EditorBooleanOption(
|
|
3909
3518
|
35 ,
|
|
3910
3519
|
'dragAndDrop',
|
|
3911
3520
|
true,
|
|
3912
3521
|
{ description: ( localizeWithPath(
|
|
3913
|
-
|
|
3914
|
-
|
|
3522
|
+
_moduleId,
|
|
3523
|
+
265,
|
|
3915
3524
|
"Controls whether the editor should allow moving selections via drag and drop."
|
|
3916
3525
|
)) }
|
|
3917
|
-
))),
|
|
3918
|
-
emptySelectionClipboard: register(( new EditorEmptySelectionClipboard())),
|
|
3919
|
-
dropIntoEditor: register(( new EditorDropIntoEditor())),
|
|
3920
|
-
stickyScroll: register(( new EditorStickyScroll())),
|
|
3921
|
-
experimentalWhitespaceRendering: register(( new EditorStringEnumOption(
|
|
3526
|
+
)))),
|
|
3527
|
+
emptySelectionClipboard: register(( (new EditorEmptySelectionClipboard()))),
|
|
3528
|
+
dropIntoEditor: register(( (new EditorDropIntoEditor()))),
|
|
3529
|
+
stickyScroll: register(( (new EditorStickyScroll()))),
|
|
3530
|
+
experimentalWhitespaceRendering: register(( (new EditorStringEnumOption(
|
|
3922
3531
|
38 ,
|
|
3923
3532
|
'experimentalWhitespaceRendering',
|
|
3924
3533
|
'svg',
|
|
3925
3534
|
['svg', 'font', 'off'],
|
|
3926
3535
|
{
|
|
3927
3536
|
enumDescriptions: [
|
|
3928
|
-
( localizeWithPath(
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
"Use a new rendering method with svgs."
|
|
3932
|
-
)),
|
|
3933
|
-
( localizeWithPath(
|
|
3934
|
-
'vs/editor/common/config/editorOptions',
|
|
3935
|
-
'experimentalWhitespaceRendering.font',
|
|
3936
|
-
"Use a new rendering method with font characters."
|
|
3937
|
-
)),
|
|
3938
|
-
( localizeWithPath(
|
|
3939
|
-
'vs/editor/common/config/editorOptions',
|
|
3940
|
-
'experimentalWhitespaceRendering.off',
|
|
3941
|
-
"Use the stable rendering method."
|
|
3942
|
-
)),
|
|
3537
|
+
( localizeWithPath(_moduleId, 266, "Use a new rendering method with svgs.")),
|
|
3538
|
+
( localizeWithPath(_moduleId, 267, "Use a new rendering method with font characters.")),
|
|
3539
|
+
( localizeWithPath(_moduleId, 268, "Use the stable rendering method.")),
|
|
3943
3540
|
],
|
|
3944
3541
|
description: ( localizeWithPath(
|
|
3945
|
-
|
|
3946
|
-
|
|
3542
|
+
_moduleId,
|
|
3543
|
+
269,
|
|
3947
3544
|
"Controls whether whitespace is rendered with a new, experimental method."
|
|
3948
3545
|
))
|
|
3949
3546
|
}
|
|
3950
|
-
))),
|
|
3951
|
-
extraEditorClassName: register(( new EditorStringOption(39 , 'extraEditorClassName', ''))),
|
|
3952
|
-
fastScrollSensitivity: register(( new EditorFloatOption(
|
|
3547
|
+
)))),
|
|
3548
|
+
extraEditorClassName: register(( (new EditorStringOption(39 , 'extraEditorClassName', '')))),
|
|
3549
|
+
fastScrollSensitivity: register(( (new EditorFloatOption(
|
|
3953
3550
|
40 ,
|
|
3954
3551
|
'fastScrollSensitivity',
|
|
3955
3552
|
5,
|
|
3956
3553
|
x => (x <= 0 ? 5 : x),
|
|
3957
|
-
{ markdownDescription: ( localizeWithPath(
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
))),
|
|
3963
|
-
find: register(( new EditorFind())),
|
|
3964
|
-
fixedOverflowWidgets: register(( new EditorBooleanOption(42 , 'fixedOverflowWidgets', false))),
|
|
3965
|
-
folding: register(( new EditorBooleanOption(
|
|
3554
|
+
{ markdownDescription: ( localizeWithPath(_moduleId, 270, "Scrolling speed multiplier when pressing `Alt`.")) }
|
|
3555
|
+
)))),
|
|
3556
|
+
find: register(( (new EditorFind()))),
|
|
3557
|
+
fixedOverflowWidgets: register(( (new EditorBooleanOption(42 , 'fixedOverflowWidgets', false)))),
|
|
3558
|
+
folding: register(( (new EditorBooleanOption(
|
|
3966
3559
|
43 ,
|
|
3967
3560
|
'folding',
|
|
3968
3561
|
true,
|
|
3969
|
-
{ description: ( localizeWithPath(
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
"Controls whether the editor has code folding enabled."
|
|
3973
|
-
)) }
|
|
3974
|
-
))),
|
|
3975
|
-
foldingStrategy: register(( new EditorStringEnumOption(
|
|
3562
|
+
{ description: ( localizeWithPath(_moduleId, 271, "Controls whether the editor has code folding enabled.")) }
|
|
3563
|
+
)))),
|
|
3564
|
+
foldingStrategy: register(( (new EditorStringEnumOption(
|
|
3976
3565
|
44 ,
|
|
3977
3566
|
'foldingStrategy',
|
|
3978
3567
|
'auto',
|
|
@@ -3980,213 +3569,189 @@ const EditorOptions = {
|
|
|
3980
3569
|
{
|
|
3981
3570
|
enumDescriptions: [
|
|
3982
3571
|
( localizeWithPath(
|
|
3983
|
-
|
|
3984
|
-
|
|
3572
|
+
_moduleId,
|
|
3573
|
+
272,
|
|
3985
3574
|
"Use a language-specific folding strategy if available, else the indentation-based one."
|
|
3986
3575
|
)),
|
|
3987
|
-
( localizeWithPath(
|
|
3988
|
-
'vs/editor/common/config/editorOptions',
|
|
3989
|
-
'foldingStrategy.indentation',
|
|
3990
|
-
"Use the indentation-based folding strategy."
|
|
3991
|
-
)),
|
|
3576
|
+
( localizeWithPath(_moduleId, 273, "Use the indentation-based folding strategy.")),
|
|
3992
3577
|
],
|
|
3993
|
-
description: ( localizeWithPath(
|
|
3994
|
-
'vs/editor/common/config/editorOptions',
|
|
3995
|
-
'foldingStrategy',
|
|
3996
|
-
"Controls the strategy for computing folding ranges."
|
|
3997
|
-
))
|
|
3578
|
+
description: ( localizeWithPath(_moduleId, 274, "Controls the strategy for computing folding ranges."))
|
|
3998
3579
|
}
|
|
3999
|
-
))),
|
|
4000
|
-
foldingHighlight: register(( new EditorBooleanOption(
|
|
3580
|
+
)))),
|
|
3581
|
+
foldingHighlight: register(( (new EditorBooleanOption(
|
|
4001
3582
|
45 ,
|
|
4002
3583
|
'foldingHighlight',
|
|
4003
3584
|
true,
|
|
4004
3585
|
{ description: ( localizeWithPath(
|
|
4005
|
-
|
|
4006
|
-
|
|
3586
|
+
_moduleId,
|
|
3587
|
+
275,
|
|
4007
3588
|
"Controls whether the editor should highlight folded ranges."
|
|
4008
3589
|
)) }
|
|
4009
|
-
))),
|
|
4010
|
-
foldingImportsByDefault: register(( new EditorBooleanOption(
|
|
3590
|
+
)))),
|
|
3591
|
+
foldingImportsByDefault: register(( (new EditorBooleanOption(
|
|
4011
3592
|
46 ,
|
|
4012
3593
|
'foldingImportsByDefault',
|
|
4013
3594
|
false,
|
|
4014
3595
|
{ description: ( localizeWithPath(
|
|
4015
|
-
|
|
4016
|
-
|
|
3596
|
+
_moduleId,
|
|
3597
|
+
276,
|
|
4017
3598
|
"Controls whether the editor automatically collapses import ranges."
|
|
4018
3599
|
)) }
|
|
4019
|
-
))),
|
|
4020
|
-
foldingMaximumRegions: register(( new EditorIntOption(
|
|
3600
|
+
)))),
|
|
3601
|
+
foldingMaximumRegions: register(( (new EditorIntOption(
|
|
4021
3602
|
47 ,
|
|
4022
3603
|
'foldingMaximumRegions',
|
|
4023
3604
|
5000,
|
|
4024
3605
|
10,
|
|
4025
3606
|
65000,
|
|
4026
3607
|
{ description: ( localizeWithPath(
|
|
4027
|
-
|
|
4028
|
-
|
|
3608
|
+
_moduleId,
|
|
3609
|
+
277,
|
|
4029
3610
|
"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."
|
|
4030
3611
|
)) }
|
|
4031
|
-
))),
|
|
4032
|
-
unfoldOnClickAfterEndOfLine: register(( new EditorBooleanOption(
|
|
3612
|
+
)))),
|
|
3613
|
+
unfoldOnClickAfterEndOfLine: register(( (new EditorBooleanOption(
|
|
4033
3614
|
48 ,
|
|
4034
3615
|
'unfoldOnClickAfterEndOfLine',
|
|
4035
3616
|
false,
|
|
4036
3617
|
{ description: ( localizeWithPath(
|
|
4037
|
-
|
|
4038
|
-
|
|
3618
|
+
_moduleId,
|
|
3619
|
+
278,
|
|
4039
3620
|
"Controls whether clicking on the empty content after a folded line will unfold the line."
|
|
4040
3621
|
)) }
|
|
4041
|
-
))),
|
|
4042
|
-
fontFamily: register(( new EditorStringOption(
|
|
3622
|
+
)))),
|
|
3623
|
+
fontFamily: register(( (new EditorStringOption(
|
|
4043
3624
|
49 ,
|
|
4044
3625
|
'fontFamily',
|
|
4045
3626
|
EDITOR_FONT_DEFAULTS.fontFamily,
|
|
4046
|
-
{ description: ( localizeWithPath(
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
))),
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
fontSize: register(( new EditorFontSize())),
|
|
4055
|
-
fontWeight: register(( new EditorFontWeight())),
|
|
4056
|
-
fontVariations: register(( new EditorFontVariations())),
|
|
4057
|
-
formatOnPaste: register(( new EditorBooleanOption(
|
|
3627
|
+
{ description: ( localizeWithPath(_moduleId, 279, "Controls the font family.")) }
|
|
3628
|
+
)))),
|
|
3629
|
+
fontInfo: register(( (new EditorFontInfo()))),
|
|
3630
|
+
fontLigatures2: register(( (new EditorFontLigatures()))),
|
|
3631
|
+
fontSize: register(( (new EditorFontSize()))),
|
|
3632
|
+
fontWeight: register(( (new EditorFontWeight()))),
|
|
3633
|
+
fontVariations: register(( (new EditorFontVariations()))),
|
|
3634
|
+
formatOnPaste: register(( (new EditorBooleanOption(
|
|
4058
3635
|
55 ,
|
|
4059
3636
|
'formatOnPaste',
|
|
4060
3637
|
false,
|
|
4061
3638
|
{ description: ( localizeWithPath(
|
|
4062
|
-
|
|
4063
|
-
|
|
3639
|
+
_moduleId,
|
|
3640
|
+
280,
|
|
4064
3641
|
"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."
|
|
4065
3642
|
)) }
|
|
4066
|
-
))),
|
|
4067
|
-
formatOnType: register(( new EditorBooleanOption(
|
|
3643
|
+
)))),
|
|
3644
|
+
formatOnType: register(( (new EditorBooleanOption(
|
|
4068
3645
|
56 ,
|
|
4069
3646
|
'formatOnType',
|
|
4070
3647
|
false,
|
|
4071
3648
|
{ description: ( localizeWithPath(
|
|
4072
|
-
|
|
4073
|
-
|
|
3649
|
+
_moduleId,
|
|
3650
|
+
281,
|
|
4074
3651
|
"Controls whether the editor should automatically format the line after typing."
|
|
4075
3652
|
)) }
|
|
4076
|
-
))),
|
|
4077
|
-
glyphMargin: register(( new EditorBooleanOption(
|
|
3653
|
+
)))),
|
|
3654
|
+
glyphMargin: register(( (new EditorBooleanOption(
|
|
4078
3655
|
57 ,
|
|
4079
3656
|
'glyphMargin',
|
|
4080
3657
|
true,
|
|
4081
3658
|
{ description: ( localizeWithPath(
|
|
4082
|
-
|
|
4083
|
-
|
|
3659
|
+
_moduleId,
|
|
3660
|
+
282,
|
|
4084
3661
|
"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
|
|
4085
3662
|
)) }
|
|
4086
|
-
))),
|
|
4087
|
-
gotoLocation: register(( new EditorGoToLocation())),
|
|
4088
|
-
hideCursorInOverviewRuler: register(( new EditorBooleanOption(
|
|
3663
|
+
)))),
|
|
3664
|
+
gotoLocation: register(( (new EditorGoToLocation()))),
|
|
3665
|
+
hideCursorInOverviewRuler: register(( (new EditorBooleanOption(
|
|
4089
3666
|
59 ,
|
|
4090
3667
|
'hideCursorInOverviewRuler',
|
|
4091
3668
|
false,
|
|
4092
3669
|
{ description: ( localizeWithPath(
|
|
4093
|
-
|
|
4094
|
-
|
|
3670
|
+
_moduleId,
|
|
3671
|
+
283,
|
|
4095
3672
|
"Controls whether the cursor should be hidden in the overview ruler."
|
|
4096
3673
|
)) }
|
|
4097
|
-
))),
|
|
4098
|
-
hover: register(( new EditorHover())),
|
|
4099
|
-
inDiffEditor: register(( new EditorBooleanOption(61 , 'inDiffEditor', false))),
|
|
4100
|
-
letterSpacing: register(( new EditorFloatOption(
|
|
3674
|
+
)))),
|
|
3675
|
+
hover: register(( (new EditorHover()))),
|
|
3676
|
+
inDiffEditor: register(( (new EditorBooleanOption(61 , 'inDiffEditor', false)))),
|
|
3677
|
+
letterSpacing: register(( (new EditorFloatOption(
|
|
4101
3678
|
64 ,
|
|
4102
3679
|
'letterSpacing',
|
|
4103
3680
|
EDITOR_FONT_DEFAULTS.letterSpacing,
|
|
4104
3681
|
x => EditorFloatOption.clamp(x, -5, 20),
|
|
4105
|
-
{ description: ( localizeWithPath(
|
|
4106
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
4110
|
-
))),
|
|
4111
|
-
|
|
4112
|
-
lineDecorationsWidth: register(( new EditorLineDecorationsWidth())),
|
|
4113
|
-
lineHeight: register(( new EditorLineHeight())),
|
|
4114
|
-
lineNumbers: register(( new EditorRenderLineNumbersOption())),
|
|
4115
|
-
lineNumbersMinChars: register(( new EditorIntOption(
|
|
3682
|
+
{ description: ( localizeWithPath(_moduleId, 284, "Controls the letter spacing in pixels.")) }
|
|
3683
|
+
)))),
|
|
3684
|
+
lightbulb: register(( (new EditorLightbulb()))),
|
|
3685
|
+
lineDecorationsWidth: register(( (new EditorLineDecorationsWidth()))),
|
|
3686
|
+
lineHeight: register(( (new EditorLineHeight()))),
|
|
3687
|
+
lineNumbers: register(( (new EditorRenderLineNumbersOption()))),
|
|
3688
|
+
lineNumbersMinChars: register(( (new EditorIntOption(
|
|
4116
3689
|
69 ,
|
|
4117
3690
|
'lineNumbersMinChars',
|
|
4118
3691
|
5,
|
|
4119
3692
|
1,
|
|
4120
3693
|
300
|
|
4121
|
-
))),
|
|
4122
|
-
linkedEditing: register(( new EditorBooleanOption(
|
|
3694
|
+
)))),
|
|
3695
|
+
linkedEditing: register(( (new EditorBooleanOption(
|
|
4123
3696
|
70 ,
|
|
4124
3697
|
'linkedEditing',
|
|
4125
3698
|
false,
|
|
4126
3699
|
{ description: ( localizeWithPath(
|
|
4127
|
-
|
|
4128
|
-
|
|
3700
|
+
_moduleId,
|
|
3701
|
+
285,
|
|
4129
3702
|
"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
|
|
4130
3703
|
)) }
|
|
4131
|
-
))),
|
|
4132
|
-
links: register(( new EditorBooleanOption(71 , 'links', true, { description: ( localizeWithPath(
|
|
4133
|
-
|
|
4134
|
-
|
|
3704
|
+
)))),
|
|
3705
|
+
links: register(( (new EditorBooleanOption(71 , 'links', true, { description: ( localizeWithPath(
|
|
3706
|
+
_moduleId,
|
|
3707
|
+
286,
|
|
4135
3708
|
"Controls whether the editor should detect links and make them clickable."
|
|
4136
|
-
)) }))),
|
|
4137
|
-
matchBrackets: register(( new EditorStringEnumOption(
|
|
3709
|
+
)) })))),
|
|
3710
|
+
matchBrackets: register(( (new EditorStringEnumOption(
|
|
4138
3711
|
72 ,
|
|
4139
3712
|
'matchBrackets',
|
|
4140
3713
|
'always',
|
|
4141
3714
|
['always', 'near', 'never'],
|
|
4142
|
-
{ description: ( localizeWithPath(
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
)) }
|
|
4147
|
-
))),
|
|
4148
|
-
minimap: register(( new EditorMinimap())),
|
|
4149
|
-
mouseStyle: register(( new EditorStringEnumOption(
|
|
3715
|
+
{ description: ( localizeWithPath(_moduleId, 287, "Highlight matching brackets.")) }
|
|
3716
|
+
)))),
|
|
3717
|
+
minimap: register(( (new EditorMinimap()))),
|
|
3718
|
+
mouseStyle: register(( (new EditorStringEnumOption(
|
|
4150
3719
|
74 ,
|
|
4151
3720
|
'mouseStyle',
|
|
4152
3721
|
'text',
|
|
4153
3722
|
['text', 'default', 'copy']
|
|
4154
|
-
))),
|
|
4155
|
-
mouseWheelScrollSensitivity: register(( new EditorFloatOption(
|
|
3723
|
+
)))),
|
|
3724
|
+
mouseWheelScrollSensitivity: register(( (new EditorFloatOption(
|
|
4156
3725
|
75 ,
|
|
4157
3726
|
'mouseWheelScrollSensitivity',
|
|
4158
3727
|
1,
|
|
4159
3728
|
x => (x === 0 ? 1 : x),
|
|
4160
3729
|
{ markdownDescription: ( localizeWithPath(
|
|
4161
|
-
|
|
4162
|
-
|
|
3730
|
+
_moduleId,
|
|
3731
|
+
288,
|
|
4163
3732
|
"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
|
|
4164
3733
|
)) }
|
|
4165
|
-
))),
|
|
4166
|
-
mouseWheelZoom: register(( new EditorBooleanOption(76 , 'mouseWheelZoom', false, {
|
|
3734
|
+
)))),
|
|
3735
|
+
mouseWheelZoom: register(( (new EditorBooleanOption(76 , 'mouseWheelZoom', false, {
|
|
4167
3736
|
markdownDescription: isMacintosh
|
|
4168
3737
|
? ( localizeWithPath(
|
|
4169
|
-
|
|
4170
|
-
|
|
3738
|
+
_moduleId,
|
|
3739
|
+
289,
|
|
4171
3740
|
"Zoom the font of the editor when using mouse wheel and holding `Cmd`."
|
|
4172
3741
|
))
|
|
4173
3742
|
: ( localizeWithPath(
|
|
4174
|
-
|
|
4175
|
-
|
|
3743
|
+
_moduleId,
|
|
3744
|
+
290,
|
|
4176
3745
|
"Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
|
|
4177
3746
|
))
|
|
4178
|
-
}))),
|
|
4179
|
-
multiCursorMergeOverlapping: register(( new EditorBooleanOption(
|
|
3747
|
+
})))),
|
|
3748
|
+
multiCursorMergeOverlapping: register(( (new EditorBooleanOption(
|
|
4180
3749
|
77 ,
|
|
4181
3750
|
'multiCursorMergeOverlapping',
|
|
4182
3751
|
true,
|
|
4183
|
-
{ description: ( localizeWithPath(
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
"Merge multiple cursors when they are overlapping."
|
|
4187
|
-
)) }
|
|
4188
|
-
))),
|
|
4189
|
-
multiCursorModifier: register(( new EditorEnumOption(
|
|
3752
|
+
{ description: ( localizeWithPath(_moduleId, 291, "Merge multiple cursors when they are overlapping.")) }
|
|
3753
|
+
)))),
|
|
3754
|
+
multiCursorModifier: register(( (new EditorEnumOption(
|
|
4190
3755
|
78 ,
|
|
4191
3756
|
'multiCursorModifier',
|
|
4192
3757
|
'altKey',
|
|
@@ -4196,51 +3761,41 @@ const EditorOptions = {
|
|
|
4196
3761
|
{
|
|
4197
3762
|
markdownEnumDescriptions: [
|
|
4198
3763
|
( localizeWithPath(
|
|
4199
|
-
|
|
4200
|
-
|
|
3764
|
+
_moduleId,
|
|
3765
|
+
292,
|
|
4201
3766
|
"Maps to `Control` on Windows and Linux and to `Command` on macOS."
|
|
4202
3767
|
)),
|
|
4203
3768
|
( localizeWithPath(
|
|
4204
|
-
|
|
4205
|
-
|
|
3769
|
+
_moduleId,
|
|
3770
|
+
293,
|
|
4206
3771
|
"Maps to `Alt` on Windows and Linux and to `Option` on macOS."
|
|
4207
3772
|
))
|
|
4208
3773
|
],
|
|
4209
|
-
markdownDescription: ( localizeWithPath(
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
]
|
|
4215
|
-
}, "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)."))
|
|
3774
|
+
markdownDescription: ( localizeWithPath(
|
|
3775
|
+
_moduleId,
|
|
3776
|
+
294,
|
|
3777
|
+
"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)."
|
|
3778
|
+
))
|
|
4216
3779
|
}
|
|
4217
|
-
))),
|
|
4218
|
-
multiCursorPaste: register(( new EditorStringEnumOption(
|
|
3780
|
+
)))),
|
|
3781
|
+
multiCursorPaste: register(( (new EditorStringEnumOption(
|
|
4219
3782
|
79 ,
|
|
4220
3783
|
'multiCursorPaste',
|
|
4221
3784
|
'spread',
|
|
4222
3785
|
['spread', 'full'],
|
|
4223
3786
|
{
|
|
4224
3787
|
markdownEnumDescriptions: [
|
|
4225
|
-
( localizeWithPath(
|
|
4226
|
-
|
|
4227
|
-
'multiCursorPaste.spread',
|
|
4228
|
-
"Each cursor pastes a single line of the text."
|
|
4229
|
-
)),
|
|
4230
|
-
( localizeWithPath(
|
|
4231
|
-
'vs/editor/common/config/editorOptions',
|
|
4232
|
-
'multiCursorPaste.full',
|
|
4233
|
-
"Each cursor pastes the full text."
|
|
4234
|
-
))
|
|
3788
|
+
( localizeWithPath(_moduleId, 295, "Each cursor pastes a single line of the text.")),
|
|
3789
|
+
( localizeWithPath(_moduleId, 296, "Each cursor pastes the full text."))
|
|
4235
3790
|
],
|
|
4236
3791
|
markdownDescription: ( localizeWithPath(
|
|
4237
|
-
|
|
4238
|
-
|
|
3792
|
+
_moduleId,
|
|
3793
|
+
297,
|
|
4239
3794
|
"Controls pasting when the line count of the pasted text matches the cursor count."
|
|
4240
3795
|
))
|
|
4241
3796
|
}
|
|
4242
|
-
))),
|
|
4243
|
-
multiCursorLimit: register(( new EditorIntOption(
|
|
3797
|
+
)))),
|
|
3798
|
+
multiCursorLimit: register(( (new EditorIntOption(
|
|
4244
3799
|
80 ,
|
|
4245
3800
|
'multiCursorLimit',
|
|
4246
3801
|
10000,
|
|
@@ -4248,142 +3803,118 @@ const EditorOptions = {
|
|
|
4248
3803
|
100000,
|
|
4249
3804
|
{
|
|
4250
3805
|
markdownDescription: ( localizeWithPath(
|
|
4251
|
-
|
|
4252
|
-
|
|
3806
|
+
_moduleId,
|
|
3807
|
+
298,
|
|
4253
3808
|
"Controls the max number of cursors that can be in an active editor at once."
|
|
4254
3809
|
))
|
|
4255
3810
|
}
|
|
4256
|
-
))),
|
|
4257
|
-
occurrencesHighlight: register(( new EditorStringEnumOption(
|
|
3811
|
+
)))),
|
|
3812
|
+
occurrencesHighlight: register(( (new EditorStringEnumOption(
|
|
4258
3813
|
81 ,
|
|
4259
3814
|
'occurrencesHighlight',
|
|
4260
3815
|
'singleFile',
|
|
4261
3816
|
['off', 'singleFile', 'multiFile'],
|
|
4262
3817
|
{
|
|
4263
3818
|
markdownEnumDescriptions: [
|
|
3819
|
+
( localizeWithPath(_moduleId, 299, "Does not highlight occurrences.")),
|
|
3820
|
+
( localizeWithPath(_moduleId, 300, "Highlights occurrences only in the current file.")),
|
|
4264
3821
|
( localizeWithPath(
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
"Does not highlight occurrences."
|
|
4268
|
-
)),
|
|
4269
|
-
( localizeWithPath(
|
|
4270
|
-
'vs/editor/common/config/editorOptions',
|
|
4271
|
-
'occurrencesHighlight.singleFile',
|
|
4272
|
-
"Highlights occurrences only in the current file."
|
|
4273
|
-
)),
|
|
4274
|
-
( localizeWithPath(
|
|
4275
|
-
'vs/editor/common/config/editorOptions',
|
|
4276
|
-
'occurrencesHighlight.multiFile',
|
|
3822
|
+
_moduleId,
|
|
3823
|
+
301,
|
|
4277
3824
|
"Experimental: Highlights occurrences across all valid open files."
|
|
4278
3825
|
))
|
|
4279
3826
|
],
|
|
4280
3827
|
markdownDescription: ( localizeWithPath(
|
|
4281
|
-
|
|
4282
|
-
|
|
3828
|
+
_moduleId,
|
|
3829
|
+
302,
|
|
4283
3830
|
"Controls whether occurrences should be highlighted across open files."
|
|
4284
3831
|
))
|
|
4285
3832
|
}
|
|
4286
|
-
))),
|
|
4287
|
-
overviewRulerBorder: register(( new EditorBooleanOption(
|
|
3833
|
+
)))),
|
|
3834
|
+
overviewRulerBorder: register(( (new EditorBooleanOption(
|
|
4288
3835
|
82 ,
|
|
4289
3836
|
'overviewRulerBorder',
|
|
4290
3837
|
true,
|
|
4291
3838
|
{ description: ( localizeWithPath(
|
|
4292
|
-
|
|
4293
|
-
|
|
3839
|
+
_moduleId,
|
|
3840
|
+
303,
|
|
4294
3841
|
"Controls whether a border should be drawn around the overview ruler."
|
|
4295
3842
|
)) }
|
|
4296
|
-
))),
|
|
4297
|
-
overviewRulerLanes: register(( new EditorIntOption(83 , 'overviewRulerLanes', 3, 0, 3))),
|
|
4298
|
-
padding: register(( new EditorPadding())),
|
|
4299
|
-
pasteAs: register(( new EditorPasteAs())),
|
|
4300
|
-
parameterHints: register(( new EditorParameterHints())),
|
|
4301
|
-
peekWidgetDefaultFocus: register(( new EditorStringEnumOption(
|
|
3843
|
+
)))),
|
|
3844
|
+
overviewRulerLanes: register(( (new EditorIntOption(83 , 'overviewRulerLanes', 3, 0, 3)))),
|
|
3845
|
+
padding: register(( (new EditorPadding()))),
|
|
3846
|
+
pasteAs: register(( (new EditorPasteAs()))),
|
|
3847
|
+
parameterHints: register(( (new EditorParameterHints()))),
|
|
3848
|
+
peekWidgetDefaultFocus: register(( (new EditorStringEnumOption(
|
|
4302
3849
|
87 ,
|
|
4303
3850
|
'peekWidgetDefaultFocus',
|
|
4304
3851
|
'tree',
|
|
4305
3852
|
['tree', 'editor'],
|
|
4306
3853
|
{
|
|
4307
3854
|
enumDescriptions: [
|
|
4308
|
-
( localizeWithPath(
|
|
4309
|
-
|
|
4310
|
-
'peekWidgetDefaultFocus.tree',
|
|
4311
|
-
"Focus the tree when opening peek"
|
|
4312
|
-
)),
|
|
4313
|
-
( localizeWithPath(
|
|
4314
|
-
'vs/editor/common/config/editorOptions',
|
|
4315
|
-
'peekWidgetDefaultFocus.editor',
|
|
4316
|
-
"Focus the editor when opening peek"
|
|
4317
|
-
))
|
|
3855
|
+
( localizeWithPath(_moduleId, 304, "Focus the tree when opening peek")),
|
|
3856
|
+
( localizeWithPath(_moduleId, 305, "Focus the editor when opening peek"))
|
|
4318
3857
|
],
|
|
4319
3858
|
description: ( localizeWithPath(
|
|
4320
|
-
|
|
4321
|
-
|
|
3859
|
+
_moduleId,
|
|
3860
|
+
306,
|
|
4322
3861
|
"Controls whether to focus the inline editor or the tree in the peek widget."
|
|
4323
3862
|
))
|
|
4324
3863
|
}
|
|
4325
|
-
))),
|
|
4326
|
-
definitionLinkOpensInPeek: register(( new EditorBooleanOption(
|
|
3864
|
+
)))),
|
|
3865
|
+
definitionLinkOpensInPeek: register(( (new EditorBooleanOption(
|
|
4327
3866
|
88 ,
|
|
4328
3867
|
'definitionLinkOpensInPeek',
|
|
4329
3868
|
false,
|
|
4330
3869
|
{ description: ( localizeWithPath(
|
|
4331
|
-
|
|
4332
|
-
|
|
3870
|
+
_moduleId,
|
|
3871
|
+
307,
|
|
4333
3872
|
"Controls whether the Go to Definition mouse gesture always opens the peek widget."
|
|
4334
3873
|
)) }
|
|
4335
|
-
))),
|
|
4336
|
-
quickSuggestions: register(( new EditorQuickSuggestions())),
|
|
4337
|
-
quickSuggestionsDelay: register(( new EditorIntOption(
|
|
3874
|
+
)))),
|
|
3875
|
+
quickSuggestions: register(( (new EditorQuickSuggestions()))),
|
|
3876
|
+
quickSuggestionsDelay: register(( (new EditorIntOption(
|
|
4338
3877
|
90 ,
|
|
4339
3878
|
'quickSuggestionsDelay',
|
|
4340
3879
|
10,
|
|
4341
3880
|
0,
|
|
4342
3881
|
1073741824 ,
|
|
4343
3882
|
{ description: ( localizeWithPath(
|
|
4344
|
-
|
|
4345
|
-
|
|
3883
|
+
_moduleId,
|
|
3884
|
+
308,
|
|
4346
3885
|
"Controls the delay in milliseconds after which quick suggestions will show up."
|
|
4347
3886
|
)) }
|
|
4348
|
-
))),
|
|
4349
|
-
readOnly: register(( new EditorBooleanOption(91 , 'readOnly', false))),
|
|
4350
|
-
readOnlyMessage: register(( new ReadonlyMessage())),
|
|
4351
|
-
renameOnType: register(( new EditorBooleanOption(
|
|
3887
|
+
)))),
|
|
3888
|
+
readOnly: register(( (new EditorBooleanOption(91 , 'readOnly', false)))),
|
|
3889
|
+
readOnlyMessage: register(( (new ReadonlyMessage()))),
|
|
3890
|
+
renameOnType: register(( (new EditorBooleanOption(
|
|
4352
3891
|
93 ,
|
|
4353
3892
|
'renameOnType',
|
|
4354
3893
|
false,
|
|
4355
|
-
{ description: ( localizeWithPath(
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
"Controls whether the editor auto renames on type."
|
|
4359
|
-
)), markdownDeprecationMessage: ( localizeWithPath(
|
|
4360
|
-
'vs/editor/common/config/editorOptions',
|
|
4361
|
-
'renameOnTypeDeprecate',
|
|
4362
|
-
"Deprecated, use `editor.linkedEditing` instead."
|
|
4363
|
-
)) }
|
|
4364
|
-
))),
|
|
4365
|
-
renderControlCharacters: register(( new EditorBooleanOption(
|
|
3894
|
+
{ description: ( localizeWithPath(_moduleId, 309, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localizeWithPath(_moduleId, 310, "Deprecated, use `editor.linkedEditing` instead.")) }
|
|
3895
|
+
)))),
|
|
3896
|
+
renderControlCharacters: register(( (new EditorBooleanOption(
|
|
4366
3897
|
94 ,
|
|
4367
3898
|
'renderControlCharacters',
|
|
4368
3899
|
true,
|
|
4369
3900
|
{ description: ( localizeWithPath(
|
|
4370
|
-
|
|
4371
|
-
|
|
3901
|
+
_moduleId,
|
|
3902
|
+
311,
|
|
4372
3903
|
"Controls whether the editor should render control characters."
|
|
4373
3904
|
)), restricted: true }
|
|
4374
|
-
))),
|
|
4375
|
-
renderFinalNewline: register(( new EditorStringEnumOption(
|
|
3905
|
+
)))),
|
|
3906
|
+
renderFinalNewline: register(( (new EditorStringEnumOption(
|
|
4376
3907
|
95 ,
|
|
4377
3908
|
'renderFinalNewline',
|
|
4378
3909
|
(isLinux ? 'dimmed' : 'on'),
|
|
4379
3910
|
['off', 'on', 'dimmed'],
|
|
4380
3911
|
{ description: ( localizeWithPath(
|
|
4381
|
-
|
|
4382
|
-
|
|
3912
|
+
_moduleId,
|
|
3913
|
+
312,
|
|
4383
3914
|
"Render last line number when the file ends with a newline."
|
|
4384
3915
|
)) }
|
|
4385
|
-
))),
|
|
4386
|
-
renderLineHighlight: register(( new EditorStringEnumOption(
|
|
3916
|
+
)))),
|
|
3917
|
+
renderLineHighlight: register(( (new EditorStringEnumOption(
|
|
4387
3918
|
96 ,
|
|
4388
3919
|
'renderLineHighlight',
|
|
4389
3920
|
'line',
|
|
@@ -4393,36 +3924,32 @@ const EditorOptions = {
|
|
|
4393
3924
|
'',
|
|
4394
3925
|
'',
|
|
4395
3926
|
'',
|
|
4396
|
-
( localizeWithPath(
|
|
4397
|
-
'vs/editor/common/config/editorOptions',
|
|
4398
|
-
'renderLineHighlight.all',
|
|
4399
|
-
"Highlights both the gutter and the current line."
|
|
4400
|
-
)),
|
|
3927
|
+
( localizeWithPath(_moduleId, 313, "Highlights both the gutter and the current line.")),
|
|
4401
3928
|
],
|
|
4402
3929
|
description: ( localizeWithPath(
|
|
4403
|
-
|
|
4404
|
-
|
|
3930
|
+
_moduleId,
|
|
3931
|
+
314,
|
|
4405
3932
|
"Controls how the editor should render the current line highlight."
|
|
4406
3933
|
))
|
|
4407
3934
|
}
|
|
4408
|
-
))),
|
|
4409
|
-
renderLineHighlightOnlyWhenFocus: register(( new EditorBooleanOption(
|
|
3935
|
+
)))),
|
|
3936
|
+
renderLineHighlightOnlyWhenFocus: register(( (new EditorBooleanOption(
|
|
4410
3937
|
97 ,
|
|
4411
3938
|
'renderLineHighlightOnlyWhenFocus',
|
|
4412
3939
|
false,
|
|
4413
3940
|
{ description: ( localizeWithPath(
|
|
4414
|
-
|
|
4415
|
-
|
|
3941
|
+
_moduleId,
|
|
3942
|
+
315,
|
|
4416
3943
|
"Controls if the editor should render the current line highlight only when the editor is focused."
|
|
4417
3944
|
)) }
|
|
4418
|
-
))),
|
|
4419
|
-
renderValidationDecorations: register(( new EditorStringEnumOption(
|
|
3945
|
+
)))),
|
|
3946
|
+
renderValidationDecorations: register(( (new EditorStringEnumOption(
|
|
4420
3947
|
98 ,
|
|
4421
3948
|
'renderValidationDecorations',
|
|
4422
3949
|
'editable',
|
|
4423
3950
|
['editable', 'on', 'off']
|
|
4424
|
-
))),
|
|
4425
|
-
renderWhitespace: register(( new EditorStringEnumOption(
|
|
3951
|
+
)))),
|
|
3952
|
+
renderWhitespace: register(( (new EditorStringEnumOption(
|
|
4426
3953
|
99 ,
|
|
4427
3954
|
'renderWhitespace',
|
|
4428
3955
|
'selection',
|
|
@@ -4431,285 +3958,241 @@ const EditorOptions = {
|
|
|
4431
3958
|
enumDescriptions: [
|
|
4432
3959
|
'',
|
|
4433
3960
|
( localizeWithPath(
|
|
4434
|
-
|
|
4435
|
-
|
|
3961
|
+
_moduleId,
|
|
3962
|
+
316,
|
|
4436
3963
|
"Render whitespace characters except for single spaces between words."
|
|
4437
3964
|
)),
|
|
4438
|
-
( localizeWithPath(
|
|
4439
|
-
|
|
4440
|
-
'renderWhitespace.selection',
|
|
4441
|
-
"Render whitespace characters only on selected text."
|
|
4442
|
-
)),
|
|
4443
|
-
( localizeWithPath(
|
|
4444
|
-
'vs/editor/common/config/editorOptions',
|
|
4445
|
-
'renderWhitespace.trailing',
|
|
4446
|
-
"Render only trailing whitespace characters."
|
|
4447
|
-
)),
|
|
3965
|
+
( localizeWithPath(_moduleId, 317, "Render whitespace characters only on selected text.")),
|
|
3966
|
+
( localizeWithPath(_moduleId, 318, "Render only trailing whitespace characters.")),
|
|
4448
3967
|
''
|
|
4449
3968
|
],
|
|
4450
3969
|
description: ( localizeWithPath(
|
|
4451
|
-
|
|
4452
|
-
|
|
3970
|
+
_moduleId,
|
|
3971
|
+
319,
|
|
4453
3972
|
"Controls how the editor should render whitespace characters."
|
|
4454
3973
|
))
|
|
4455
3974
|
}
|
|
4456
|
-
))),
|
|
4457
|
-
revealHorizontalRightPadding: register(( new EditorIntOption(
|
|
3975
|
+
)))),
|
|
3976
|
+
revealHorizontalRightPadding: register(( (new EditorIntOption(
|
|
4458
3977
|
100 ,
|
|
4459
3978
|
'revealHorizontalRightPadding',
|
|
4460
3979
|
15,
|
|
4461
3980
|
0,
|
|
4462
3981
|
1000
|
|
4463
|
-
))),
|
|
4464
|
-
roundedSelection: register(( new EditorBooleanOption(
|
|
3982
|
+
)))),
|
|
3983
|
+
roundedSelection: register(( (new EditorBooleanOption(
|
|
4465
3984
|
101 ,
|
|
4466
3985
|
'roundedSelection',
|
|
4467
3986
|
true,
|
|
4468
|
-
{ description: ( localizeWithPath(
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
))),
|
|
4474
|
-
rulers: register(( new EditorRulers())),
|
|
4475
|
-
scrollbar: register(( new EditorScrollbar())),
|
|
4476
|
-
scrollBeyondLastColumn: register(( new EditorIntOption(
|
|
3987
|
+
{ description: ( localizeWithPath(_moduleId, 320, "Controls whether selections should have rounded corners.")) }
|
|
3988
|
+
)))),
|
|
3989
|
+
rulers: register(( (new EditorRulers()))),
|
|
3990
|
+
scrollbar: register(( (new EditorScrollbar()))),
|
|
3991
|
+
scrollBeyondLastColumn: register(( (new EditorIntOption(
|
|
4477
3992
|
104 ,
|
|
4478
3993
|
'scrollBeyondLastColumn',
|
|
4479
3994
|
4,
|
|
4480
3995
|
0,
|
|
4481
3996
|
1073741824 ,
|
|
4482
3997
|
{ description: ( localizeWithPath(
|
|
4483
|
-
|
|
4484
|
-
|
|
3998
|
+
_moduleId,
|
|
3999
|
+
321,
|
|
4485
4000
|
"Controls the number of extra characters beyond which the editor will scroll horizontally."
|
|
4486
4001
|
)) }
|
|
4487
|
-
))),
|
|
4488
|
-
scrollBeyondLastLine: register(( new EditorBooleanOption(
|
|
4002
|
+
)))),
|
|
4003
|
+
scrollBeyondLastLine: register(( (new EditorBooleanOption(
|
|
4489
4004
|
105 ,
|
|
4490
4005
|
'scrollBeyondLastLine',
|
|
4491
4006
|
true,
|
|
4492
4007
|
{ description: ( localizeWithPath(
|
|
4493
|
-
|
|
4494
|
-
|
|
4008
|
+
_moduleId,
|
|
4009
|
+
322,
|
|
4495
4010
|
"Controls whether the editor will scroll beyond the last line."
|
|
4496
4011
|
)) }
|
|
4497
|
-
))),
|
|
4498
|
-
scrollPredominantAxis: register(( new EditorBooleanOption(
|
|
4012
|
+
)))),
|
|
4013
|
+
scrollPredominantAxis: register(( (new EditorBooleanOption(
|
|
4499
4014
|
106 ,
|
|
4500
4015
|
'scrollPredominantAxis',
|
|
4501
4016
|
true,
|
|
4502
4017
|
{ description: ( localizeWithPath(
|
|
4503
|
-
|
|
4504
|
-
|
|
4018
|
+
_moduleId,
|
|
4019
|
+
323,
|
|
4505
4020
|
"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."
|
|
4506
4021
|
)) }
|
|
4507
|
-
))),
|
|
4508
|
-
selectionClipboard: register(( new EditorBooleanOption(107 , 'selectionClipboard', true, {
|
|
4022
|
+
)))),
|
|
4023
|
+
selectionClipboard: register(( (new EditorBooleanOption(107 , 'selectionClipboard', true, {
|
|
4509
4024
|
description: ( localizeWithPath(
|
|
4510
|
-
|
|
4511
|
-
|
|
4025
|
+
_moduleId,
|
|
4026
|
+
324,
|
|
4512
4027
|
"Controls whether the Linux primary clipboard should be supported."
|
|
4513
4028
|
)),
|
|
4514
4029
|
included: isLinux
|
|
4515
|
-
}))),
|
|
4516
|
-
selectionHighlight: register(( new EditorBooleanOption(
|
|
4030
|
+
})))),
|
|
4031
|
+
selectionHighlight: register(( (new EditorBooleanOption(
|
|
4517
4032
|
108 ,
|
|
4518
4033
|
'selectionHighlight',
|
|
4519
4034
|
true,
|
|
4520
4035
|
{ description: ( localizeWithPath(
|
|
4521
|
-
|
|
4522
|
-
|
|
4036
|
+
_moduleId,
|
|
4037
|
+
325,
|
|
4523
4038
|
"Controls whether the editor should highlight matches similar to the selection."
|
|
4524
4039
|
)) }
|
|
4525
|
-
))),
|
|
4526
|
-
selectOnLineNumbers: register(( new EditorBooleanOption(109 , 'selectOnLineNumbers', true))),
|
|
4527
|
-
showFoldingControls: register(( new EditorStringEnumOption(
|
|
4040
|
+
)))),
|
|
4041
|
+
selectOnLineNumbers: register(( (new EditorBooleanOption(109 , 'selectOnLineNumbers', true)))),
|
|
4042
|
+
showFoldingControls: register(( (new EditorStringEnumOption(
|
|
4528
4043
|
110 ,
|
|
4529
4044
|
'showFoldingControls',
|
|
4530
4045
|
'mouseover',
|
|
4531
4046
|
['always', 'never', 'mouseover'],
|
|
4532
4047
|
{
|
|
4533
4048
|
enumDescriptions: [
|
|
4049
|
+
( localizeWithPath(_moduleId, 326, "Always show the folding controls.")),
|
|
4534
4050
|
( localizeWithPath(
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
"Always show the folding controls."
|
|
4538
|
-
)),
|
|
4539
|
-
( localizeWithPath(
|
|
4540
|
-
'vs/editor/common/config/editorOptions',
|
|
4541
|
-
'showFoldingControls.never',
|
|
4051
|
+
_moduleId,
|
|
4052
|
+
327,
|
|
4542
4053
|
"Never show the folding controls and reduce the gutter size."
|
|
4543
4054
|
)),
|
|
4544
4055
|
( localizeWithPath(
|
|
4545
|
-
|
|
4546
|
-
|
|
4056
|
+
_moduleId,
|
|
4057
|
+
328,
|
|
4547
4058
|
"Only show the folding controls when the mouse is over the gutter."
|
|
4548
4059
|
)),
|
|
4549
4060
|
],
|
|
4550
4061
|
description: ( localizeWithPath(
|
|
4551
|
-
|
|
4552
|
-
|
|
4062
|
+
_moduleId,
|
|
4063
|
+
329,
|
|
4553
4064
|
"Controls when the folding controls on the gutter are shown."
|
|
4554
4065
|
))
|
|
4555
4066
|
}
|
|
4556
|
-
))),
|
|
4557
|
-
showUnused: register(( new EditorBooleanOption(
|
|
4067
|
+
)))),
|
|
4068
|
+
showUnused: register(( (new EditorBooleanOption(
|
|
4558
4069
|
111 ,
|
|
4559
4070
|
'showUnused',
|
|
4560
4071
|
true,
|
|
4561
|
-
{ description: ( localizeWithPath(
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
"Controls fading out of unused code."
|
|
4565
|
-
)) }
|
|
4566
|
-
))),
|
|
4567
|
-
showDeprecated: register(( new EditorBooleanOption(
|
|
4072
|
+
{ description: ( localizeWithPath(_moduleId, 330, "Controls fading out of unused code.")) }
|
|
4073
|
+
)))),
|
|
4074
|
+
showDeprecated: register(( (new EditorBooleanOption(
|
|
4568
4075
|
140 ,
|
|
4569
4076
|
'showDeprecated',
|
|
4570
4077
|
true,
|
|
4571
|
-
{ description: ( localizeWithPath(
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
)) }
|
|
4576
|
-
))),
|
|
4577
|
-
inlayHints: register(( new EditorInlayHints())),
|
|
4578
|
-
snippetSuggestions: register(( new EditorStringEnumOption(
|
|
4078
|
+
{ description: ( localizeWithPath(_moduleId, 331, "Controls strikethrough deprecated variables.")) }
|
|
4079
|
+
)))),
|
|
4080
|
+
inlayHints: register(( (new EditorInlayHints()))),
|
|
4081
|
+
snippetSuggestions: register(( (new EditorStringEnumOption(
|
|
4579
4082
|
112 ,
|
|
4580
4083
|
'snippetSuggestions',
|
|
4581
4084
|
'inline',
|
|
4582
4085
|
['top', 'bottom', 'inline', 'none'],
|
|
4583
4086
|
{
|
|
4584
4087
|
enumDescriptions: [
|
|
4585
|
-
( localizeWithPath(
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
)),
|
|
4590
|
-
( localizeWithPath(
|
|
4591
|
-
'vs/editor/common/config/editorOptions',
|
|
4592
|
-
'snippetSuggestions.bottom',
|
|
4593
|
-
"Show snippet suggestions below other suggestions."
|
|
4594
|
-
)),
|
|
4595
|
-
( localizeWithPath(
|
|
4596
|
-
'vs/editor/common/config/editorOptions',
|
|
4597
|
-
'snippetSuggestions.inline',
|
|
4598
|
-
"Show snippets suggestions with other suggestions."
|
|
4599
|
-
)),
|
|
4600
|
-
( localizeWithPath(
|
|
4601
|
-
'vs/editor/common/config/editorOptions',
|
|
4602
|
-
'snippetSuggestions.none',
|
|
4603
|
-
"Do not show snippet suggestions."
|
|
4604
|
-
)),
|
|
4088
|
+
( localizeWithPath(_moduleId, 332, "Show snippet suggestions on top of other suggestions.")),
|
|
4089
|
+
( localizeWithPath(_moduleId, 333, "Show snippet suggestions below other suggestions.")),
|
|
4090
|
+
( localizeWithPath(_moduleId, 334, "Show snippets suggestions with other suggestions.")),
|
|
4091
|
+
( localizeWithPath(_moduleId, 335, "Do not show snippet suggestions.")),
|
|
4605
4092
|
],
|
|
4606
4093
|
description: ( localizeWithPath(
|
|
4607
|
-
|
|
4608
|
-
|
|
4094
|
+
_moduleId,
|
|
4095
|
+
336,
|
|
4609
4096
|
"Controls whether snippets are shown with other suggestions and how they are sorted."
|
|
4610
4097
|
))
|
|
4611
4098
|
}
|
|
4612
|
-
))),
|
|
4613
|
-
smartSelect: register(( new SmartSelect())),
|
|
4614
|
-
smoothScrolling: register(( new EditorBooleanOption(
|
|
4099
|
+
)))),
|
|
4100
|
+
smartSelect: register(( (new SmartSelect()))),
|
|
4101
|
+
smoothScrolling: register(( (new EditorBooleanOption(
|
|
4615
4102
|
114 ,
|
|
4616
4103
|
'smoothScrolling',
|
|
4617
4104
|
false,
|
|
4618
4105
|
{ description: ( localizeWithPath(
|
|
4619
|
-
|
|
4620
|
-
|
|
4106
|
+
_moduleId,
|
|
4107
|
+
337,
|
|
4621
4108
|
"Controls whether the editor will scroll using an animation."
|
|
4622
4109
|
)) }
|
|
4623
|
-
))),
|
|
4624
|
-
stopRenderingLineAfter: register(( new EditorIntOption(
|
|
4110
|
+
)))),
|
|
4111
|
+
stopRenderingLineAfter: register(( (new EditorIntOption(
|
|
4625
4112
|
117 ,
|
|
4626
4113
|
'stopRenderingLineAfter',
|
|
4627
4114
|
10000,
|
|
4628
4115
|
-1,
|
|
4629
4116
|
1073741824
|
|
4630
|
-
))),
|
|
4631
|
-
suggest: register(( new EditorSuggest())),
|
|
4632
|
-
inlineSuggest: register(( new InlineEditorSuggest())),
|
|
4633
|
-
inlineEdit: register(( new InlineEditorEdit())),
|
|
4634
|
-
inlineCompletionsAccessibilityVerbose: register(( new EditorBooleanOption(
|
|
4117
|
+
)))),
|
|
4118
|
+
suggest: register(( (new EditorSuggest()))),
|
|
4119
|
+
inlineSuggest: register(( (new InlineEditorSuggest()))),
|
|
4120
|
+
inlineEdit: register(( (new InlineEditorEdit()))),
|
|
4121
|
+
inlineCompletionsAccessibilityVerbose: register(( (new EditorBooleanOption(
|
|
4635
4122
|
149 ,
|
|
4636
4123
|
'inlineCompletionsAccessibilityVerbose',
|
|
4637
4124
|
false,
|
|
4638
4125
|
{ description: ( localizeWithPath(
|
|
4639
|
-
|
|
4640
|
-
|
|
4126
|
+
_moduleId,
|
|
4127
|
+
338,
|
|
4641
4128
|
"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
|
|
4642
4129
|
)) }
|
|
4643
|
-
))),
|
|
4644
|
-
suggestFontSize: register(( new EditorIntOption(
|
|
4130
|
+
)))),
|
|
4131
|
+
suggestFontSize: register(( (new EditorIntOption(
|
|
4645
4132
|
119 ,
|
|
4646
4133
|
'suggestFontSize',
|
|
4647
4134
|
0,
|
|
4648
4135
|
0,
|
|
4649
4136
|
1000,
|
|
4650
4137
|
{ markdownDescription: ( localizeWithPath(
|
|
4651
|
-
|
|
4652
|
-
|
|
4138
|
+
_moduleId,
|
|
4139
|
+
339,
|
|
4653
4140
|
"Font size for the suggest widget. When set to {0}, the value of {1} is used.",
|
|
4654
4141
|
'`0`',
|
|
4655
4142
|
'`#editor.fontSize#`'
|
|
4656
4143
|
)) }
|
|
4657
|
-
))),
|
|
4658
|
-
suggestLineHeight: register(( new EditorIntOption(
|
|
4144
|
+
)))),
|
|
4145
|
+
suggestLineHeight: register(( (new EditorIntOption(
|
|
4659
4146
|
120 ,
|
|
4660
4147
|
'suggestLineHeight',
|
|
4661
4148
|
0,
|
|
4662
4149
|
0,
|
|
4663
4150
|
1000,
|
|
4664
4151
|
{ markdownDescription: ( localizeWithPath(
|
|
4665
|
-
|
|
4666
|
-
|
|
4152
|
+
_moduleId,
|
|
4153
|
+
340,
|
|
4667
4154
|
"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
|
|
4668
4155
|
'`0`',
|
|
4669
4156
|
'`#editor.lineHeight#`'
|
|
4670
4157
|
)) }
|
|
4671
|
-
))),
|
|
4672
|
-
suggestOnTriggerCharacters: register(( new EditorBooleanOption(
|
|
4158
|
+
)))),
|
|
4159
|
+
suggestOnTriggerCharacters: register(( (new EditorBooleanOption(
|
|
4673
4160
|
121 ,
|
|
4674
4161
|
'suggestOnTriggerCharacters',
|
|
4675
4162
|
true,
|
|
4676
4163
|
{ description: ( localizeWithPath(
|
|
4677
|
-
|
|
4678
|
-
|
|
4164
|
+
_moduleId,
|
|
4165
|
+
341,
|
|
4679
4166
|
"Controls whether suggestions should automatically show up when typing trigger characters."
|
|
4680
4167
|
)) }
|
|
4681
|
-
))),
|
|
4682
|
-
suggestSelection: register(( new EditorStringEnumOption(
|
|
4168
|
+
)))),
|
|
4169
|
+
suggestSelection: register(( (new EditorStringEnumOption(
|
|
4683
4170
|
122 ,
|
|
4684
4171
|
'suggestSelection',
|
|
4685
4172
|
'first',
|
|
4686
4173
|
['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
|
|
4687
4174
|
{
|
|
4688
4175
|
markdownEnumDescriptions: [
|
|
4176
|
+
( localizeWithPath(_moduleId, 342, "Always select the first suggestion.")),
|
|
4689
4177
|
( localizeWithPath(
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
"Always select the first suggestion."
|
|
4693
|
-
)),
|
|
4694
|
-
( localizeWithPath(
|
|
4695
|
-
'vs/editor/common/config/editorOptions',
|
|
4696
|
-
'suggestSelection.recentlyUsed',
|
|
4178
|
+
_moduleId,
|
|
4179
|
+
343,
|
|
4697
4180
|
"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
|
|
4698
4181
|
)),
|
|
4699
4182
|
( localizeWithPath(
|
|
4700
|
-
|
|
4701
|
-
|
|
4183
|
+
_moduleId,
|
|
4184
|
+
344,
|
|
4702
4185
|
"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
|
|
4703
4186
|
)),
|
|
4704
4187
|
],
|
|
4705
4188
|
description: ( localizeWithPath(
|
|
4706
|
-
|
|
4707
|
-
|
|
4189
|
+
_moduleId,
|
|
4190
|
+
345,
|
|
4708
4191
|
"Controls how suggestions are pre-selected when showing the suggest list."
|
|
4709
4192
|
))
|
|
4710
4193
|
}
|
|
4711
|
-
))),
|
|
4712
|
-
tabCompletion: register(( new EditorStringEnumOption(
|
|
4194
|
+
)))),
|
|
4195
|
+
tabCompletion: register(( (new EditorStringEnumOption(
|
|
4713
4196
|
123 ,
|
|
4714
4197
|
'tabCompletion',
|
|
4715
4198
|
'off',
|
|
@@ -4717,216 +4200,169 @@ const EditorOptions = {
|
|
|
4717
4200
|
{
|
|
4718
4201
|
enumDescriptions: [
|
|
4719
4202
|
( localizeWithPath(
|
|
4720
|
-
|
|
4721
|
-
|
|
4203
|
+
_moduleId,
|
|
4204
|
+
346,
|
|
4722
4205
|
"Tab complete will insert the best matching suggestion when pressing tab."
|
|
4723
4206
|
)),
|
|
4207
|
+
( localizeWithPath(_moduleId, 347, "Disable tab completions.")),
|
|
4724
4208
|
( localizeWithPath(
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
"Disable tab completions."
|
|
4728
|
-
)),
|
|
4729
|
-
( localizeWithPath(
|
|
4730
|
-
'vs/editor/common/config/editorOptions',
|
|
4731
|
-
'tabCompletion.onlySnippets',
|
|
4209
|
+
_moduleId,
|
|
4210
|
+
348,
|
|
4732
4211
|
"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
|
|
4733
4212
|
)),
|
|
4734
4213
|
],
|
|
4735
|
-
description: ( localizeWithPath(
|
|
4736
|
-
'vs/editor/common/config/editorOptions',
|
|
4737
|
-
'tabCompletion',
|
|
4738
|
-
"Enables tab completions."
|
|
4739
|
-
))
|
|
4214
|
+
description: ( localizeWithPath(_moduleId, 349, "Enables tab completions."))
|
|
4740
4215
|
}
|
|
4741
|
-
))),
|
|
4742
|
-
tabIndex: register(( new EditorIntOption(
|
|
4216
|
+
)))),
|
|
4217
|
+
tabIndex: register(( (new EditorIntOption(
|
|
4743
4218
|
124 ,
|
|
4744
4219
|
'tabIndex',
|
|
4745
4220
|
0,
|
|
4746
4221
|
-1,
|
|
4747
4222
|
1073741824
|
|
4748
|
-
))),
|
|
4749
|
-
unicodeHighlight: register(( new UnicodeHighlight())),
|
|
4750
|
-
unusualLineTerminators: register(( new EditorStringEnumOption(
|
|
4223
|
+
)))),
|
|
4224
|
+
unicodeHighlight: register(( (new UnicodeHighlight()))),
|
|
4225
|
+
unusualLineTerminators: register(( (new EditorStringEnumOption(
|
|
4751
4226
|
126 ,
|
|
4752
4227
|
'unusualLineTerminators',
|
|
4753
4228
|
'prompt',
|
|
4754
4229
|
['auto', 'off', 'prompt'],
|
|
4755
4230
|
{
|
|
4756
4231
|
enumDescriptions: [
|
|
4757
|
-
( localizeWithPath(
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
"Unusual line terminators are automatically removed."
|
|
4761
|
-
)),
|
|
4762
|
-
( localizeWithPath(
|
|
4763
|
-
'vs/editor/common/config/editorOptions',
|
|
4764
|
-
'unusualLineTerminators.off',
|
|
4765
|
-
"Unusual line terminators are ignored."
|
|
4766
|
-
)),
|
|
4767
|
-
( localizeWithPath(
|
|
4768
|
-
'vs/editor/common/config/editorOptions',
|
|
4769
|
-
'unusualLineTerminators.prompt',
|
|
4770
|
-
"Unusual line terminators prompt to be removed."
|
|
4771
|
-
)),
|
|
4232
|
+
( localizeWithPath(_moduleId, 350, "Unusual line terminators are automatically removed.")),
|
|
4233
|
+
( localizeWithPath(_moduleId, 351, "Unusual line terminators are ignored.")),
|
|
4234
|
+
( localizeWithPath(_moduleId, 352, "Unusual line terminators prompt to be removed.")),
|
|
4772
4235
|
],
|
|
4773
4236
|
description: ( localizeWithPath(
|
|
4774
|
-
|
|
4775
|
-
|
|
4237
|
+
_moduleId,
|
|
4238
|
+
353,
|
|
4776
4239
|
"Remove unusual line terminators that might cause problems."
|
|
4777
4240
|
))
|
|
4778
4241
|
}
|
|
4779
|
-
))),
|
|
4780
|
-
useShadowDOM: register(( new EditorBooleanOption(127 , 'useShadowDOM', true))),
|
|
4781
|
-
useTabStops: register(( new EditorBooleanOption(
|
|
4242
|
+
)))),
|
|
4243
|
+
useShadowDOM: register(( (new EditorBooleanOption(127 , 'useShadowDOM', true)))),
|
|
4244
|
+
useTabStops: register(( (new EditorBooleanOption(
|
|
4782
4245
|
128 ,
|
|
4783
4246
|
'useTabStops',
|
|
4784
4247
|
true,
|
|
4785
4248
|
{ description: ( localizeWithPath(
|
|
4786
|
-
|
|
4787
|
-
|
|
4249
|
+
_moduleId,
|
|
4250
|
+
354,
|
|
4788
4251
|
"Spaces and tabs are inserted and deleted in alignment with tab stops."
|
|
4789
4252
|
)) }
|
|
4790
|
-
))),
|
|
4791
|
-
wordBreak: register(( new EditorStringEnumOption(
|
|
4253
|
+
)))),
|
|
4254
|
+
wordBreak: register(( (new EditorStringEnumOption(
|
|
4792
4255
|
129 ,
|
|
4793
4256
|
'wordBreak',
|
|
4794
4257
|
'normal',
|
|
4795
4258
|
['normal', 'keepAll'],
|
|
4796
4259
|
{
|
|
4797
4260
|
markdownEnumDescriptions: [
|
|
4261
|
+
( localizeWithPath(_moduleId, 355, "Use the default line break rule.")),
|
|
4798
4262
|
( localizeWithPath(
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
"Use the default line break rule."
|
|
4802
|
-
)),
|
|
4803
|
-
( localizeWithPath(
|
|
4804
|
-
'vs/editor/common/config/editorOptions',
|
|
4805
|
-
'wordBreak.keepAll',
|
|
4263
|
+
_moduleId,
|
|
4264
|
+
356,
|
|
4806
4265
|
"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
|
|
4807
4266
|
)),
|
|
4808
4267
|
],
|
|
4809
4268
|
description: ( localizeWithPath(
|
|
4810
|
-
|
|
4811
|
-
|
|
4269
|
+
_moduleId,
|
|
4270
|
+
357,
|
|
4812
4271
|
"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
|
|
4813
4272
|
))
|
|
4814
4273
|
}
|
|
4815
|
-
))),
|
|
4816
|
-
wordSegmenterLocales: register(( new WordSegmenterLocales())),
|
|
4817
|
-
wordSeparators: register(( new EditorStringOption(
|
|
4274
|
+
)))),
|
|
4275
|
+
wordSegmenterLocales: register(( (new WordSegmenterLocales()))),
|
|
4276
|
+
wordSeparators: register(( (new EditorStringOption(
|
|
4818
4277
|
131 ,
|
|
4819
4278
|
'wordSeparators',
|
|
4820
4279
|
USUAL_WORD_SEPARATORS,
|
|
4821
4280
|
{ description: ( localizeWithPath(
|
|
4822
|
-
|
|
4823
|
-
|
|
4281
|
+
_moduleId,
|
|
4282
|
+
358,
|
|
4824
4283
|
"Characters that will be used as word separators when doing word related navigations or operations."
|
|
4825
4284
|
)) }
|
|
4826
|
-
))),
|
|
4827
|
-
wordWrap: register(( new EditorStringEnumOption(
|
|
4285
|
+
)))),
|
|
4286
|
+
wordWrap: register(( (new EditorStringEnumOption(
|
|
4828
4287
|
132 ,
|
|
4829
4288
|
'wordWrap',
|
|
4830
4289
|
'off',
|
|
4831
4290
|
['off', 'on', 'wordWrapColumn', 'bounded'],
|
|
4832
4291
|
{
|
|
4833
4292
|
markdownEnumDescriptions: [
|
|
4293
|
+
( localizeWithPath(_moduleId, 359, "Lines will never wrap.")),
|
|
4294
|
+
( localizeWithPath(_moduleId, 360, "Lines will wrap at the viewport width.")),
|
|
4295
|
+
( localizeWithPath(_moduleId, 361, "Lines will wrap at `#editor.wordWrapColumn#`.")),
|
|
4834
4296
|
( localizeWithPath(
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
"Lines will
|
|
4838
|
-
)),
|
|
4839
|
-
( localizeWithPath(
|
|
4840
|
-
'vs/editor/common/config/editorOptions',
|
|
4841
|
-
'wordWrap.on',
|
|
4842
|
-
"Lines will wrap at the viewport width."
|
|
4297
|
+
_moduleId,
|
|
4298
|
+
362,
|
|
4299
|
+
"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
|
|
4843
4300
|
)),
|
|
4844
|
-
( localizeWithPath('vs/editor/common/config/editorOptions', {
|
|
4845
|
-
key: 'wordWrap.wordWrapColumn',
|
|
4846
|
-
comment: [
|
|
4847
|
-
'- `editor.wordWrapColumn` refers to a different setting and should not be localized.'
|
|
4848
|
-
]
|
|
4849
|
-
}, "Lines will wrap at `#editor.wordWrapColumn#`.")),
|
|
4850
|
-
( localizeWithPath('vs/editor/common/config/editorOptions', {
|
|
4851
|
-
key: 'wordWrap.bounded',
|
|
4852
|
-
comment: [
|
|
4853
|
-
'- viewport means the edge of the visible window size.',
|
|
4854
|
-
'- `editor.wordWrapColumn` refers to a different setting and should not be localized.'
|
|
4855
|
-
]
|
|
4856
|
-
}, "Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`.")),
|
|
4857
4301
|
],
|
|
4858
|
-
description: ( localizeWithPath(
|
|
4859
|
-
key: 'wordWrap',
|
|
4860
|
-
comment: [
|
|
4861
|
-
'- \'off\', \'on\', \'wordWrapColumn\' and \'bounded\' refer to values the setting can take and should not be localized.',
|
|
4862
|
-
'- `editor.wordWrapColumn` refers to a different setting and should not be localized.'
|
|
4863
|
-
]
|
|
4864
|
-
}, "Controls how lines should wrap."))
|
|
4302
|
+
description: ( localizeWithPath(_moduleId, 363, "Controls how lines should wrap."))
|
|
4865
4303
|
}
|
|
4866
|
-
))),
|
|
4867
|
-
wordWrapBreakAfterCharacters: register(( new EditorStringOption(
|
|
4304
|
+
)))),
|
|
4305
|
+
wordWrapBreakAfterCharacters: register(( (new EditorStringOption(
|
|
4868
4306
|
133 ,
|
|
4869
4307
|
'wordWrapBreakAfterCharacters',
|
|
4870
4308
|
' \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」'
|
|
4871
|
-
))),
|
|
4872
|
-
wordWrapBreakBeforeCharacters: register(( new EditorStringOption(
|
|
4309
|
+
)))),
|
|
4310
|
+
wordWrapBreakBeforeCharacters: register(( (new EditorStringOption(
|
|
4873
4311
|
134 ,
|
|
4874
4312
|
'wordWrapBreakBeforeCharacters',
|
|
4875
4313
|
'([{‘“〈《「『【〔([{「£¥$£¥++'
|
|
4876
|
-
))),
|
|
4877
|
-
wordWrapColumn: register(( new EditorIntOption(
|
|
4314
|
+
)))),
|
|
4315
|
+
wordWrapColumn: register(( (new EditorIntOption(
|
|
4878
4316
|
135 ,
|
|
4879
4317
|
'wordWrapColumn',
|
|
4880
4318
|
80,
|
|
4881
4319
|
1,
|
|
4882
4320
|
1073741824 ,
|
|
4883
4321
|
{
|
|
4884
|
-
markdownDescription: ( localizeWithPath(
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
]
|
|
4890
|
-
}, "Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."))
|
|
4322
|
+
markdownDescription: ( localizeWithPath(
|
|
4323
|
+
_moduleId,
|
|
4324
|
+
364,
|
|
4325
|
+
"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
|
|
4326
|
+
))
|
|
4891
4327
|
}
|
|
4892
|
-
))),
|
|
4893
|
-
wordWrapOverride1: register(( new EditorStringEnumOption(
|
|
4328
|
+
)))),
|
|
4329
|
+
wordWrapOverride1: register(( (new EditorStringEnumOption(
|
|
4894
4330
|
136 ,
|
|
4895
4331
|
'wordWrapOverride1',
|
|
4896
4332
|
'inherit',
|
|
4897
4333
|
['off', 'on', 'inherit']
|
|
4898
|
-
))),
|
|
4899
|
-
wordWrapOverride2: register(( new EditorStringEnumOption(
|
|
4334
|
+
)))),
|
|
4335
|
+
wordWrapOverride2: register(( (new EditorStringEnumOption(
|
|
4900
4336
|
137 ,
|
|
4901
4337
|
'wordWrapOverride2',
|
|
4902
4338
|
'inherit',
|
|
4903
4339
|
['off', 'on', 'inherit']
|
|
4904
|
-
))),
|
|
4905
|
-
editorClassName: register(( new EditorClassName())),
|
|
4906
|
-
defaultColorDecorators: register(( new EditorBooleanOption(
|
|
4340
|
+
)))),
|
|
4341
|
+
editorClassName: register(( (new EditorClassName()))),
|
|
4342
|
+
defaultColorDecorators: register(( (new EditorBooleanOption(
|
|
4907
4343
|
147 ,
|
|
4908
4344
|
'defaultColorDecorators',
|
|
4909
4345
|
false,
|
|
4910
4346
|
{ markdownDescription: ( localizeWithPath(
|
|
4911
|
-
|
|
4912
|
-
|
|
4347
|
+
_moduleId,
|
|
4348
|
+
365,
|
|
4913
4349
|
"Controls whether inline color decorations should be shown using the default document color provider"
|
|
4914
4350
|
)) }
|
|
4915
|
-
))),
|
|
4916
|
-
pixelRatio: register(( new EditorPixelRatio())),
|
|
4917
|
-
tabFocusMode: register(( new EditorBooleanOption(
|
|
4351
|
+
)))),
|
|
4352
|
+
pixelRatio: register(( (new EditorPixelRatio()))),
|
|
4353
|
+
tabFocusMode: register(( (new EditorBooleanOption(
|
|
4918
4354
|
144 ,
|
|
4919
4355
|
'tabFocusMode',
|
|
4920
4356
|
false,
|
|
4921
4357
|
{ markdownDescription: ( localizeWithPath(
|
|
4922
|
-
|
|
4923
|
-
|
|
4358
|
+
_moduleId,
|
|
4359
|
+
366,
|
|
4924
4360
|
"Controls whether the editor receives tabs or defers them to the workbench for navigation."
|
|
4925
4361
|
)) }
|
|
4926
|
-
))),
|
|
4927
|
-
layoutInfo: register(( new EditorLayoutInfoComputer())),
|
|
4928
|
-
wrappingInfo: register(( new EditorWrappingInfoComputer())),
|
|
4929
|
-
wrappingIndent: register(( new WrappingIndentOption())),
|
|
4930
|
-
wrappingStrategy: register(( new WrappingStrategy()))
|
|
4362
|
+
)))),
|
|
4363
|
+
layoutInfo: register(( (new EditorLayoutInfoComputer()))),
|
|
4364
|
+
wrappingInfo: register(( (new EditorWrappingInfoComputer()))),
|
|
4365
|
+
wrappingIndent: register(( (new WrappingIndentOption()))),
|
|
4366
|
+
wrappingStrategy: register(( (new WrappingStrategy())))
|
|
4931
4367
|
};
|
|
4932
4368
|
export { ApplyUpdateResult, ComputeOptionsMemory, ConfigurationChangedEvent, EDITOR_FONT_DEFAULTS, EditorFontLigatures, EditorFontVariations, EditorLayoutInfoComputer, EditorOptions, MINIMAP_GUTTER_WIDTH, ShowLightbulbIconMode, TextEditorCursorStyle, boolean, clampedFloat, clampedInt, cursorStyleToString, editorOptionsRegistry, filterValidationDecorations, inUntrustedWorkspace, stringSet, unicodeHighlightConfigKeys };
|