@codingame/monaco-vscode-api 9.0.3 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/_virtual/semver.js +3 -2
- package/_virtual/semver2.js +2 -0
- package/api.js +7 -6
- package/debugProtocol.d.ts +10 -1
- package/extensions.d.ts +0 -2
- package/extensions.js +1 -1
- package/external/vscode-semver/semver.js +988 -983
- package/lifecycle.js +4 -7
- package/localExtensionHost.js +11 -7
- package/missing-services.js +126 -42
- package/monaco.js +42 -10
- package/override/vs/workbench/browser/parts/editor/textEditor.weak.js +1 -1
- package/package.json +15 -8
- package/service-override/textmate.d.ts +1 -0
- package/service-override/tools/editor.js +60 -22
- package/service-override/tools/views.js +34 -19
- package/service-override/treesitter.d.ts +5 -0
- package/services.js +4 -5
- package/tools/injection.js +4 -1
- package/tools.js +4 -2
- package/vscode/src/vs/base/browser/browser.js +1 -2
- package/vscode/src/vs/base/browser/canIUse.js +4 -10
- package/vscode/src/vs/base/browser/dom.js +8 -10
- package/vscode/src/vs/base/browser/domObservable.js +3 -2
- package/vscode/src/vs/base/browser/formattedTextRenderer.js +24 -36
- package/vscode/src/vs/base/browser/keyboardEvent.js +24 -24
- package/vscode/src/vs/base/browser/markdownRenderer.js +8 -12
- package/vscode/src/vs/base/browser/performance.js +18 -24
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +14 -20
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +2 -2
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +2 -3
- package/vscode/src/vs/base/browser/ui/button/button.js +5 -6
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +15 -41
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +12 -13
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +2 -4
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +3 -4
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +5 -6
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +3 -3
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +6 -7
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +8 -12
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +3 -4
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +15 -23
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +1 -1
- package/vscode/src/vs/base/browser/ui/list/list.js +1 -12
- package/vscode/src/vs/base/browser/ui/list/listView.js +9 -17
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +26 -30
- package/vscode/src/vs/base/browser/ui/menu/menu.js +15 -17
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +13 -13
- package/vscode/src/vs/base/browser/ui/resizable/resizable.js +9 -9
- package/vscode/src/vs/base/browser/ui/sash/sash.js +16 -28
- package/vscode/src/vs/base/browser/ui/scrollbar/horizontalScrollbar.js +4 -5
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +3 -3
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollbarVisibilityController.js +2 -3
- package/vscode/src/vs/base/browser/ui/scrollbar/verticalScrollbar.js +2 -3
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +21 -23
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxNative.js +2 -3
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +23 -25
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +27 -33
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +3 -5
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +1 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +3 -3
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +307 -210
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +395 -22
- package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +25 -32
- package/vscode/src/vs/base/browser/ui/tree/dataTree.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +25 -31
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +9 -5
- package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +4 -7
- package/vscode/src/vs/base/browser/ui/tree/tree.js +1 -13
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
- package/vscode/src/vs/base/common/actions.js +1 -1
- package/vscode/src/vs/base/common/amd.js +10 -27
- package/vscode/src/vs/base/common/arrays.js +1 -7
- package/vscode/src/vs/base/common/async.js +14 -25
- package/vscode/src/vs/base/common/codicons.d.ts +7 -0
- package/vscode/src/vs/base/common/color.d.ts +28 -0
- package/vscode/src/vs/base/common/color.js +71 -24
- package/vscode/src/vs/base/common/date.js +61 -61
- package/vscode/src/vs/base/common/diff/diff.js +10 -15
- package/vscode/src/vs/base/common/errorMessage.js +6 -6
- package/vscode/src/vs/base/common/errors.js +5 -1
- package/vscode/src/vs/base/common/event.d.ts +2 -2
- package/vscode/src/vs/base/common/event.js +23 -1
- package/vscode/src/vs/base/common/extpath.js +8 -9
- package/vscode/src/vs/base/common/filters.js +31 -39
- package/vscode/src/vs/base/common/fuzzyScorer.js +9 -10
- package/vscode/src/vs/base/common/glob.js +1 -2
- package/vscode/src/vs/base/common/hash.js +10 -15
- package/vscode/src/vs/base/common/hotReloadHelpers.js +9 -17
- package/vscode/src/vs/base/common/htmlContent.js +3 -8
- package/vscode/src/vs/base/common/json.js +149 -323
- package/vscode/src/vs/base/common/jsonErrorMessages.js +9 -10
- package/vscode/src/vs/base/common/jsonFormatter.js +30 -30
- package/vscode/src/vs/base/common/keyCodes.js +249 -591
- package/vscode/src/vs/base/common/keybindingLabels.js +23 -24
- package/vscode/src/vs/base/common/keybindings.js +17 -30
- package/vscode/src/vs/base/common/labels.js +11 -12
- package/vscode/src/vs/base/common/map.js +67 -20
- package/vscode/src/vs/base/common/marshalling.js +4 -5
- package/vscode/src/vs/base/common/naturalLanguage/korean.js +129 -213
- package/vscode/src/vs/base/common/network.js +2 -2
- package/vscode/src/vs/base/common/observableInternal/api.js +3 -1
- package/vscode/src/vs/base/common/observableInternal/autorun.js +46 -35
- package/vscode/src/vs/base/common/observableInternal/base.js +3 -1
- package/vscode/src/vs/base/common/observableInternal/derived.js +55 -40
- package/vscode/src/vs/base/common/observableInternal/promise.js +1 -55
- package/vscode/src/vs/base/common/observableInternal/utils.js +41 -5
- package/vscode/src/vs/base/common/observableInternal/utilsCancellation.js +79 -0
- package/vscode/src/vs/base/common/performance.js +1 -3
- package/vscode/src/vs/base/common/platform.js +10 -23
- package/vscode/src/vs/base/common/processes.js +1 -8
- package/vscode/src/vs/base/common/product.d.ts +2 -0
- package/vscode/src/vs/base/common/resources.js +3 -4
- package/vscode/src/vs/base/common/scrollable.js +1 -7
- package/vscode/src/vs/base/common/strings.js +47 -66
- package/vscode/src/vs/base/common/ternarySearchTree.js +39 -54
- package/vscode/src/vs/base/common/uint.js +5 -14
- package/vscode/src/vs/base/common/uri.js +39 -41
- package/vscode/src/vs/base/common/uriIpc.js +1 -2
- package/vscode/src/vs/base/common/worker/simpleWorker.js +13 -22
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +55 -77
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +51 -108
- package/vscode/src/vs/editor/browser/config/charWidthReader.js +4 -10
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +3 -4
- package/vscode/src/vs/editor/browser/config/fontMeasurements.js +21 -21
- package/vscode/src/vs/editor/browser/controller/editContext/clipboardUtils.js +45 -0
- package/vscode/src/vs/editor/browser/controller/editContext/editContextUtils.js +4 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.css.js +4 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContext.js +315 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/nativeEditContextUtils.js +35 -0
- package/vscode/src/vs/editor/browser/controller/editContext/native/screenReaderSupport.js +131 -0
- package/vscode/src/vs/editor/browser/controller/editContext/screenReaderUtils.js +107 -0
- package/vscode/src/vs/editor/browser/controller/{textAreaHandler.css.js → editContext/textArea/textAreaEditContext.css.js} +1 -1
- package/vscode/src/vs/editor/browser/controller/{textAreaHandler.js → editContext/textArea/textAreaEditContext.js} +86 -147
- package/vscode/src/vs/editor/browser/controller/{textAreaInput.js → editContext/textArea/textAreaEditContextInput.js} +23 -43
- package/vscode/src/vs/editor/browser/controller/{textAreaState.js → editContext/textArea/textAreaEditContextState.js} +8 -54
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +25 -28
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +51 -69
- package/vscode/src/vs/editor/browser/controller/pointerHandler.js +4 -6
- package/vscode/src/vs/editor/browser/coreCommands.js +203 -220
- package/vscode/src/vs/editor/browser/editorBrowser.js +1 -30
- package/vscode/src/vs/editor/browser/editorExtensions.js +15 -16
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlas.js +109 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasPage.js +86 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasShelfAllocator.js +107 -0
- package/vscode/src/vs/editor/browser/gpu/atlas/textureAtlasSlabAllocator.js +258 -0
- package/vscode/src/vs/editor/browser/gpu/bufferDirtyTracker.js +32 -0
- package/vscode/src/vs/editor/browser/gpu/fullFileRenderStrategy.js +160 -0
- package/vscode/src/vs/editor/browser/gpu/fullFileRenderStrategy.wgsl.js +88 -0
- package/vscode/src/vs/editor/browser/gpu/gpuDisposable.js +42 -0
- package/vscode/src/vs/editor/browser/gpu/gpuUtils.js +44 -0
- package/vscode/src/vs/editor/browser/gpu/objectCollectionBuffer.js +117 -0
- package/vscode/src/vs/editor/browser/gpu/raster/glyphRasterizer.js +152 -0
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.js +186 -0
- package/vscode/src/vs/editor/browser/gpu/rectangleRenderer.wgsl.js +63 -0
- package/vscode/src/vs/editor/browser/gpu/taskQueue.js +69 -0
- package/vscode/src/vs/editor/browser/gpu/viewGpuContext.js +86 -0
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +7 -39
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +18 -28
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -2
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +5 -7
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +61 -69
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +2 -3
- package/vscode/src/vs/editor/browser/services/markerDecorations.js +2 -2
- package/vscode/src/vs/editor/browser/stableEditorScroll.js +2 -3
- package/vscode/src/vs/editor/browser/view/domLineBreaksComputer.js +21 -27
- package/vscode/src/vs/editor/browser/view/renderingContext.js +4 -3
- package/vscode/src/vs/editor/browser/view/viewController.js +4 -5
- package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -2
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +8 -9
- package/vscode/src/vs/editor/browser/view/viewPart.js +2 -15
- package/vscode/src/vs/editor/browser/view/viewUserInputEvents.js +1 -2
- package/vscode/src/vs/editor/browser/view.js +74 -26
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -2
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +17 -20
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +6 -7
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +2 -3
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +17 -19
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +10 -16
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +6 -7
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +8 -9
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -3
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +4 -5
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +28 -34
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRenderer.js +9 -9
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +22 -22
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharSheet.js +7 -20
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +12 -14
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +19 -37
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +6 -7
- package/vscode/src/vs/editor/browser/viewParts/rulers/rulers.js +4 -5
- package/vscode/src/vs/editor/browser/viewParts/rulersGpu/rulersGpu.js +57 -0
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +3 -4
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +26 -33
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +9 -9
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +24 -23
- package/vscode/src/vs/editor/browser/viewParts/{lines → viewLines}/rangeUtil.js +3 -4
- package/vscode/src/vs/editor/browser/viewParts/{lines → viewLines}/viewLine.js +23 -59
- package/vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.js +40 -0
- package/vscode/src/vs/editor/browser/viewParts/{lines → viewLines}/viewLines.js +33 -36
- package/vscode/src/vs/editor/browser/viewParts/viewLinesGpu/viewLinesGpu.js +299 -0
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +5 -6
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +16 -18
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +11 -12
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +105 -113
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +17 -19
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +40 -40
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +3 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +7 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +15 -17
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +13 -16
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +10 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/delegatingEditorImpl.js +18 -19
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +13 -12
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +14 -18
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +29 -30
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +2 -2
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +52 -53
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +25 -27
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +7 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +4 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +5 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +4 -3
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +3 -2
- package/vscode/src/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer.js +5 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +3 -3
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +8 -7
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +16 -8
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +9 -10
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +26 -15
- package/vscode/src/vs/editor/common/commands/replaceCommand.js +2 -2
- package/vscode/src/vs/editor/common/commands/shiftCommand.js +5 -6
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.js +1 -2
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +64 -52
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +15 -0
- package/vscode/src/vs/editor/common/config/editorOptions.js +619 -732
- package/vscode/src/vs/editor/common/config/fontInfo.js +8 -8
- package/vscode/src/vs/editor/common/core/characterClassifier.js +3 -8
- package/vscode/src/vs/editor/common/core/cursorColumns.js +4 -5
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +72 -72
- package/vscode/src/vs/editor/common/core/eolCounter.js +8 -16
- package/vscode/src/vs/editor/common/core/offsetEdit.js +248 -0
- package/vscode/src/vs/editor/common/core/offsetRange.d.ts +2 -0
- package/vscode/src/vs/editor/common/core/offsetRange.js +8 -0
- package/vscode/src/vs/editor/common/core/selection.js +7 -12
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +22 -1
- package/vscode/src/vs/editor/common/core/textEdit.js +49 -3
- package/vscode/src/vs/editor/common/core/textLength.d.ts +2 -0
- package/vscode/src/vs/editor/common/core/textLength.js +6 -0
- package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +5 -12
- package/vscode/src/vs/editor/common/cursor/cursor.js +31 -34
- package/vscode/src/vs/editor/common/cursor/cursorAtomicMoveOperations.js +10 -17
- package/vscode/src/vs/editor/common/cursor/cursorColumnSelection.js +3 -3
- package/vscode/src/vs/editor/common/cursor/cursorDeleteOperations.js +4 -4
- package/vscode/src/vs/editor/common/cursor/cursorMoveCommands.js +50 -52
- package/vscode/src/vs/editor/common/cursor/cursorMoveOperations.js +12 -14
- package/vscode/src/vs/editor/common/cursor/cursorTypeEditOperations.js +32 -34
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +2 -2
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +65 -79
- package/vscode/src/vs/editor/common/cursor/oneCursor.js +6 -7
- package/vscode/src/vs/editor/common/cursorCommon.js +38 -54
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +0 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +8 -58
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/lineSequence.js +1 -2
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence.js +30 -43
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/utils.js +1 -2
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +4 -5
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +5 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +80 -1
- package/vscode/src/vs/editor/common/editorCommon.js +1 -16
- package/vscode/src/vs/editor/common/editorContextKeys.js +46 -47
- package/vscode/src/vs/editor/common/encodedTokenAttributes.js +19 -71
- package/vscode/src/vs/editor/common/languages/autoIndent.js +6 -8
- package/vscode/src/vs/editor/common/languages/languageConfiguration.js +7 -9
- package/vscode/src/vs/editor/common/languages/languageConfigurationRegistry.js +2 -2
- package/vscode/src/vs/editor/common/languages/linkComputer.js +69 -94
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +1 -1
- package/vscode/src/vs/editor/common/languages/nullTokenize.js +5 -6
- package/vscode/src/vs/editor/common/languages/supports/indentRules.js +5 -12
- package/vscode/src/vs/editor/common/languages/supports/indentationLineProcessor.js +3 -4
- package/vscode/src/vs/editor/common/languages/supports/onEnter.js +3 -4
- package/vscode/src/vs/editor/common/languages/supports/tokenization.js +24 -25
- package/vscode/src/vs/editor/common/languages/supports.js +1 -6
- package/vscode/src/vs/editor/common/languages/textToHtmlTokenizer.js +12 -14
- package/vscode/src/vs/editor/common/languages.d.ts +23 -3
- package/vscode/src/vs/editor/common/languages.js +119 -205
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +10 -18
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/bracketPairsTree.js +16 -18
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/brackets.js +4 -4
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +3 -3
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +7 -8
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +33 -15
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/fixBrackets.js +4 -5
- package/vscode/src/vs/editor/common/model/editStack.js +5 -7
- package/vscode/src/vs/editor/common/model/indentationGuesser.js +6 -7
- package/vscode/src/vs/editor/common/model/intervalTree.js +71 -119
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeBase.js +16 -17
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +11 -11
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBufferBuilder.js +3 -5
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/rbTreeBase.js +41 -46
- package/vscode/src/vs/editor/common/model/textModel.js +27 -35
- package/vscode/src/vs/editor/common/model/textModelSearch.js +14 -15
- package/vscode/src/vs/editor/common/model/textModelText.js +3 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.js +18 -16
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +10 -14
- package/vscode/src/vs/editor/common/model/tokens.js +1 -2
- package/vscode/src/vs/editor/common/model/treeSitterTokens.js +10 -4
- package/vscode/src/vs/editor/common/model/utils.js +2 -3
- package/vscode/src/vs/editor/common/model.d.ts +5 -0
- package/vscode/src/vs/editor/common/model.js +1 -46
- package/vscode/src/vs/editor/common/modelLineProjectionData.js +10 -10
- package/vscode/src/vs/editor/common/services/editorBaseApi.js +5 -5
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +2 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +2 -2
- package/vscode/src/vs/editor/common/services/languageService.js +4 -4
- package/vscode/src/vs/editor/common/services/languagesRegistry.js +3 -4
- package/vscode/src/vs/editor/common/services/markerDecorationsService.js +18 -19
- package/vscode/src/vs/editor/common/services/modelService.js +8 -9
- package/vscode/src/vs/editor/common/services/semanticTokensDto.js +3 -8
- package/vscode/src/vs/editor/common/services/semanticTokensProviderStyling.js +15 -27
- package/vscode/src/vs/editor/common/services/semanticTokensStylingService.js +2 -2
- package/vscode/src/vs/editor/common/services/treeSitterParserService.js +2 -1
- package/vscode/src/vs/editor/common/services/treeViewsDndService.js +2 -2
- package/vscode/src/vs/editor/common/services/unicodeTextModelHighlighter.js +18 -31
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +116 -114
- package/vscode/src/vs/editor/common/standaloneStrings.js +32 -32
- package/vscode/src/vs/editor/common/textModelEvents.js +6 -14
- package/vscode/src/vs/editor/common/tokenizationRegistry.js +2 -3
- package/vscode/src/vs/editor/common/tokenizationTextModelPart.js +13 -6
- package/vscode/src/vs/editor/common/tokens/contiguousTokensStore.js +7 -7
- package/vscode/src/vs/editor/common/tokens/lineTokens.d.ts +10 -7
- package/vscode/src/vs/editor/common/tokens/lineTokens.js +48 -33
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +4 -5
- package/vscode/src/vs/editor/common/tokens/sparseTokensStore.js +6 -7
- package/vscode/src/vs/editor/common/tokens/tokenArray.d.ts +25 -0
- package/vscode/src/vs/editor/common/tokens/tokenArray.js +53 -0
- package/vscode/src/vs/editor/common/viewEventHandler.js +18 -19
- package/vscode/src/vs/editor/common/viewEvents.js +19 -50
- package/vscode/src/vs/editor/common/viewLayout/lineDecorations.js +6 -9
- package/vscode/src/vs/editor/common/viewLayout/linePart.js +3 -12
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +23 -25
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +74 -99
- package/vscode/src/vs/editor/common/viewModel/minimapTokensColorTracker.js +2 -3
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +23 -7
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +19 -30
- package/vscode/src/vs/editor/common/viewModel/overviewZoneManager.js +1 -5
- package/vscode/src/vs/editor/common/viewModel/viewModelDecorations.js +9 -11
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +41 -45
- package/vscode/src/vs/editor/common/viewModel/viewModelLines.js +8 -15
- package/vscode/src/vs/editor/common/viewModel.js +2 -9
- package/vscode/src/vs/editor/common/viewModelEventDispatcher.js +14 -30
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +16 -18
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +18 -21
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +2 -2
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +3 -5
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +47 -44
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +3 -4
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +45 -47
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +10 -10
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +14 -16
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +2 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +11 -12
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +18 -20
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +28 -31
- package/vscode/src/vs/editor/contrib/codeAction/common/types.js +4 -10
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +6 -6
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +14 -15
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensWidget.js +2 -4
- package/vscode/src/vs/editor/contrib/colorPicker/browser/color.js +2 -23
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +6 -9
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerContribution.js +42 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParticipantUtils.js +51 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerBody.js +71 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerCloseButton.js +28 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerHeader.js +75 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerInsertButton.js +21 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerSaturationBox.js +101 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerParts/colorPickerStrip.js +92 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/defaultDocumentColorProvider.js +1 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/{colorContributions.js → hoverColorPicker/hoverColorPickerContribution.js} +9 -17
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerParticipant.js +131 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/hoverColorPicker/hoverColorPickerWidget.js +30 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/{standaloneColorPickerActions.js → standaloneColorPicker/standaloneColorPickerActions.js} +17 -23
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerController.js +48 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPicker/standaloneColorPickerParticipant.js +115 -0
- package/vscode/src/vs/editor/contrib/colorPicker/browser/{standaloneColorPickerWidget.js → standaloneColorPicker/standaloneColorPickerWidget.js} +22 -69
- package/vscode/src/vs/editor/contrib/comment/browser/blockCommentCommand.js +4 -5
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +22 -24
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +12 -20
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +28 -33
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +6 -8
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +4 -4
- package/vscode/src/vs/editor/contrib/dnd/browser/dnd.js +12 -17
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +2 -2
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +9 -11
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +19 -20
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +9 -11
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +6 -7
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +4 -6
- package/vscode/src/vs/editor/contrib/editorState/browser/editorState.js +9 -16
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +5 -7
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +101 -111
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +8 -8
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +25 -31
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +1 -2
- package/vscode/src/vs/editor/contrib/find/browser/findState.js +11 -17
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +71 -72
- package/vscode/src/vs/editor/contrib/find/browser/replacePattern.js +19 -25
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +111 -89
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +22 -23
- package/vscode/src/vs/editor/contrib/folding/browser/foldingModel.js +6 -6
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +14 -20
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +3 -3
- package/vscode/src/vs/editor/contrib/format/browser/format.js +12 -23
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +19 -21
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +22 -25
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +19 -22
- package/vscode/src/vs/editor/contrib/gotoError/browser/markerNavigationService.js +2 -2
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +79 -80
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/clickLinkGesture.js +7 -9
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +8 -10
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +31 -34
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +7 -11
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +14 -10
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +11 -13
- package/vscode/src/vs/editor/contrib/gpu/browser/gpuActions.js +119 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +8 -21
- package/vscode/src/vs/editor/contrib/hover/browser/{contentHoverController2.js → contentHoverController.js} +9 -12
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverRendered.js +10 -9
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.js +8 -8
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +11 -15
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidgetWrapper.js +31 -39
- package/vscode/src/vs/editor/contrib/hover/browser/{marginHoverComputer.js → glyphHoverComputer.js} +6 -20
- package/vscode/src/vs/editor/contrib/hover/browser/{marginHoverController.js → glyphHoverController.js} +23 -25
- package/vscode/src/vs/editor/contrib/hover/browser/{marginHoverWidget.js → glyphHoverWidget.js} +30 -33
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverAccessibleViews.js +12 -12
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +2 -2
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +50 -54
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +5 -5
- package/vscode/src/vs/editor/contrib/hover/browser/hoverOperation.js +64 -66
- package/vscode/src/vs/editor/contrib/hover/browser/hoverTypes.js +7 -12
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +21 -19
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +11 -13
- package/vscode/src/vs/editor/contrib/hover/browser/resizableContentWidget.js +4 -6
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +13 -12
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +27 -30
- package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +1 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsContribution.js +2 -2
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +101 -42
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +10 -12
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsLocations.js +2 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/commands.js +88 -35
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionContextKeys.js +14 -7
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/controller/inlineCompletionsController.js +96 -54
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/hoverParticipant.js +12 -13
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hintsWidget/inlineCompletionsHintsWidget.js +15 -17
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletions.contribution.js +10 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsAccessibleView.js +3 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/{singleTextEdit.js → computeGhostText.js} +3 -23
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsModel.js +94 -47
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineCompletionsSource.js +63 -21
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEdit.js +12 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/inlineEditsAdapter.js +83 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/provideInlineCompletions.js +6 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/singleTextEditHelpers.js +25 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/model/suggestWidgetAdaptor.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +44 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/{ghostTextView.css.js → ghostText/ghostTextView.css.js} +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostText/ghostTextView.js +295 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.css.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/inlineEditsView.js +357 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils.js +70 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/commands.js +10 -12
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +20 -14
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEdit.contribution.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +21 -17
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +6 -8
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditSideBySideWidget.js +6 -6
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgress.js +4 -7
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +4 -7
- package/vscode/src/vs/editor/contrib/linesOperations/browser/copyLinesCommand.js +2 -2
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +63 -65
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +2 -4
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +12 -16
- package/vscode/src/vs/editor/contrib/links/browser/links.js +20 -23
- package/vscode/src/vs/editor/contrib/longLinesHelper/browser/longLinesHelper.js +4 -6
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +10 -15
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +73 -75
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +14 -16
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsModel.js +16 -18
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +8 -9
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +24 -25
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderText.contribution.js +3 -3
- package/vscode/src/vs/editor/contrib/placeholderText/browser/placeholderTextContribution.js +7 -7
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +2 -4
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +8 -10
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +36 -37
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +5 -6
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +31 -33
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +17 -21
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +12 -15
- package/vscode/src/vs/editor/contrib/semanticTokens/browser/viewportSemanticTokens.js +2 -2
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +15 -18
- package/vscode/src/vs/editor/contrib/smartSelect/browser/wordSelections.js +2 -3
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +14 -17
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetParser.js +81 -100
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +7 -10
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +4 -4
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +16 -18
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollContribution.js +2 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +19 -20
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +1 -2
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +2 -3
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +12 -14
- package/vscode/src/vs/editor/contrib/suggest/browser/completionModel.js +10 -18
- package/vscode/src/vs/editor/contrib/suggest/browser/media/suggest.css.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +24 -32
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestCommitCharacters.js +2 -4
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +79 -93
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestInlineCompletions.js +4 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestMemory.js +6 -6
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestModel.js +57 -66
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +101 -98
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +12 -8
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +11 -12
- package/vscode/src/vs/editor/contrib/suggest/browser/wordContextKey.js +2 -3
- package/vscode/src/vs/editor/contrib/suggest/browser/wordDistance.js +2 -4
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +33 -33
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +8 -10
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +1 -1
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +49 -52
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +11 -12
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +19 -19
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +87 -62
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +51 -55
- package/vscode/src/vs/editor/contrib/wordPartOperations/browser/wordPartOperations.js +19 -21
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +9 -12
- package/vscode/src/vs/editor/editor.api.d.ts +3 -0
- package/vscode/src/vs/editor/standalone/browser/iPadShowKeyboard/iPadShowKeyboard.js +4 -6
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +3 -4
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditorService.js +4 -5
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +4 -4
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +44 -47
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +5 -5
- package/vscode/src/vs/editor/standalone/browser/standaloneTreeSitterService.js +4 -0
- package/vscode/src/vs/nls.js +1 -1
- package/vscode/src/vs/platform/accessibility/browser/accessibilityService.js +3 -3
- package/vscode/src/vs/platform/accessibility/browser/accessibleView.js +1 -31
- package/vscode/src/vs/platform/accessibility/common/accessibility.js +1 -7
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +52 -51
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +6 -6
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +12 -17
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +21 -23
- package/vscode/src/vs/platform/actions/browser/actionViewItemService.service.js +3 -0
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +3 -3
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +7 -6
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +9 -11
- package/vscode/src/vs/platform/actions/browser/toolbar.js +34 -17
- package/vscode/src/vs/platform/actions/common/actions.contribution.js +0 -1
- package/vscode/src/vs/platform/actions/common/actions.d.ts +9 -12
- package/vscode/src/vs/platform/actions/common/actions.js +8 -11
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +1 -1
- package/vscode/src/vs/platform/actions/common/menuService.js +6 -7
- package/vscode/src/vs/platform/clipboard/browser/clipboardService.js +20 -0
- package/vscode/src/vs/platform/clipboard/common/clipboardService.service.d.ts +5 -0
- package/vscode/src/vs/platform/configuration/common/configuration.js +8 -8
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +3 -4
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +31 -31
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +3 -5
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +89 -109
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +10 -10
- package/vscode/src/vs/platform/contextkey/common/scanner.js +74 -99
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +2 -2
- package/vscode/src/vs/platform/contextview/browser/contextViewService.js +6 -6
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +9 -9
- package/vscode/src/vs/platform/dialogs/common/dialogs.service.d.ts +1 -1
- package/vscode/src/vs/platform/dnd/browser/dnd.js +1 -1
- package/vscode/src/vs/platform/editor/common/editor.js +1 -14
- package/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.js +8 -9
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +80 -127
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.service.d.ts +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagementUtil.js +3 -3
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +1 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionStorage.js +12 -13
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +9 -16
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +35 -35
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +4 -6
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +42 -27
- package/vscode/src/vs/platform/extensions/common/extensions.js +1 -22
- package/vscode/src/vs/platform/extensions/common/extensionsApiProposals.js +2 -7
- package/vscode/src/vs/platform/externalServices/common/serviceMachineId.js +2 -3
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +6 -6
- package/vscode/src/vs/platform/files/common/files.js +25 -53
- package/vscode/src/vs/platform/files/common/inMemoryFilesystemProvider.js +10 -10
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +8 -9
- package/vscode/src/vs/platform/hover/browser/hover.js +1 -2
- package/vscode/src/vs/platform/instantiation/common/extensions.js +1 -6
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +1 -1
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +5 -12
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +10 -11
- package/vscode/src/vs/platform/keybinding/common/keybindingResolver.js +9 -15
- package/vscode/src/vs/platform/keybinding/common/keybindingsRegistry.js +4 -12
- package/vscode/src/vs/platform/keybinding/common/resolvedKeybindingItem.js +1 -2
- package/vscode/src/vs/platform/keybinding/common/usLayoutResolvedKeybinding.js +63 -64
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +1 -1
- package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +3 -3
- package/vscode/src/vs/platform/list/browser/listService.js +31 -38
- package/vscode/src/vs/platform/log/common/bufferLog.js +4 -3
- package/vscode/src/vs/platform/markers/common/markers.js +4 -9
- package/vscode/src/vs/platform/observable/common/platformObservableUtils.js +4 -2
- package/vscode/src/vs/platform/observable/common/wrapInHotClass.js +25 -0
- package/vscode/src/vs/platform/observable/common/wrapInReloadableClass.js +8 -43
- package/vscode/src/vs/platform/opener/browser/link.js +1 -2
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/progress/common/progress.js +1 -10
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +16 -17
- package/vscode/src/vs/platform/quickinput/browser/quickInputActions.js +32 -33
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +2 -3
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +10 -11
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +9 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +2 -3
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +4 -5
- package/vscode/src/vs/platform/quickinput/common/quickInput.js +1 -7
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +15 -29
- package/vscode/src/vs/platform/remote/common/remoteAuthorityResolver.js +3 -8
- package/vscode/src/vs/platform/request/common/request.js +31 -26
- package/vscode/src/vs/platform/storage/common/storage.js +22 -22
- package/vscode/src/vs/platform/telemetry/common/telemetry.js +1 -15
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +12 -12
- package/vscode/src/vs/platform/terminal/common/capabilities/bufferMarkCapability.js +41 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.js +345 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/terminalCommand.js +296 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +761 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/cwdDetectionCapability.js +29 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/naiveCwdDetectionCapability.js +22 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/partialCommandDetectionCapability.js +48 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/terminalCapabilityStore.js +94 -0
- package/vscode/src/vs/platform/terminal/common/environmentVariable.js +7 -0
- package/vscode/src/vs/platform/terminal/common/environmentVariableCollection.js +196 -0
- package/vscode/src/vs/platform/terminal/common/terminal.js +1 -155
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +40 -0
- package/vscode/src/vs/platform/terminal/common/terminalProfiles.js +107 -0
- package/vscode/src/vs/platform/terminal/common/terminalRecorder.js +67 -0
- package/vscode/src/vs/platform/terminal/common/xterm/shellIntegrationAddon.js +346 -0
- package/vscode/src/vs/platform/theme/common/colorUtils.js +17 -27
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +17 -17
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +93 -93
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +45 -45
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +36 -36
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +7 -7
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +11 -11
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +8 -8
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +9 -9
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +3 -3
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +5 -5
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +42 -42
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +1 -3
- package/vscode/src/vs/platform/undoRedo/common/undoRedo.js +1 -6
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +44 -49
- package/vscode/src/vs/platform/update/common/update.js +10 -37
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +1 -3
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.d.ts +2 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +146 -145
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +60 -58
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +14 -81
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +6 -7
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +48 -49
- package/vscode/src/vs/platform/window/common/window.js +7 -23
- package/vscode/src/vs/platform/workspace/common/workspace.js +2 -8
- package/vscode/src/vs/workbench/api/browser/statusBarService.js +10 -16
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +27 -14
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +28 -28
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +3 -65
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +9 -4
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +56 -29
- package/vscode/src/vs/workbench/api/common/extHostCodeMapper.js +47 -0
- package/vscode/src/vs/workbench/api/common/extHostComments.js +17 -18
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +9 -10
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +6 -11
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +45 -36
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +19 -19
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +15 -17
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +67 -30
- package/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +117 -94
- package/vscode/src/vs/workbench/api/common/extHostLanguageModelTools.js +46 -9
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +43 -35
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +13 -11
- package/vscode/src/vs/workbench/api/common/extHostNotebookEditor.js +11 -6
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +38 -30
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +7 -0
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTask.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +6 -7
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +7 -9
- package/vscode/src/vs/workbench/api/common/extHostTestItem.js +7 -7
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +27 -33
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -2
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +218 -193
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +24 -26
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +22 -23
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +14 -13
- package/vscode/src/vs/workbench/api/common/extensionHostMain.js +1 -1
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +14 -14
- package/vscode/src/vs/workbench/api/worker/extHost.worker.services.js +3 -3
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +4 -4
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +39 -42
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +220 -215
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +8 -9
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +7 -8
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +46 -47
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +37 -38
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +4 -4
- package/vscode/src/vs/workbench/browser/codeeditor.js +9 -12
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +19 -22
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +34 -20
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +69 -70
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +44 -45
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsModel.js +2 -4
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +17 -18
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution._autosave.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +316 -323
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +27 -30
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +100 -100
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +54 -58
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +14 -15
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.js +3 -4
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +24 -11
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +12 -14
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +11 -12
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +81 -87
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +21 -13
- package/vscode/src/vs/workbench/browser/parts/editor/editorsObserver.js +17 -19
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorplaceholder.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/media/editortabscontrol.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +23 -26
- package/vscode/src/vs/workbench/browser/parts/editor/noEditorTabsControl.js +9 -2
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +16 -17
- package/vscode/src/vs/workbench/browser/parts/editor/singleEditorTabsControl.js +4 -4
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +8 -10
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +11 -13
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +4 -7
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +25 -30
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +5 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +14 -16
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +43 -44
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +6 -6
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +19 -21
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +10 -14
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +9 -10
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.d.ts +4 -2
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +1 -1
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +62 -61
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +57 -61
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +16 -23
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +8 -9
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +9 -10
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +1 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +18 -16
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +54 -63
- package/vscode/src/vs/workbench/browser/quickaccess.js +1 -1
- package/vscode/src/vs/workbench/browser/window.js +18 -19
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +257 -249
- package/vscode/src/vs/workbench/common/configuration.js +28 -30
- package/vscode/src/vs/workbench/common/contextkeys.js +70 -70
- package/vscode/src/vs/workbench/common/contributions.js +22 -23
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +17 -17
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +27 -27
- package/vscode/src/vs/workbench/common/editor/editorInput.js +7 -8
- package/vscode/src/vs/workbench/common/editor/editorOptions.js +4 -5
- package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +6 -7
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +12 -13
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +8 -8
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +3 -4
- package/vscode/src/vs/workbench/common/editor.js +5 -53
- package/vscode/src/vs/workbench/common/memento.js +9 -10
- package/vscode/src/vs/workbench/common/notifications.js +11 -32
- package/vscode/src/vs/workbench/common/theme.js +156 -156
- package/vscode/src/vs/workbench/common/views.js +8 -8
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +170 -197
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +66 -70
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +8 -11
- package/vscode/src/vs/workbench/contrib/callHierarchy/common/callHierarchy.js +1 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +161 -36
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +35 -21
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +17 -14
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.js +51 -33
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +11 -17
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js +78 -28
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCodeCitationContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatCommandContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationContentPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatConfirmationWidget.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.js +29 -15
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatProgressContentPart.js +3 -3
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatReferencesContentPart.js +107 -34
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTextEditContentPart.js +2 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatToolInvocationPart.js +68 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatContentParts/chatTreeContentPart.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatDragAndDrop.js +206 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditingService.js +751 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +3 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatImagePaste.js +73 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInlineAnchorWidget.js +228 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +469 -103
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +91 -96
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +25 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownRenderer.js +21 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +175 -70
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +46 -44
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatContextAttachments.js +53 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatInputCompletions.js +532 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatAgentHover.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chatInlineAnchorWidget.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +32 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +18 -7
- package/vscode/src/vs/workbench/contrib/chat/common/chatCodeMapperService.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +34 -19
- package/vscode/src/vs/workbench/contrib/chat/common/chatEditingService.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +44 -74
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +8 -4
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +4 -2
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +2 -5
- package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +20 -8
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActions.contribution.js +1 -2
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +17 -17
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +10 -10
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +14 -18
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorAccessibilityHelp.js +10 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +6 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorFeatures.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/editorLineNumberMenu.js +5 -7
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +17 -14
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.js +545 -0
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/menuPreventer.js +4 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +11 -15
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +16 -19
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions.js +2 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +3 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +5 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +19 -22
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchReferenceSearch.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentFormActions.js +24 -6
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +20 -11
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +45 -35
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -10
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadAdditionalActions.js +9 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +13 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +4 -5
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +9 -11
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +27 -26
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +33 -22
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +54 -29
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +17 -24
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +39 -28
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +38 -36
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +7 -7
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +11 -12
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +13 -9
- package/vscode/src/vs/workbench/contrib/contextmenu/browser/contextmenu.contribution.js +1 -2
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +17 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +43 -45
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +46 -47
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +185 -147
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +5 -6
- package/vscode/src/vs/workbench/contrib/debug/browser/debugANSIHandling.js +370 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -12
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +96 -100
- package/vscode/src/vs/workbench/contrib/debug/browser/debugExpressionRenderer.js +160 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +57 -57
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +3 -3
- package/vscode/src/vs/workbench/contrib/debug/browser/linkDetector.js +21 -17
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +6 -6
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +4 -40
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +28 -33
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +2 -3
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +1 -1
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +14 -6
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +357 -330
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +24 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensions.js +1 -24
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +5 -5
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +3 -4
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +5 -7
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +4 -4
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +5 -6
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +3 -4
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +16 -23
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +16 -19
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditorTracker.js +2 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +30 -32
- package/vscode/src/vs/workbench/contrib/files/browser/explorerFileContrib.js +2 -6
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +21 -23
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +93 -96
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands._save.js +28 -29
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +6 -6
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +44 -46
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._configuration.js +77 -77
- package/vscode/src/vs/workbench/contrib/files/browser/files.contribution._editorPane.js +9 -9
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +132 -25
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +74 -58
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +43 -49
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +4 -4
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +2 -3
- package/vscode/src/vs/workbench/contrib/files/common/explorerFileNestingTrie.js +8 -15
- package/vscode/src/vs/workbench/contrib/files/common/explorerModel.js +3 -5
- package/vscode/src/vs/workbench/contrib/files/common/files.js +16 -39
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +4 -5
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +26 -27
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +10 -20
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +3 -3
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +8 -10
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +77 -71
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +110 -153
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +18 -25
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +19 -6
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +30 -41
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +20 -20
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +19 -13
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +1 -2
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +62 -84
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +4 -5
- package/vscode/src/vs/workbench/contrib/list/browser/list.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/listResizeColumnAction.js +2 -2
- package/vscode/src/vs/workbench/contrib/list/browser/tableColumnResizeQuickPick.js +5 -5
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +3 -2
- package/vscode/src/vs/workbench/contrib/markdown/browser/markedGfmHeadingIdPlugin.js +39 -0
- package/vscode/src/vs/workbench/contrib/markers/common/markers.js +2 -7
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +8 -6
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +45 -47
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +3 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +2 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +26 -30
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +8 -13
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +13 -24
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +32 -31
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +8 -8
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +1 -1
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +13 -13
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +17 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +12 -12
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +21 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +6 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +17 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +8 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +4 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +37 -48
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +24 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +4 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +347 -127
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +12 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +230 -67
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/editorHeightCalculator.js +59 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +13 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +7 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +148 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffViewModel.js +125 -71
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditor.js +13 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/unchangedEditorRegions.js +36 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +32 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.js +1 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +18 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +56 -49
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +13 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +48 -36
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +3 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDnd.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellDragRenderer.js +3 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +26 -35
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +22 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +8 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +10 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +25 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +8 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +8 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +1 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +12 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +4 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +39 -49
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +32 -21
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookMetadataTextModel.js +85 -0
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +21 -35
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +17 -19
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +4 -7
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +2 -8
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +6 -8
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +12 -12
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +32 -36
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +50 -50
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsTreeModels.js +24 -31
- package/vscode/src/vs/workbench/contrib/preferences/common/preferences.js +6 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +21 -21
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +39 -36
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +17 -17
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +77 -79
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +2 -2
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +45 -49
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistory.js +250 -0
- package/vscode/src/vs/workbench/contrib/scm/browser/util.js +131 -0
- package/vscode/src/vs/workbench/contrib/scm/common/scm.js +1 -13
- package/vscode/src/vs/workbench/contrib/search/browser/anythingQuickAccess.js +11 -12
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +1 -1
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +29 -32
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +418 -266
- package/vscode/src/vs/workbench/contrib/search/browser/symbolsQuickAccess.js +11 -11
- package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +2 -3
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +1 -50
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +2 -2
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +8 -9
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +5 -11
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +22 -25
- package/vscode/src/vs/workbench/contrib/snippets/browser/tabCompletion.js +11 -11
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +31 -37
- package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.js +0 -1
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +5 -5
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +14 -83
- package/vscode/src/vs/workbench/contrib/terminal/browser/environmentVariableInfo.js +119 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +2 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.js +1 -27
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalActions.js +1770 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalContextMenu.js +40 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +9 -12
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalExtensions.js +25 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIconPicker.js +72 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalIcons.js +16 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalInstance.js +2218 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessExtHostProxy.js +8 -9
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalProcessManager.js +628 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalQuickAccess.js +143 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalResizeDebouncer.js +61 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalRunRecentQuickPick.js +315 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalStatusList.js +121 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalUri.js +39 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/widgets/widgetManager.js +36 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationAddon.js +498 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/decorationStyles.js +123 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/lineDataEventAddon.js +55 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +571 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +0 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +732 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/history.js +378 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +62 -165
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalClipboard.js +80 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +23 -23
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +141 -89
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.js +282 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalStrings.js +28 -28
- package/vscode/src/vs/workbench/contrib/terminalContrib/accessibility/common/terminal.accessibility.js +2 -10
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/media/terminalChatWidget.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChat.js +46 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatController.js +302 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.js +203 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/find/common/terminal.find.js +9 -20
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/media/stickyScroll.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollColorRegistry.js +22 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollContribution.js +97 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/stickyScroll/browser/terminalStickyScrollOverlay.js +372 -0
- package/vscode/src/vs/workbench/contrib/terminalContrib/suggest/common/terminal.suggest.js +9 -20
- package/vscode/src/vs/workbench/contrib/testing/common/getComputedState.js +3 -4
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +3 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +18 -29
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +41 -51
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +24 -35
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +39 -99
- package/vscode/src/vs/workbench/contrib/testing/common/testingStates.js +14 -15
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.js +2 -1
- package/vscode/src/vs/workbench/contrib/typeHierarchy/common/typeHierarchy.js +1 -6
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomainService.js +1 -2
- package/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.js +9 -10
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +3 -3
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.js +2 -9
- package/vscode/src/vs/workbench/contrib/webview/common/webview.js +3 -4
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +3 -4
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +1 -2
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewIconManager.js +1 -2
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +2 -2
- package/vscode/src/vs/workbench/services/activity/common/activity.d.ts +10 -1
- package/vscode/src/vs/workbench/services/activity/common/activity.js +29 -6
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +4 -6
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +5 -6
- package/vscode/src/vs/workbench/services/configuration/common/configuration.js +7 -8
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +16 -16
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +1 -1
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +15 -15
- package/vscode/src/vs/workbench/services/driver/browser/driver.js +1 -2
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +1 -3
- package/vscode/src/vs/workbench/services/editor/browser/editorService.js +26 -29
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +0 -1
- package/vscode/src/vs/workbench/services/editor/common/editorGroupColumn.js +5 -5
- package/vscode/src/vs/workbench/services/editor/common/editorGroupFinder.js +5 -5
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.js +2 -2
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +2 -7
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +6 -5
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +2 -21
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +13 -7
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +6 -7
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +2 -8
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostKind.js +10 -16
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostProtocol.js +7 -18
- package/vscode/src/vs/workbench/services/extensions/common/extensionManifestPropertiesService.js +0 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.js +3 -4
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +7 -18
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +82 -82
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +64 -103
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +20 -36
- package/vscode/src/vs/workbench/services/language/common/languageService.js +29 -30
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +27 -71
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycle.js +8 -28
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +11 -11
- package/vscode/src/vs/workbench/services/notebook/common/notebookDocumentService.js +12 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +7 -7
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/progress/browser/progressIndicator.js +18 -20
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.d.ts +6 -1
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +20 -16
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.service.d.ts +3 -3
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.d.ts +1 -0
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +34 -22
- package/vscode/src/vs/workbench/services/search/common/fileSearchManager.js +11 -7
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +15 -7
- package/vscode/src/vs/workbench/services/search/common/replace.js +11 -12
- package/vscode/src/vs/workbench/services/search/common/search.js +1 -32
- package/vscode/src/vs/workbench/services/search/common/searchExtConversionTypes.js +1 -0
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +3 -3
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.js +1 -6
- package/vscode/src/vs/workbench/services/storage/browser/storageService.js +13 -13
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +9 -9
- package/vscode/src/vs/workbench/services/textMate/common/TMHelper.js +107 -0
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +2 -6
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +0 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +30 -32
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.js +3 -27
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +24 -24
- package/vscode/src/vs/workbench/services/themes/common/colorThemeData.js +933 -0
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +15 -15
- package/vscode/src/vs/workbench/services/themes/common/plistParser.js +400 -0
- package/vscode/src/vs/workbench/services/themes/common/textMateScopeMatcher.js +120 -0
- package/vscode/src/vs/workbench/services/themes/common/themeCompatibility.js +76 -0
- package/vscode/src/vs/workbench/services/treeSitter/browser/treeSitterTokenizationFeature.service.js +3 -0
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +2 -2
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorModel.js +2 -2
- package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +11 -12
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +3 -3
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +1 -1
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +16 -22
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +51 -43
- package/vscode/src/vs/workbench/services/views/common/viewsService.service.d.ts +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/resourceWorkingCopy.js +2 -3
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +46 -59
- package/vscode/src/vs/workbench/services/workingCopy/common/workingCopy.js +1 -7
- package/vscode/src/vs/workbench/services/workspaces/common/workspaceTrust.js +14 -17
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +6 -0
- package/vscode-dts/vscode.proposed.aiTextSearchProviderNew.d.ts +5 -0
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +30 -3
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +4 -0
- package/vscode-dts/vscode.proposed.contribChatParticipantDetection.d.ts +1 -0
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemMenu.d.ts +1 -2
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +8 -2
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +1 -1
- package/vscode-dts/vscode.proposed.lmTools.d.ts +47 -9
- package/vscode-dts/vscode.proposed.mappedEditsProvider.d.ts +43 -1
- package/vscode-dts/vscode.proposed.notebookReplDocument.d.ts +17 -4
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +35 -33
- package/workbench.js +3 -1
- package/vscode/src/vs/base/common/charCode.js +0 -296
- package/vscode/src/vs/base/common/hotReload.js +0 -77
- package/vscode/src/vs/base/common/marshallingIds.js +0 -22
- package/vscode/src/vs/editor/common/cursorEvents.js +0 -11
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +0 -265
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +0 -376
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/ghostTextView.js +0 -271
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/commands.js +0 -125
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/consts.js +0 -8
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEdits.contribution.js +0 -9
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsController.js +0 -82
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsModel.js +0 -240
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.css.js +0 -4
- package/vscode/src/vs/editor/contrib/inlineEdits/browser/inlineEditsWidget.js +0 -322
- package/vscode/src/vs/platform/label/common/label.js +0 -7
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.js +0 -14
- package/vscode/src/vs/platform/workspace/common/workspaceTrust.js +0 -7
- package/vscode/src/vs/workbench/contrib/accessibility/common/accessibilityCommands.js +0 -16
- package/vscode/src/vs/workbench/contrib/chat/common/languageModels.js +0 -164
- package/vscode/src/vs/workbench/contrib/comments/common/commentCommandIds.js +0 -15
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +0 -271
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +0 -175
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellWidgets.js +0 -7
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalMenus.js +0 -720
- package/vscode/src/vs/workbench/contrib/testing/common/constants.js +0 -106
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionRecommendations.js +0 -11
- package/vscode/src/vs/workbench/services/outline/browser/outline.js +0 -22
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.js +0 -6
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemChangesMenu.d.ts +0 -7
- package/vscode-dts/vscode.proposed.contribSourceControlHistoryItemGroupMenu.d.ts +0 -10
- /package/vscode/src/vs/editor/browser/viewParts/{lines → viewLines}/domReadingContext.js +0 -0
- /package/vscode/src/vs/editor/browser/viewParts/{lines → viewLines}/viewLines.css.js +0 -0
|
@@ -1,20 +1,9 @@
|
|
|
1
1
|
import { equals } from '../../../base/common/arrays.js';
|
|
2
2
|
import { equals as equals$1 } from '../../../base/common/objects.js';
|
|
3
3
|
import { isMacintosh, isLinux } from '../../../base/common/platform.js';
|
|
4
|
-
import { ScrollbarVisibility } from '../../../base/common/scrollable.js';
|
|
5
|
-
import { Constants } from '../../../base/common/uint.js';
|
|
6
4
|
import { EDITOR_MODEL_DEFAULTS } from '../core/textModelDefaults.js';
|
|
7
5
|
import { USUAL_WORD_SEPARATORS } from '../core/wordHelper.js';
|
|
8
6
|
import { localize } from '../../../nls.js';
|
|
9
|
-
import { AccessibilitySupport } from '../../../platform/accessibility/common/accessibility.js';
|
|
10
|
-
var EditorAutoIndentStrategy;
|
|
11
|
-
( ((function(EditorAutoIndentStrategy) {
|
|
12
|
-
EditorAutoIndentStrategy[EditorAutoIndentStrategy["None"] = 0] = "None";
|
|
13
|
-
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Keep"] = 1] = "Keep";
|
|
14
|
-
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Brackets"] = 2] = "Brackets";
|
|
15
|
-
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Advanced"] = 3] = "Advanced";
|
|
16
|
-
EditorAutoIndentStrategy[EditorAutoIndentStrategy["Full"] = 4] = "Full";
|
|
17
|
-
})(EditorAutoIndentStrategy || (EditorAutoIndentStrategy = {}))));
|
|
18
7
|
const MINIMAP_GUTTER_WIDTH = 8;
|
|
19
8
|
class ConfigurationChangedEvent {
|
|
20
9
|
constructor(values) {
|
|
@@ -269,16 +258,16 @@ class EditorEnumOption extends BaseEditorOption {
|
|
|
269
258
|
}
|
|
270
259
|
function _autoIndentFromString(autoIndent) {
|
|
271
260
|
switch (autoIndent) {
|
|
272
|
-
case 'none': return
|
|
273
|
-
case 'keep': return
|
|
274
|
-
case 'brackets': return
|
|
275
|
-
case 'advanced': return
|
|
276
|
-
case 'full': return
|
|
261
|
+
case 'none': return 0 ;
|
|
262
|
+
case 'keep': return 1 ;
|
|
263
|
+
case 'brackets': return 2 ;
|
|
264
|
+
case 'advanced': return 3 ;
|
|
265
|
+
case 'full': return 4 ;
|
|
277
266
|
}
|
|
278
267
|
}
|
|
279
268
|
class EditorAccessibilitySupport extends BaseEditorOption {
|
|
280
269
|
constructor() {
|
|
281
|
-
super(
|
|
270
|
+
super(2 , 'accessibilitySupport', 0 , {
|
|
282
271
|
type: 'string',
|
|
283
272
|
enum: ['auto', 'on', 'off'],
|
|
284
273
|
enumDescriptions: [
|
|
@@ -296,14 +285,14 @@ class EditorAccessibilitySupport extends BaseEditorOption {
|
|
|
296
285
|
}
|
|
297
286
|
validate(input) {
|
|
298
287
|
switch (input) {
|
|
299
|
-
case 'auto': return
|
|
300
|
-
case 'off': return
|
|
301
|
-
case 'on': return
|
|
288
|
+
case 'auto': return 0 ;
|
|
289
|
+
case 'off': return 1 ;
|
|
290
|
+
case 'on': return 2 ;
|
|
302
291
|
}
|
|
303
292
|
return this.defaultValue;
|
|
304
293
|
}
|
|
305
294
|
compute(env, options, value) {
|
|
306
|
-
if (value ===
|
|
295
|
+
if (value === 0 ) {
|
|
307
296
|
return env.accessibilitySupport;
|
|
308
297
|
}
|
|
309
298
|
return value;
|
|
@@ -315,7 +304,7 @@ class EditorComments extends BaseEditorOption {
|
|
|
315
304
|
insertSpace: true,
|
|
316
305
|
ignoreEmptyLines: true,
|
|
317
306
|
};
|
|
318
|
-
super(
|
|
307
|
+
super(23 , 'comments', defaults, {
|
|
319
308
|
'editor.comments.insertSpace': {
|
|
320
309
|
type: 'boolean',
|
|
321
310
|
default: defaults.insertSpace,
|
|
@@ -342,22 +331,13 @@ class EditorComments extends BaseEditorOption {
|
|
|
342
331
|
};
|
|
343
332
|
}
|
|
344
333
|
}
|
|
345
|
-
|
|
346
|
-
( ((function(TextEditorCursorBlinkingStyle) {
|
|
347
|
-
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Hidden"] = 0] = "Hidden";
|
|
348
|
-
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Blink"] = 1] = "Blink";
|
|
349
|
-
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Smooth"] = 2] = "Smooth";
|
|
350
|
-
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Phase"] = 3] = "Phase";
|
|
351
|
-
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Expand"] = 4] = "Expand";
|
|
352
|
-
TextEditorCursorBlinkingStyle[TextEditorCursorBlinkingStyle["Solid"] = 5] = "Solid";
|
|
353
|
-
})(TextEditorCursorBlinkingStyle || (TextEditorCursorBlinkingStyle = {}))));
|
|
354
|
-
function _cursorBlinkingStyleFromString(cursorBlinkingStyle) {
|
|
334
|
+
function cursorBlinkingStyleFromString(cursorBlinkingStyle) {
|
|
355
335
|
switch (cursorBlinkingStyle) {
|
|
356
|
-
case 'blink': return
|
|
357
|
-
case 'smooth': return
|
|
358
|
-
case 'phase': return
|
|
359
|
-
case 'expand': return
|
|
360
|
-
case 'solid': return
|
|
336
|
+
case 'blink': return 1 ;
|
|
337
|
+
case 'smooth': return 2 ;
|
|
338
|
+
case 'phase': return 3 ;
|
|
339
|
+
case 'expand': return 4 ;
|
|
340
|
+
case 'solid': return 5 ;
|
|
361
341
|
}
|
|
362
342
|
}
|
|
363
343
|
var TextEditorCursorStyle;
|
|
@@ -379,7 +359,7 @@ function cursorStyleToString(cursorStyle) {
|
|
|
379
359
|
case TextEditorCursorStyle.UnderlineThin: return 'underline-thin';
|
|
380
360
|
}
|
|
381
361
|
}
|
|
382
|
-
function
|
|
362
|
+
function cursorStyleFromString(cursorStyle) {
|
|
383
363
|
switch (cursorStyle) {
|
|
384
364
|
case 'line': return TextEditorCursorStyle.Line;
|
|
385
365
|
case 'block': return TextEditorCursorStyle.Block;
|
|
@@ -391,26 +371,26 @@ function _cursorStyleFromString(cursorStyle) {
|
|
|
391
371
|
}
|
|
392
372
|
class EditorClassName extends ComputedEditorOption {
|
|
393
373
|
constructor() {
|
|
394
|
-
super(
|
|
374
|
+
super(145 );
|
|
395
375
|
}
|
|
396
376
|
compute(env, options, _) {
|
|
397
377
|
const classNames = ['monaco-editor'];
|
|
398
|
-
if (options.get(
|
|
399
|
-
classNames.push(options.get(
|
|
378
|
+
if (options.get(41 )) {
|
|
379
|
+
classNames.push(options.get(41 ));
|
|
400
380
|
}
|
|
401
381
|
if (env.extraEditorClassName) {
|
|
402
382
|
classNames.push(env.extraEditorClassName);
|
|
403
383
|
}
|
|
404
|
-
if (options.get(
|
|
384
|
+
if (options.get(76 ) === 'default') {
|
|
405
385
|
classNames.push('mouse-default');
|
|
406
386
|
}
|
|
407
|
-
else if (options.get(
|
|
387
|
+
else if (options.get(76 ) === 'copy') {
|
|
408
388
|
classNames.push('mouse-copy');
|
|
409
389
|
}
|
|
410
|
-
if (options.get(
|
|
390
|
+
if (options.get(114 )) {
|
|
411
391
|
classNames.push('showUnused');
|
|
412
392
|
}
|
|
413
|
-
if (options.get(
|
|
393
|
+
if (options.get(143 )) {
|
|
414
394
|
classNames.push('showDeprecated');
|
|
415
395
|
}
|
|
416
396
|
return classNames.join(' ');
|
|
@@ -418,7 +398,7 @@ class EditorClassName extends ComputedEditorOption {
|
|
|
418
398
|
}
|
|
419
399
|
class EditorEmptySelectionClipboard extends EditorBooleanOption {
|
|
420
400
|
constructor() {
|
|
421
|
-
super(
|
|
401
|
+
super(38 , 'emptySelectionClipboard', true, { description: ( localize(
|
|
422
402
|
81,
|
|
423
403
|
"Controls whether copying without a selection copies the current line."
|
|
424
404
|
)) });
|
|
@@ -437,7 +417,7 @@ class EditorFind extends BaseEditorOption {
|
|
|
437
417
|
addExtraSpaceOnTop: true,
|
|
438
418
|
loop: true
|
|
439
419
|
};
|
|
440
|
-
super(
|
|
420
|
+
super(43 , 'find', defaults, {
|
|
441
421
|
'editor.find.cursorMoveOnType': {
|
|
442
422
|
type: 'boolean',
|
|
443
423
|
default: defaults.cursorMoveOnType,
|
|
@@ -530,7 +510,7 @@ class EditorFontLigatures extends BaseEditorOption {
|
|
|
530
510
|
static { this.OFF = '"liga" off, "calt" off'; }
|
|
531
511
|
static { this.ON = '"liga" on, "calt" on'; }
|
|
532
512
|
constructor() {
|
|
533
|
-
super(
|
|
513
|
+
super(53 , 'fontLigatures', EditorFontLigatures.OFF, {
|
|
534
514
|
anyOf: [
|
|
535
515
|
{
|
|
536
516
|
type: 'boolean',
|
|
@@ -577,7 +557,7 @@ class EditorFontVariations extends BaseEditorOption {
|
|
|
577
557
|
static { this.OFF = 'normal'; }
|
|
578
558
|
static { this.TRANSLATE = 'translate'; }
|
|
579
559
|
constructor() {
|
|
580
|
-
super(
|
|
560
|
+
super(56 , 'fontVariations', EditorFontVariations.OFF, {
|
|
581
561
|
anyOf: [
|
|
582
562
|
{
|
|
583
563
|
type: 'boolean',
|
|
@@ -625,7 +605,7 @@ class EditorFontVariations extends BaseEditorOption {
|
|
|
625
605
|
}
|
|
626
606
|
class EditorFontInfo extends ComputedEditorOption {
|
|
627
607
|
constructor() {
|
|
628
|
-
super(
|
|
608
|
+
super(52 );
|
|
629
609
|
}
|
|
630
610
|
compute(env, options, _) {
|
|
631
611
|
return env.fontInfo;
|
|
@@ -633,7 +613,7 @@ class EditorFontInfo extends ComputedEditorOption {
|
|
|
633
613
|
}
|
|
634
614
|
class EditorFontSize extends SimpleEditorOption {
|
|
635
615
|
constructor() {
|
|
636
|
-
super(
|
|
616
|
+
super(54 , 'fontSize', EDITOR_FONT_DEFAULTS.fontSize, {
|
|
637
617
|
type: 'number',
|
|
638
618
|
minimum: 6,
|
|
639
619
|
maximum: 100,
|
|
@@ -657,7 +637,7 @@ class EditorFontWeight extends BaseEditorOption {
|
|
|
657
637
|
static { this.MINIMUM_VALUE = 1; }
|
|
658
638
|
static { this.MAXIMUM_VALUE = 1000; }
|
|
659
639
|
constructor() {
|
|
660
|
-
super(
|
|
640
|
+
super(55 , 'fontWeight', EDITOR_FONT_DEFAULTS.fontWeight, {
|
|
661
641
|
anyOf: [
|
|
662
642
|
{
|
|
663
643
|
type: 'number',
|
|
@@ -718,7 +698,7 @@ class EditorGoToLocation extends BaseEditorOption {
|
|
|
718
698
|
]
|
|
719
699
|
};
|
|
720
700
|
const alternativeCommandOptions = ['', 'editor.action.referenceSearch.trigger', 'editor.action.goToReferences', 'editor.action.peekImplementation', 'editor.action.goToImplementation', 'editor.action.peekTypeDefinition', 'editor.action.goToTypeDefinition', 'editor.action.peekDeclaration', 'editor.action.revealDeclaration', 'editor.action.peekDefinition', 'editor.action.revealDefinitionAside', 'editor.action.revealDefinition'];
|
|
721
|
-
super(
|
|
701
|
+
super(60 , 'gotoLocation', defaults, {
|
|
722
702
|
'editor.gotoLocation.multiple': {
|
|
723
703
|
deprecationMessage: ( localize(
|
|
724
704
|
106,
|
|
@@ -838,7 +818,7 @@ class EditorHover extends BaseEditorOption {
|
|
|
838
818
|
sticky: true,
|
|
839
819
|
above: true,
|
|
840
820
|
};
|
|
841
|
-
super(
|
|
821
|
+
super(62 , 'hover', defaults, {
|
|
842
822
|
'editor.hover.enabled': {
|
|
843
823
|
type: 'boolean',
|
|
844
824
|
default: defaults.enabled,
|
|
@@ -889,15 +869,9 @@ class EditorHover extends BaseEditorOption {
|
|
|
889
869
|
};
|
|
890
870
|
}
|
|
891
871
|
}
|
|
892
|
-
var RenderMinimap;
|
|
893
|
-
( ((function(RenderMinimap) {
|
|
894
|
-
RenderMinimap[RenderMinimap["None"] = 0] = "None";
|
|
895
|
-
RenderMinimap[RenderMinimap["Text"] = 1] = "Text";
|
|
896
|
-
RenderMinimap[RenderMinimap["Blocks"] = 2] = "Blocks";
|
|
897
|
-
})(RenderMinimap || (RenderMinimap = {}))));
|
|
898
872
|
class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
899
873
|
constructor() {
|
|
900
|
-
super(
|
|
874
|
+
super(148 );
|
|
901
875
|
}
|
|
902
876
|
compute(env, options, _) {
|
|
903
877
|
return EditorLayoutInfoComputer.computeLayout(options, {
|
|
@@ -931,7 +905,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
931
905
|
const pixelRatio = input.pixelRatio;
|
|
932
906
|
if (!input.minimap.enabled) {
|
|
933
907
|
return {
|
|
934
|
-
renderMinimap:
|
|
908
|
+
renderMinimap: 0 ,
|
|
935
909
|
minimapLeft: 0,
|
|
936
910
|
minimapWidth: 0,
|
|
937
911
|
minimapHeightIsEditorHeight: false,
|
|
@@ -1043,7 +1017,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1043
1017
|
let minimapCanvasInnerWidth = Math.floor(pixelRatio * minimapWidth);
|
|
1044
1018
|
const minimapCanvasOuterWidth = minimapCanvasInnerWidth / pixelRatio;
|
|
1045
1019
|
minimapCanvasInnerWidth = Math.floor(minimapCanvasInnerWidth * minimapWidthMultiplier);
|
|
1046
|
-
const renderMinimap = (minimapRenderCharacters ?
|
|
1020
|
+
const renderMinimap = ((minimapRenderCharacters ? 1 : 2) );
|
|
1047
1021
|
const minimapLeft = (minimapSide === 'left' ? 0 : (outerWidth - minimapWidth - verticalScrollbarWidth));
|
|
1048
1022
|
return {
|
|
1049
1023
|
renderMinimap,
|
|
@@ -1068,25 +1042,25 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1068
1042
|
const maxDigitWidth = env.maxDigitWidth;
|
|
1069
1043
|
const pixelRatio = env.pixelRatio;
|
|
1070
1044
|
const viewLineCount = env.viewLineCount;
|
|
1071
|
-
const wordWrapOverride2 = options.get(
|
|
1072
|
-
const wordWrapOverride1 = (wordWrapOverride2 === 'inherit' ? options.get(
|
|
1073
|
-
const wordWrap = (wordWrapOverride1 === 'inherit' ? options.get(
|
|
1074
|
-
const wordWrapColumn = options.get(
|
|
1045
|
+
const wordWrapOverride2 = options.get(140 );
|
|
1046
|
+
const wordWrapOverride1 = (wordWrapOverride2 === 'inherit' ? options.get(139 ) : wordWrapOverride2);
|
|
1047
|
+
const wordWrap = (wordWrapOverride1 === 'inherit' ? options.get(135 ) : wordWrapOverride1);
|
|
1048
|
+
const wordWrapColumn = options.get(138 );
|
|
1075
1049
|
const isDominatedByLongLines = env.isDominatedByLongLines;
|
|
1076
|
-
const showGlyphMargin = options.get(
|
|
1077
|
-
const showLineNumbers = (options.get(
|
|
1078
|
-
const lineNumbersMinChars = options.get(
|
|
1079
|
-
const scrollBeyondLastLine = options.get(
|
|
1080
|
-
const padding = options.get(
|
|
1081
|
-
const minimap = options.get(
|
|
1082
|
-
const scrollbar = options.get(
|
|
1050
|
+
const showGlyphMargin = options.get(59 );
|
|
1051
|
+
const showLineNumbers = ((options.get(70 ).renderType !== 0) );
|
|
1052
|
+
const lineNumbersMinChars = options.get(71 );
|
|
1053
|
+
const scrollBeyondLastLine = options.get(108 );
|
|
1054
|
+
const padding = options.get(86 );
|
|
1055
|
+
const minimap = options.get(75 );
|
|
1056
|
+
const scrollbar = options.get(106 );
|
|
1083
1057
|
const verticalScrollbarWidth = scrollbar.verticalScrollbarSize;
|
|
1084
1058
|
const verticalScrollbarHasArrows = scrollbar.verticalHasArrows;
|
|
1085
1059
|
const scrollbarArrowSize = scrollbar.arrowSize;
|
|
1086
1060
|
const horizontalScrollbarHeight = scrollbar.horizontalScrollbarSize;
|
|
1087
|
-
const folding = options.get(
|
|
1088
|
-
const showFoldingDecoration = options.get(
|
|
1089
|
-
let lineDecorationsWidth = options.get(
|
|
1061
|
+
const folding = options.get(45 );
|
|
1062
|
+
const showFoldingDecoration = options.get(113 ) !== 'never';
|
|
1063
|
+
let lineDecorationsWidth = options.get(68 );
|
|
1090
1064
|
if (folding && showFoldingDecoration) {
|
|
1091
1065
|
lineDecorationsWidth += 16;
|
|
1092
1066
|
}
|
|
@@ -1132,7 +1106,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1132
1106
|
remainingWidth: remainingWidth,
|
|
1133
1107
|
isViewportWrapping: isViewportWrapping,
|
|
1134
1108
|
}, env.memory || ( (new ComputeOptionsMemory())));
|
|
1135
|
-
if (minimapLayout.renderMinimap !==
|
|
1109
|
+
if (minimapLayout.renderMinimap !== 0 && minimapLayout.minimapLeft === 0) {
|
|
1136
1110
|
glyphMarginLeft += minimapLayout.minimapWidth;
|
|
1137
1111
|
lineNumbersLeft += minimapLayout.minimapWidth;
|
|
1138
1112
|
decorationsLeft += minimapLayout.minimapWidth;
|
|
@@ -1177,7 +1151,7 @@ class EditorLayoutInfoComputer extends ComputedEditorOption {
|
|
|
1177
1151
|
}
|
|
1178
1152
|
class WrappingStrategy extends BaseEditorOption {
|
|
1179
1153
|
constructor() {
|
|
1180
|
-
super(
|
|
1154
|
+
super(142 , 'wrappingStrategy', 'simple', {
|
|
1181
1155
|
'editor.wrappingStrategy': {
|
|
1182
1156
|
enumDescriptions: [
|
|
1183
1157
|
( localize(
|
|
@@ -1203,8 +1177,8 @@ class WrappingStrategy extends BaseEditorOption {
|
|
|
1203
1177
|
return stringSet(input, 'simple', ['simple', 'advanced']);
|
|
1204
1178
|
}
|
|
1205
1179
|
compute(env, options, value) {
|
|
1206
|
-
const accessibilitySupport = options.get(
|
|
1207
|
-
if (accessibilitySupport ===
|
|
1180
|
+
const accessibilitySupport = options.get(2 );
|
|
1181
|
+
if (accessibilitySupport === 2 ) {
|
|
1208
1182
|
return 'advanced';
|
|
1209
1183
|
}
|
|
1210
1184
|
return value;
|
|
@@ -1219,7 +1193,7 @@ var ShowLightbulbIconMode;
|
|
|
1219
1193
|
class EditorLightbulb extends BaseEditorOption {
|
|
1220
1194
|
constructor() {
|
|
1221
1195
|
const defaults = { enabled: ShowLightbulbIconMode.OnCode };
|
|
1222
|
-
super(
|
|
1196
|
+
super(67 , 'lightbulb', defaults, {
|
|
1223
1197
|
'editor.lightbulb.enabled': {
|
|
1224
1198
|
type: 'string',
|
|
1225
1199
|
tags: ['experimental'],
|
|
@@ -1250,7 +1224,7 @@ class EditorLightbulb extends BaseEditorOption {
|
|
|
1250
1224
|
class EditorStickyScroll extends BaseEditorOption {
|
|
1251
1225
|
constructor() {
|
|
1252
1226
|
const defaults = { enabled: true, maxLineCount: 5, defaultModel: 'outlineModel', scrollWithEditor: true };
|
|
1253
|
-
super(
|
|
1227
|
+
super(118 , 'stickyScroll', defaults, {
|
|
1254
1228
|
'editor.stickyScroll.enabled': {
|
|
1255
1229
|
type: 'boolean',
|
|
1256
1230
|
default: defaults.enabled,
|
|
@@ -1301,8 +1275,8 @@ class EditorStickyScroll extends BaseEditorOption {
|
|
|
1301
1275
|
}
|
|
1302
1276
|
class EditorInlayHints extends BaseEditorOption {
|
|
1303
1277
|
constructor() {
|
|
1304
|
-
const defaults = { enabled: 'on', fontSize: 0, fontFamily: '', padding: false };
|
|
1305
|
-
super(
|
|
1278
|
+
const defaults = { enabled: 'on', fontSize: 0, fontFamily: '', padding: false, maximumLength: 43 };
|
|
1279
|
+
super(144 , 'inlayHints', defaults, {
|
|
1306
1280
|
'editor.inlayHints.enabled': {
|
|
1307
1281
|
type: 'string',
|
|
1308
1282
|
default: defaults.enabled,
|
|
@@ -1346,6 +1320,14 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1346
1320
|
type: 'boolean',
|
|
1347
1321
|
default: defaults.padding,
|
|
1348
1322
|
description: ( localize(140, "Enables the padding around the inlay hints in the editor."))
|
|
1323
|
+
},
|
|
1324
|
+
'editor.inlayHints.maximumLength': {
|
|
1325
|
+
type: 'number',
|
|
1326
|
+
default: defaults.maximumLength,
|
|
1327
|
+
markdownDescription: ( localize(
|
|
1328
|
+
141,
|
|
1329
|
+
"Maximum overall length of inlay hints, for a single line, before they get truncated by the editor. Set to `0` to never truncate"
|
|
1330
|
+
))
|
|
1349
1331
|
}
|
|
1350
1332
|
});
|
|
1351
1333
|
}
|
|
@@ -1361,13 +1343,14 @@ class EditorInlayHints extends BaseEditorOption {
|
|
|
1361
1343
|
enabled: stringSet(input.enabled, this.defaultValue.enabled, ['on', 'off', 'offUnlessPressed', 'onUnlessPressed']),
|
|
1362
1344
|
fontSize: EditorIntOption.clampedInt(input.fontSize, this.defaultValue.fontSize, 0, 100),
|
|
1363
1345
|
fontFamily: EditorStringOption.string(input.fontFamily, this.defaultValue.fontFamily),
|
|
1364
|
-
padding: boolean(input.padding, this.defaultValue.padding)
|
|
1346
|
+
padding: boolean(input.padding, this.defaultValue.padding),
|
|
1347
|
+
maximumLength: EditorIntOption.clampedInt(input.maximumLength, this.defaultValue.maximumLength, 0, Number.MAX_SAFE_INTEGER),
|
|
1365
1348
|
};
|
|
1366
1349
|
}
|
|
1367
1350
|
}
|
|
1368
1351
|
class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
1369
1352
|
constructor() {
|
|
1370
|
-
super(
|
|
1353
|
+
super(68 , 'lineDecorationsWidth', 10);
|
|
1371
1354
|
}
|
|
1372
1355
|
validate(input) {
|
|
1373
1356
|
if (typeof input === 'string' && /^\d+(\.\d+)?ch$/.test(input)) {
|
|
@@ -1389,8 +1372,8 @@ class EditorLineDecorationsWidth extends BaseEditorOption {
|
|
|
1389
1372
|
}
|
|
1390
1373
|
class EditorLineHeight extends EditorFloatOption {
|
|
1391
1374
|
constructor() {
|
|
1392
|
-
super(
|
|
1393
|
-
|
|
1375
|
+
super(69 , 'lineHeight', EDITOR_FONT_DEFAULTS.lineHeight, x => EditorFloatOption.clamp(x, 0, 150), { markdownDescription: ( localize(
|
|
1376
|
+
142,
|
|
1394
1377
|
"Controls the line height. \n - Use 0 to automatically compute the line height from the font size.\n - Values between 0 and 8 will be used as a multiplier with the font size.\n - Values greater than or equal to 8 will be used as effective values."
|
|
1395
1378
|
)) });
|
|
1396
1379
|
}
|
|
@@ -1414,48 +1397,48 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1414
1397
|
sectionHeaderFontSize: 9,
|
|
1415
1398
|
sectionHeaderLetterSpacing: 1,
|
|
1416
1399
|
};
|
|
1417
|
-
super(
|
|
1400
|
+
super(75 , 'minimap', defaults, {
|
|
1418
1401
|
'editor.minimap.enabled': {
|
|
1419
1402
|
type: 'boolean',
|
|
1420
1403
|
default: defaults.enabled,
|
|
1421
|
-
description: ( localize(
|
|
1404
|
+
description: ( localize(143, "Controls whether the minimap is shown."))
|
|
1422
1405
|
},
|
|
1423
1406
|
'editor.minimap.autohide': {
|
|
1424
1407
|
type: 'boolean',
|
|
1425
1408
|
default: defaults.autohide,
|
|
1426
|
-
description: ( localize(
|
|
1409
|
+
description: ( localize(144, "Controls whether the minimap is hidden automatically."))
|
|
1427
1410
|
},
|
|
1428
1411
|
'editor.minimap.size': {
|
|
1429
1412
|
type: 'string',
|
|
1430
1413
|
enum: ['proportional', 'fill', 'fit'],
|
|
1431
1414
|
enumDescriptions: [
|
|
1432
1415
|
( localize(
|
|
1433
|
-
|
|
1416
|
+
145,
|
|
1434
1417
|
"The minimap has the same size as the editor contents (and might scroll)."
|
|
1435
1418
|
)),
|
|
1436
1419
|
( localize(
|
|
1437
|
-
|
|
1420
|
+
146,
|
|
1438
1421
|
"The minimap will stretch or shrink as necessary to fill the height of the editor (no scrolling)."
|
|
1439
1422
|
)),
|
|
1440
1423
|
( localize(
|
|
1441
|
-
|
|
1424
|
+
147,
|
|
1442
1425
|
"The minimap will shrink as necessary to never be larger than the editor (no scrolling)."
|
|
1443
1426
|
)),
|
|
1444
1427
|
],
|
|
1445
1428
|
default: defaults.size,
|
|
1446
|
-
description: ( localize(
|
|
1429
|
+
description: ( localize(148, "Controls the size of the minimap."))
|
|
1447
1430
|
},
|
|
1448
1431
|
'editor.minimap.side': {
|
|
1449
1432
|
type: 'string',
|
|
1450
1433
|
enum: ['left', 'right'],
|
|
1451
1434
|
default: defaults.side,
|
|
1452
|
-
description: ( localize(
|
|
1435
|
+
description: ( localize(149, "Controls the side where to render the minimap."))
|
|
1453
1436
|
},
|
|
1454
1437
|
'editor.minimap.showSlider': {
|
|
1455
1438
|
type: 'string',
|
|
1456
1439
|
enum: ['always', 'mouseover'],
|
|
1457
1440
|
default: defaults.showSlider,
|
|
1458
|
-
description: ( localize(
|
|
1441
|
+
description: ( localize(150, "Controls when the minimap slider is shown."))
|
|
1459
1442
|
},
|
|
1460
1443
|
'editor.minimap.scale': {
|
|
1461
1444
|
type: 'number',
|
|
@@ -1463,18 +1446,18 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1463
1446
|
minimum: 1,
|
|
1464
1447
|
maximum: 3,
|
|
1465
1448
|
enum: [1, 2, 3],
|
|
1466
|
-
description: ( localize(
|
|
1449
|
+
description: ( localize(151, "Scale of content drawn in the minimap: 1, 2 or 3."))
|
|
1467
1450
|
},
|
|
1468
1451
|
'editor.minimap.renderCharacters': {
|
|
1469
1452
|
type: 'boolean',
|
|
1470
1453
|
default: defaults.renderCharacters,
|
|
1471
|
-
description: ( localize(
|
|
1454
|
+
description: ( localize(152, "Render the actual characters on a line as opposed to color blocks."))
|
|
1472
1455
|
},
|
|
1473
1456
|
'editor.minimap.maxColumn': {
|
|
1474
1457
|
type: 'number',
|
|
1475
1458
|
default: defaults.maxColumn,
|
|
1476
1459
|
description: ( localize(
|
|
1477
|
-
|
|
1460
|
+
153,
|
|
1478
1461
|
"Limit the width of the minimap to render at most a certain number of columns."
|
|
1479
1462
|
))
|
|
1480
1463
|
},
|
|
@@ -1482,7 +1465,7 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1482
1465
|
type: 'boolean',
|
|
1483
1466
|
default: defaults.showRegionSectionHeaders,
|
|
1484
1467
|
description: ( localize(
|
|
1485
|
-
|
|
1468
|
+
154,
|
|
1486
1469
|
"Controls whether named regions are shown as section headers in the minimap."
|
|
1487
1470
|
))
|
|
1488
1471
|
},
|
|
@@ -1490,20 +1473,20 @@ class EditorMinimap extends BaseEditorOption {
|
|
|
1490
1473
|
type: 'boolean',
|
|
1491
1474
|
default: defaults.showMarkSectionHeaders,
|
|
1492
1475
|
description: ( localize(
|
|
1493
|
-
|
|
1476
|
+
155,
|
|
1494
1477
|
"Controls whether MARK: comments are shown as section headers in the minimap."
|
|
1495
1478
|
))
|
|
1496
1479
|
},
|
|
1497
1480
|
'editor.minimap.sectionHeaderFontSize': {
|
|
1498
1481
|
type: 'number',
|
|
1499
1482
|
default: defaults.sectionHeaderFontSize,
|
|
1500
|
-
description: ( localize(
|
|
1483
|
+
description: ( localize(156, "Controls the font size of section headers in the minimap."))
|
|
1501
1484
|
},
|
|
1502
1485
|
'editor.minimap.sectionHeaderLetterSpacing': {
|
|
1503
1486
|
type: 'number',
|
|
1504
1487
|
default: defaults.sectionHeaderLetterSpacing,
|
|
1505
1488
|
description: ( localize(
|
|
1506
|
-
|
|
1489
|
+
157,
|
|
1507
1490
|
"Controls the amount of space (in pixels) between characters of section header. This helps the readability of the header in small font sizes."
|
|
1508
1491
|
))
|
|
1509
1492
|
}
|
|
@@ -1538,14 +1521,14 @@ function _multiCursorModifierFromString(multiCursorModifier) {
|
|
|
1538
1521
|
}
|
|
1539
1522
|
class EditorPadding extends BaseEditorOption {
|
|
1540
1523
|
constructor() {
|
|
1541
|
-
super(
|
|
1524
|
+
super(86 , 'padding', { top: 0, bottom: 0 }, {
|
|
1542
1525
|
'editor.padding.top': {
|
|
1543
1526
|
type: 'number',
|
|
1544
1527
|
default: 0,
|
|
1545
1528
|
minimum: 0,
|
|
1546
1529
|
maximum: 1000,
|
|
1547
1530
|
description: ( localize(
|
|
1548
|
-
|
|
1531
|
+
158,
|
|
1549
1532
|
"Controls the amount of space between the top edge of the editor and the first line."
|
|
1550
1533
|
))
|
|
1551
1534
|
},
|
|
@@ -1555,7 +1538,7 @@ class EditorPadding extends BaseEditorOption {
|
|
|
1555
1538
|
minimum: 0,
|
|
1556
1539
|
maximum: 1000,
|
|
1557
1540
|
description: ( localize(
|
|
1558
|
-
|
|
1541
|
+
159,
|
|
1559
1542
|
"Controls the amount of space between the bottom edge of the editor and the last line."
|
|
1560
1543
|
))
|
|
1561
1544
|
}
|
|
@@ -1578,12 +1561,12 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1578
1561
|
enabled: true,
|
|
1579
1562
|
cycle: true
|
|
1580
1563
|
};
|
|
1581
|
-
super(
|
|
1564
|
+
super(88 , 'parameterHints', defaults, {
|
|
1582
1565
|
'editor.parameterHints.enabled': {
|
|
1583
1566
|
type: 'boolean',
|
|
1584
1567
|
default: defaults.enabled,
|
|
1585
1568
|
description: ( localize(
|
|
1586
|
-
|
|
1569
|
+
160,
|
|
1587
1570
|
"Enables a pop-up that shows parameter documentation and type information as you type."
|
|
1588
1571
|
))
|
|
1589
1572
|
},
|
|
@@ -1591,7 +1574,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1591
1574
|
type: 'boolean',
|
|
1592
1575
|
default: defaults.cycle,
|
|
1593
1576
|
description: ( localize(
|
|
1594
|
-
|
|
1577
|
+
161,
|
|
1595
1578
|
"Controls whether the parameter hints menu cycles or closes when reaching the end of the list."
|
|
1596
1579
|
))
|
|
1597
1580
|
},
|
|
@@ -1610,7 +1593,7 @@ class EditorParameterHints extends BaseEditorOption {
|
|
|
1610
1593
|
}
|
|
1611
1594
|
class EditorPixelRatio extends ComputedEditorOption {
|
|
1612
1595
|
constructor() {
|
|
1613
|
-
super(
|
|
1596
|
+
super(146 );
|
|
1614
1597
|
}
|
|
1615
1598
|
compute(env, options, _) {
|
|
1616
1599
|
return env.pixelRatio;
|
|
@@ -1618,7 +1601,7 @@ class EditorPixelRatio extends ComputedEditorOption {
|
|
|
1618
1601
|
}
|
|
1619
1602
|
class PlaceholderOption extends BaseEditorOption {
|
|
1620
1603
|
constructor() {
|
|
1621
|
-
super(
|
|
1604
|
+
super(90 , 'placeholder', undefined);
|
|
1622
1605
|
}
|
|
1623
1606
|
validate(input) {
|
|
1624
1607
|
if (typeof input === 'undefined') {
|
|
@@ -1642,32 +1625,32 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1642
1625
|
{
|
|
1643
1626
|
type: 'string',
|
|
1644
1627
|
enum: ['on', 'inline', 'off'],
|
|
1645
|
-
enumDescriptions: [( localize(
|
|
1628
|
+
enumDescriptions: [( localize(162, "Quick suggestions show inside the suggest widget")), ( localize(163, "Quick suggestions show as ghost text")), ( localize(164, "Quick suggestions are disabled"))]
|
|
1646
1629
|
}
|
|
1647
1630
|
];
|
|
1648
|
-
super(
|
|
1631
|
+
super(92 , 'quickSuggestions', defaults, {
|
|
1649
1632
|
type: 'object',
|
|
1650
1633
|
additionalProperties: false,
|
|
1651
1634
|
properties: {
|
|
1652
1635
|
strings: {
|
|
1653
1636
|
anyOf: types,
|
|
1654
1637
|
default: defaults.strings,
|
|
1655
|
-
description: ( localize(
|
|
1638
|
+
description: ( localize(165, "Enable quick suggestions inside strings."))
|
|
1656
1639
|
},
|
|
1657
1640
|
comments: {
|
|
1658
1641
|
anyOf: types,
|
|
1659
1642
|
default: defaults.comments,
|
|
1660
|
-
description: ( localize(
|
|
1643
|
+
description: ( localize(166, "Enable quick suggestions inside comments."))
|
|
1661
1644
|
},
|
|
1662
1645
|
other: {
|
|
1663
1646
|
anyOf: types,
|
|
1664
1647
|
default: defaults.other,
|
|
1665
|
-
description: ( localize(
|
|
1648
|
+
description: ( localize(167, "Enable quick suggestions outside of strings and comments."))
|
|
1666
1649
|
},
|
|
1667
1650
|
},
|
|
1668
1651
|
default: defaults,
|
|
1669
1652
|
markdownDescription: ( localize(
|
|
1670
|
-
|
|
1653
|
+
168,
|
|
1671
1654
|
"Controls whether suggestions should automatically show up while typing. This can be controlled for typing in comments, strings, and other code. Quick suggestion can be configured to show as ghost text or with the suggest widget. Also be aware of the {0}-setting which controls if suggestions are triggered by special characters.",
|
|
1672
1655
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
1673
1656
|
))
|
|
@@ -1712,27 +1695,19 @@ class EditorQuickSuggestions extends BaseEditorOption {
|
|
|
1712
1695
|
};
|
|
1713
1696
|
}
|
|
1714
1697
|
}
|
|
1715
|
-
var RenderLineNumbersType;
|
|
1716
|
-
( ((function(RenderLineNumbersType) {
|
|
1717
|
-
RenderLineNumbersType[RenderLineNumbersType["Off"] = 0] = "Off";
|
|
1718
|
-
RenderLineNumbersType[RenderLineNumbersType["On"] = 1] = "On";
|
|
1719
|
-
RenderLineNumbersType[RenderLineNumbersType["Relative"] = 2] = "Relative";
|
|
1720
|
-
RenderLineNumbersType[RenderLineNumbersType["Interval"] = 3] = "Interval";
|
|
1721
|
-
RenderLineNumbersType[RenderLineNumbersType["Custom"] = 4] = "Custom";
|
|
1722
|
-
})(RenderLineNumbersType || (RenderLineNumbersType = {}))));
|
|
1723
1698
|
class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
1724
1699
|
constructor() {
|
|
1725
|
-
super(
|
|
1700
|
+
super(70 , 'lineNumbers', { renderType: 1 , renderFn: null }, {
|
|
1726
1701
|
type: 'string',
|
|
1727
1702
|
enum: ['off', 'on', 'relative', 'interval'],
|
|
1728
1703
|
enumDescriptions: [
|
|
1729
|
-
( localize(
|
|
1730
|
-
( localize(
|
|
1731
|
-
( localize(
|
|
1732
|
-
( localize(
|
|
1704
|
+
( localize(169, "Line numbers are not rendered.")),
|
|
1705
|
+
( localize(170, "Line numbers are rendered as absolute number.")),
|
|
1706
|
+
( localize(171, "Line numbers are rendered as distance in lines to cursor position.")),
|
|
1707
|
+
( localize(172, "Line numbers are rendered every 10 lines."))
|
|
1733
1708
|
],
|
|
1734
1709
|
default: 'on',
|
|
1735
|
-
description: ( localize(
|
|
1710
|
+
description: ( localize(173, "Controls the display of line numbers."))
|
|
1736
1711
|
});
|
|
1737
1712
|
}
|
|
1738
1713
|
validate(lineNumbers) {
|
|
@@ -1740,20 +1715,20 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1740
1715
|
let renderFn = this.defaultValue.renderFn;
|
|
1741
1716
|
if (typeof lineNumbers !== 'undefined') {
|
|
1742
1717
|
if (typeof lineNumbers === 'function') {
|
|
1743
|
-
renderType =
|
|
1718
|
+
renderType = 4 ;
|
|
1744
1719
|
renderFn = lineNumbers;
|
|
1745
1720
|
}
|
|
1746
1721
|
else if (lineNumbers === 'interval') {
|
|
1747
|
-
renderType =
|
|
1722
|
+
renderType = 3 ;
|
|
1748
1723
|
}
|
|
1749
1724
|
else if (lineNumbers === 'relative') {
|
|
1750
|
-
renderType =
|
|
1725
|
+
renderType = 2 ;
|
|
1751
1726
|
}
|
|
1752
1727
|
else if (lineNumbers === 'on') {
|
|
1753
|
-
renderType =
|
|
1728
|
+
renderType = 1 ;
|
|
1754
1729
|
}
|
|
1755
1730
|
else {
|
|
1756
|
-
renderType =
|
|
1731
|
+
renderType = 0 ;
|
|
1757
1732
|
}
|
|
1758
1733
|
}
|
|
1759
1734
|
return {
|
|
@@ -1763,9 +1738,9 @@ class EditorRenderLineNumbersOption extends BaseEditorOption {
|
|
|
1763
1738
|
}
|
|
1764
1739
|
}
|
|
1765
1740
|
function filterValidationDecorations(options) {
|
|
1766
|
-
const renderValidationDecorations = options.get(
|
|
1741
|
+
const renderValidationDecorations = options.get(101 );
|
|
1767
1742
|
if (renderValidationDecorations === 'editable') {
|
|
1768
|
-
return options.get(
|
|
1743
|
+
return options.get(94 );
|
|
1769
1744
|
}
|
|
1770
1745
|
return renderValidationDecorations === 'on' ? false : true;
|
|
1771
1746
|
}
|
|
@@ -1773,10 +1748,10 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1773
1748
|
constructor() {
|
|
1774
1749
|
const defaults = [];
|
|
1775
1750
|
const columnSchema = { type: 'number', description: ( localize(
|
|
1776
|
-
|
|
1751
|
+
174,
|
|
1777
1752
|
"Number of monospace characters at which this editor ruler will render."
|
|
1778
1753
|
)) };
|
|
1779
|
-
super(
|
|
1754
|
+
super(105 , 'rulers', defaults, {
|
|
1780
1755
|
type: 'array',
|
|
1781
1756
|
items: {
|
|
1782
1757
|
anyOf: [
|
|
@@ -1789,7 +1764,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1789
1764
|
column: columnSchema,
|
|
1790
1765
|
color: {
|
|
1791
1766
|
type: 'string',
|
|
1792
|
-
description: ( localize(
|
|
1767
|
+
description: ( localize(175, "Color of this editor ruler.")),
|
|
1793
1768
|
format: 'color-hex'
|
|
1794
1769
|
}
|
|
1795
1770
|
}
|
|
@@ -1798,7 +1773,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1798
1773
|
},
|
|
1799
1774
|
default: defaults,
|
|
1800
1775
|
description: ( localize(
|
|
1801
|
-
|
|
1776
|
+
176,
|
|
1802
1777
|
"Render vertical rulers after a certain number of monospace characters. Use multiple values for multiple rulers. No rulers are drawn if array is empty."
|
|
1803
1778
|
))
|
|
1804
1779
|
});
|
|
@@ -1830,7 +1805,7 @@ class EditorRulers extends BaseEditorOption {
|
|
|
1830
1805
|
class ReadonlyMessage extends BaseEditorOption {
|
|
1831
1806
|
constructor() {
|
|
1832
1807
|
const defaults = undefined;
|
|
1833
|
-
super(
|
|
1808
|
+
super(95 , 'readOnlyMessage', defaults);
|
|
1834
1809
|
}
|
|
1835
1810
|
validate(_input) {
|
|
1836
1811
|
if (!_input || typeof _input !== 'object') {
|
|
@@ -1844,16 +1819,16 @@ function _scrollbarVisibilityFromString(visibility, defaultValue) {
|
|
|
1844
1819
|
return defaultValue;
|
|
1845
1820
|
}
|
|
1846
1821
|
switch (visibility) {
|
|
1847
|
-
case 'hidden': return
|
|
1848
|
-
case 'visible': return
|
|
1849
|
-
default: return
|
|
1822
|
+
case 'hidden': return 2 ;
|
|
1823
|
+
case 'visible': return 3 ;
|
|
1824
|
+
default: return 1 ;
|
|
1850
1825
|
}
|
|
1851
1826
|
}
|
|
1852
1827
|
class EditorScrollbar extends BaseEditorOption {
|
|
1853
1828
|
constructor() {
|
|
1854
1829
|
const defaults = {
|
|
1855
|
-
vertical:
|
|
1856
|
-
horizontal:
|
|
1830
|
+
vertical: 1 ,
|
|
1831
|
+
horizontal: 1 ,
|
|
1857
1832
|
arrowSize: 11,
|
|
1858
1833
|
useShadows: true,
|
|
1859
1834
|
verticalHasArrows: false,
|
|
@@ -1867,49 +1842,49 @@ class EditorScrollbar extends BaseEditorOption {
|
|
|
1867
1842
|
scrollByPage: false,
|
|
1868
1843
|
ignoreHorizontalScrollbarInContentHeight: false,
|
|
1869
1844
|
};
|
|
1870
|
-
super(
|
|
1845
|
+
super(106 , 'scrollbar', defaults, {
|
|
1871
1846
|
'editor.scrollbar.vertical': {
|
|
1872
1847
|
type: 'string',
|
|
1873
1848
|
enum: ['auto', 'visible', 'hidden'],
|
|
1874
1849
|
enumDescriptions: [
|
|
1875
|
-
( localize(
|
|
1876
|
-
( localize(
|
|
1877
|
-
( localize(
|
|
1850
|
+
( localize(177, "The vertical scrollbar will be visible only when necessary.")),
|
|
1851
|
+
( localize(178, "The vertical scrollbar will always be visible.")),
|
|
1852
|
+
( localize(179, "The vertical scrollbar will always be hidden.")),
|
|
1878
1853
|
],
|
|
1879
1854
|
default: 'auto',
|
|
1880
|
-
description: ( localize(
|
|
1855
|
+
description: ( localize(180, "Controls the visibility of the vertical scrollbar."))
|
|
1881
1856
|
},
|
|
1882
1857
|
'editor.scrollbar.horizontal': {
|
|
1883
1858
|
type: 'string',
|
|
1884
1859
|
enum: ['auto', 'visible', 'hidden'],
|
|
1885
1860
|
enumDescriptions: [
|
|
1886
|
-
( localize(
|
|
1887
|
-
( localize(
|
|
1888
|
-
( localize(
|
|
1861
|
+
( localize(181, "The horizontal scrollbar will be visible only when necessary.")),
|
|
1862
|
+
( localize(182, "The horizontal scrollbar will always be visible.")),
|
|
1863
|
+
( localize(183, "The horizontal scrollbar will always be hidden.")),
|
|
1889
1864
|
],
|
|
1890
1865
|
default: 'auto',
|
|
1891
|
-
description: ( localize(
|
|
1866
|
+
description: ( localize(184, "Controls the visibility of the horizontal scrollbar."))
|
|
1892
1867
|
},
|
|
1893
1868
|
'editor.scrollbar.verticalScrollbarSize': {
|
|
1894
1869
|
type: 'number',
|
|
1895
1870
|
default: defaults.verticalScrollbarSize,
|
|
1896
|
-
description: ( localize(
|
|
1871
|
+
description: ( localize(185, "The width of the vertical scrollbar."))
|
|
1897
1872
|
},
|
|
1898
1873
|
'editor.scrollbar.horizontalScrollbarSize': {
|
|
1899
1874
|
type: 'number',
|
|
1900
1875
|
default: defaults.horizontalScrollbarSize,
|
|
1901
|
-
description: ( localize(
|
|
1876
|
+
description: ( localize(186, "The height of the horizontal scrollbar."))
|
|
1902
1877
|
},
|
|
1903
1878
|
'editor.scrollbar.scrollByPage': {
|
|
1904
1879
|
type: 'boolean',
|
|
1905
1880
|
default: defaults.scrollByPage,
|
|
1906
|
-
description: ( localize(
|
|
1881
|
+
description: ( localize(187, "Controls whether clicks scroll by page or jump to click position."))
|
|
1907
1882
|
},
|
|
1908
1883
|
'editor.scrollbar.ignoreHorizontalScrollbarInContentHeight': {
|
|
1909
1884
|
type: 'boolean',
|
|
1910
1885
|
default: defaults.ignoreHorizontalScrollbarInContentHeight,
|
|
1911
1886
|
description: ( localize(
|
|
1912
|
-
|
|
1887
|
+
188,
|
|
1913
1888
|
"When set, the horizontal scrollbar will not increase the size of the editor's content."
|
|
1914
1889
|
))
|
|
1915
1890
|
}
|
|
@@ -1961,14 +1936,14 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1961
1936
|
allowedCharacters: {},
|
|
1962
1937
|
allowedLocales: { _os: true, _vscode: true },
|
|
1963
1938
|
};
|
|
1964
|
-
super(
|
|
1939
|
+
super(128 , 'unicodeHighlight', defaults, {
|
|
1965
1940
|
[unicodeHighlightConfigKeys.nonBasicASCII]: {
|
|
1966
1941
|
restricted: true,
|
|
1967
1942
|
type: ['boolean', 'string'],
|
|
1968
1943
|
enum: [true, false, inUntrustedWorkspace],
|
|
1969
1944
|
default: defaults.nonBasicASCII,
|
|
1970
1945
|
description: ( localize(
|
|
1971
|
-
|
|
1946
|
+
189,
|
|
1972
1947
|
"Controls whether all non-basic ASCII characters are highlighted. Only characters between U+0020 and U+007E, tab, line-feed and carriage-return are considered basic ASCII."
|
|
1973
1948
|
))
|
|
1974
1949
|
},
|
|
@@ -1977,7 +1952,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1977
1952
|
type: 'boolean',
|
|
1978
1953
|
default: defaults.invisibleCharacters,
|
|
1979
1954
|
description: ( localize(
|
|
1980
|
-
|
|
1955
|
+
190,
|
|
1981
1956
|
"Controls whether characters that just reserve space or have no width at all are highlighted."
|
|
1982
1957
|
))
|
|
1983
1958
|
},
|
|
@@ -1986,7 +1961,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1986
1961
|
type: 'boolean',
|
|
1987
1962
|
default: defaults.ambiguousCharacters,
|
|
1988
1963
|
description: ( localize(
|
|
1989
|
-
|
|
1964
|
+
191,
|
|
1990
1965
|
"Controls whether characters are highlighted that can be confused with basic ASCII characters, except those that are common in the current user locale."
|
|
1991
1966
|
))
|
|
1992
1967
|
},
|
|
@@ -1996,7 +1971,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
1996
1971
|
enum: [true, false, inUntrustedWorkspace],
|
|
1997
1972
|
default: defaults.includeComments,
|
|
1998
1973
|
description: ( localize(
|
|
1999
|
-
|
|
1974
|
+
192,
|
|
2000
1975
|
"Controls whether characters in comments should also be subject to Unicode highlighting."
|
|
2001
1976
|
))
|
|
2002
1977
|
},
|
|
@@ -2006,7 +1981,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2006
1981
|
enum: [true, false, inUntrustedWorkspace],
|
|
2007
1982
|
default: defaults.includeStrings,
|
|
2008
1983
|
description: ( localize(
|
|
2009
|
-
|
|
1984
|
+
193,
|
|
2010
1985
|
"Controls whether characters in strings should also be subject to Unicode highlighting."
|
|
2011
1986
|
))
|
|
2012
1987
|
},
|
|
@@ -2014,7 +1989,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2014
1989
|
restricted: true,
|
|
2015
1990
|
type: 'object',
|
|
2016
1991
|
default: defaults.allowedCharacters,
|
|
2017
|
-
description: ( localize(
|
|
1992
|
+
description: ( localize(194, "Defines allowed characters that are not being highlighted.")),
|
|
2018
1993
|
additionalProperties: {
|
|
2019
1994
|
type: 'boolean'
|
|
2020
1995
|
}
|
|
@@ -2027,7 +2002,7 @@ class UnicodeHighlight extends BaseEditorOption {
|
|
|
2027
2002
|
},
|
|
2028
2003
|
default: defaults.allowedLocales,
|
|
2029
2004
|
description: ( localize(
|
|
2030
|
-
|
|
2005
|
+
195,
|
|
2031
2006
|
"Unicode characters that are common in allowed locales are not being highlighted."
|
|
2032
2007
|
))
|
|
2033
2008
|
},
|
|
@@ -2091,14 +2066,15 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2091
2066
|
showToolbar: 'onHover',
|
|
2092
2067
|
suppressSuggestions: false,
|
|
2093
2068
|
keepOnBlur: false,
|
|
2094
|
-
fontFamily: 'default'
|
|
2069
|
+
fontFamily: 'default',
|
|
2070
|
+
syntaxHighlightingEnabled: false,
|
|
2095
2071
|
};
|
|
2096
|
-
super(
|
|
2072
|
+
super(64 , 'inlineSuggest', defaults, {
|
|
2097
2073
|
'editor.inlineSuggest.enabled': {
|
|
2098
2074
|
type: 'boolean',
|
|
2099
2075
|
default: defaults.enabled,
|
|
2100
2076
|
description: ( localize(
|
|
2101
|
-
|
|
2077
|
+
196,
|
|
2102
2078
|
"Controls whether to automatically show inline suggestions in the editor."
|
|
2103
2079
|
))
|
|
2104
2080
|
},
|
|
@@ -2108,29 +2084,37 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2108
2084
|
enum: ['always', 'onHover', 'never'],
|
|
2109
2085
|
enumDescriptions: [
|
|
2110
2086
|
( localize(
|
|
2111
|
-
|
|
2087
|
+
197,
|
|
2112
2088
|
"Show the inline suggestion toolbar whenever an inline suggestion is shown."
|
|
2113
2089
|
)),
|
|
2114
2090
|
( localize(
|
|
2115
|
-
|
|
2091
|
+
198,
|
|
2116
2092
|
"Show the inline suggestion toolbar when hovering over an inline suggestion."
|
|
2117
2093
|
)),
|
|
2118
|
-
( localize(
|
|
2094
|
+
( localize(199, "Never show the inline suggestion toolbar.")),
|
|
2119
2095
|
],
|
|
2120
|
-
description: ( localize(
|
|
2096
|
+
description: ( localize(200, "Controls when to show the inline suggestion toolbar.")),
|
|
2097
|
+
},
|
|
2098
|
+
'editor.inlineSuggest.syntaxHighlightingEnabled': {
|
|
2099
|
+
type: 'boolean',
|
|
2100
|
+
default: defaults.syntaxHighlightingEnabled,
|
|
2101
|
+
description: ( localize(
|
|
2102
|
+
201,
|
|
2103
|
+
"Controls whether to show syntax highlighting for inline suggestions in the editor."
|
|
2104
|
+
)),
|
|
2121
2105
|
},
|
|
2122
2106
|
'editor.inlineSuggest.suppressSuggestions': {
|
|
2123
2107
|
type: 'boolean',
|
|
2124
2108
|
default: defaults.suppressSuggestions,
|
|
2125
2109
|
description: ( localize(
|
|
2126
|
-
|
|
2110
|
+
202,
|
|
2127
2111
|
"Controls how inline suggestions interact with the suggest widget. If enabled, the suggest widget is not shown automatically when inline suggestions are available."
|
|
2128
2112
|
))
|
|
2129
2113
|
},
|
|
2130
2114
|
'editor.inlineSuggest.fontFamily': {
|
|
2131
2115
|
type: 'string',
|
|
2132
2116
|
default: defaults.fontFamily,
|
|
2133
|
-
description: ( localize(
|
|
2117
|
+
description: ( localize(203, "Controls the font family of the inline suggestions."))
|
|
2134
2118
|
},
|
|
2135
2119
|
});
|
|
2136
2120
|
}
|
|
@@ -2145,7 +2129,8 @@ class InlineEditorSuggest extends BaseEditorOption {
|
|
|
2145
2129
|
showToolbar: stringSet(input.showToolbar, this.defaultValue.showToolbar, ['always', 'onHover', 'never']),
|
|
2146
2130
|
suppressSuggestions: boolean(input.suppressSuggestions, this.defaultValue.suppressSuggestions),
|
|
2147
2131
|
keepOnBlur: boolean(input.keepOnBlur, this.defaultValue.keepOnBlur),
|
|
2148
|
-
fontFamily: EditorStringOption.string(input.fontFamily, this.defaultValue.fontFamily)
|
|
2132
|
+
fontFamily: EditorStringOption.string(input.fontFamily, this.defaultValue.fontFamily),
|
|
2133
|
+
syntaxHighlightingEnabled: boolean(input.syntaxHighlightingEnabled, this.defaultValue.syntaxHighlightingEnabled),
|
|
2149
2134
|
};
|
|
2150
2135
|
}
|
|
2151
2136
|
}
|
|
@@ -2157,11 +2142,11 @@ class InlineEditorEdit extends BaseEditorOption {
|
|
|
2157
2142
|
fontFamily: 'default',
|
|
2158
2143
|
keepOnBlur: false,
|
|
2159
2144
|
};
|
|
2160
|
-
super(
|
|
2145
|
+
super(65 , 'experimentalInlineEdit', defaults, {
|
|
2161
2146
|
'editor.experimentalInlineEdit.enabled': {
|
|
2162
2147
|
type: 'boolean',
|
|
2163
2148
|
default: defaults.enabled,
|
|
2164
|
-
description: ( localize(
|
|
2149
|
+
description: ( localize(204, "Controls whether to show inline edits in the editor."))
|
|
2165
2150
|
},
|
|
2166
2151
|
'editor.experimentalInlineEdit.showToolbar': {
|
|
2167
2152
|
type: 'string',
|
|
@@ -2169,21 +2154,21 @@ class InlineEditorEdit extends BaseEditorOption {
|
|
|
2169
2154
|
enum: ['always', 'onHover', 'never'],
|
|
2170
2155
|
enumDescriptions: [
|
|
2171
2156
|
( localize(
|
|
2172
|
-
|
|
2157
|
+
205,
|
|
2173
2158
|
"Show the inline edit toolbar whenever an inline suggestion is shown."
|
|
2174
2159
|
)),
|
|
2175
2160
|
( localize(
|
|
2176
|
-
|
|
2161
|
+
206,
|
|
2177
2162
|
"Show the inline edit toolbar when hovering over an inline suggestion."
|
|
2178
2163
|
)),
|
|
2179
|
-
( localize(
|
|
2164
|
+
( localize(207, "Never show the inline edit toolbar.")),
|
|
2180
2165
|
],
|
|
2181
|
-
description: ( localize(
|
|
2166
|
+
description: ( localize(208, "Controls when to show the inline edit toolbar.")),
|
|
2182
2167
|
},
|
|
2183
2168
|
'editor.experimentalInlineEdit.fontFamily': {
|
|
2184
2169
|
type: 'string',
|
|
2185
2170
|
default: defaults.fontFamily,
|
|
2186
|
-
description: ( localize(
|
|
2171
|
+
description: ( localize(209, "Controls the font family of the inline edit."))
|
|
2187
2172
|
},
|
|
2188
2173
|
});
|
|
2189
2174
|
}
|
|
@@ -2206,12 +2191,12 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2206
2191
|
enabled: EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.enabled,
|
|
2207
2192
|
independentColorPoolPerBracketType: EDITOR_MODEL_DEFAULTS.bracketPairColorizationOptions.independentColorPoolPerBracketType,
|
|
2208
2193
|
};
|
|
2209
|
-
super(
|
|
2194
|
+
super(15 , 'bracketPairColorization', defaults, {
|
|
2210
2195
|
'editor.bracketPairColorization.enabled': {
|
|
2211
2196
|
type: 'boolean',
|
|
2212
2197
|
default: defaults.enabled,
|
|
2213
2198
|
markdownDescription: ( localize(
|
|
2214
|
-
|
|
2199
|
+
210,
|
|
2215
2200
|
"Controls whether bracket pair colorization is enabled or not. Use {0} to override the bracket highlight colors.",
|
|
2216
2201
|
'`#workbench.colorCustomizations#`'
|
|
2217
2202
|
))
|
|
@@ -2220,7 +2205,7 @@ class BracketPairColorization extends BaseEditorOption {
|
|
|
2220
2205
|
type: 'boolean',
|
|
2221
2206
|
default: defaults.independentColorPoolPerBracketType,
|
|
2222
2207
|
description: ( localize(
|
|
2223
|
-
|
|
2208
|
+
211,
|
|
2224
2209
|
"Controls whether each bracket type has its own independent color pool."
|
|
2225
2210
|
))
|
|
2226
2211
|
},
|
|
@@ -2246,59 +2231,59 @@ class GuideOptions extends BaseEditorOption {
|
|
|
2246
2231
|
indentation: true,
|
|
2247
2232
|
highlightActiveIndentation: true
|
|
2248
2233
|
};
|
|
2249
|
-
super(
|
|
2234
|
+
super(16 , 'guides', defaults, {
|
|
2250
2235
|
'editor.guides.bracketPairs': {
|
|
2251
2236
|
type: ['boolean', 'string'],
|
|
2252
2237
|
enum: [true, 'active', false],
|
|
2253
2238
|
enumDescriptions: [
|
|
2254
|
-
( localize(
|
|
2255
|
-
( localize(
|
|
2256
|
-
( localize(
|
|
2239
|
+
( localize(212, "Enables bracket pair guides.")),
|
|
2240
|
+
( localize(213, "Enables bracket pair guides only for the active bracket pair.")),
|
|
2241
|
+
( localize(214, "Disables bracket pair guides.")),
|
|
2257
2242
|
],
|
|
2258
2243
|
default: defaults.bracketPairs,
|
|
2259
|
-
description: ( localize(
|
|
2244
|
+
description: ( localize(215, "Controls whether bracket pair guides are enabled or not."))
|
|
2260
2245
|
},
|
|
2261
2246
|
'editor.guides.bracketPairsHorizontal': {
|
|
2262
2247
|
type: ['boolean', 'string'],
|
|
2263
2248
|
enum: [true, 'active', false],
|
|
2264
2249
|
enumDescriptions: [
|
|
2265
2250
|
( localize(
|
|
2266
|
-
|
|
2251
|
+
216,
|
|
2267
2252
|
"Enables horizontal guides as addition to vertical bracket pair guides."
|
|
2268
2253
|
)),
|
|
2269
|
-
( localize(
|
|
2270
|
-
( localize(
|
|
2254
|
+
( localize(217, "Enables horizontal guides only for the active bracket pair.")),
|
|
2255
|
+
( localize(218, "Disables horizontal bracket pair guides.")),
|
|
2271
2256
|
],
|
|
2272
2257
|
default: defaults.bracketPairsHorizontal,
|
|
2273
|
-
description: ( localize(
|
|
2258
|
+
description: ( localize(219, "Controls whether horizontal bracket pair guides are enabled or not."))
|
|
2274
2259
|
},
|
|
2275
2260
|
'editor.guides.highlightActiveBracketPair': {
|
|
2276
2261
|
type: 'boolean',
|
|
2277
2262
|
default: defaults.highlightActiveBracketPair,
|
|
2278
2263
|
description: ( localize(
|
|
2279
|
-
|
|
2264
|
+
220,
|
|
2280
2265
|
"Controls whether the editor should highlight the active bracket pair."
|
|
2281
2266
|
))
|
|
2282
2267
|
},
|
|
2283
2268
|
'editor.guides.indentation': {
|
|
2284
2269
|
type: 'boolean',
|
|
2285
2270
|
default: defaults.indentation,
|
|
2286
|
-
description: ( localize(
|
|
2271
|
+
description: ( localize(221, "Controls whether the editor should render indent guides."))
|
|
2287
2272
|
},
|
|
2288
2273
|
'editor.guides.highlightActiveIndentation': {
|
|
2289
2274
|
type: ['boolean', 'string'],
|
|
2290
2275
|
enum: [true, 'always', false],
|
|
2291
2276
|
enumDescriptions: [
|
|
2292
|
-
( localize(
|
|
2277
|
+
( localize(222, "Highlights the active indent guide.")),
|
|
2293
2278
|
( localize(
|
|
2294
|
-
|
|
2279
|
+
223,
|
|
2295
2280
|
"Highlights the active indent guide even if bracket guides are highlighted."
|
|
2296
2281
|
)),
|
|
2297
|
-
( localize(
|
|
2282
|
+
( localize(224, "Do not highlight the active indent guide.")),
|
|
2298
2283
|
],
|
|
2299
2284
|
default: defaults.highlightActiveIndentation,
|
|
2300
2285
|
description: ( localize(
|
|
2301
|
-
|
|
2286
|
+
225,
|
|
2302
2287
|
"Controls whether the editor should highlight the active indent guide."
|
|
2303
2288
|
))
|
|
2304
2289
|
}
|
|
@@ -2369,17 +2354,17 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2369
2354
|
showUsers: true,
|
|
2370
2355
|
showIssues: true,
|
|
2371
2356
|
};
|
|
2372
|
-
super(
|
|
2357
|
+
super(121 , 'suggest', defaults, {
|
|
2373
2358
|
'editor.suggest.insertMode': {
|
|
2374
2359
|
type: 'string',
|
|
2375
2360
|
enum: ['insert', 'replace'],
|
|
2376
2361
|
enumDescriptions: [
|
|
2377
|
-
( localize(
|
|
2378
|
-
( localize(
|
|
2362
|
+
( localize(226, "Insert suggestion without overwriting text right of the cursor.")),
|
|
2363
|
+
( localize(227, "Insert suggestion and overwrite text right of the cursor.")),
|
|
2379
2364
|
],
|
|
2380
2365
|
default: defaults.insertMode,
|
|
2381
2366
|
description: ( localize(
|
|
2382
|
-
|
|
2367
|
+
228,
|
|
2383
2368
|
"Controls whether words are overwritten when accepting completions. Note that this depends on extensions opting into this feature."
|
|
2384
2369
|
))
|
|
2385
2370
|
},
|
|
@@ -2387,7 +2372,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2387
2372
|
type: 'boolean',
|
|
2388
2373
|
default: defaults.filterGraceful,
|
|
2389
2374
|
description: ( localize(
|
|
2390
|
-
|
|
2375
|
+
229,
|
|
2391
2376
|
"Controls whether filtering and sorting suggestions accounts for small typos."
|
|
2392
2377
|
))
|
|
2393
2378
|
},
|
|
@@ -2395,7 +2380,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2395
2380
|
type: 'boolean',
|
|
2396
2381
|
default: defaults.localityBonus,
|
|
2397
2382
|
description: ( localize(
|
|
2398
|
-
|
|
2383
|
+
230,
|
|
2399
2384
|
"Controls whether sorting favors words that appear close to the cursor."
|
|
2400
2385
|
))
|
|
2401
2386
|
},
|
|
@@ -2403,7 +2388,7 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2403
2388
|
type: 'boolean',
|
|
2404
2389
|
default: defaults.shareSuggestSelections,
|
|
2405
2390
|
markdownDescription: ( localize(
|
|
2406
|
-
|
|
2391
|
+
231,
|
|
2407
2392
|
"Controls whether remembered suggestion selections are shared between multiple workspaces and windows (needs `#editor.suggestSelection#`)."
|
|
2408
2393
|
))
|
|
2409
2394
|
},
|
|
@@ -2412,22 +2397,22 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2412
2397
|
enum: ['always', 'never', 'whenTriggerCharacter', 'whenQuickSuggestion'],
|
|
2413
2398
|
enumDescriptions: [
|
|
2414
2399
|
( localize(
|
|
2415
|
-
|
|
2400
|
+
232,
|
|
2416
2401
|
"Always select a suggestion when automatically triggering IntelliSense."
|
|
2417
2402
|
)),
|
|
2418
2403
|
( localize(
|
|
2419
|
-
|
|
2404
|
+
233,
|
|
2420
2405
|
"Never select a suggestion when automatically triggering IntelliSense."
|
|
2421
2406
|
)),
|
|
2422
2407
|
( localize(
|
|
2423
|
-
|
|
2408
|
+
234,
|
|
2424
2409
|
"Select a suggestion only when triggering IntelliSense from a trigger character."
|
|
2425
2410
|
)),
|
|
2426
|
-
( localize(
|
|
2411
|
+
( localize(235, "Select a suggestion only when triggering IntelliSense as you type.")),
|
|
2427
2412
|
],
|
|
2428
2413
|
default: defaults.selectionMode,
|
|
2429
2414
|
markdownDescription: ( localize(
|
|
2430
|
-
|
|
2415
|
+
236,
|
|
2431
2416
|
"Controls whether a suggestion is selected when the widget shows. Note that this only applies to automatically triggered suggestions ({0} and {1}) and that a suggestion is always selected when explicitly invoked, e.g via `Ctrl+Space`.",
|
|
2432
2417
|
'`#editor.quickSuggestions#`',
|
|
2433
2418
|
'`#editor.suggestOnTriggerCharacters#`'
|
|
@@ -2436,197 +2421,197 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2436
2421
|
'editor.suggest.snippetsPreventQuickSuggestions': {
|
|
2437
2422
|
type: 'boolean',
|
|
2438
2423
|
default: defaults.snippetsPreventQuickSuggestions,
|
|
2439
|
-
description: ( localize(
|
|
2424
|
+
description: ( localize(237, "Controls whether an active snippet prevents quick suggestions."))
|
|
2440
2425
|
},
|
|
2441
2426
|
'editor.suggest.showIcons': {
|
|
2442
2427
|
type: 'boolean',
|
|
2443
2428
|
default: defaults.showIcons,
|
|
2444
|
-
description: ( localize(
|
|
2429
|
+
description: ( localize(238, "Controls whether to show or hide icons in suggestions."))
|
|
2445
2430
|
},
|
|
2446
2431
|
'editor.suggest.showStatusBar': {
|
|
2447
2432
|
type: 'boolean',
|
|
2448
2433
|
default: defaults.showStatusBar,
|
|
2449
2434
|
description: ( localize(
|
|
2450
|
-
|
|
2435
|
+
239,
|
|
2451
2436
|
"Controls the visibility of the status bar at the bottom of the suggest widget."
|
|
2452
2437
|
))
|
|
2453
2438
|
},
|
|
2454
2439
|
'editor.suggest.preview': {
|
|
2455
2440
|
type: 'boolean',
|
|
2456
2441
|
default: defaults.preview,
|
|
2457
|
-
description: ( localize(
|
|
2442
|
+
description: ( localize(240, "Controls whether to preview the suggestion outcome in the editor."))
|
|
2458
2443
|
},
|
|
2459
2444
|
'editor.suggest.showInlineDetails': {
|
|
2460
2445
|
type: 'boolean',
|
|
2461
2446
|
default: defaults.showInlineDetails,
|
|
2462
2447
|
description: ( localize(
|
|
2463
|
-
|
|
2448
|
+
241,
|
|
2464
2449
|
"Controls whether suggest details show inline with the label or only in the details widget."
|
|
2465
2450
|
))
|
|
2466
2451
|
},
|
|
2467
2452
|
'editor.suggest.maxVisibleSuggestions': {
|
|
2468
2453
|
type: 'number',
|
|
2469
|
-
deprecationMessage: ( localize(
|
|
2454
|
+
deprecationMessage: ( localize(242, "This setting is deprecated. The suggest widget can now be resized.")),
|
|
2470
2455
|
},
|
|
2471
2456
|
'editor.suggest.filteredTypes': {
|
|
2472
2457
|
type: 'object',
|
|
2473
2458
|
deprecationMessage: ( localize(
|
|
2474
|
-
|
|
2459
|
+
243,
|
|
2475
2460
|
"This setting is deprecated, please use separate settings like 'editor.suggest.showKeywords' or 'editor.suggest.showSnippets' instead."
|
|
2476
2461
|
))
|
|
2477
2462
|
},
|
|
2478
2463
|
'editor.suggest.showMethods': {
|
|
2479
2464
|
type: 'boolean',
|
|
2480
2465
|
default: true,
|
|
2481
|
-
markdownDescription: ( localize(
|
|
2466
|
+
markdownDescription: ( localize(244, "When enabled IntelliSense shows `method`-suggestions."))
|
|
2482
2467
|
},
|
|
2483
2468
|
'editor.suggest.showFunctions': {
|
|
2484
2469
|
type: 'boolean',
|
|
2485
2470
|
default: true,
|
|
2486
|
-
markdownDescription: ( localize(
|
|
2471
|
+
markdownDescription: ( localize(245, "When enabled IntelliSense shows `function`-suggestions."))
|
|
2487
2472
|
},
|
|
2488
2473
|
'editor.suggest.showConstructors': {
|
|
2489
2474
|
type: 'boolean',
|
|
2490
2475
|
default: true,
|
|
2491
|
-
markdownDescription: ( localize(
|
|
2476
|
+
markdownDescription: ( localize(246, "When enabled IntelliSense shows `constructor`-suggestions."))
|
|
2492
2477
|
},
|
|
2493
2478
|
'editor.suggest.showDeprecated': {
|
|
2494
2479
|
type: 'boolean',
|
|
2495
2480
|
default: true,
|
|
2496
|
-
markdownDescription: ( localize(
|
|
2481
|
+
markdownDescription: ( localize(247, "When enabled IntelliSense shows `deprecated`-suggestions."))
|
|
2497
2482
|
},
|
|
2498
2483
|
'editor.suggest.matchOnWordStartOnly': {
|
|
2499
2484
|
type: 'boolean',
|
|
2500
2485
|
default: true,
|
|
2501
2486
|
markdownDescription: ( localize(
|
|
2502
|
-
|
|
2487
|
+
248,
|
|
2503
2488
|
"When enabled IntelliSense filtering requires that the first character matches on a word start. For example, `c` on `Console` or `WebContext` but _not_ on `description`. When disabled IntelliSense will show more results but still sorts them by match quality."
|
|
2504
2489
|
))
|
|
2505
2490
|
},
|
|
2506
2491
|
'editor.suggest.showFields': {
|
|
2507
2492
|
type: 'boolean',
|
|
2508
2493
|
default: true,
|
|
2509
|
-
markdownDescription: ( localize(
|
|
2494
|
+
markdownDescription: ( localize(249, "When enabled IntelliSense shows `field`-suggestions."))
|
|
2510
2495
|
},
|
|
2511
2496
|
'editor.suggest.showVariables': {
|
|
2512
2497
|
type: 'boolean',
|
|
2513
2498
|
default: true,
|
|
2514
|
-
markdownDescription: ( localize(
|
|
2499
|
+
markdownDescription: ( localize(250, "When enabled IntelliSense shows `variable`-suggestions."))
|
|
2515
2500
|
},
|
|
2516
2501
|
'editor.suggest.showClasses': {
|
|
2517
2502
|
type: 'boolean',
|
|
2518
2503
|
default: true,
|
|
2519
|
-
markdownDescription: ( localize(
|
|
2504
|
+
markdownDescription: ( localize(251, "When enabled IntelliSense shows `class`-suggestions."))
|
|
2520
2505
|
},
|
|
2521
2506
|
'editor.suggest.showStructs': {
|
|
2522
2507
|
type: 'boolean',
|
|
2523
2508
|
default: true,
|
|
2524
|
-
markdownDescription: ( localize(
|
|
2509
|
+
markdownDescription: ( localize(252, "When enabled IntelliSense shows `struct`-suggestions."))
|
|
2525
2510
|
},
|
|
2526
2511
|
'editor.suggest.showInterfaces': {
|
|
2527
2512
|
type: 'boolean',
|
|
2528
2513
|
default: true,
|
|
2529
|
-
markdownDescription: ( localize(
|
|
2514
|
+
markdownDescription: ( localize(253, "When enabled IntelliSense shows `interface`-suggestions."))
|
|
2530
2515
|
},
|
|
2531
2516
|
'editor.suggest.showModules': {
|
|
2532
2517
|
type: 'boolean',
|
|
2533
2518
|
default: true,
|
|
2534
|
-
markdownDescription: ( localize(
|
|
2519
|
+
markdownDescription: ( localize(254, "When enabled IntelliSense shows `module`-suggestions."))
|
|
2535
2520
|
},
|
|
2536
2521
|
'editor.suggest.showProperties': {
|
|
2537
2522
|
type: 'boolean',
|
|
2538
2523
|
default: true,
|
|
2539
|
-
markdownDescription: ( localize(
|
|
2524
|
+
markdownDescription: ( localize(255, "When enabled IntelliSense shows `property`-suggestions."))
|
|
2540
2525
|
},
|
|
2541
2526
|
'editor.suggest.showEvents': {
|
|
2542
2527
|
type: 'boolean',
|
|
2543
2528
|
default: true,
|
|
2544
|
-
markdownDescription: ( localize(
|
|
2529
|
+
markdownDescription: ( localize(256, "When enabled IntelliSense shows `event`-suggestions."))
|
|
2545
2530
|
},
|
|
2546
2531
|
'editor.suggest.showOperators': {
|
|
2547
2532
|
type: 'boolean',
|
|
2548
2533
|
default: true,
|
|
2549
|
-
markdownDescription: ( localize(
|
|
2534
|
+
markdownDescription: ( localize(257, "When enabled IntelliSense shows `operator`-suggestions."))
|
|
2550
2535
|
},
|
|
2551
2536
|
'editor.suggest.showUnits': {
|
|
2552
2537
|
type: 'boolean',
|
|
2553
2538
|
default: true,
|
|
2554
|
-
markdownDescription: ( localize(
|
|
2539
|
+
markdownDescription: ( localize(258, "When enabled IntelliSense shows `unit`-suggestions."))
|
|
2555
2540
|
},
|
|
2556
2541
|
'editor.suggest.showValues': {
|
|
2557
2542
|
type: 'boolean',
|
|
2558
2543
|
default: true,
|
|
2559
|
-
markdownDescription: ( localize(
|
|
2544
|
+
markdownDescription: ( localize(259, "When enabled IntelliSense shows `value`-suggestions."))
|
|
2560
2545
|
},
|
|
2561
2546
|
'editor.suggest.showConstants': {
|
|
2562
2547
|
type: 'boolean',
|
|
2563
2548
|
default: true,
|
|
2564
|
-
markdownDescription: ( localize(
|
|
2549
|
+
markdownDescription: ( localize(260, "When enabled IntelliSense shows `constant`-suggestions."))
|
|
2565
2550
|
},
|
|
2566
2551
|
'editor.suggest.showEnums': {
|
|
2567
2552
|
type: 'boolean',
|
|
2568
2553
|
default: true,
|
|
2569
|
-
markdownDescription: ( localize(
|
|
2554
|
+
markdownDescription: ( localize(261, "When enabled IntelliSense shows `enum`-suggestions."))
|
|
2570
2555
|
},
|
|
2571
2556
|
'editor.suggest.showEnumMembers': {
|
|
2572
2557
|
type: 'boolean',
|
|
2573
2558
|
default: true,
|
|
2574
|
-
markdownDescription: ( localize(
|
|
2559
|
+
markdownDescription: ( localize(262, "When enabled IntelliSense shows `enumMember`-suggestions."))
|
|
2575
2560
|
},
|
|
2576
2561
|
'editor.suggest.showKeywords': {
|
|
2577
2562
|
type: 'boolean',
|
|
2578
2563
|
default: true,
|
|
2579
|
-
markdownDescription: ( localize(
|
|
2564
|
+
markdownDescription: ( localize(263, "When enabled IntelliSense shows `keyword`-suggestions."))
|
|
2580
2565
|
},
|
|
2581
2566
|
'editor.suggest.showWords': {
|
|
2582
2567
|
type: 'boolean',
|
|
2583
2568
|
default: true,
|
|
2584
|
-
markdownDescription: ( localize(
|
|
2569
|
+
markdownDescription: ( localize(264, "When enabled IntelliSense shows `text`-suggestions."))
|
|
2585
2570
|
},
|
|
2586
2571
|
'editor.suggest.showColors': {
|
|
2587
2572
|
type: 'boolean',
|
|
2588
2573
|
default: true,
|
|
2589
|
-
markdownDescription: ( localize(
|
|
2574
|
+
markdownDescription: ( localize(265, "When enabled IntelliSense shows `color`-suggestions."))
|
|
2590
2575
|
},
|
|
2591
2576
|
'editor.suggest.showFiles': {
|
|
2592
2577
|
type: 'boolean',
|
|
2593
2578
|
default: true,
|
|
2594
|
-
markdownDescription: ( localize(
|
|
2579
|
+
markdownDescription: ( localize(266, "When enabled IntelliSense shows `file`-suggestions."))
|
|
2595
2580
|
},
|
|
2596
2581
|
'editor.suggest.showReferences': {
|
|
2597
2582
|
type: 'boolean',
|
|
2598
2583
|
default: true,
|
|
2599
|
-
markdownDescription: ( localize(
|
|
2584
|
+
markdownDescription: ( localize(267, "When enabled IntelliSense shows `reference`-suggestions."))
|
|
2600
2585
|
},
|
|
2601
2586
|
'editor.suggest.showCustomcolors': {
|
|
2602
2587
|
type: 'boolean',
|
|
2603
2588
|
default: true,
|
|
2604
|
-
markdownDescription: ( localize(
|
|
2589
|
+
markdownDescription: ( localize(268, "When enabled IntelliSense shows `customcolor`-suggestions."))
|
|
2605
2590
|
},
|
|
2606
2591
|
'editor.suggest.showFolders': {
|
|
2607
2592
|
type: 'boolean',
|
|
2608
2593
|
default: true,
|
|
2609
|
-
markdownDescription: ( localize(
|
|
2594
|
+
markdownDescription: ( localize(269, "When enabled IntelliSense shows `folder`-suggestions."))
|
|
2610
2595
|
},
|
|
2611
2596
|
'editor.suggest.showTypeParameters': {
|
|
2612
2597
|
type: 'boolean',
|
|
2613
2598
|
default: true,
|
|
2614
|
-
markdownDescription: ( localize(
|
|
2599
|
+
markdownDescription: ( localize(270, "When enabled IntelliSense shows `typeParameter`-suggestions."))
|
|
2615
2600
|
},
|
|
2616
2601
|
'editor.suggest.showSnippets': {
|
|
2617
2602
|
type: 'boolean',
|
|
2618
2603
|
default: true,
|
|
2619
|
-
markdownDescription: ( localize(
|
|
2604
|
+
markdownDescription: ( localize(271, "When enabled IntelliSense shows `snippet`-suggestions."))
|
|
2620
2605
|
},
|
|
2621
2606
|
'editor.suggest.showUsers': {
|
|
2622
2607
|
type: 'boolean',
|
|
2623
2608
|
default: true,
|
|
2624
|
-
markdownDescription: ( localize(
|
|
2609
|
+
markdownDescription: ( localize(272, "When enabled IntelliSense shows `user`-suggestions."))
|
|
2625
2610
|
},
|
|
2626
2611
|
'editor.suggest.showIssues': {
|
|
2627
2612
|
type: 'boolean',
|
|
2628
2613
|
default: true,
|
|
2629
|
-
markdownDescription: ( localize(
|
|
2614
|
+
markdownDescription: ( localize(273, "When enabled IntelliSense shows `issues`-suggestions."))
|
|
2630
2615
|
}
|
|
2631
2616
|
});
|
|
2632
2617
|
}
|
|
@@ -2681,18 +2666,18 @@ class EditorSuggest extends BaseEditorOption {
|
|
|
2681
2666
|
}
|
|
2682
2667
|
class SmartSelect extends BaseEditorOption {
|
|
2683
2668
|
constructor() {
|
|
2684
|
-
super(
|
|
2669
|
+
super(116 , 'smartSelect', {
|
|
2685
2670
|
selectLeadingAndTrailingWhitespace: true,
|
|
2686
2671
|
selectSubwords: true,
|
|
2687
2672
|
}, {
|
|
2688
2673
|
'editor.smartSelect.selectLeadingAndTrailingWhitespace': {
|
|
2689
|
-
description: ( localize(
|
|
2674
|
+
description: ( localize(274, "Whether leading and trailing whitespace should always be selected.")),
|
|
2690
2675
|
default: true,
|
|
2691
2676
|
type: 'boolean'
|
|
2692
2677
|
},
|
|
2693
2678
|
'editor.smartSelect.selectSubwords': {
|
|
2694
2679
|
description: ( localize(
|
|
2695
|
-
|
|
2680
|
+
275,
|
|
2696
2681
|
"Whether subwords (like 'foo' in 'fooBar' or 'foo_bar') should be selected."
|
|
2697
2682
|
)),
|
|
2698
2683
|
default: true,
|
|
@@ -2713,17 +2698,17 @@ class SmartSelect extends BaseEditorOption {
|
|
|
2713
2698
|
class WordSegmenterLocales extends BaseEditorOption {
|
|
2714
2699
|
constructor() {
|
|
2715
2700
|
const defaults = [];
|
|
2716
|
-
super(
|
|
2701
|
+
super(133 , 'wordSegmenterLocales', defaults, {
|
|
2717
2702
|
anyOf: [
|
|
2718
2703
|
{
|
|
2719
2704
|
description: ( localize(
|
|
2720
|
-
|
|
2705
|
+
276,
|
|
2721
2706
|
"Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."
|
|
2722
2707
|
)),
|
|
2723
2708
|
type: 'string',
|
|
2724
2709
|
}, {
|
|
2725
2710
|
description: ( localize(
|
|
2726
|
-
|
|
2711
|
+
276,
|
|
2727
2712
|
"Locales to be used for word segmentation when doing word related navigations or operations. Specify the BCP 47 language tag of the word you wish to recognize (e.g., ja, zh-CN, zh-Hant-TW, etc.)."
|
|
2728
2713
|
)),
|
|
2729
2714
|
type: 'array',
|
|
@@ -2756,53 +2741,46 @@ class WordSegmenterLocales extends BaseEditorOption {
|
|
|
2756
2741
|
return this.defaultValue;
|
|
2757
2742
|
}
|
|
2758
2743
|
}
|
|
2759
|
-
var WrappingIndent;
|
|
2760
|
-
( ((function(WrappingIndent) {
|
|
2761
|
-
WrappingIndent[WrappingIndent["None"] = 0] = "None";
|
|
2762
|
-
WrappingIndent[WrappingIndent["Same"] = 1] = "Same";
|
|
2763
|
-
WrappingIndent[WrappingIndent["Indent"] = 2] = "Indent";
|
|
2764
|
-
WrappingIndent[WrappingIndent["DeepIndent"] = 3] = "DeepIndent";
|
|
2765
|
-
})(WrappingIndent || (WrappingIndent = {}))));
|
|
2766
2744
|
class WrappingIndentOption extends BaseEditorOption {
|
|
2767
2745
|
constructor() {
|
|
2768
|
-
super(
|
|
2746
|
+
super(141 , 'wrappingIndent', 1 , {
|
|
2769
2747
|
'editor.wrappingIndent': {
|
|
2770
2748
|
type: 'string',
|
|
2771
2749
|
enum: ['none', 'same', 'indent', 'deepIndent'],
|
|
2772
2750
|
enumDescriptions: [
|
|
2773
|
-
( localize(
|
|
2774
|
-
( localize(
|
|
2775
|
-
( localize(
|
|
2776
|
-
( localize(
|
|
2751
|
+
( localize(277, "No indentation. Wrapped lines begin at column 1.")),
|
|
2752
|
+
( localize(278, "Wrapped lines get the same indentation as the parent.")),
|
|
2753
|
+
( localize(279, "Wrapped lines get +1 indentation toward the parent.")),
|
|
2754
|
+
( localize(280, "Wrapped lines get +2 indentation toward the parent.")),
|
|
2777
2755
|
],
|
|
2778
|
-
description: ( localize(
|
|
2756
|
+
description: ( localize(281, "Controls the indentation of wrapped lines.")),
|
|
2779
2757
|
default: 'same'
|
|
2780
2758
|
}
|
|
2781
2759
|
});
|
|
2782
2760
|
}
|
|
2783
2761
|
validate(input) {
|
|
2784
2762
|
switch (input) {
|
|
2785
|
-
case 'none': return
|
|
2786
|
-
case 'same': return
|
|
2787
|
-
case 'indent': return
|
|
2788
|
-
case 'deepIndent': return
|
|
2763
|
+
case 'none': return 0 ;
|
|
2764
|
+
case 'same': return 1 ;
|
|
2765
|
+
case 'indent': return 2 ;
|
|
2766
|
+
case 'deepIndent': return 3 ;
|
|
2789
2767
|
}
|
|
2790
|
-
return
|
|
2768
|
+
return 1 ;
|
|
2791
2769
|
}
|
|
2792
2770
|
compute(env, options, value) {
|
|
2793
|
-
const accessibilitySupport = options.get(
|
|
2794
|
-
if (accessibilitySupport ===
|
|
2795
|
-
return
|
|
2771
|
+
const accessibilitySupport = options.get(2 );
|
|
2772
|
+
if (accessibilitySupport === 2 ) {
|
|
2773
|
+
return 0 ;
|
|
2796
2774
|
}
|
|
2797
2775
|
return value;
|
|
2798
2776
|
}
|
|
2799
2777
|
}
|
|
2800
2778
|
class EditorWrappingInfoComputer extends ComputedEditorOption {
|
|
2801
2779
|
constructor() {
|
|
2802
|
-
super(
|
|
2780
|
+
super(149 );
|
|
2803
2781
|
}
|
|
2804
2782
|
compute(env, options, _) {
|
|
2805
|
-
const layoutInfo = options.get(
|
|
2783
|
+
const layoutInfo = options.get(148 );
|
|
2806
2784
|
return {
|
|
2807
2785
|
isDominatedByLongLines: env.isDominatedByLongLines,
|
|
2808
2786
|
isWordWrapMinified: layoutInfo.isWordWrapMinified,
|
|
@@ -2814,19 +2792,19 @@ class EditorWrappingInfoComputer extends ComputedEditorOption {
|
|
|
2814
2792
|
class EditorDropIntoEditor extends BaseEditorOption {
|
|
2815
2793
|
constructor() {
|
|
2816
2794
|
const defaults = { enabled: true, showDropSelector: 'afterDrop' };
|
|
2817
|
-
super(
|
|
2795
|
+
super(36 , 'dropIntoEditor', defaults, {
|
|
2818
2796
|
'editor.dropIntoEditor.enabled': {
|
|
2819
2797
|
type: 'boolean',
|
|
2820
2798
|
default: defaults.enabled,
|
|
2821
2799
|
markdownDescription: ( localize(
|
|
2822
|
-
|
|
2800
|
+
282,
|
|
2823
2801
|
"Controls whether you can drag and drop a file into a text editor by holding down the `Shift` key (instead of opening the file in an editor)."
|
|
2824
2802
|
)),
|
|
2825
2803
|
},
|
|
2826
2804
|
'editor.dropIntoEditor.showDropSelector': {
|
|
2827
2805
|
type: 'string',
|
|
2828
2806
|
markdownDescription: ( localize(
|
|
2829
|
-
|
|
2807
|
+
283,
|
|
2830
2808
|
"Controls if a widget is shown when dropping files into the editor. This widget lets you control how the file is dropped."
|
|
2831
2809
|
)),
|
|
2832
2810
|
enum: [
|
|
@@ -2835,11 +2813,11 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2835
2813
|
],
|
|
2836
2814
|
enumDescriptions: [
|
|
2837
2815
|
( localize(
|
|
2838
|
-
|
|
2816
|
+
284,
|
|
2839
2817
|
"Show the drop selector widget after a file is dropped into the editor."
|
|
2840
2818
|
)),
|
|
2841
2819
|
( localize(
|
|
2842
|
-
|
|
2820
|
+
285,
|
|
2843
2821
|
"Never show the drop selector widget. Instead the default drop provider is always used."
|
|
2844
2822
|
)),
|
|
2845
2823
|
],
|
|
@@ -2861,16 +2839,16 @@ class EditorDropIntoEditor extends BaseEditorOption {
|
|
|
2861
2839
|
class EditorPasteAs extends BaseEditorOption {
|
|
2862
2840
|
constructor() {
|
|
2863
2841
|
const defaults = { enabled: true, showPasteSelector: 'afterPaste' };
|
|
2864
|
-
super(
|
|
2842
|
+
super(87 , 'pasteAs', defaults, {
|
|
2865
2843
|
'editor.pasteAs.enabled': {
|
|
2866
2844
|
type: 'boolean',
|
|
2867
2845
|
default: defaults.enabled,
|
|
2868
|
-
markdownDescription: ( localize(
|
|
2846
|
+
markdownDescription: ( localize(286, "Controls whether you can paste content in different ways.")),
|
|
2869
2847
|
},
|
|
2870
2848
|
'editor.pasteAs.showPasteSelector': {
|
|
2871
2849
|
type: 'string',
|
|
2872
2850
|
markdownDescription: ( localize(
|
|
2873
|
-
|
|
2851
|
+
287,
|
|
2874
2852
|
"Controls if a widget is shown when pasting content in to the editor. This widget lets you control how the file is pasted."
|
|
2875
2853
|
)),
|
|
2876
2854
|
enum: [
|
|
@@ -2879,11 +2857,11 @@ class EditorPasteAs extends BaseEditorOption {
|
|
|
2879
2857
|
],
|
|
2880
2858
|
enumDescriptions: [
|
|
2881
2859
|
( localize(
|
|
2882
|
-
|
|
2860
|
+
288,
|
|
2883
2861
|
"Show the paste selector widget after content is pasted into the editor."
|
|
2884
2862
|
)),
|
|
2885
2863
|
( localize(
|
|
2886
|
-
|
|
2864
|
+
289,
|
|
2887
2865
|
"Never show the paste selector widget. Instead the default pasting behavior is always used."
|
|
2888
2866
|
)),
|
|
2889
2867
|
],
|
|
@@ -2917,172 +2895,18 @@ function register(option) {
|
|
|
2917
2895
|
editorOptionsRegistry[option.id] = option;
|
|
2918
2896
|
return option;
|
|
2919
2897
|
}
|
|
2920
|
-
var EditorOption;
|
|
2921
|
-
( ((function(EditorOption) {
|
|
2922
|
-
EditorOption[EditorOption["acceptSuggestionOnCommitCharacter"] = 0] = "acceptSuggestionOnCommitCharacter";
|
|
2923
|
-
EditorOption[EditorOption["acceptSuggestionOnEnter"] = 1] = "acceptSuggestionOnEnter";
|
|
2924
|
-
EditorOption[EditorOption["accessibilitySupport"] = 2] = "accessibilitySupport";
|
|
2925
|
-
EditorOption[EditorOption["accessibilityPageSize"] = 3] = "accessibilityPageSize";
|
|
2926
|
-
EditorOption[EditorOption["ariaLabel"] = 4] = "ariaLabel";
|
|
2927
|
-
EditorOption[EditorOption["ariaRequired"] = 5] = "ariaRequired";
|
|
2928
|
-
EditorOption[EditorOption["autoClosingBrackets"] = 6] = "autoClosingBrackets";
|
|
2929
|
-
EditorOption[EditorOption["autoClosingComments"] = 7] = "autoClosingComments";
|
|
2930
|
-
EditorOption[EditorOption["screenReaderAnnounceInlineSuggestion"] = 8] = "screenReaderAnnounceInlineSuggestion";
|
|
2931
|
-
EditorOption[EditorOption["autoClosingDelete"] = 9] = "autoClosingDelete";
|
|
2932
|
-
EditorOption[EditorOption["autoClosingOvertype"] = 10] = "autoClosingOvertype";
|
|
2933
|
-
EditorOption[EditorOption["autoClosingQuotes"] = 11] = "autoClosingQuotes";
|
|
2934
|
-
EditorOption[EditorOption["autoIndent"] = 12] = "autoIndent";
|
|
2935
|
-
EditorOption[EditorOption["automaticLayout"] = 13] = "automaticLayout";
|
|
2936
|
-
EditorOption[EditorOption["autoSurround"] = 14] = "autoSurround";
|
|
2937
|
-
EditorOption[EditorOption["bracketPairColorization"] = 15] = "bracketPairColorization";
|
|
2938
|
-
EditorOption[EditorOption["guides"] = 16] = "guides";
|
|
2939
|
-
EditorOption[EditorOption["codeLens"] = 17] = "codeLens";
|
|
2940
|
-
EditorOption[EditorOption["codeLensFontFamily"] = 18] = "codeLensFontFamily";
|
|
2941
|
-
EditorOption[EditorOption["codeLensFontSize"] = 19] = "codeLensFontSize";
|
|
2942
|
-
EditorOption[EditorOption["colorDecorators"] = 20] = "colorDecorators";
|
|
2943
|
-
EditorOption[EditorOption["colorDecoratorsLimit"] = 21] = "colorDecoratorsLimit";
|
|
2944
|
-
EditorOption[EditorOption["columnSelection"] = 22] = "columnSelection";
|
|
2945
|
-
EditorOption[EditorOption["comments"] = 23] = "comments";
|
|
2946
|
-
EditorOption[EditorOption["contextmenu"] = 24] = "contextmenu";
|
|
2947
|
-
EditorOption[EditorOption["copyWithSyntaxHighlighting"] = 25] = "copyWithSyntaxHighlighting";
|
|
2948
|
-
EditorOption[EditorOption["cursorBlinking"] = 26] = "cursorBlinking";
|
|
2949
|
-
EditorOption[EditorOption["cursorSmoothCaretAnimation"] = 27] = "cursorSmoothCaretAnimation";
|
|
2950
|
-
EditorOption[EditorOption["cursorStyle"] = 28] = "cursorStyle";
|
|
2951
|
-
EditorOption[EditorOption["cursorSurroundingLines"] = 29] = "cursorSurroundingLines";
|
|
2952
|
-
EditorOption[EditorOption["cursorSurroundingLinesStyle"] = 30] = "cursorSurroundingLinesStyle";
|
|
2953
|
-
EditorOption[EditorOption["cursorWidth"] = 31] = "cursorWidth";
|
|
2954
|
-
EditorOption[EditorOption["disableLayerHinting"] = 32] = "disableLayerHinting";
|
|
2955
|
-
EditorOption[EditorOption["disableMonospaceOptimizations"] = 33] = "disableMonospaceOptimizations";
|
|
2956
|
-
EditorOption[EditorOption["domReadOnly"] = 34] = "domReadOnly";
|
|
2957
|
-
EditorOption[EditorOption["dragAndDrop"] = 35] = "dragAndDrop";
|
|
2958
|
-
EditorOption[EditorOption["dropIntoEditor"] = 36] = "dropIntoEditor";
|
|
2959
|
-
EditorOption[EditorOption["emptySelectionClipboard"] = 37] = "emptySelectionClipboard";
|
|
2960
|
-
EditorOption[EditorOption["experimentalWhitespaceRendering"] = 38] = "experimentalWhitespaceRendering";
|
|
2961
|
-
EditorOption[EditorOption["extraEditorClassName"] = 39] = "extraEditorClassName";
|
|
2962
|
-
EditorOption[EditorOption["fastScrollSensitivity"] = 40] = "fastScrollSensitivity";
|
|
2963
|
-
EditorOption[EditorOption["find"] = 41] = "find";
|
|
2964
|
-
EditorOption[EditorOption["fixedOverflowWidgets"] = 42] = "fixedOverflowWidgets";
|
|
2965
|
-
EditorOption[EditorOption["folding"] = 43] = "folding";
|
|
2966
|
-
EditorOption[EditorOption["foldingStrategy"] = 44] = "foldingStrategy";
|
|
2967
|
-
EditorOption[EditorOption["foldingHighlight"] = 45] = "foldingHighlight";
|
|
2968
|
-
EditorOption[EditorOption["foldingImportsByDefault"] = 46] = "foldingImportsByDefault";
|
|
2969
|
-
EditorOption[EditorOption["foldingMaximumRegions"] = 47] = "foldingMaximumRegions";
|
|
2970
|
-
EditorOption[EditorOption["unfoldOnClickAfterEndOfLine"] = 48] = "unfoldOnClickAfterEndOfLine";
|
|
2971
|
-
EditorOption[EditorOption["fontFamily"] = 49] = "fontFamily";
|
|
2972
|
-
EditorOption[EditorOption["fontInfo"] = 50] = "fontInfo";
|
|
2973
|
-
EditorOption[EditorOption["fontLigatures"] = 51] = "fontLigatures";
|
|
2974
|
-
EditorOption[EditorOption["fontSize"] = 52] = "fontSize";
|
|
2975
|
-
EditorOption[EditorOption["fontWeight"] = 53] = "fontWeight";
|
|
2976
|
-
EditorOption[EditorOption["fontVariations"] = 54] = "fontVariations";
|
|
2977
|
-
EditorOption[EditorOption["formatOnPaste"] = 55] = "formatOnPaste";
|
|
2978
|
-
EditorOption[EditorOption["formatOnType"] = 56] = "formatOnType";
|
|
2979
|
-
EditorOption[EditorOption["glyphMargin"] = 57] = "glyphMargin";
|
|
2980
|
-
EditorOption[EditorOption["gotoLocation"] = 58] = "gotoLocation";
|
|
2981
|
-
EditorOption[EditorOption["hideCursorInOverviewRuler"] = 59] = "hideCursorInOverviewRuler";
|
|
2982
|
-
EditorOption[EditorOption["hover"] = 60] = "hover";
|
|
2983
|
-
EditorOption[EditorOption["inDiffEditor"] = 61] = "inDiffEditor";
|
|
2984
|
-
EditorOption[EditorOption["inlineSuggest"] = 62] = "inlineSuggest";
|
|
2985
|
-
EditorOption[EditorOption["inlineEdit"] = 63] = "inlineEdit";
|
|
2986
|
-
EditorOption[EditorOption["letterSpacing"] = 64] = "letterSpacing";
|
|
2987
|
-
EditorOption[EditorOption["lightbulb"] = 65] = "lightbulb";
|
|
2988
|
-
EditorOption[EditorOption["lineDecorationsWidth"] = 66] = "lineDecorationsWidth";
|
|
2989
|
-
EditorOption[EditorOption["lineHeight"] = 67] = "lineHeight";
|
|
2990
|
-
EditorOption[EditorOption["lineNumbers"] = 68] = "lineNumbers";
|
|
2991
|
-
EditorOption[EditorOption["lineNumbersMinChars"] = 69] = "lineNumbersMinChars";
|
|
2992
|
-
EditorOption[EditorOption["linkedEditing"] = 70] = "linkedEditing";
|
|
2993
|
-
EditorOption[EditorOption["links"] = 71] = "links";
|
|
2994
|
-
EditorOption[EditorOption["matchBrackets"] = 72] = "matchBrackets";
|
|
2995
|
-
EditorOption[EditorOption["minimap"] = 73] = "minimap";
|
|
2996
|
-
EditorOption[EditorOption["mouseStyle"] = 74] = "mouseStyle";
|
|
2997
|
-
EditorOption[EditorOption["mouseWheelScrollSensitivity"] = 75] = "mouseWheelScrollSensitivity";
|
|
2998
|
-
EditorOption[EditorOption["mouseWheelZoom"] = 76] = "mouseWheelZoom";
|
|
2999
|
-
EditorOption[EditorOption["multiCursorMergeOverlapping"] = 77] = "multiCursorMergeOverlapping";
|
|
3000
|
-
EditorOption[EditorOption["multiCursorModifier"] = 78] = "multiCursorModifier";
|
|
3001
|
-
EditorOption[EditorOption["multiCursorPaste"] = 79] = "multiCursorPaste";
|
|
3002
|
-
EditorOption[EditorOption["multiCursorLimit"] = 80] = "multiCursorLimit";
|
|
3003
|
-
EditorOption[EditorOption["occurrencesHighlight"] = 81] = "occurrencesHighlight";
|
|
3004
|
-
EditorOption[EditorOption["overviewRulerBorder"] = 82] = "overviewRulerBorder";
|
|
3005
|
-
EditorOption[EditorOption["overviewRulerLanes"] = 83] = "overviewRulerLanes";
|
|
3006
|
-
EditorOption[EditorOption["padding"] = 84] = "padding";
|
|
3007
|
-
EditorOption[EditorOption["pasteAs"] = 85] = "pasteAs";
|
|
3008
|
-
EditorOption[EditorOption["parameterHints"] = 86] = "parameterHints";
|
|
3009
|
-
EditorOption[EditorOption["peekWidgetDefaultFocus"] = 87] = "peekWidgetDefaultFocus";
|
|
3010
|
-
EditorOption[EditorOption["placeholder"] = 88] = "placeholder";
|
|
3011
|
-
EditorOption[EditorOption["definitionLinkOpensInPeek"] = 89] = "definitionLinkOpensInPeek";
|
|
3012
|
-
EditorOption[EditorOption["quickSuggestions"] = 90] = "quickSuggestions";
|
|
3013
|
-
EditorOption[EditorOption["quickSuggestionsDelay"] = 91] = "quickSuggestionsDelay";
|
|
3014
|
-
EditorOption[EditorOption["readOnly"] = 92] = "readOnly";
|
|
3015
|
-
EditorOption[EditorOption["readOnlyMessage"] = 93] = "readOnlyMessage";
|
|
3016
|
-
EditorOption[EditorOption["renameOnType"] = 94] = "renameOnType";
|
|
3017
|
-
EditorOption[EditorOption["renderControlCharacters"] = 95] = "renderControlCharacters";
|
|
3018
|
-
EditorOption[EditorOption["renderFinalNewline"] = 96] = "renderFinalNewline";
|
|
3019
|
-
EditorOption[EditorOption["renderLineHighlight"] = 97] = "renderLineHighlight";
|
|
3020
|
-
EditorOption[EditorOption["renderLineHighlightOnlyWhenFocus"] = 98] = "renderLineHighlightOnlyWhenFocus";
|
|
3021
|
-
EditorOption[EditorOption["renderValidationDecorations"] = 99] = "renderValidationDecorations";
|
|
3022
|
-
EditorOption[EditorOption["renderWhitespace"] = 100] = "renderWhitespace";
|
|
3023
|
-
EditorOption[EditorOption["revealHorizontalRightPadding"] = 101] = "revealHorizontalRightPadding";
|
|
3024
|
-
EditorOption[EditorOption["roundedSelection"] = 102] = "roundedSelection";
|
|
3025
|
-
EditorOption[EditorOption["rulers"] = 103] = "rulers";
|
|
3026
|
-
EditorOption[EditorOption["scrollbar"] = 104] = "scrollbar";
|
|
3027
|
-
EditorOption[EditorOption["scrollBeyondLastColumn"] = 105] = "scrollBeyondLastColumn";
|
|
3028
|
-
EditorOption[EditorOption["scrollBeyondLastLine"] = 106] = "scrollBeyondLastLine";
|
|
3029
|
-
EditorOption[EditorOption["scrollPredominantAxis"] = 107] = "scrollPredominantAxis";
|
|
3030
|
-
EditorOption[EditorOption["selectionClipboard"] = 108] = "selectionClipboard";
|
|
3031
|
-
EditorOption[EditorOption["selectionHighlight"] = 109] = "selectionHighlight";
|
|
3032
|
-
EditorOption[EditorOption["selectOnLineNumbers"] = 110] = "selectOnLineNumbers";
|
|
3033
|
-
EditorOption[EditorOption["showFoldingControls"] = 111] = "showFoldingControls";
|
|
3034
|
-
EditorOption[EditorOption["showUnused"] = 112] = "showUnused";
|
|
3035
|
-
EditorOption[EditorOption["snippetSuggestions"] = 113] = "snippetSuggestions";
|
|
3036
|
-
EditorOption[EditorOption["smartSelect"] = 114] = "smartSelect";
|
|
3037
|
-
EditorOption[EditorOption["smoothScrolling"] = 115] = "smoothScrolling";
|
|
3038
|
-
EditorOption[EditorOption["stickyScroll"] = 116] = "stickyScroll";
|
|
3039
|
-
EditorOption[EditorOption["stickyTabStops"] = 117] = "stickyTabStops";
|
|
3040
|
-
EditorOption[EditorOption["stopRenderingLineAfter"] = 118] = "stopRenderingLineAfter";
|
|
3041
|
-
EditorOption[EditorOption["suggest"] = 119] = "suggest";
|
|
3042
|
-
EditorOption[EditorOption["suggestFontSize"] = 120] = "suggestFontSize";
|
|
3043
|
-
EditorOption[EditorOption["suggestLineHeight"] = 121] = "suggestLineHeight";
|
|
3044
|
-
EditorOption[EditorOption["suggestOnTriggerCharacters"] = 122] = "suggestOnTriggerCharacters";
|
|
3045
|
-
EditorOption[EditorOption["suggestSelection"] = 123] = "suggestSelection";
|
|
3046
|
-
EditorOption[EditorOption["tabCompletion"] = 124] = "tabCompletion";
|
|
3047
|
-
EditorOption[EditorOption["tabIndex"] = 125] = "tabIndex";
|
|
3048
|
-
EditorOption[EditorOption["unicodeHighlighting"] = 126] = "unicodeHighlighting";
|
|
3049
|
-
EditorOption[EditorOption["unusualLineTerminators"] = 127] = "unusualLineTerminators";
|
|
3050
|
-
EditorOption[EditorOption["useShadowDOM"] = 128] = "useShadowDOM";
|
|
3051
|
-
EditorOption[EditorOption["useTabStops"] = 129] = "useTabStops";
|
|
3052
|
-
EditorOption[EditorOption["wordBreak"] = 130] = "wordBreak";
|
|
3053
|
-
EditorOption[EditorOption["wordSegmenterLocales"] = 131] = "wordSegmenterLocales";
|
|
3054
|
-
EditorOption[EditorOption["wordSeparators"] = 132] = "wordSeparators";
|
|
3055
|
-
EditorOption[EditorOption["wordWrap"] = 133] = "wordWrap";
|
|
3056
|
-
EditorOption[EditorOption["wordWrapBreakAfterCharacters"] = 134] = "wordWrapBreakAfterCharacters";
|
|
3057
|
-
EditorOption[EditorOption["wordWrapBreakBeforeCharacters"] = 135] = "wordWrapBreakBeforeCharacters";
|
|
3058
|
-
EditorOption[EditorOption["wordWrapColumn"] = 136] = "wordWrapColumn";
|
|
3059
|
-
EditorOption[EditorOption["wordWrapOverride1"] = 137] = "wordWrapOverride1";
|
|
3060
|
-
EditorOption[EditorOption["wordWrapOverride2"] = 138] = "wordWrapOverride2";
|
|
3061
|
-
EditorOption[EditorOption["wrappingIndent"] = 139] = "wrappingIndent";
|
|
3062
|
-
EditorOption[EditorOption["wrappingStrategy"] = 140] = "wrappingStrategy";
|
|
3063
|
-
EditorOption[EditorOption["showDeprecated"] = 141] = "showDeprecated";
|
|
3064
|
-
EditorOption[EditorOption["inlayHints"] = 142] = "inlayHints";
|
|
3065
|
-
EditorOption[EditorOption["editorClassName"] = 143] = "editorClassName";
|
|
3066
|
-
EditorOption[EditorOption["pixelRatio"] = 144] = "pixelRatio";
|
|
3067
|
-
EditorOption[EditorOption["tabFocusMode"] = 145] = "tabFocusMode";
|
|
3068
|
-
EditorOption[EditorOption["layoutInfo"] = 146] = "layoutInfo";
|
|
3069
|
-
EditorOption[EditorOption["wrappingInfo"] = 147] = "wrappingInfo";
|
|
3070
|
-
EditorOption[EditorOption["defaultColorDecorators"] = 148] = "defaultColorDecorators";
|
|
3071
|
-
EditorOption[EditorOption["colorDecoratorsActivatedOn"] = 149] = "colorDecoratorsActivatedOn";
|
|
3072
|
-
EditorOption[EditorOption["inlineCompletionsAccessibilityVerbose"] = 150] = "inlineCompletionsAccessibilityVerbose";
|
|
3073
|
-
})(EditorOption || (EditorOption = {}))));
|
|
3074
2898
|
const EditorOptions = {
|
|
3075
2899
|
acceptSuggestionOnCommitCharacter: register(( (new EditorBooleanOption(
|
|
3076
|
-
|
|
2900
|
+
0 ,
|
|
3077
2901
|
'acceptSuggestionOnCommitCharacter',
|
|
3078
2902
|
true,
|
|
3079
2903
|
{ markdownDescription: ( localize(
|
|
3080
|
-
|
|
2904
|
+
290,
|
|
3081
2905
|
"Controls whether suggestions should be accepted on commit characters. For example, in JavaScript, the semi-colon (`;`) can be a commit character that accepts a suggestion and types that character."
|
|
3082
2906
|
)) }
|
|
3083
2907
|
)))),
|
|
3084
2908
|
acceptSuggestionOnEnter: register(( (new EditorStringEnumOption(
|
|
3085
|
-
|
|
2909
|
+
1 ,
|
|
3086
2910
|
'acceptSuggestionOnEnter',
|
|
3087
2911
|
'on',
|
|
3088
2912
|
['on', 'smart', 'off'],
|
|
@@ -3090,48 +2914,48 @@ const EditorOptions = {
|
|
|
3090
2914
|
markdownEnumDescriptions: [
|
|
3091
2915
|
'',
|
|
3092
2916
|
( localize(
|
|
3093
|
-
|
|
2917
|
+
291,
|
|
3094
2918
|
"Only accept a suggestion with `Enter` when it makes a textual change."
|
|
3095
2919
|
)),
|
|
3096
2920
|
''
|
|
3097
2921
|
],
|
|
3098
2922
|
markdownDescription: ( localize(
|
|
3099
|
-
|
|
2923
|
+
292,
|
|
3100
2924
|
"Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions."
|
|
3101
2925
|
))
|
|
3102
2926
|
}
|
|
3103
2927
|
)))),
|
|
3104
2928
|
accessibilitySupport: register(( (new EditorAccessibilitySupport()))),
|
|
3105
2929
|
accessibilityPageSize: register(( (new EditorIntOption(
|
|
3106
|
-
|
|
2930
|
+
3 ,
|
|
3107
2931
|
'accessibilityPageSize',
|
|
3108
2932
|
10,
|
|
3109
2933
|
1,
|
|
3110
|
-
|
|
2934
|
+
1073741824 ,
|
|
3111
2935
|
{
|
|
3112
2936
|
description: ( localize(
|
|
3113
|
-
|
|
2937
|
+
293,
|
|
3114
2938
|
"Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."
|
|
3115
2939
|
)),
|
|
3116
2940
|
tags: ['accessibility']
|
|
3117
2941
|
}
|
|
3118
2942
|
)))),
|
|
3119
|
-
ariaLabel: register(( (new EditorStringOption(
|
|
3120
|
-
ariaRequired: register(( (new EditorBooleanOption(
|
|
2943
|
+
ariaLabel: register(( (new EditorStringOption(4 , 'ariaLabel', ( localize(294, "Editor content")))))),
|
|
2944
|
+
ariaRequired: register(( (new EditorBooleanOption(5 , 'ariaRequired', false, undefined)))),
|
|
3121
2945
|
screenReaderAnnounceInlineSuggestion: register(( (new EditorBooleanOption(
|
|
3122
|
-
|
|
2946
|
+
8 ,
|
|
3123
2947
|
'screenReaderAnnounceInlineSuggestion',
|
|
3124
2948
|
true,
|
|
3125
2949
|
{
|
|
3126
2950
|
description: ( localize(
|
|
3127
|
-
|
|
2951
|
+
295,
|
|
3128
2952
|
"Control whether inline suggestions are announced by a screen reader."
|
|
3129
2953
|
)),
|
|
3130
2954
|
tags: ['accessibility']
|
|
3131
2955
|
}
|
|
3132
2956
|
)))),
|
|
3133
2957
|
autoClosingBrackets: register(( (new EditorStringEnumOption(
|
|
3134
|
-
|
|
2958
|
+
6 ,
|
|
3135
2959
|
'autoClosingBrackets',
|
|
3136
2960
|
'languageDefined',
|
|
3137
2961
|
['always', 'languageDefined', 'beforeWhitespace', 'never'],
|
|
@@ -3139,23 +2963,23 @@ const EditorOptions = {
|
|
|
3139
2963
|
enumDescriptions: [
|
|
3140
2964
|
'',
|
|
3141
2965
|
( localize(
|
|
3142
|
-
|
|
2966
|
+
296,
|
|
3143
2967
|
"Use language configurations to determine when to autoclose brackets."
|
|
3144
2968
|
)),
|
|
3145
2969
|
( localize(
|
|
3146
|
-
|
|
2970
|
+
297,
|
|
3147
2971
|
"Autoclose brackets only when the cursor is to the left of whitespace."
|
|
3148
2972
|
)),
|
|
3149
2973
|
'',
|
|
3150
2974
|
],
|
|
3151
2975
|
description: ( localize(
|
|
3152
|
-
|
|
2976
|
+
298,
|
|
3153
2977
|
"Controls whether the editor should automatically close brackets after the user adds an opening bracket."
|
|
3154
2978
|
))
|
|
3155
2979
|
}
|
|
3156
2980
|
)))),
|
|
3157
2981
|
autoClosingComments: register(( (new EditorStringEnumOption(
|
|
3158
|
-
|
|
2982
|
+
7 ,
|
|
3159
2983
|
'autoClosingComments',
|
|
3160
2984
|
'languageDefined',
|
|
3161
2985
|
['always', 'languageDefined', 'beforeWhitespace', 'never'],
|
|
@@ -3163,23 +2987,23 @@ const EditorOptions = {
|
|
|
3163
2987
|
enumDescriptions: [
|
|
3164
2988
|
'',
|
|
3165
2989
|
( localize(
|
|
3166
|
-
|
|
2990
|
+
299,
|
|
3167
2991
|
"Use language configurations to determine when to autoclose comments."
|
|
3168
2992
|
)),
|
|
3169
2993
|
( localize(
|
|
3170
|
-
|
|
2994
|
+
300,
|
|
3171
2995
|
"Autoclose comments only when the cursor is to the left of whitespace."
|
|
3172
2996
|
)),
|
|
3173
2997
|
'',
|
|
3174
2998
|
],
|
|
3175
2999
|
description: ( localize(
|
|
3176
|
-
|
|
3000
|
+
301,
|
|
3177
3001
|
"Controls whether the editor should automatically close comments after the user adds an opening comment."
|
|
3178
3002
|
))
|
|
3179
3003
|
}
|
|
3180
3004
|
)))),
|
|
3181
3005
|
autoClosingDelete: register(( (new EditorStringEnumOption(
|
|
3182
|
-
|
|
3006
|
+
9 ,
|
|
3183
3007
|
'autoClosingDelete',
|
|
3184
3008
|
'auto',
|
|
3185
3009
|
['always', 'auto', 'never'],
|
|
@@ -3187,19 +3011,19 @@ const EditorOptions = {
|
|
|
3187
3011
|
enumDescriptions: [
|
|
3188
3012
|
'',
|
|
3189
3013
|
( localize(
|
|
3190
|
-
|
|
3014
|
+
302,
|
|
3191
3015
|
"Remove adjacent closing quotes or brackets only if they were automatically inserted."
|
|
3192
3016
|
)),
|
|
3193
3017
|
'',
|
|
3194
3018
|
],
|
|
3195
3019
|
description: ( localize(
|
|
3196
|
-
|
|
3020
|
+
303,
|
|
3197
3021
|
"Controls whether the editor should remove adjacent closing quotes or brackets when deleting."
|
|
3198
3022
|
))
|
|
3199
3023
|
}
|
|
3200
3024
|
)))),
|
|
3201
3025
|
autoClosingOvertype: register(( (new EditorStringEnumOption(
|
|
3202
|
-
|
|
3026
|
+
10 ,
|
|
3203
3027
|
'autoClosingOvertype',
|
|
3204
3028
|
'auto',
|
|
3205
3029
|
['always', 'auto', 'never'],
|
|
@@ -3207,83 +3031,83 @@ const EditorOptions = {
|
|
|
3207
3031
|
enumDescriptions: [
|
|
3208
3032
|
'',
|
|
3209
3033
|
( localize(
|
|
3210
|
-
|
|
3034
|
+
304,
|
|
3211
3035
|
"Type over closing quotes or brackets only if they were automatically inserted."
|
|
3212
3036
|
)),
|
|
3213
3037
|
'',
|
|
3214
3038
|
],
|
|
3215
3039
|
description: ( localize(
|
|
3216
|
-
|
|
3040
|
+
305,
|
|
3217
3041
|
"Controls whether the editor should type over closing quotes or brackets."
|
|
3218
3042
|
))
|
|
3219
3043
|
}
|
|
3220
3044
|
)))),
|
|
3221
3045
|
autoClosingQuotes: register(( (new EditorStringEnumOption(
|
|
3222
|
-
|
|
3046
|
+
11 ,
|
|
3223
3047
|
'autoClosingQuotes',
|
|
3224
3048
|
'languageDefined',
|
|
3225
3049
|
['always', 'languageDefined', 'beforeWhitespace', 'never'],
|
|
3226
3050
|
{
|
|
3227
3051
|
enumDescriptions: [
|
|
3228
3052
|
'',
|
|
3229
|
-
( localize(
|
|
3230
|
-
( localize(
|
|
3053
|
+
( localize(306, "Use language configurations to determine when to autoclose quotes.")),
|
|
3054
|
+
( localize(307, "Autoclose quotes only when the cursor is to the left of whitespace.")),
|
|
3231
3055
|
'',
|
|
3232
3056
|
],
|
|
3233
3057
|
description: ( localize(
|
|
3234
|
-
|
|
3058
|
+
308,
|
|
3235
3059
|
"Controls whether the editor should automatically close quotes after the user adds an opening quote."
|
|
3236
3060
|
))
|
|
3237
3061
|
}
|
|
3238
3062
|
)))),
|
|
3239
3063
|
autoIndent: register(( (new EditorEnumOption(
|
|
3240
|
-
|
|
3064
|
+
12 ,
|
|
3241
3065
|
'autoIndent',
|
|
3242
|
-
|
|
3066
|
+
4 ,
|
|
3243
3067
|
'full',
|
|
3244
3068
|
['none', 'keep', 'brackets', 'advanced', 'full'],
|
|
3245
3069
|
_autoIndentFromString,
|
|
3246
3070
|
{
|
|
3247
3071
|
enumDescriptions: [
|
|
3248
|
-
( localize(
|
|
3249
|
-
( localize(
|
|
3072
|
+
( localize(309, "The editor will not insert indentation automatically.")),
|
|
3073
|
+
( localize(310, "The editor will keep the current line's indentation.")),
|
|
3250
3074
|
( localize(
|
|
3251
|
-
|
|
3075
|
+
311,
|
|
3252
3076
|
"The editor will keep the current line's indentation and honor language defined brackets."
|
|
3253
3077
|
)),
|
|
3254
3078
|
( localize(
|
|
3255
|
-
|
|
3079
|
+
312,
|
|
3256
3080
|
"The editor will keep the current line's indentation, honor language defined brackets and invoke special onEnterRules defined by languages."
|
|
3257
3081
|
)),
|
|
3258
3082
|
( localize(
|
|
3259
|
-
|
|
3083
|
+
313,
|
|
3260
3084
|
"The editor will keep the current line's indentation, honor language defined brackets, invoke special onEnterRules defined by languages, and honor indentationRules defined by languages."
|
|
3261
3085
|
)),
|
|
3262
3086
|
],
|
|
3263
3087
|
description: ( localize(
|
|
3264
|
-
|
|
3088
|
+
314,
|
|
3265
3089
|
"Controls whether the editor should automatically adjust the indentation when users type, paste, move or indent lines."
|
|
3266
3090
|
))
|
|
3267
3091
|
}
|
|
3268
3092
|
)))),
|
|
3269
|
-
automaticLayout: register(( (new EditorBooleanOption(
|
|
3093
|
+
automaticLayout: register(( (new EditorBooleanOption(13 , 'automaticLayout', false)))),
|
|
3270
3094
|
autoSurround: register(( (new EditorStringEnumOption(
|
|
3271
|
-
|
|
3095
|
+
14 ,
|
|
3272
3096
|
'autoSurround',
|
|
3273
3097
|
'languageDefined',
|
|
3274
3098
|
['languageDefined', 'quotes', 'brackets', 'never'],
|
|
3275
3099
|
{
|
|
3276
3100
|
enumDescriptions: [
|
|
3277
3101
|
( localize(
|
|
3278
|
-
|
|
3102
|
+
315,
|
|
3279
3103
|
"Use language configurations to determine when to automatically surround selections."
|
|
3280
3104
|
)),
|
|
3281
|
-
( localize(
|
|
3282
|
-
( localize(
|
|
3105
|
+
( localize(316, "Surround with quotes but not brackets.")),
|
|
3106
|
+
( localize(317, "Surround with brackets but not quotes.")),
|
|
3283
3107
|
''
|
|
3284
3108
|
],
|
|
3285
3109
|
description: ( localize(
|
|
3286
|
-
|
|
3110
|
+
318,
|
|
3287
3111
|
"Controls whether the editor should automatically surround selections when typing quotes or brackets."
|
|
3288
3112
|
))
|
|
3289
3113
|
}
|
|
@@ -3291,266 +3115,294 @@ const EditorOptions = {
|
|
|
3291
3115
|
bracketPairColorization: register(( (new BracketPairColorization()))),
|
|
3292
3116
|
bracketPairGuides: register(( (new GuideOptions()))),
|
|
3293
3117
|
stickyTabStops: register(( (new EditorBooleanOption(
|
|
3294
|
-
|
|
3118
|
+
119 ,
|
|
3295
3119
|
'stickyTabStops',
|
|
3296
3120
|
false,
|
|
3297
3121
|
{ description: ( localize(
|
|
3298
|
-
|
|
3122
|
+
319,
|
|
3299
3123
|
"Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops."
|
|
3300
3124
|
)) }
|
|
3301
3125
|
)))),
|
|
3302
|
-
codeLens: register(( (new EditorBooleanOption(
|
|
3126
|
+
codeLens: register(( (new EditorBooleanOption(
|
|
3127
|
+
17 ,
|
|
3128
|
+
'codeLens',
|
|
3129
|
+
true,
|
|
3130
|
+
{ description: ( localize(320, "Controls whether the editor shows CodeLens.")) }
|
|
3131
|
+
)))),
|
|
3303
3132
|
codeLensFontFamily: register(( (new EditorStringOption(
|
|
3304
|
-
|
|
3133
|
+
18 ,
|
|
3305
3134
|
'codeLensFontFamily',
|
|
3306
3135
|
'',
|
|
3307
|
-
{ description: ( localize(
|
|
3136
|
+
{ description: ( localize(321, "Controls the font family for CodeLens.")) }
|
|
3308
3137
|
)))),
|
|
3309
|
-
codeLensFontSize: register(( (new EditorIntOption(
|
|
3138
|
+
codeLensFontSize: register(( (new EditorIntOption(19 , 'codeLensFontSize', 0, 0, 100, {
|
|
3310
3139
|
type: 'number',
|
|
3311
3140
|
default: 0,
|
|
3312
3141
|
minimum: 0,
|
|
3313
3142
|
maximum: 100,
|
|
3314
3143
|
markdownDescription: ( localize(
|
|
3315
|
-
|
|
3144
|
+
322,
|
|
3316
3145
|
"Controls the font size in pixels for CodeLens. When set to 0, 90% of `#editor.fontSize#` is used."
|
|
3317
3146
|
))
|
|
3318
3147
|
})))),
|
|
3319
3148
|
colorDecorators: register(( (new EditorBooleanOption(
|
|
3320
|
-
|
|
3149
|
+
20 ,
|
|
3321
3150
|
'colorDecorators',
|
|
3322
3151
|
true,
|
|
3323
3152
|
{ description: ( localize(
|
|
3324
|
-
|
|
3153
|
+
323,
|
|
3325
3154
|
"Controls whether the editor should render the inline color decorators and color picker."
|
|
3326
3155
|
)) }
|
|
3327
3156
|
)))),
|
|
3328
3157
|
colorDecoratorActivatedOn: register(( (new EditorStringEnumOption(
|
|
3329
|
-
|
|
3158
|
+
151 ,
|
|
3330
3159
|
'colorDecoratorsActivatedOn',
|
|
3331
3160
|
'clickAndHover',
|
|
3332
3161
|
['clickAndHover', 'hover', 'click'],
|
|
3333
3162
|
{
|
|
3334
3163
|
enumDescriptions: [
|
|
3335
3164
|
( localize(
|
|
3336
|
-
|
|
3165
|
+
324,
|
|
3337
3166
|
"Make the color picker appear both on click and hover of the color decorator"
|
|
3338
3167
|
)),
|
|
3339
|
-
( localize(
|
|
3340
|
-
( localize(
|
|
3168
|
+
( localize(325, "Make the color picker appear on hover of the color decorator")),
|
|
3169
|
+
( localize(326, "Make the color picker appear on click of the color decorator"))
|
|
3341
3170
|
],
|
|
3342
3171
|
description: ( localize(
|
|
3343
|
-
|
|
3172
|
+
327,
|
|
3344
3173
|
"Controls the condition to make a color picker appear from a color decorator"
|
|
3345
3174
|
))
|
|
3346
3175
|
}
|
|
3347
3176
|
)))),
|
|
3348
3177
|
colorDecoratorsLimit: register(( (new EditorIntOption(
|
|
3349
|
-
|
|
3178
|
+
21 ,
|
|
3350
3179
|
'colorDecoratorsLimit',
|
|
3351
3180
|
500,
|
|
3352
3181
|
1,
|
|
3353
3182
|
1000000,
|
|
3354
3183
|
{
|
|
3355
3184
|
markdownDescription: ( localize(
|
|
3356
|
-
|
|
3185
|
+
328,
|
|
3357
3186
|
"Controls the max number of color decorators that can be rendered in an editor at once."
|
|
3358
3187
|
))
|
|
3359
3188
|
}
|
|
3360
3189
|
)))),
|
|
3361
3190
|
columnSelection: register(( (new EditorBooleanOption(
|
|
3362
|
-
|
|
3191
|
+
22 ,
|
|
3363
3192
|
'columnSelection',
|
|
3364
3193
|
false,
|
|
3365
3194
|
{ description: ( localize(
|
|
3366
|
-
|
|
3195
|
+
329,
|
|
3367
3196
|
"Enable that the selection with the mouse and keys is doing column selection."
|
|
3368
3197
|
)) }
|
|
3369
3198
|
)))),
|
|
3370
3199
|
comments: register(( (new EditorComments()))),
|
|
3371
|
-
contextmenu: register(( (new EditorBooleanOption(
|
|
3200
|
+
contextmenu: register(( (new EditorBooleanOption(24 , 'contextmenu', true)))),
|
|
3372
3201
|
copyWithSyntaxHighlighting: register(( (new EditorBooleanOption(
|
|
3373
|
-
|
|
3202
|
+
25 ,
|
|
3374
3203
|
'copyWithSyntaxHighlighting',
|
|
3375
3204
|
true,
|
|
3376
3205
|
{ description: ( localize(
|
|
3377
|
-
|
|
3206
|
+
330,
|
|
3378
3207
|
"Controls whether syntax highlighting should be copied into the clipboard."
|
|
3379
3208
|
)) }
|
|
3380
3209
|
)))),
|
|
3381
3210
|
cursorBlinking: register(( (new EditorEnumOption(
|
|
3382
|
-
|
|
3211
|
+
26 ,
|
|
3383
3212
|
'cursorBlinking',
|
|
3384
|
-
|
|
3213
|
+
1 ,
|
|
3385
3214
|
'blink',
|
|
3386
3215
|
['blink', 'smooth', 'phase', 'expand', 'solid'],
|
|
3387
|
-
|
|
3388
|
-
{ description: ( localize(
|
|
3216
|
+
cursorBlinkingStyleFromString,
|
|
3217
|
+
{ description: ( localize(331, "Control the cursor animation style.")) }
|
|
3389
3218
|
)))),
|
|
3390
3219
|
cursorSmoothCaretAnimation: register(( (new EditorStringEnumOption(
|
|
3391
|
-
|
|
3220
|
+
27 ,
|
|
3392
3221
|
'cursorSmoothCaretAnimation',
|
|
3393
3222
|
'off',
|
|
3394
3223
|
['off', 'explicit', 'on'],
|
|
3395
3224
|
{
|
|
3396
3225
|
enumDescriptions: [
|
|
3397
|
-
( localize(
|
|
3226
|
+
( localize(332, "Smooth caret animation is disabled.")),
|
|
3398
3227
|
( localize(
|
|
3399
|
-
|
|
3228
|
+
333,
|
|
3400
3229
|
"Smooth caret animation is enabled only when the user moves the cursor with an explicit gesture."
|
|
3401
3230
|
)),
|
|
3402
|
-
( localize(
|
|
3231
|
+
( localize(334, "Smooth caret animation is always enabled."))
|
|
3403
3232
|
],
|
|
3404
|
-
description: ( localize(
|
|
3233
|
+
description: ( localize(335, "Controls whether the smooth caret animation should be enabled."))
|
|
3405
3234
|
}
|
|
3406
3235
|
)))),
|
|
3407
3236
|
cursorStyle: register(( (new EditorEnumOption(
|
|
3408
|
-
|
|
3237
|
+
28 ,
|
|
3409
3238
|
'cursorStyle',
|
|
3410
3239
|
TextEditorCursorStyle.Line,
|
|
3411
3240
|
'line',
|
|
3412
3241
|
['line', 'block', 'underline', 'line-thin', 'block-outline', 'underline-thin'],
|
|
3413
|
-
|
|
3414
|
-
{ description: ( localize(
|
|
3242
|
+
cursorStyleFromString,
|
|
3243
|
+
{ description: ( localize(336, "Controls the cursor style.")) }
|
|
3415
3244
|
)))),
|
|
3416
3245
|
cursorSurroundingLines: register(( (new EditorIntOption(
|
|
3417
|
-
|
|
3246
|
+
29 ,
|
|
3418
3247
|
'cursorSurroundingLines',
|
|
3419
3248
|
0,
|
|
3420
3249
|
0,
|
|
3421
|
-
|
|
3250
|
+
1073741824 ,
|
|
3422
3251
|
{ description: ( localize(
|
|
3423
|
-
|
|
3252
|
+
337,
|
|
3424
3253
|
"Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors."
|
|
3425
3254
|
)) }
|
|
3426
3255
|
)))),
|
|
3427
3256
|
cursorSurroundingLinesStyle: register(( (new EditorStringEnumOption(
|
|
3428
|
-
|
|
3257
|
+
30 ,
|
|
3429
3258
|
'cursorSurroundingLinesStyle',
|
|
3430
3259
|
'default',
|
|
3431
3260
|
['default', 'all'],
|
|
3432
3261
|
{
|
|
3433
3262
|
enumDescriptions: [
|
|
3434
3263
|
( localize(
|
|
3435
|
-
|
|
3264
|
+
338,
|
|
3436
3265
|
"`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."
|
|
3437
3266
|
)),
|
|
3438
|
-
( localize(
|
|
3267
|
+
( localize(339, "`cursorSurroundingLines` is enforced always."))
|
|
3439
3268
|
],
|
|
3440
|
-
markdownDescription: ( localize(
|
|
3269
|
+
markdownDescription: ( localize(340, "Controls when `#editor.cursorSurroundingLines#` should be enforced."))
|
|
3441
3270
|
}
|
|
3442
3271
|
)))),
|
|
3443
3272
|
cursorWidth: register(( (new EditorIntOption(
|
|
3444
|
-
|
|
3273
|
+
31 ,
|
|
3445
3274
|
'cursorWidth',
|
|
3446
3275
|
0,
|
|
3447
3276
|
0,
|
|
3448
|
-
|
|
3277
|
+
1073741824 ,
|
|
3449
3278
|
{ markdownDescription: ( localize(
|
|
3450
|
-
|
|
3279
|
+
341,
|
|
3451
3280
|
"Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`."
|
|
3452
3281
|
)) }
|
|
3453
3282
|
)))),
|
|
3454
|
-
disableLayerHinting: register(( (new EditorBooleanOption(
|
|
3283
|
+
disableLayerHinting: register(( (new EditorBooleanOption(32 , 'disableLayerHinting', false)))),
|
|
3455
3284
|
disableMonospaceOptimizations: register(( (new EditorBooleanOption(
|
|
3456
|
-
|
|
3285
|
+
33 ,
|
|
3457
3286
|
'disableMonospaceOptimizations',
|
|
3458
3287
|
false
|
|
3459
3288
|
)))),
|
|
3460
|
-
domReadOnly: register(( (new EditorBooleanOption(
|
|
3289
|
+
domReadOnly: register(( (new EditorBooleanOption(34 , 'domReadOnly', false)))),
|
|
3461
3290
|
dragAndDrop: register(( (new EditorBooleanOption(
|
|
3462
|
-
|
|
3291
|
+
35 ,
|
|
3463
3292
|
'dragAndDrop',
|
|
3464
3293
|
true,
|
|
3465
3294
|
{ description: ( localize(
|
|
3466
|
-
|
|
3295
|
+
342,
|
|
3467
3296
|
"Controls whether the editor should allow moving selections via drag and drop."
|
|
3468
3297
|
)) }
|
|
3469
3298
|
)))),
|
|
3470
3299
|
emptySelectionClipboard: register(( (new EditorEmptySelectionClipboard()))),
|
|
3471
3300
|
dropIntoEditor: register(( (new EditorDropIntoEditor()))),
|
|
3301
|
+
experimentalEditContextEnabled: register(( (new EditorBooleanOption(
|
|
3302
|
+
37 ,
|
|
3303
|
+
'experimentalEditContextEnabled',
|
|
3304
|
+
false,
|
|
3305
|
+
{
|
|
3306
|
+
description: ( localize(
|
|
3307
|
+
343,
|
|
3308
|
+
"Sets whether the new experimental edit context should be used instead of the text area."
|
|
3309
|
+
))
|
|
3310
|
+
}
|
|
3311
|
+
)))),
|
|
3472
3312
|
stickyScroll: register(( (new EditorStickyScroll()))),
|
|
3313
|
+
experimentalGpuAcceleration: register(( (new EditorStringEnumOption(
|
|
3314
|
+
39 ,
|
|
3315
|
+
'experimentalGpuAcceleration',
|
|
3316
|
+
'off',
|
|
3317
|
+
['off', 'on'],
|
|
3318
|
+
undefined
|
|
3319
|
+
)))),
|
|
3473
3320
|
experimentalWhitespaceRendering: register(( (new EditorStringEnumOption(
|
|
3474
|
-
|
|
3321
|
+
40 ,
|
|
3475
3322
|
'experimentalWhitespaceRendering',
|
|
3476
3323
|
'svg',
|
|
3477
3324
|
['svg', 'font', 'off'],
|
|
3478
3325
|
{
|
|
3479
3326
|
enumDescriptions: [
|
|
3480
|
-
( localize(
|
|
3481
|
-
( localize(
|
|
3482
|
-
( localize(
|
|
3327
|
+
( localize(344, "Use a new rendering method with svgs.")),
|
|
3328
|
+
( localize(345, "Use a new rendering method with font characters.")),
|
|
3329
|
+
( localize(346, "Use the stable rendering method.")),
|
|
3483
3330
|
],
|
|
3484
3331
|
description: ( localize(
|
|
3485
|
-
|
|
3332
|
+
347,
|
|
3486
3333
|
"Controls whether whitespace is rendered with a new, experimental method."
|
|
3487
3334
|
))
|
|
3488
3335
|
}
|
|
3489
3336
|
)))),
|
|
3490
|
-
extraEditorClassName: register(( (new EditorStringOption(
|
|
3337
|
+
extraEditorClassName: register(( (new EditorStringOption(41 , 'extraEditorClassName', '')))),
|
|
3491
3338
|
fastScrollSensitivity: register(( (new EditorFloatOption(
|
|
3492
|
-
|
|
3339
|
+
42 ,
|
|
3493
3340
|
'fastScrollSensitivity',
|
|
3494
3341
|
5,
|
|
3495
3342
|
x => (x <= 0 ? 5 : x),
|
|
3496
|
-
{ markdownDescription: ( localize(
|
|
3343
|
+
{ markdownDescription: ( localize(348, "Scrolling speed multiplier when pressing `Alt`.")) }
|
|
3497
3344
|
)))),
|
|
3498
3345
|
find: register(( (new EditorFind()))),
|
|
3499
|
-
fixedOverflowWidgets: register(( (new EditorBooleanOption(
|
|
3500
|
-
folding: register(( (new EditorBooleanOption(
|
|
3346
|
+
fixedOverflowWidgets: register(( (new EditorBooleanOption(44 , 'fixedOverflowWidgets', false)))),
|
|
3347
|
+
folding: register(( (new EditorBooleanOption(
|
|
3348
|
+
45 ,
|
|
3349
|
+
'folding',
|
|
3350
|
+
true,
|
|
3351
|
+
{ description: ( localize(349, "Controls whether the editor has code folding enabled.")) }
|
|
3352
|
+
)))),
|
|
3501
3353
|
foldingStrategy: register(( (new EditorStringEnumOption(
|
|
3502
|
-
|
|
3354
|
+
46 ,
|
|
3503
3355
|
'foldingStrategy',
|
|
3504
3356
|
'auto',
|
|
3505
3357
|
['auto', 'indentation'],
|
|
3506
3358
|
{
|
|
3507
3359
|
enumDescriptions: [
|
|
3508
3360
|
( localize(
|
|
3509
|
-
|
|
3361
|
+
350,
|
|
3510
3362
|
"Use a language-specific folding strategy if available, else the indentation-based one."
|
|
3511
3363
|
)),
|
|
3512
|
-
( localize(
|
|
3364
|
+
( localize(351, "Use the indentation-based folding strategy.")),
|
|
3513
3365
|
],
|
|
3514
|
-
description: ( localize(
|
|
3366
|
+
description: ( localize(352, "Controls the strategy for computing folding ranges."))
|
|
3515
3367
|
}
|
|
3516
3368
|
)))),
|
|
3517
3369
|
foldingHighlight: register(( (new EditorBooleanOption(
|
|
3518
|
-
|
|
3370
|
+
47 ,
|
|
3519
3371
|
'foldingHighlight',
|
|
3520
3372
|
true,
|
|
3521
|
-
{ description: ( localize(
|
|
3373
|
+
{ description: ( localize(353, "Controls whether the editor should highlight folded ranges.")) }
|
|
3522
3374
|
)))),
|
|
3523
3375
|
foldingImportsByDefault: register(( (new EditorBooleanOption(
|
|
3524
|
-
|
|
3376
|
+
48 ,
|
|
3525
3377
|
'foldingImportsByDefault',
|
|
3526
3378
|
false,
|
|
3527
|
-
{ description: ( localize(
|
|
3379
|
+
{ description: ( localize(354, "Controls whether the editor automatically collapses import ranges.")) }
|
|
3528
3380
|
)))),
|
|
3529
3381
|
foldingMaximumRegions: register(( (new EditorIntOption(
|
|
3530
|
-
|
|
3382
|
+
49 ,
|
|
3531
3383
|
'foldingMaximumRegions',
|
|
3532
3384
|
5000,
|
|
3533
3385
|
10,
|
|
3534
3386
|
65000,
|
|
3535
3387
|
{ description: ( localize(
|
|
3536
|
-
|
|
3388
|
+
355,
|
|
3537
3389
|
"The maximum number of foldable regions. Increasing this value may result in the editor becoming less responsive when the current source has a large number of foldable regions."
|
|
3538
3390
|
)) }
|
|
3539
3391
|
)))),
|
|
3540
3392
|
unfoldOnClickAfterEndOfLine: register(( (new EditorBooleanOption(
|
|
3541
|
-
|
|
3393
|
+
50 ,
|
|
3542
3394
|
'unfoldOnClickAfterEndOfLine',
|
|
3543
3395
|
false,
|
|
3544
3396
|
{ description: ( localize(
|
|
3545
|
-
|
|
3397
|
+
356,
|
|
3546
3398
|
"Controls whether clicking on the empty content after a folded line will unfold the line."
|
|
3547
3399
|
)) }
|
|
3548
3400
|
)))),
|
|
3549
3401
|
fontFamily: register(( (new EditorStringOption(
|
|
3550
|
-
|
|
3402
|
+
51 ,
|
|
3551
3403
|
'fontFamily',
|
|
3552
3404
|
EDITOR_FONT_DEFAULTS.fontFamily,
|
|
3553
|
-
{ description: ( localize(
|
|
3405
|
+
{ description: ( localize(357, "Controls the font family.")) }
|
|
3554
3406
|
)))),
|
|
3555
3407
|
fontInfo: register(( (new EditorFontInfo()))),
|
|
3556
3408
|
fontLigatures2: register(( (new EditorFontLigatures()))),
|
|
@@ -3558,104 +3410,115 @@ const EditorOptions = {
|
|
|
3558
3410
|
fontWeight: register(( (new EditorFontWeight()))),
|
|
3559
3411
|
fontVariations: register(( (new EditorFontVariations()))),
|
|
3560
3412
|
formatOnPaste: register(( (new EditorBooleanOption(
|
|
3561
|
-
|
|
3413
|
+
57 ,
|
|
3562
3414
|
'formatOnPaste',
|
|
3563
3415
|
false,
|
|
3564
3416
|
{ description: ( localize(
|
|
3565
|
-
|
|
3417
|
+
358,
|
|
3566
3418
|
"Controls whether the editor should automatically format the pasted content. A formatter must be available and the formatter should be able to format a range in a document."
|
|
3567
3419
|
)) }
|
|
3568
3420
|
)))),
|
|
3569
3421
|
formatOnType: register(( (new EditorBooleanOption(
|
|
3570
|
-
|
|
3422
|
+
58 ,
|
|
3571
3423
|
'formatOnType',
|
|
3572
3424
|
false,
|
|
3573
3425
|
{ description: ( localize(
|
|
3574
|
-
|
|
3426
|
+
359,
|
|
3575
3427
|
"Controls whether the editor should automatically format the line after typing."
|
|
3576
3428
|
)) }
|
|
3577
3429
|
)))),
|
|
3578
3430
|
glyphMargin: register(( (new EditorBooleanOption(
|
|
3579
|
-
|
|
3431
|
+
59 ,
|
|
3580
3432
|
'glyphMargin',
|
|
3581
3433
|
true,
|
|
3582
3434
|
{ description: ( localize(
|
|
3583
|
-
|
|
3435
|
+
360,
|
|
3584
3436
|
"Controls whether the editor should render the vertical glyph margin. Glyph margin is mostly used for debugging."
|
|
3585
3437
|
)) }
|
|
3586
3438
|
)))),
|
|
3587
3439
|
gotoLocation: register(( (new EditorGoToLocation()))),
|
|
3588
3440
|
hideCursorInOverviewRuler: register(( (new EditorBooleanOption(
|
|
3589
|
-
|
|
3441
|
+
61 ,
|
|
3590
3442
|
'hideCursorInOverviewRuler',
|
|
3591
3443
|
false,
|
|
3592
|
-
{ description: ( localize(
|
|
3444
|
+
{ description: ( localize(361, "Controls whether the cursor should be hidden in the overview ruler.")) }
|
|
3593
3445
|
)))),
|
|
3594
3446
|
hover: register(( (new EditorHover()))),
|
|
3595
|
-
inDiffEditor: register(( (new EditorBooleanOption(
|
|
3447
|
+
inDiffEditor: register(( (new EditorBooleanOption(63 , 'inDiffEditor', false)))),
|
|
3596
3448
|
letterSpacing: register(( (new EditorFloatOption(
|
|
3597
|
-
|
|
3449
|
+
66 ,
|
|
3598
3450
|
'letterSpacing',
|
|
3599
3451
|
EDITOR_FONT_DEFAULTS.letterSpacing,
|
|
3600
3452
|
x => EditorFloatOption.clamp(x, -5, 20),
|
|
3601
|
-
{ description: ( localize(
|
|
3453
|
+
{ description: ( localize(362, "Controls the letter spacing in pixels.")) }
|
|
3602
3454
|
)))),
|
|
3603
3455
|
lightbulb: register(( (new EditorLightbulb()))),
|
|
3604
3456
|
lineDecorationsWidth: register(( (new EditorLineDecorationsWidth()))),
|
|
3605
3457
|
lineHeight: register(( (new EditorLineHeight()))),
|
|
3606
3458
|
lineNumbers: register(( (new EditorRenderLineNumbersOption()))),
|
|
3607
|
-
lineNumbersMinChars: register(( (new EditorIntOption(
|
|
3459
|
+
lineNumbersMinChars: register(( (new EditorIntOption(
|
|
3460
|
+
71 ,
|
|
3461
|
+
'lineNumbersMinChars',
|
|
3462
|
+
5,
|
|
3463
|
+
1,
|
|
3464
|
+
300
|
|
3465
|
+
)))),
|
|
3608
3466
|
linkedEditing: register(( (new EditorBooleanOption(
|
|
3609
|
-
|
|
3467
|
+
72 ,
|
|
3610
3468
|
'linkedEditing',
|
|
3611
3469
|
false,
|
|
3612
3470
|
{ description: ( localize(
|
|
3613
|
-
|
|
3471
|
+
363,
|
|
3614
3472
|
"Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing."
|
|
3615
3473
|
)) }
|
|
3616
3474
|
)))),
|
|
3617
|
-
links: register(( (new EditorBooleanOption(
|
|
3618
|
-
|
|
3475
|
+
links: register(( (new EditorBooleanOption(73 , 'links', true, { description: ( localize(
|
|
3476
|
+
364,
|
|
3619
3477
|
"Controls whether the editor should detect links and make them clickable."
|
|
3620
3478
|
)) })))),
|
|
3621
3479
|
matchBrackets: register(( (new EditorStringEnumOption(
|
|
3622
|
-
|
|
3480
|
+
74 ,
|
|
3623
3481
|
'matchBrackets',
|
|
3624
3482
|
'always',
|
|
3625
3483
|
['always', 'near', 'never'],
|
|
3626
|
-
{ description: ( localize(
|
|
3484
|
+
{ description: ( localize(365, "Highlight matching brackets.")) }
|
|
3627
3485
|
)))),
|
|
3628
3486
|
minimap: register(( (new EditorMinimap()))),
|
|
3629
|
-
mouseStyle: register(( (new EditorStringEnumOption(
|
|
3487
|
+
mouseStyle: register(( (new EditorStringEnumOption(
|
|
3488
|
+
76 ,
|
|
3489
|
+
'mouseStyle',
|
|
3490
|
+
'text',
|
|
3491
|
+
['text', 'default', 'copy']
|
|
3492
|
+
)))),
|
|
3630
3493
|
mouseWheelScrollSensitivity: register(( (new EditorFloatOption(
|
|
3631
|
-
|
|
3494
|
+
77 ,
|
|
3632
3495
|
'mouseWheelScrollSensitivity',
|
|
3633
3496
|
1,
|
|
3634
3497
|
x => (x === 0 ? 1 : x),
|
|
3635
3498
|
{ markdownDescription: ( localize(
|
|
3636
|
-
|
|
3499
|
+
366,
|
|
3637
3500
|
"A multiplier to be used on the `deltaX` and `deltaY` of mouse wheel scroll events."
|
|
3638
3501
|
)) }
|
|
3639
3502
|
)))),
|
|
3640
|
-
mouseWheelZoom: register(( (new EditorBooleanOption(
|
|
3503
|
+
mouseWheelZoom: register(( (new EditorBooleanOption(78 , 'mouseWheelZoom', false, {
|
|
3641
3504
|
markdownDescription: isMacintosh
|
|
3642
3505
|
? ( localize(
|
|
3643
|
-
|
|
3506
|
+
367,
|
|
3644
3507
|
"Zoom the font of the editor when using mouse wheel and holding `Cmd`."
|
|
3645
3508
|
))
|
|
3646
3509
|
: ( localize(
|
|
3647
|
-
|
|
3510
|
+
368,
|
|
3648
3511
|
"Zoom the font of the editor when using mouse wheel and holding `Ctrl`."
|
|
3649
3512
|
))
|
|
3650
3513
|
})))),
|
|
3651
3514
|
multiCursorMergeOverlapping: register(( (new EditorBooleanOption(
|
|
3652
|
-
|
|
3515
|
+
79 ,
|
|
3653
3516
|
'multiCursorMergeOverlapping',
|
|
3654
3517
|
true,
|
|
3655
|
-
{ description: ( localize(
|
|
3518
|
+
{ description: ( localize(369, "Merge multiple cursors when they are overlapping.")) }
|
|
3656
3519
|
)))),
|
|
3657
3520
|
multiCursorModifier: register(( (new EditorEnumOption(
|
|
3658
|
-
|
|
3521
|
+
80 ,
|
|
3659
3522
|
'multiCursorModifier',
|
|
3660
3523
|
'altKey',
|
|
3661
3524
|
'alt',
|
|
@@ -3663,128 +3526,135 @@ const EditorOptions = {
|
|
|
3663
3526
|
_multiCursorModifierFromString,
|
|
3664
3527
|
{
|
|
3665
3528
|
markdownEnumDescriptions: [
|
|
3666
|
-
( localize(
|
|
3667
|
-
( localize(
|
|
3529
|
+
( localize(370, "Maps to `Control` on Windows and Linux and to `Command` on macOS.")),
|
|
3530
|
+
( localize(371, "Maps to `Alt` on Windows and Linux and to `Option` on macOS."))
|
|
3668
3531
|
],
|
|
3669
3532
|
markdownDescription: ( localize(
|
|
3670
|
-
|
|
3533
|
+
372,
|
|
3671
3534
|
"The modifier to be used to add multiple cursors with the mouse. The Go to Definition and Open Link mouse gestures will adapt such that they do not conflict with the [multicursor modifier](https://code.visualstudio.com/docs/editor/codebasics#_multicursor-modifier)."
|
|
3672
3535
|
))
|
|
3673
3536
|
}
|
|
3674
3537
|
)))),
|
|
3675
3538
|
multiCursorPaste: register(( (new EditorStringEnumOption(
|
|
3676
|
-
|
|
3539
|
+
81 ,
|
|
3677
3540
|
'multiCursorPaste',
|
|
3678
3541
|
'spread',
|
|
3679
3542
|
['spread', 'full'],
|
|
3680
3543
|
{
|
|
3681
3544
|
markdownEnumDescriptions: [
|
|
3682
|
-
( localize(
|
|
3683
|
-
( localize(
|
|
3545
|
+
( localize(373, "Each cursor pastes a single line of the text.")),
|
|
3546
|
+
( localize(374, "Each cursor pastes the full text."))
|
|
3684
3547
|
],
|
|
3685
3548
|
markdownDescription: ( localize(
|
|
3686
|
-
|
|
3549
|
+
375,
|
|
3687
3550
|
"Controls pasting when the line count of the pasted text matches the cursor count."
|
|
3688
3551
|
))
|
|
3689
3552
|
}
|
|
3690
3553
|
)))),
|
|
3691
|
-
multiCursorLimit: register(( (new EditorIntOption(
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3554
|
+
multiCursorLimit: register(( (new EditorIntOption(
|
|
3555
|
+
82 ,
|
|
3556
|
+
'multiCursorLimit',
|
|
3557
|
+
10000,
|
|
3558
|
+
1,
|
|
3559
|
+
100000,
|
|
3560
|
+
{
|
|
3561
|
+
markdownDescription: ( localize(
|
|
3562
|
+
376,
|
|
3563
|
+
"Controls the max number of cursors that can be in an active editor at once."
|
|
3564
|
+
))
|
|
3565
|
+
}
|
|
3566
|
+
)))),
|
|
3697
3567
|
occurrencesHighlight: register(( (new EditorStringEnumOption(
|
|
3698
|
-
|
|
3568
|
+
83 ,
|
|
3699
3569
|
'occurrencesHighlight',
|
|
3700
3570
|
'singleFile',
|
|
3701
3571
|
['off', 'singleFile', 'multiFile'],
|
|
3702
3572
|
{
|
|
3703
3573
|
markdownEnumDescriptions: [
|
|
3704
|
-
( localize(
|
|
3705
|
-
( localize(
|
|
3706
|
-
( localize(
|
|
3574
|
+
( localize(377, "Does not highlight occurrences.")),
|
|
3575
|
+
( localize(378, "Highlights occurrences only in the current file.")),
|
|
3576
|
+
( localize(379, "Experimental: Highlights occurrences across all valid open files."))
|
|
3707
3577
|
],
|
|
3708
3578
|
markdownDescription: ( localize(
|
|
3709
|
-
|
|
3579
|
+
380,
|
|
3710
3580
|
"Controls whether occurrences should be highlighted across open files."
|
|
3711
3581
|
))
|
|
3712
3582
|
}
|
|
3713
3583
|
)))),
|
|
3714
3584
|
overviewRulerBorder: register(( (new EditorBooleanOption(
|
|
3715
|
-
|
|
3585
|
+
84 ,
|
|
3716
3586
|
'overviewRulerBorder',
|
|
3717
3587
|
true,
|
|
3718
3588
|
{ description: ( localize(
|
|
3719
|
-
|
|
3589
|
+
381,
|
|
3720
3590
|
"Controls whether a border should be drawn around the overview ruler."
|
|
3721
3591
|
)) }
|
|
3722
3592
|
)))),
|
|
3723
|
-
overviewRulerLanes: register(( (new EditorIntOption(
|
|
3593
|
+
overviewRulerLanes: register(( (new EditorIntOption(85 , 'overviewRulerLanes', 3, 0, 3)))),
|
|
3724
3594
|
padding: register(( (new EditorPadding()))),
|
|
3725
3595
|
pasteAs: register(( (new EditorPasteAs()))),
|
|
3726
3596
|
parameterHints: register(( (new EditorParameterHints()))),
|
|
3727
3597
|
peekWidgetDefaultFocus: register(( (new EditorStringEnumOption(
|
|
3728
|
-
|
|
3598
|
+
89 ,
|
|
3729
3599
|
'peekWidgetDefaultFocus',
|
|
3730
3600
|
'tree',
|
|
3731
3601
|
['tree', 'editor'],
|
|
3732
3602
|
{
|
|
3733
3603
|
enumDescriptions: [
|
|
3734
|
-
( localize(
|
|
3735
|
-
( localize(
|
|
3604
|
+
( localize(382, "Focus the tree when opening peek")),
|
|
3605
|
+
( localize(383, "Focus the editor when opening peek"))
|
|
3736
3606
|
],
|
|
3737
3607
|
description: ( localize(
|
|
3738
|
-
|
|
3608
|
+
384,
|
|
3739
3609
|
"Controls whether to focus the inline editor or the tree in the peek widget."
|
|
3740
3610
|
))
|
|
3741
3611
|
}
|
|
3742
3612
|
)))),
|
|
3743
3613
|
placeholder: register(( (new PlaceholderOption()))),
|
|
3744
3614
|
definitionLinkOpensInPeek: register(( (new EditorBooleanOption(
|
|
3745
|
-
|
|
3615
|
+
91 ,
|
|
3746
3616
|
'definitionLinkOpensInPeek',
|
|
3747
3617
|
false,
|
|
3748
3618
|
{ description: ( localize(
|
|
3749
|
-
|
|
3619
|
+
385,
|
|
3750
3620
|
"Controls whether the Go to Definition mouse gesture always opens the peek widget."
|
|
3751
3621
|
)) }
|
|
3752
3622
|
)))),
|
|
3753
3623
|
quickSuggestions: register(( (new EditorQuickSuggestions()))),
|
|
3754
3624
|
quickSuggestionsDelay: register(( (new EditorIntOption(
|
|
3755
|
-
|
|
3625
|
+
93 ,
|
|
3756
3626
|
'quickSuggestionsDelay',
|
|
3757
3627
|
10,
|
|
3758
3628
|
0,
|
|
3759
|
-
|
|
3629
|
+
1073741824 ,
|
|
3760
3630
|
{ description: ( localize(
|
|
3761
|
-
|
|
3631
|
+
386,
|
|
3762
3632
|
"Controls the delay in milliseconds after which quick suggestions will show up."
|
|
3763
3633
|
)) }
|
|
3764
3634
|
)))),
|
|
3765
|
-
readOnly: register(( (new EditorBooleanOption(
|
|
3635
|
+
readOnly: register(( (new EditorBooleanOption(94 , 'readOnly', false)))),
|
|
3766
3636
|
readOnlyMessage: register(( (new ReadonlyMessage()))),
|
|
3767
3637
|
renameOnType: register(( (new EditorBooleanOption(
|
|
3768
|
-
|
|
3638
|
+
96 ,
|
|
3769
3639
|
'renameOnType',
|
|
3770
3640
|
false,
|
|
3771
|
-
{ description: ( localize(
|
|
3641
|
+
{ description: ( localize(387, "Controls whether the editor auto renames on type.")), markdownDeprecationMessage: ( localize(388, "Deprecated, use `editor.linkedEditing` instead.")) }
|
|
3772
3642
|
)))),
|
|
3773
3643
|
renderControlCharacters: register(( (new EditorBooleanOption(
|
|
3774
|
-
|
|
3644
|
+
97 ,
|
|
3775
3645
|
'renderControlCharacters',
|
|
3776
3646
|
true,
|
|
3777
|
-
{ description: ( localize(
|
|
3647
|
+
{ description: ( localize(389, "Controls whether the editor should render control characters.")), restricted: true }
|
|
3778
3648
|
)))),
|
|
3779
3649
|
renderFinalNewline: register(( (new EditorStringEnumOption(
|
|
3780
|
-
|
|
3650
|
+
98 ,
|
|
3781
3651
|
'renderFinalNewline',
|
|
3782
3652
|
(isLinux ? 'dimmed' : 'on'),
|
|
3783
3653
|
['off', 'on', 'dimmed'],
|
|
3784
|
-
{ description: ( localize(
|
|
3654
|
+
{ description: ( localize(390, "Render last line number when the file ends with a newline.")) }
|
|
3785
3655
|
)))),
|
|
3786
3656
|
renderLineHighlight: register(( (new EditorStringEnumOption(
|
|
3787
|
-
|
|
3657
|
+
99 ,
|
|
3788
3658
|
'renderLineHighlight',
|
|
3789
3659
|
'line',
|
|
3790
3660
|
['none', 'gutter', 'line', 'all'],
|
|
@@ -3793,28 +3663,28 @@ const EditorOptions = {
|
|
|
3793
3663
|
'',
|
|
3794
3664
|
'',
|
|
3795
3665
|
'',
|
|
3796
|
-
( localize(
|
|
3666
|
+
( localize(391, "Highlights both the gutter and the current line.")),
|
|
3797
3667
|
],
|
|
3798
|
-
description: ( localize(
|
|
3668
|
+
description: ( localize(392, "Controls how the editor should render the current line highlight."))
|
|
3799
3669
|
}
|
|
3800
3670
|
)))),
|
|
3801
3671
|
renderLineHighlightOnlyWhenFocus: register(( (new EditorBooleanOption(
|
|
3802
|
-
|
|
3672
|
+
100 ,
|
|
3803
3673
|
'renderLineHighlightOnlyWhenFocus',
|
|
3804
3674
|
false,
|
|
3805
3675
|
{ description: ( localize(
|
|
3806
|
-
|
|
3676
|
+
393,
|
|
3807
3677
|
"Controls if the editor should render the current line highlight only when the editor is focused."
|
|
3808
3678
|
)) }
|
|
3809
3679
|
)))),
|
|
3810
3680
|
renderValidationDecorations: register(( (new EditorStringEnumOption(
|
|
3811
|
-
|
|
3681
|
+
101 ,
|
|
3812
3682
|
'renderValidationDecorations',
|
|
3813
3683
|
'editable',
|
|
3814
3684
|
['editable', 'on', 'off']
|
|
3815
3685
|
)))),
|
|
3816
3686
|
renderWhitespace: register(( (new EditorStringEnumOption(
|
|
3817
|
-
|
|
3687
|
+
102 ,
|
|
3818
3688
|
'renderWhitespace',
|
|
3819
3689
|
'selection',
|
|
3820
3690
|
['none', 'boundary', 'selection', 'trailing', 'all'],
|
|
@@ -3822,334 +3692,351 @@ const EditorOptions = {
|
|
|
3822
3692
|
enumDescriptions: [
|
|
3823
3693
|
'',
|
|
3824
3694
|
( localize(
|
|
3825
|
-
|
|
3695
|
+
394,
|
|
3826
3696
|
"Render whitespace characters except for single spaces between words."
|
|
3827
3697
|
)),
|
|
3828
|
-
( localize(
|
|
3829
|
-
( localize(
|
|
3698
|
+
( localize(395, "Render whitespace characters only on selected text.")),
|
|
3699
|
+
( localize(396, "Render only trailing whitespace characters.")),
|
|
3830
3700
|
''
|
|
3831
3701
|
],
|
|
3832
|
-
description: ( localize(
|
|
3702
|
+
description: ( localize(397, "Controls how the editor should render whitespace characters."))
|
|
3833
3703
|
}
|
|
3834
3704
|
)))),
|
|
3835
3705
|
revealHorizontalRightPadding: register(( (new EditorIntOption(
|
|
3836
|
-
|
|
3706
|
+
103 ,
|
|
3837
3707
|
'revealHorizontalRightPadding',
|
|
3838
3708
|
15,
|
|
3839
3709
|
0,
|
|
3840
3710
|
1000
|
|
3841
3711
|
)))),
|
|
3842
3712
|
roundedSelection: register(( (new EditorBooleanOption(
|
|
3843
|
-
|
|
3713
|
+
104 ,
|
|
3844
3714
|
'roundedSelection',
|
|
3845
3715
|
true,
|
|
3846
|
-
{ description: ( localize(
|
|
3716
|
+
{ description: ( localize(398, "Controls whether selections should have rounded corners.")) }
|
|
3847
3717
|
)))),
|
|
3848
3718
|
rulers: register(( (new EditorRulers()))),
|
|
3849
3719
|
scrollbar: register(( (new EditorScrollbar()))),
|
|
3850
3720
|
scrollBeyondLastColumn: register(( (new EditorIntOption(
|
|
3851
|
-
|
|
3721
|
+
107 ,
|
|
3852
3722
|
'scrollBeyondLastColumn',
|
|
3853
3723
|
4,
|
|
3854
3724
|
0,
|
|
3855
|
-
|
|
3725
|
+
1073741824 ,
|
|
3856
3726
|
{ description: ( localize(
|
|
3857
|
-
|
|
3727
|
+
399,
|
|
3858
3728
|
"Controls the number of extra characters beyond which the editor will scroll horizontally."
|
|
3859
3729
|
)) }
|
|
3860
3730
|
)))),
|
|
3861
3731
|
scrollBeyondLastLine: register(( (new EditorBooleanOption(
|
|
3862
|
-
|
|
3732
|
+
108 ,
|
|
3863
3733
|
'scrollBeyondLastLine',
|
|
3864
3734
|
true,
|
|
3865
|
-
{ description: ( localize(
|
|
3735
|
+
{ description: ( localize(400, "Controls whether the editor will scroll beyond the last line.")) }
|
|
3866
3736
|
)))),
|
|
3867
3737
|
scrollPredominantAxis: register(( (new EditorBooleanOption(
|
|
3868
|
-
|
|
3738
|
+
109 ,
|
|
3869
3739
|
'scrollPredominantAxis',
|
|
3870
3740
|
true,
|
|
3871
3741
|
{ description: ( localize(
|
|
3872
|
-
|
|
3742
|
+
401,
|
|
3873
3743
|
"Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad."
|
|
3874
3744
|
)) }
|
|
3875
3745
|
)))),
|
|
3876
|
-
selectionClipboard: register(( (new EditorBooleanOption(
|
|
3877
|
-
description: ( localize(
|
|
3746
|
+
selectionClipboard: register(( (new EditorBooleanOption(110 , 'selectionClipboard', true, {
|
|
3747
|
+
description: ( localize(402, "Controls whether the Linux primary clipboard should be supported.")),
|
|
3878
3748
|
included: isLinux
|
|
3879
3749
|
})))),
|
|
3880
3750
|
selectionHighlight: register(( (new EditorBooleanOption(
|
|
3881
|
-
|
|
3751
|
+
111 ,
|
|
3882
3752
|
'selectionHighlight',
|
|
3883
3753
|
true,
|
|
3884
3754
|
{ description: ( localize(
|
|
3885
|
-
|
|
3755
|
+
403,
|
|
3886
3756
|
"Controls whether the editor should highlight matches similar to the selection."
|
|
3887
3757
|
)) }
|
|
3888
3758
|
)))),
|
|
3889
|
-
selectOnLineNumbers: register(( (new EditorBooleanOption(
|
|
3759
|
+
selectOnLineNumbers: register(( (new EditorBooleanOption(112 , 'selectOnLineNumbers', true)))),
|
|
3890
3760
|
showFoldingControls: register(( (new EditorStringEnumOption(
|
|
3891
|
-
|
|
3761
|
+
113 ,
|
|
3892
3762
|
'showFoldingControls',
|
|
3893
3763
|
'mouseover',
|
|
3894
3764
|
['always', 'never', 'mouseover'],
|
|
3895
3765
|
{
|
|
3896
3766
|
enumDescriptions: [
|
|
3897
|
-
( localize(
|
|
3898
|
-
( localize(
|
|
3899
|
-
( localize(
|
|
3767
|
+
( localize(404, "Always show the folding controls.")),
|
|
3768
|
+
( localize(405, "Never show the folding controls and reduce the gutter size.")),
|
|
3769
|
+
( localize(406, "Only show the folding controls when the mouse is over the gutter.")),
|
|
3900
3770
|
],
|
|
3901
|
-
description: ( localize(
|
|
3771
|
+
description: ( localize(407, "Controls when the folding controls on the gutter are shown."))
|
|
3902
3772
|
}
|
|
3903
3773
|
)))),
|
|
3904
|
-
showUnused: register(( (new EditorBooleanOption(
|
|
3774
|
+
showUnused: register(( (new EditorBooleanOption(
|
|
3775
|
+
114 ,
|
|
3776
|
+
'showUnused',
|
|
3777
|
+
true,
|
|
3778
|
+
{ description: ( localize(408, "Controls fading out of unused code.")) }
|
|
3779
|
+
)))),
|
|
3905
3780
|
showDeprecated: register(( (new EditorBooleanOption(
|
|
3906
|
-
|
|
3781
|
+
143 ,
|
|
3907
3782
|
'showDeprecated',
|
|
3908
3783
|
true,
|
|
3909
|
-
{ description: ( localize(
|
|
3784
|
+
{ description: ( localize(409, "Controls strikethrough deprecated variables.")) }
|
|
3910
3785
|
)))),
|
|
3911
3786
|
inlayHints: register(( (new EditorInlayHints()))),
|
|
3912
3787
|
snippetSuggestions: register(( (new EditorStringEnumOption(
|
|
3913
|
-
|
|
3788
|
+
115 ,
|
|
3914
3789
|
'snippetSuggestions',
|
|
3915
3790
|
'inline',
|
|
3916
3791
|
['top', 'bottom', 'inline', 'none'],
|
|
3917
3792
|
{
|
|
3918
3793
|
enumDescriptions: [
|
|
3919
|
-
( localize(
|
|
3920
|
-
( localize(
|
|
3921
|
-
( localize(
|
|
3922
|
-
( localize(
|
|
3794
|
+
( localize(410, "Show snippet suggestions on top of other suggestions.")),
|
|
3795
|
+
( localize(411, "Show snippet suggestions below other suggestions.")),
|
|
3796
|
+
( localize(412, "Show snippets suggestions with other suggestions.")),
|
|
3797
|
+
( localize(413, "Do not show snippet suggestions.")),
|
|
3923
3798
|
],
|
|
3924
3799
|
description: ( localize(
|
|
3925
|
-
|
|
3800
|
+
414,
|
|
3926
3801
|
"Controls whether snippets are shown with other suggestions and how they are sorted."
|
|
3927
3802
|
))
|
|
3928
3803
|
}
|
|
3929
3804
|
)))),
|
|
3930
3805
|
smartSelect: register(( (new SmartSelect()))),
|
|
3931
3806
|
smoothScrolling: register(( (new EditorBooleanOption(
|
|
3932
|
-
|
|
3807
|
+
117 ,
|
|
3933
3808
|
'smoothScrolling',
|
|
3934
3809
|
false,
|
|
3935
|
-
{ description: ( localize(
|
|
3810
|
+
{ description: ( localize(415, "Controls whether the editor will scroll using an animation.")) }
|
|
3936
3811
|
)))),
|
|
3937
3812
|
stopRenderingLineAfter: register(( (new EditorIntOption(
|
|
3938
|
-
|
|
3813
|
+
120 ,
|
|
3939
3814
|
'stopRenderingLineAfter',
|
|
3940
3815
|
10000,
|
|
3941
3816
|
-1,
|
|
3942
|
-
|
|
3817
|
+
1073741824
|
|
3943
3818
|
)))),
|
|
3944
3819
|
suggest: register(( (new EditorSuggest()))),
|
|
3945
3820
|
inlineSuggest: register(( (new InlineEditorSuggest()))),
|
|
3946
3821
|
inlineEdit: register(( (new InlineEditorEdit()))),
|
|
3947
3822
|
inlineCompletionsAccessibilityVerbose: register(( (new EditorBooleanOption(
|
|
3948
|
-
|
|
3823
|
+
152 ,
|
|
3949
3824
|
'inlineCompletionsAccessibilityVerbose',
|
|
3950
3825
|
false,
|
|
3951
3826
|
{ description: ( localize(
|
|
3952
|
-
|
|
3827
|
+
416,
|
|
3953
3828
|
"Controls whether the accessibility hint should be provided to screen reader users when an inline completion is shown."
|
|
3954
3829
|
)) }
|
|
3955
3830
|
)))),
|
|
3956
3831
|
suggestFontSize: register(( (new EditorIntOption(
|
|
3957
|
-
|
|
3832
|
+
122 ,
|
|
3958
3833
|
'suggestFontSize',
|
|
3959
3834
|
0,
|
|
3960
3835
|
0,
|
|
3961
3836
|
1000,
|
|
3962
3837
|
{ markdownDescription: ( localize(
|
|
3963
|
-
|
|
3838
|
+
417,
|
|
3964
3839
|
"Font size for the suggest widget. When set to {0}, the value of {1} is used.",
|
|
3965
3840
|
'`0`',
|
|
3966
3841
|
'`#editor.fontSize#`'
|
|
3967
3842
|
)) }
|
|
3968
3843
|
)))),
|
|
3969
3844
|
suggestLineHeight: register(( (new EditorIntOption(
|
|
3970
|
-
|
|
3845
|
+
123 ,
|
|
3971
3846
|
'suggestLineHeight',
|
|
3972
3847
|
0,
|
|
3973
3848
|
0,
|
|
3974
3849
|
1000,
|
|
3975
3850
|
{ markdownDescription: ( localize(
|
|
3976
|
-
|
|
3851
|
+
418,
|
|
3977
3852
|
"Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.",
|
|
3978
3853
|
'`0`',
|
|
3979
3854
|
'`#editor.lineHeight#`'
|
|
3980
3855
|
)) }
|
|
3981
3856
|
)))),
|
|
3982
3857
|
suggestOnTriggerCharacters: register(( (new EditorBooleanOption(
|
|
3983
|
-
|
|
3858
|
+
124 ,
|
|
3984
3859
|
'suggestOnTriggerCharacters',
|
|
3985
3860
|
true,
|
|
3986
3861
|
{ description: ( localize(
|
|
3987
|
-
|
|
3862
|
+
419,
|
|
3988
3863
|
"Controls whether suggestions should automatically show up when typing trigger characters."
|
|
3989
3864
|
)) }
|
|
3990
3865
|
)))),
|
|
3991
3866
|
suggestSelection: register(( (new EditorStringEnumOption(
|
|
3992
|
-
|
|
3867
|
+
125 ,
|
|
3993
3868
|
'suggestSelection',
|
|
3994
3869
|
'first',
|
|
3995
3870
|
['first', 'recentlyUsed', 'recentlyUsedByPrefix'],
|
|
3996
3871
|
{
|
|
3997
3872
|
markdownEnumDescriptions: [
|
|
3998
|
-
( localize(
|
|
3873
|
+
( localize(420, "Always select the first suggestion.")),
|
|
3999
3874
|
( localize(
|
|
4000
|
-
|
|
3875
|
+
421,
|
|
4001
3876
|
"Select recent suggestions unless further typing selects one, e.g. `console.| -> console.log` because `log` has been completed recently."
|
|
4002
3877
|
)),
|
|
4003
3878
|
( localize(
|
|
4004
|
-
|
|
3879
|
+
422,
|
|
4005
3880
|
"Select suggestions based on previous prefixes that have completed those suggestions, e.g. `co -> console` and `con -> const`."
|
|
4006
3881
|
)),
|
|
4007
3882
|
],
|
|
4008
3883
|
description: ( localize(
|
|
4009
|
-
|
|
3884
|
+
423,
|
|
4010
3885
|
"Controls how suggestions are pre-selected when showing the suggest list."
|
|
4011
3886
|
))
|
|
4012
3887
|
}
|
|
4013
3888
|
)))),
|
|
4014
3889
|
tabCompletion: register(( (new EditorStringEnumOption(
|
|
4015
|
-
|
|
3890
|
+
126 ,
|
|
4016
3891
|
'tabCompletion',
|
|
4017
3892
|
'off',
|
|
4018
3893
|
['on', 'off', 'onlySnippets'],
|
|
4019
3894
|
{
|
|
4020
3895
|
enumDescriptions: [
|
|
4021
3896
|
( localize(
|
|
4022
|
-
|
|
3897
|
+
424,
|
|
4023
3898
|
"Tab complete will insert the best matching suggestion when pressing tab."
|
|
4024
3899
|
)),
|
|
4025
|
-
( localize(
|
|
3900
|
+
( localize(425, "Disable tab completions.")),
|
|
4026
3901
|
( localize(
|
|
4027
|
-
|
|
3902
|
+
426,
|
|
4028
3903
|
"Tab complete snippets when their prefix match. Works best when 'quickSuggestions' aren't enabled."
|
|
4029
3904
|
)),
|
|
4030
3905
|
],
|
|
4031
|
-
description: ( localize(
|
|
3906
|
+
description: ( localize(427, "Enables tab completions."))
|
|
4032
3907
|
}
|
|
4033
3908
|
)))),
|
|
4034
|
-
tabIndex: register(( (new EditorIntOption(
|
|
3909
|
+
tabIndex: register(( (new EditorIntOption(
|
|
3910
|
+
127 ,
|
|
3911
|
+
'tabIndex',
|
|
3912
|
+
0,
|
|
3913
|
+
-1,
|
|
3914
|
+
1073741824
|
|
3915
|
+
)))),
|
|
4035
3916
|
unicodeHighlight: register(( (new UnicodeHighlight()))),
|
|
4036
3917
|
unusualLineTerminators: register(( (new EditorStringEnumOption(
|
|
4037
|
-
|
|
3918
|
+
129 ,
|
|
4038
3919
|
'unusualLineTerminators',
|
|
4039
3920
|
'prompt',
|
|
4040
3921
|
['auto', 'off', 'prompt'],
|
|
4041
3922
|
{
|
|
4042
3923
|
enumDescriptions: [
|
|
4043
|
-
( localize(
|
|
4044
|
-
( localize(
|
|
4045
|
-
( localize(
|
|
3924
|
+
( localize(428, "Unusual line terminators are automatically removed.")),
|
|
3925
|
+
( localize(429, "Unusual line terminators are ignored.")),
|
|
3926
|
+
( localize(430, "Unusual line terminators prompt to be removed.")),
|
|
4046
3927
|
],
|
|
4047
|
-
description: ( localize(
|
|
3928
|
+
description: ( localize(431, "Remove unusual line terminators that might cause problems."))
|
|
4048
3929
|
}
|
|
4049
3930
|
)))),
|
|
4050
|
-
useShadowDOM: register(( (new EditorBooleanOption(
|
|
3931
|
+
useShadowDOM: register(( (new EditorBooleanOption(130 , 'useShadowDOM', true)))),
|
|
4051
3932
|
useTabStops: register(( (new EditorBooleanOption(
|
|
4052
|
-
|
|
3933
|
+
131 ,
|
|
4053
3934
|
'useTabStops',
|
|
4054
3935
|
true,
|
|
4055
3936
|
{ description: ( localize(
|
|
4056
|
-
|
|
3937
|
+
432,
|
|
4057
3938
|
"Spaces and tabs are inserted and deleted in alignment with tab stops."
|
|
4058
3939
|
)) }
|
|
4059
3940
|
)))),
|
|
4060
|
-
wordBreak: register(( (new EditorStringEnumOption(
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
3941
|
+
wordBreak: register(( (new EditorStringEnumOption(
|
|
3942
|
+
132 ,
|
|
3943
|
+
'wordBreak',
|
|
3944
|
+
'normal',
|
|
3945
|
+
['normal', 'keepAll'],
|
|
3946
|
+
{
|
|
3947
|
+
markdownEnumDescriptions: [
|
|
3948
|
+
( localize(433, "Use the default line break rule.")),
|
|
3949
|
+
( localize(
|
|
3950
|
+
434,
|
|
3951
|
+
"Word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal."
|
|
3952
|
+
)),
|
|
3953
|
+
],
|
|
3954
|
+
description: ( localize(
|
|
3955
|
+
435,
|
|
3956
|
+
"Controls the word break rules used for Chinese/Japanese/Korean (CJK) text."
|
|
3957
|
+
))
|
|
3958
|
+
}
|
|
3959
|
+
)))),
|
|
4073
3960
|
wordSegmenterLocales: register(( (new WordSegmenterLocales()))),
|
|
4074
3961
|
wordSeparators: register(( (new EditorStringOption(
|
|
4075
|
-
|
|
3962
|
+
134 ,
|
|
4076
3963
|
'wordSeparators',
|
|
4077
3964
|
USUAL_WORD_SEPARATORS,
|
|
4078
3965
|
{ description: ( localize(
|
|
4079
|
-
|
|
3966
|
+
436,
|
|
4080
3967
|
"Characters that will be used as word separators when doing word related navigations or operations."
|
|
4081
3968
|
)) }
|
|
4082
3969
|
)))),
|
|
4083
3970
|
wordWrap: register(( (new EditorStringEnumOption(
|
|
4084
|
-
|
|
3971
|
+
135 ,
|
|
4085
3972
|
'wordWrap',
|
|
4086
3973
|
'off',
|
|
4087
3974
|
['off', 'on', 'wordWrapColumn', 'bounded'],
|
|
4088
3975
|
{
|
|
4089
3976
|
markdownEnumDescriptions: [
|
|
4090
|
-
( localize(
|
|
4091
|
-
( localize(
|
|
4092
|
-
( localize(
|
|
3977
|
+
( localize(437, "Lines will never wrap.")),
|
|
3978
|
+
( localize(438, "Lines will wrap at the viewport width.")),
|
|
3979
|
+
( localize(439, "Lines will wrap at `#editor.wordWrapColumn#`.")),
|
|
4093
3980
|
( localize(
|
|
4094
|
-
|
|
3981
|
+
440,
|
|
4095
3982
|
"Lines will wrap at the minimum of viewport and `#editor.wordWrapColumn#`."
|
|
4096
3983
|
)),
|
|
4097
3984
|
],
|
|
4098
|
-
description: ( localize(
|
|
3985
|
+
description: ( localize(441, "Controls how lines should wrap."))
|
|
4099
3986
|
}
|
|
4100
3987
|
)))),
|
|
4101
3988
|
wordWrapBreakAfterCharacters: register(( (new EditorStringOption(
|
|
4102
|
-
|
|
3989
|
+
136 ,
|
|
4103
3990
|
'wordWrapBreakAfterCharacters',
|
|
4104
3991
|
' \t})]?|/&.,;¢°′″‰℃、。。、¢,.:;?!%・・ゝゞヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻ァィゥェォャュョッー”〉》」』】〕)]}」'
|
|
4105
3992
|
)))),
|
|
4106
3993
|
wordWrapBreakBeforeCharacters: register(( (new EditorStringOption(
|
|
4107
|
-
|
|
3994
|
+
137 ,
|
|
4108
3995
|
'wordWrapBreakBeforeCharacters',
|
|
4109
3996
|
'([{‘“〈《「『【〔([{「£¥$£¥++'
|
|
4110
3997
|
)))),
|
|
4111
3998
|
wordWrapColumn: register(( (new EditorIntOption(
|
|
4112
|
-
|
|
3999
|
+
138 ,
|
|
4113
4000
|
'wordWrapColumn',
|
|
4114
4001
|
80,
|
|
4115
4002
|
1,
|
|
4116
|
-
|
|
4003
|
+
1073741824 ,
|
|
4117
4004
|
{
|
|
4118
4005
|
markdownDescription: ( localize(
|
|
4119
|
-
|
|
4006
|
+
442,
|
|
4120
4007
|
"Controls the wrapping column of the editor when `#editor.wordWrap#` is `wordWrapColumn` or `bounded`."
|
|
4121
4008
|
))
|
|
4122
4009
|
}
|
|
4123
4010
|
)))),
|
|
4124
4011
|
wordWrapOverride1: register(( (new EditorStringEnumOption(
|
|
4125
|
-
|
|
4012
|
+
139 ,
|
|
4126
4013
|
'wordWrapOverride1',
|
|
4127
4014
|
'inherit',
|
|
4128
4015
|
['off', 'on', 'inherit']
|
|
4129
4016
|
)))),
|
|
4130
4017
|
wordWrapOverride2: register(( (new EditorStringEnumOption(
|
|
4131
|
-
|
|
4018
|
+
140 ,
|
|
4132
4019
|
'wordWrapOverride2',
|
|
4133
4020
|
'inherit',
|
|
4134
4021
|
['off', 'on', 'inherit']
|
|
4135
4022
|
)))),
|
|
4136
4023
|
editorClassName: register(( (new EditorClassName()))),
|
|
4137
4024
|
defaultColorDecorators: register(( (new EditorBooleanOption(
|
|
4138
|
-
|
|
4025
|
+
150 ,
|
|
4139
4026
|
'defaultColorDecorators',
|
|
4140
4027
|
false,
|
|
4141
4028
|
{ markdownDescription: ( localize(
|
|
4142
|
-
|
|
4029
|
+
443,
|
|
4143
4030
|
"Controls whether inline color decorations should be shown using the default document color provider"
|
|
4144
4031
|
)) }
|
|
4145
4032
|
)))),
|
|
4146
4033
|
pixelRatio: register(( (new EditorPixelRatio()))),
|
|
4147
4034
|
tabFocusMode: register(( (new EditorBooleanOption(
|
|
4148
|
-
|
|
4035
|
+
147 ,
|
|
4149
4036
|
'tabFocusMode',
|
|
4150
4037
|
false,
|
|
4151
4038
|
{ markdownDescription: ( localize(
|
|
4152
|
-
|
|
4039
|
+
444,
|
|
4153
4040
|
"Controls whether the editor receives tabs or defers them to the workbench for navigation."
|
|
4154
4041
|
)) }
|
|
4155
4042
|
)))),
|
|
@@ -4158,4 +4045,4 @@ const EditorOptions = {
|
|
|
4158
4045
|
wrappingIndent: register(( (new WrappingIndentOption()))),
|
|
4159
4046
|
wrappingStrategy: register(( (new WrappingStrategy())))
|
|
4160
4047
|
};
|
|
4161
|
-
export { ApplyUpdateResult, ComputeOptionsMemory, ConfigurationChangedEvent, EDITOR_FONT_DEFAULTS,
|
|
4048
|
+
export { ApplyUpdateResult, ComputeOptionsMemory, ConfigurationChangedEvent, EDITOR_FONT_DEFAULTS, EditorFontLigatures, EditorFontVariations, EditorLayoutInfoComputer, EditorOptions, MINIMAP_GUTTER_WIDTH, ShowLightbulbIconMode, TextEditorCursorStyle, boolean, clampedFloat, clampedInt, cursorBlinkingStyleFromString, cursorStyleFromString, cursorStyleToString, editorOptionsRegistry, filterValidationDecorations, inUntrustedWorkspace, stringSet, unicodeHighlightConfigKeys };
|