@codingame/monaco-vscode-api 4.5.1 → 5.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/api.js +1 -1
- package/extensions.d.ts +2 -3
- package/extensions.js +10 -2
- package/lifecycle.js +6 -0
- package/localExtensionHost.d.ts +4 -1
- package/missing-services.js +41 -25
- package/package.json +8 -8
- package/service-override/tools/editor.js +31 -8
- package/service-override/tools/views.d.ts +1 -1
- package/service-override/tools/views.js +2 -3
- package/service-override/views.d.ts +0 -1
- package/services.d.ts +3 -3
- package/services.js +4 -3
- package/vscode/src/vs/base/browser/defaultWorkerFactory.js +4 -2
- package/vscode/src/vs/base/browser/dom.js +3 -3
- package/vscode/src/vs/base/browser/iframe.js +3 -1
- package/vscode/src/vs/base/browser/indexedDB.js +2 -2
- package/vscode/src/vs/base/browser/markdownRenderer.js +9 -3
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +6 -11
- package/vscode/src/vs/base/browser/ui/button/button.js +18 -21
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +168 -165
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +2 -2
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +7 -10
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +19 -18
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -15
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +13 -16
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +2 -2
- package/vscode/src/vs/{platform/hover/browser → base/browser/ui/hover}/hover.d.ts +64 -4
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverDelegate2.js +13 -0
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +39 -25
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +15 -2
- package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +2 -2
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.css.js +4 -0
- package/vscode/src/vs/base/browser/ui/icons/iconSelectBox.js +239 -0
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +21 -41
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +5 -4
- package/vscode/src/vs/base/browser/ui/list/listView.js +11 -9
- package/vscode/src/vs/base/browser/ui/list/listWidget.d.ts +33 -0
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +11 -8
- package/vscode/src/vs/base/browser/ui/list/rowCache.js +2 -2
- package/vscode/src/vs/base/browser/ui/menu/menu.js +1 -0
- package/vscode/src/vs/base/browser/ui/menu/menubar.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +24 -23
- package/vscode/src/vs/base/browser/ui/progressbar/progressAccessibilitySignal.js +13 -0
- package/vscode/src/vs/base/browser/ui/progressbar/progressbar.js +7 -1
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +14 -17
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +25 -25
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +10 -10
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +3 -3
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +8 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +11 -10
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +188 -156
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +7 -7
- package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/dataTree.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/media/tree.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +7 -5
- package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +4 -4
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -1
- package/vscode/src/vs/base/common/actions.js +6 -5
- package/vscode/src/vs/base/common/arrays.js +2 -2
- package/vscode/src/vs/base/common/arraysFind.js +10 -8
- package/vscode/src/vs/base/common/assert.js +2 -2
- package/vscode/src/vs/base/common/async.js +11 -6
- package/vscode/src/vs/base/common/buffer.js +2 -2
- package/vscode/src/vs/base/common/cache.js +29 -10
- package/vscode/src/vs/base/common/cancellation.js +6 -1
- package/vscode/src/vs/base/common/codicons.d.ts +3 -0
- package/vscode/src/vs/base/common/codiconsLibrary.js +3 -0
- package/vscode/src/vs/base/common/codiconsUtil.js +1 -1
- package/vscode/src/vs/base/common/color.js +2 -2
- package/vscode/src/vs/base/common/controlFlow.js +48 -0
- package/vscode/src/vs/base/common/date.js +70 -284
- package/vscode/src/vs/base/common/decorators.js +2 -2
- package/vscode/src/vs/base/common/diff/diff.js +1 -1
- package/vscode/src/vs/base/common/equals.js +44 -0
- package/vscode/src/vs/base/common/errorMessage.js +12 -22
- package/vscode/src/vs/base/common/errors.js +2 -2
- package/vscode/src/vs/base/common/event.d.ts +11 -1
- package/vscode/src/vs/base/common/event.js +28 -3
- package/vscode/src/vs/base/common/extpath.js +1 -1
- package/vscode/src/vs/base/common/filters.js +1 -1
- package/vscode/src/vs/base/common/history.js +1 -1
- package/vscode/src/vs/base/common/jsonEdit.js +6 -4
- package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -45
- package/vscode/src/vs/base/common/keyCodes.js +3 -1
- package/vscode/src/vs/base/common/keybindingLabels.js +29 -108
- package/vscode/src/vs/base/common/labels.js +2 -2
- package/vscode/src/vs/base/common/lifecycle.js +6 -6
- package/vscode/src/vs/base/common/map.js +64 -15
- package/vscode/src/vs/base/common/network.js +2 -0
- package/vscode/src/vs/base/common/objects.js +4 -1
- package/vscode/src/vs/base/common/observableInternal/autorun.js +1 -10
- package/vscode/src/vs/base/common/observableInternal/base.js +22 -10
- package/vscode/src/vs/base/common/observableInternal/derived.js +8 -8
- package/vscode/src/vs/base/common/observableInternal/promise.js +19 -1
- package/vscode/src/vs/base/common/observableInternal/utils.js +30 -52
- package/vscode/src/vs/base/common/path.js +2 -2
- package/vscode/src/vs/base/common/platform.js +7 -26
- package/vscode/src/vs/base/common/product.d.ts +1 -0
- package/vscode/src/vs/base/common/stream.js +1 -1
- package/vscode/src/vs/base/common/strings.js +3 -3
- package/vscode/src/vs/base/common/ternarySearchTree.js +3 -3
- package/vscode/src/vs/base/common/types.d.ts +5 -1
- package/vscode/src/vs/base/common/types.js +7 -5
- package/vscode/src/vs/base/common/uri.js +11 -5
- package/vscode/src/vs/base/common/worker/simpleWorker.js +7 -7
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +1 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +4 -3
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +47 -42
- package/vscode/src/vs/editor/browser/coreCommands.js +104 -115
- package/vscode/src/vs/editor/browser/editorExtensions.js +24 -35
- package/vscode/src/vs/editor/browser/observableUtilities.js +58 -0
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -2
- package/vscode/src/vs/editor/browser/services/bulkEditService.js +1 -1
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.js +121 -2
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +18 -22
- package/vscode/src/vs/editor/browser/services/hoverService/updatableHoverWidget.js +80 -0
- package/vscode/src/vs/editor/browser/services/openerService.js +1 -1
- package/vscode/src/vs/editor/browser/stableEditorScroll.js +37 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
- package/vscode/src/vs/editor/browser/view.js +6 -6
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +139 -131
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +25 -68
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +66 -99
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +16 -13
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +15 -34
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +25 -41
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +3 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +3 -10
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +9 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +6 -6
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +28 -51
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +42 -33
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +14 -20
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +8 -19
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +1 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +1 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -15
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/diffEditorItemTemplate.js +3 -2
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorViewModel.js +17 -8
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidget.js +1 -0
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +28 -20
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +83 -154
- package/vscode/src/vs/editor/common/config/editorOptions.js +863 -1427
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +112 -255
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +12 -0
- package/vscode/src/vs/editor/common/core/lineRange.js +32 -2
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -3
- package/vscode/src/vs/editor/common/core/textEdit.d.ts +21 -0
- package/vscode/src/vs/editor/common/core/textEdit.js +14 -2
- package/vscode/src/vs/editor/common/core/textLength.d.ts +29 -0
- package/vscode/src/vs/editor/common/core/textLength.js +6 -0
- package/vscode/src/vs/editor/common/cursor/cursorCollection.js +3 -3
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +11 -1
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +1 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +11 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +34 -3
- package/vscode/src/vs/editor/common/editorContextKeys.js +80 -239
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +5 -8
- package/vscode/src/vs/editor/common/languages/supports/tokenization.js +2 -2
- package/vscode/src/vs/editor/common/languages.d.ts +50 -10
- package/vscode/src/vs/editor/common/languages.js +79 -72
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +12 -12
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +2 -2
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.js +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +2 -2
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +47 -36
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +3 -3
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +2 -2
- package/vscode/src/vs/editor/common/model/textModel.js +9 -9
- package/vscode/src/vs/editor/common/model/textModelPart.js +1 -1
- package/vscode/src/vs/editor/common/model/textModelTokens.js +2 -2
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +2 -2
- package/vscode/src/vs/editor/common/services/languageFeatureDebounce.js +1 -1
- package/vscode/src/vs/editor/common/services/languageFeatures.d.ts +2 -2
- package/vscode/src/vs/editor/common/services/languageFeaturesService.js +1 -1
- package/vscode/src/vs/editor/common/services/modelService.js +1 -1
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +11 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +56 -115
- package/vscode/src/vs/editor/common/textModelGuides.js +1 -1
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +2 -2
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +79 -67
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +12 -12
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +3 -0
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +12 -31
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +25 -40
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +4 -11
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +3 -6
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -76
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +36 -25
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +54 -143
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +8 -7
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +51 -42
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +25 -54
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +5 -0
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +16 -28
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +30 -37
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +24 -31
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +25 -25
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +11 -34
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +39 -72
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +15 -14
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +6 -13
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +33 -50
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +38 -69
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +4 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +22 -29
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +7 -0
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +8 -7
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +92 -124
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +63 -147
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +51 -117
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +13 -32
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +2 -2
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -15
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +28 -35
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +21 -52
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +38 -77
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +109 -246
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +21 -23
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +40 -30
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +23 -34
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +31 -42
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +33 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +24 -23
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverComputer.js +74 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverController.js +332 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverStatusBar.js +34 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverTypes.js +39 -0
- package/vscode/src/vs/editor/contrib/hover/browser/contentHoverWidget.js +355 -0
- package/vscode/src/vs/editor/contrib/hover/browser/getHover.js +11 -14
- package/vscode/src/vs/editor/contrib/hover/browser/hover.css.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActionIds.js +13 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverActions.js +354 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverContribution.js +42 -0
- package/vscode/src/vs/editor/contrib/hover/browser/hoverController.js +320 -0
- package/vscode/src/vs/editor/contrib/hover/browser/marginHoverComputer.js +48 -0
- package/vscode/src/vs/editor/contrib/hover/browser/{marginHover.js → marginHoverWidget.js} +14 -48
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +273 -55
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +19 -37
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +11 -18
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +62 -85
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +87 -102
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +31 -63
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +45 -43
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +12 -18
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +52 -34
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +41 -68
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +26 -24
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +39 -70
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +3 -3
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +4 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +1 -0
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +4 -2
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +5 -3
- package/vscode/src/vs/editor/contrib/inlineProgress/browser/inlineProgressWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -5
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +135 -234
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +26 -33
- package/vscode/src/vs/editor/contrib/links/browser/links.js +32 -64
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +13 -16
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +122 -195
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +17 -20
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +16 -32
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +43 -86
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -24
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +46 -170
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -10
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +71 -81
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.css.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +195 -78
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +5 -0
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +73 -86
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +26 -41
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +13 -80
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +26 -55
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollController.js +13 -6
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +0 -2
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +55 -72
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +161 -147
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +43 -95
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +21 -28
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +16 -23
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +11 -10
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -66
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +13 -13
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +3 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +72 -136
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +11 -26
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +19 -22
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +66 -59
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +72 -51
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +26 -19
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +40 -18
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +2 -2
- package/vscode/src/vs/nls.js +1 -4
- package/vscode/src/vs/platform/accessibility/common/accessibility.d.ts +1 -9
- package/vscode/src/vs/platform/accessibility/common/accessibility.js +2 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +15 -9
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +172 -338
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.service.d.ts +12 -5
- package/vscode/src/vs/platform/accessibilitySignal/browser/progressAccessibilitySignalScheduler.js +25 -0
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +9 -16
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +21 -41
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +22 -49
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +27 -29
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +1 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +40 -51
- package/vscode/src/vs/platform/actions/browser/toolbar.d.ts +4 -1
- package/vscode/src/vs/platform/actions/browser/toolbar.js +74 -56
- package/vscode/src/vs/platform/actions/common/actions.contribution.js +5 -0
- package/vscode/src/vs/platform/actions/common/actions.d.ts +3 -1
- package/vscode/src/vs/platform/actions/common/actions.js +18 -6
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +21 -0
- package/vscode/src/vs/platform/actions/common/menuService.js +76 -56
- package/vscode/src/vs/platform/commands/common/commands.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configuration.js +4 -0
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +44 -33
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +38 -61
- package/vscode/src/vs/platform/configuration/common/configurations.js +12 -10
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +68 -51
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +168 -130
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +14 -45
- package/vscode/src/vs/platform/contextkey/common/scanner.js +12 -26
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +4 -1
- package/vscode/src/vs/platform/contextview/browser/contextView.service.d.ts +2 -3
- package/vscode/src/vs/platform/contextview/browser/contextViewService.js +10 -8
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +18 -33
- package/vscode/src/vs/platform/dnd/browser/dnd.js +24 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +0 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +9 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +335 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +916 -0
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +36 -43
- package/vscode/src/vs/platform/extensions/common/extensions.d.ts +5 -0
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +23 -16
- package/vscode/src/vs/platform/files/common/files.d.ts +14 -1
- package/vscode/src/vs/platform/files/common/files.js +41 -58
- package/vscode/src/vs/platform/history/browser/contextScopedHistoryWidget.js +28 -21
- package/vscode/src/vs/platform/hover/browser/hover.js +2 -2
- package/vscode/src/vs/platform/hover/browser/hover.service.d.ts +2 -31
- package/vscode/src/vs/platform/instantiation/common/instantiation.d.ts +9 -0
- package/vscode/src/vs/platform/instantiation/common/instantiation.js +1 -1
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +49 -15
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +21 -20
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +75 -6
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +4 -2
- package/vscode/src/vs/platform/list/browser/listService.js +159 -189
- package/vscode/src/vs/platform/log/common/log.js +23 -20
- package/vscode/src/vs/platform/markers/common/markerService.js +8 -4
- package/vscode/src/vs/platform/markers/common/markers.js +15 -14
- package/vscode/src/vs/platform/opener/browser/link.js +6 -4
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +36 -49
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +183 -193
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +122 -105
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +9 -8
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +5 -12
- package/vscode/src/vs/platform/request/common/request.js +31 -40
- package/vscode/src/vs/platform/telemetry/common/gdprTypings.d.ts +0 -1
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +1 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +5 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetection/promptInputModel.d.ts +30 -0
- package/vscode/src/vs/platform/terminal/common/terminal.js +3 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +6 -0
- package/vscode/src/vs/platform/theme/browser/iconsStyleSheet.js +13 -11
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +28 -59
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -40
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +151 -350
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +51 -170
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +63 -90
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -35
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +14 -53
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +13 -32
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +14 -37
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +6 -13
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +9 -24
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +64 -207
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +111 -114
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +52 -55
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +20 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +25 -32
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +7 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +173 -35
- package/vscode/src/vs/platform/workspace/common/workspace.js +8 -9
- package/vscode/src/vs/platform/workspaces/common/workspaces.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +31 -31
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +2 -6
- package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostBulkEdits.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +71 -54
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +9 -5
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +19 -7
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +17 -15
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +43 -27
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +37 -34
- package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostDocumentSaveParticipant.js +2 -1
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +13 -9
- package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +22 -7
- package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +16 -16
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostFileSystemEventService.js +19 -1
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +356 -214
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +88 -44
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +6 -13
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +20 -14
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +3 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +20 -18
- package/vscode/src/vs/workbench/api/common/extHostNotebookRenderers.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostOutput.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +8 -6
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +41 -38
- package/vscode/src/vs/workbench/api/common/extHostTask.js +15 -11
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +22 -21
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +109 -94
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +52 -36
- package/vscode/src/vs/workbench/api/common/extHostTestItem.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +19 -35
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +6 -6
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +23 -11
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +31 -36
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +142 -146
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +103 -45
- package/vscode/src/vs/workbench/api/common/extHostUriOpener.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostUrls.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebview.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostWebviewView.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostWindow.js +3 -5
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +51 -48
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +29 -44
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -3
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +93 -157
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +287 -621
- package/vscode/src/vs/workbench/browser/actions/media/actions.css.js +1 -1
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +31 -30
- package/vscode/src/vs/workbench/browser/actions/widgetNavigationCommands.js +30 -6
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +49 -123
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +63 -119
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +11 -26
- package/vscode/src/vs/workbench/browser/editor.js +62 -55
- package/vscode/src/vs/workbench/browser/labels.js +44 -52
- package/vscode/src/vs/workbench/browser/part.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +23 -56
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +72 -115
- package/vscode/src/vs/workbench/browser/parts/compositePart.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +12 -17
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +11 -18
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +51 -198
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +60 -101
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +51 -48
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +29 -40
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +176 -684
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +51 -104
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +76 -93
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +26 -77
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +19 -27
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +41 -60
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +86 -94
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +124 -353
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +21 -30
- package/vscode/src/vs/workbench/browser/parts/editor/media/editorquickaccess.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/media/multieditortabscontrol.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +57 -79
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +34 -31
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -5
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +27 -24
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +21 -18
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +144 -142
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +42 -109
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +11 -10
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +25 -52
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +24 -59
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +22 -30
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +21 -61
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +23 -25
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +38 -54
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.d.ts +4 -3
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +58 -196
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.d.ts +2 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.d.ts +3 -1
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +73 -124
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +19 -30
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +9 -8
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +328 -198
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -16
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +14 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +118 -101
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +68 -85
- package/vscode/src/vs/workbench/browser/quickaccess.js +12 -12
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +394 -596
- package/vscode/src/vs/workbench/common/configuration.js +33 -52
- package/vscode/src/vs/workbench/common/contextkeys.js +117 -348
- package/vscode/src/vs/workbench/common/contributions.js +9 -3
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -15
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +18 -15
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +14 -11
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +31 -36
- package/vscode/src/vs/workbench/common/theme.js +408 -409
- package/vscode/src/vs/workbench/common/views.d.ts +2 -0
- package/vscode/src/vs/workbench/common/views.js +36 -35
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +280 -495
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +876 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +90 -53
- package/vscode/src/vs/workbench/contrib/accessibility/browser/{accessibilityContributions.js → accessibleViewContributions.js} +163 -27
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +3 -3
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +55 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +73 -201
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +84 -26
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +32 -65
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +8 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +21 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAgentHover.js +101 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +23 -27
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +8 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +69 -74
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +270 -171
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +42 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +15 -30
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +398 -59
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +55 -21
- 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 +4 -0
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +4 -9
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +101 -11
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -30
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +35 -65
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +105 -84
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +1 -14
- package/vscode/src/vs/workbench/contrib/chat/common/chatParticipantContribTypes.js +2 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +7 -9
- package/vscode/src/vs/workbench/contrib/chat/common/languageModelStats.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +33 -40
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +24 -61
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +11 -34
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +23 -39
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +24 -34
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +24 -68
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +14 -17
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +25 -45
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +47 -55
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +13 -28
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +29 -41
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +14 -37
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +102 -104
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +41 -43
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +21 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +20 -22
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +3 -3
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +33 -64
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +121 -137
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +16 -19
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +56 -82
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +145 -79
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -51
- package/vscode/src/vs/workbench/contrib/comments/browser/media/review.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +30 -44
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +23 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +2 -3
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +24 -51
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +22 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +55 -30
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +84 -242
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +33 -74
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +263 -435
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +14 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +20 -67
- package/vscode/src/vs/workbench/contrib/debug/browser/debugCommands.js +967 -0
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +62 -273
- package/vscode/src/vs/workbench/contrib/debug/browser/debugSessionPicker.js +101 -0
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +12 -17
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +231 -291
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +147 -141
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +13 -14
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +4 -11
- package/vscode/src/vs/workbench/contrib/debug/common/loadedScriptsPicker.js +82 -0
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +25 -22
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +620 -1088
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +42 -69
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +10 -13
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +9 -15
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +32 -29
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +9 -12
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +26 -35
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +38 -49
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +60 -107
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +71 -100
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +201 -379
- package/vscode/src/vs/workbench/contrib/files/browser/{fileCommands.save.js → fileCommands._save.js} +10 -13
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +11 -22
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +151 -244
- package/vscode/src/vs/workbench/contrib/files/browser/{files.configuration.contribution.js → files.contribution._configuration.js} +105 -156
- package/vscode/src/vs/workbench/contrib/files/browser/{files.editorPane.contribution.js → files.contribution._editorPane.js} +24 -31
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +22 -23
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +14 -25
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +63 -78
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +122 -155
- package/vscode/src/vs/workbench/contrib/files/browser/views/media/openeditors.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +60 -83
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +36 -26
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +8 -16
- package/vscode/src/vs/workbench/contrib/files/common/files.js +61 -84
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -14
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +58 -106
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +9 -22
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +6 -9
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +15 -26
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +99 -231
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +10 -7
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +147 -164
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +9 -31
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +352 -111
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +100 -128
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +111 -103
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +24 -19
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +4 -32
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +85 -168
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +5 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +15 -18
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +75 -145
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +1 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +64 -53
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +7 -7
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +2 -48
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +19 -50
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -5
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +82 -74
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +7 -11
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver.js +112 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +97 -157
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +40 -60
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +67 -122
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +21 -37
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +36 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +9 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +11 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +53 -67
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +12 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +96 -153
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +8 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +18 -45
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +7 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +94 -53
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +164 -216
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -135
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookOptions.js +17 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +20 -29
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +63 -82
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +5 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +2 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +16 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +8 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +11 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +8 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +13 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +20 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellAnchor.js +2 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +111 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +66 -73
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +35 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +17 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellEditorOptions.js +6 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProviderFactory.service.js +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +17 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +48 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +15 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.js +52 -16
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +21 -23
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +30 -17
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +32 -44
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +16 -51
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +57 -94
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +52 -231
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +34 -105
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +128 -158
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +19 -82
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +254 -447
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +9 -16
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +146 -181
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +51 -62
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +2 -3
- package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -10
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +18 -17
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +18 -24
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +71 -70
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +36 -146
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +18 -23
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +19 -23
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +134 -123
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +7 -14
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.d.ts +24 -6
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.service.js +2 -1
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +19 -26
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.d.ts +8 -9
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm-private.d.ts +2 -20
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +3 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -29
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +44 -80
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +106 -138
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +1 -0
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +15 -5
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +51 -34
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -11
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -23
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +6 -9
- package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.service.d.ts +9 -0
- package/vscode/src/vs/workbench/services/accessibility/common/accessibleViewInformationService.service.js +3 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +18 -8
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +23 -62
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +99 -18
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +30 -16
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +15 -4
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.service.d.ts +20 -1
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +9 -8
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +3 -6
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.service.d.ts +0 -1
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +40 -57
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +4 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionHostManagers.d.ts +4 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionRunningLocation.d.ts +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +8 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +8 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensions.service.d.ts +4 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +3 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +176 -223
- package/vscode/src/vs/workbench/services/extensions/common/rpcProtocol.js +5 -3
- package/vscode/src/vs/workbench/services/extensions/worker/polyfillNestedWorker.js +1 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +35 -38
- package/vscode/src/vs/workbench/services/language/common/languageService.js +75 -134
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +6 -4
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +6 -13
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +80 -66
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +8 -15
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +79 -72
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +54 -141
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.js +30 -42
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +92 -101
- package/vscode/src/vs/workbench/services/search/common/queryBuilder.js +50 -45
- package/vscode/src/vs/workbench/services/textMate/common/TMGrammars.js +15 -30
- package/vscode/src/vs/workbench/services/textfile/common/encoding.js +4 -1
- package/vscode/src/vs/workbench/services/textfile/common/textEditorService.js +3 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +32 -35
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +48 -83
- package/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.js +26 -45
- package/vscode/src/vs/workbench/services/themes/common/workbenchThemeService.js +1 -0
- package/vscode/src/vs/workbench/services/userDataProfile/browser/iconSelectBox.js +97 -0
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +14 -23
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -5
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +22 -62
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +49 -78
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopy.d.ts +7 -2
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +50 -89
- package/vscode-dts/vscode.proposed.chatParticipant.d.ts +23 -45
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +65 -91
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +9 -0
- package/vscode-dts/vscode.proposed.chatTab.d.ts +1 -5
- package/vscode-dts/vscode.proposed.contribAccessibilityHelpContent.d.ts +15 -0
- package/vscode-dts/vscode.proposed.debugFocus.d.ts +4 -4
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +2 -2
- package/vscode-dts/vscode.proposed.documentPaste.d.ts +144 -43
- package/vscode-dts/vscode.proposed.editorHoverVerbosityLevel.d.ts +76 -0
- package/vscode-dts/vscode.proposed.interactive.d.ts +1 -17
- package/vscode-dts/vscode.proposed.languageModels.d.ts +56 -11
- package/vscode-dts/vscode.proposed.newSymbolNamesProvider.d.ts +12 -1
- package/vscode-dts/vscode.proposed.scmHistoryProvider.d.ts +4 -4
- package/vscode-dts/vscode.proposed.speech.d.ts +2 -1
- package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +144 -38
- package/vscode-dts/vscode.proposed.testPreserveFocus.d.ts +28 -0
- package/tools/l10n.js +0 -177
- package/vscode/src/vs/base/browser/ui/hover/updatableHoverWidget.d.ts +0 -21
- package/vscode/src/vs/base/browser/ui/hover/updatableHoverWidget.js +0 -215
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +0 -32
- package/vscode/src/vs/editor/contrib/hover/browser/contentHover.js +0 -838
- package/vscode/src/vs/editor/contrib/hover/browser/hover.js +0 -685
- package/vscode/src/vs/platform/accessibility/common/accessibility.service.d.ts +0 -19
- package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -54
- package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +0 -70
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +0 -308
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +0 -49
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +0 -178
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +0 -164
- package/vscode/src/vs/workbench/contrib/chat/common/chatContributionService.service.js +0 -3
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +0 -223
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.js +0 -95
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +0 -113
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +0 -224
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.d.ts +0 -48
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEvents.js +0 -47
- package/vscode-dts/vscode.proposed.dropMetadata.d.ts +0 -65
- package/vscode-dts/vscode.proposed.handleIssueUri.d.ts +0 -57
- package/vscode-dts/vscode.proposed.windowActivity.d.ts +0 -17
- /package/vscode/src/vs/workbench/browser/parts/editor/{editor.autosave.contribution.js → editor.contribution._autosave.js} +0 -0
- /package/vscode/src/vs/workbench/contrib/files/browser/{files.fileEditorFactory.contribution.js → files.contribution._fileEditorFactory.js} +0 -0
|
@@ -72,7 +72,7 @@ import { NotebookEditorContextKeys } from './viewParts/notebookEditorWidgetConte
|
|
|
72
72
|
import { NotebookOverviewRuler } from './viewParts/notebookOverviewRuler.js';
|
|
73
73
|
import { ListTopCellToolbar } from './viewParts/notebookTopCellToolbar.js';
|
|
74
74
|
import { SelectionStateType, RENDERER_NOT_AVAILABLE, CellKind } from '../common/notebookCommon.js';
|
|
75
|
-
import { NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED,
|
|
75
|
+
import { NOTEBOOK_EDITOR_FOCUSED, NOTEBOOK_OUTPUT_FOCUSED, NOTEBOOK_OUTPUT_INPUT_FOCUSED, NOTEBOOK_EDITOR_EDITABLE, NOTEBOOK_CURSOR_NAVIGATION_MODE } from '../common/notebookContextKeys.js';
|
|
76
76
|
import { INotebookExecutionService } from '../common/notebookExecutionService.service.js';
|
|
77
77
|
import { INotebookExecutionStateService } from '../common/notebookExecutionStateService.service.js';
|
|
78
78
|
import { INotebookKernelService } from '../common/notebookKernelService.service.js';
|
|
@@ -89,12 +89,12 @@ import { Schemas } from '../../../../base/common/network.js';
|
|
|
89
89
|
import { DropIntoEditorController } from '../../../../editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js';
|
|
90
90
|
import { CopyPasteController } from '../../../../editor/contrib/dropOrPasteInto/browser/copyPasteController.js';
|
|
91
91
|
import { NotebookStickyScroll } from './viewParts/notebookEditorStickyScroll.js';
|
|
92
|
-
import { NotebookCellOutlineProvider } from './viewModel/notebookOutlineProvider.js';
|
|
93
92
|
import { IKeybindingService } from '../../../../platform/keybinding/common/keybinding.service.js';
|
|
94
93
|
import { PixelRatio } from '../../../../base/browser/pixelRatio.js';
|
|
95
94
|
import { ICodeEditorService } from '../../../../editor/browser/services/codeEditorService.js';
|
|
96
95
|
import { PreventDefaultContextMenuItemsContextKeyName } from '../../webview/browser/webview.contribution.js';
|
|
97
96
|
import { NotebookAccessibilityProvider } from './notebookAccessibilityProvider.js';
|
|
97
|
+
const _moduleId = "vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
98
98
|
const $ = $$1;
|
|
99
99
|
function getDefaultNotebookCreationOptions() {
|
|
100
100
|
const skipContributions = [
|
|
@@ -174,49 +174,49 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
174
174
|
this.editorProgressService = editorProgressService;
|
|
175
175
|
this.logService = logService;
|
|
176
176
|
this.keybindingService = keybindingService;
|
|
177
|
-
this._onDidChangeCellState = this._register(( new Emitter()));
|
|
177
|
+
this._onDidChangeCellState = this._register(( (new Emitter())));
|
|
178
178
|
this.onDidChangeCellState = this._onDidChangeCellState.event;
|
|
179
|
-
this._onDidChangeViewCells = this._register(( new Emitter()));
|
|
179
|
+
this._onDidChangeViewCells = this._register(( (new Emitter())));
|
|
180
180
|
this.onDidChangeViewCells = this._onDidChangeViewCells.event;
|
|
181
|
-
this._onWillChangeModel = this._register(( new Emitter()));
|
|
181
|
+
this._onWillChangeModel = this._register(( (new Emitter())));
|
|
182
182
|
this.onWillChangeModel = this._onWillChangeModel.event;
|
|
183
|
-
this._onDidChangeModel = this._register(( new Emitter()));
|
|
183
|
+
this._onDidChangeModel = this._register(( (new Emitter())));
|
|
184
184
|
this.onDidChangeModel = this._onDidChangeModel.event;
|
|
185
|
-
this._onDidAttachViewModel = this._register(( new Emitter()));
|
|
185
|
+
this._onDidAttachViewModel = this._register(( (new Emitter())));
|
|
186
186
|
this.onDidAttachViewModel = this._onDidAttachViewModel.event;
|
|
187
|
-
this._onDidChangeOptions = this._register(( new Emitter()));
|
|
187
|
+
this._onDidChangeOptions = this._register(( (new Emitter())));
|
|
188
188
|
this.onDidChangeOptions = this._onDidChangeOptions.event;
|
|
189
|
-
this._onDidChangeDecorations = this._register(( new Emitter()));
|
|
189
|
+
this._onDidChangeDecorations = this._register(( (new Emitter())));
|
|
190
190
|
this.onDidChangeDecorations = this._onDidChangeDecorations.event;
|
|
191
|
-
this._onDidScroll = this._register(( new Emitter()));
|
|
191
|
+
this._onDidScroll = this._register(( (new Emitter())));
|
|
192
192
|
this.onDidScroll = this._onDidScroll.event;
|
|
193
|
-
this._onDidChangeActiveCell = this._register(( new Emitter()));
|
|
193
|
+
this._onDidChangeActiveCell = this._register(( (new Emitter())));
|
|
194
194
|
this.onDidChangeActiveCell = this._onDidChangeActiveCell.event;
|
|
195
|
-
this._onDidChangeFocus = this._register(( new Emitter()));
|
|
195
|
+
this._onDidChangeFocus = this._register(( (new Emitter())));
|
|
196
196
|
this.onDidChangeFocus = this._onDidChangeFocus.event;
|
|
197
|
-
this._onDidChangeSelection = this._register(( new Emitter()));
|
|
197
|
+
this._onDidChangeSelection = this._register(( (new Emitter())));
|
|
198
198
|
this.onDidChangeSelection = this._onDidChangeSelection.event;
|
|
199
|
-
this._onDidChangeVisibleRanges = this._register(( new Emitter()));
|
|
199
|
+
this._onDidChangeVisibleRanges = this._register(( (new Emitter())));
|
|
200
200
|
this.onDidChangeVisibleRanges = this._onDidChangeVisibleRanges.event;
|
|
201
|
-
this._onDidFocusEmitter = this._register(( new Emitter()));
|
|
201
|
+
this._onDidFocusEmitter = this._register(( (new Emitter())));
|
|
202
202
|
this.onDidFocusWidget = this._onDidFocusEmitter.event;
|
|
203
|
-
this._onDidBlurEmitter = this._register(( new Emitter()));
|
|
203
|
+
this._onDidBlurEmitter = this._register(( (new Emitter())));
|
|
204
204
|
this.onDidBlurWidget = this._onDidBlurEmitter.event;
|
|
205
|
-
this._onDidChangeActiveEditor = this._register(( new Emitter()));
|
|
205
|
+
this._onDidChangeActiveEditor = this._register(( (new Emitter())));
|
|
206
206
|
this.onDidChangeActiveEditor = this._onDidChangeActiveEditor.event;
|
|
207
|
-
this._onDidChangeActiveKernel = this._register(( new Emitter()));
|
|
207
|
+
this._onDidChangeActiveKernel = this._register(( (new Emitter())));
|
|
208
208
|
this.onDidChangeActiveKernel = this._onDidChangeActiveKernel.event;
|
|
209
|
-
this._onMouseUp = this._register(( new Emitter()));
|
|
209
|
+
this._onMouseUp = this._register(( (new Emitter())));
|
|
210
210
|
this.onMouseUp = this._onMouseUp.event;
|
|
211
|
-
this._onMouseDown = this._register(( new Emitter()));
|
|
211
|
+
this._onMouseDown = this._register(( (new Emitter())));
|
|
212
212
|
this.onMouseDown = this._onMouseDown.event;
|
|
213
|
-
this._onDidReceiveMessage = this._register(( new Emitter()));
|
|
213
|
+
this._onDidReceiveMessage = this._register(( (new Emitter())));
|
|
214
214
|
this.onDidReceiveMessage = this._onDidReceiveMessage.event;
|
|
215
|
-
this._onDidRenderOutput = this._register(( new Emitter()));
|
|
215
|
+
this._onDidRenderOutput = this._register(( (new Emitter())));
|
|
216
216
|
this.onDidRenderOutput = this._onDidRenderOutput.event;
|
|
217
|
-
this._onDidRemoveOutput = this._register(( new Emitter()));
|
|
217
|
+
this._onDidRemoveOutput = this._register(( (new Emitter())));
|
|
218
218
|
this.onDidRemoveOutput = this._onDidRemoveOutput.event;
|
|
219
|
-
this._onDidResizeOutputEmitter = this._register(( new Emitter()));
|
|
219
|
+
this._onDidResizeOutputEmitter = this._register(( (new Emitter())));
|
|
220
220
|
this.onDidResizeOutput = this._onDidResizeOutputEmitter.event;
|
|
221
221
|
this._webview = null;
|
|
222
222
|
this._webviewResolvePromise = null;
|
|
@@ -224,51 +224,50 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
224
224
|
this._listDelegate = null;
|
|
225
225
|
this._dndController = null;
|
|
226
226
|
this._listTopCellToolbar = null;
|
|
227
|
-
this._renderedEditors = ( new Map());
|
|
228
|
-
this._localStore = this._register(( new DisposableStore()));
|
|
227
|
+
this._renderedEditors = ( (new Map()));
|
|
228
|
+
this._localStore = this._register(( (new DisposableStore())));
|
|
229
229
|
this._localCellStateListeners = [];
|
|
230
230
|
this._shadowElementViewInfo = null;
|
|
231
|
-
this._contributions = ( new Map());
|
|
232
|
-
this._insetModifyQueueByOutputId = ( new SequencerByKey());
|
|
231
|
+
this._contributions = ( (new Map()));
|
|
232
|
+
this._insetModifyQueueByOutputId = ( (new SequencerByKey()));
|
|
233
233
|
this._cellContextKeyManager = null;
|
|
234
234
|
this._uuid = generateUuid();
|
|
235
235
|
this._webviewFocused = false;
|
|
236
236
|
this._isVisible = false;
|
|
237
237
|
this._isDisposed = false;
|
|
238
|
-
this._baseCellEditorOptions = ( new Map());
|
|
238
|
+
this._baseCellEditorOptions = ( (new Map()));
|
|
239
239
|
this._debugFlag = false;
|
|
240
240
|
this._backgroundMarkdownRenderRunning = false;
|
|
241
241
|
this._lastCellWithEditorFocus = null;
|
|
242
|
-
this._pendingLayouts = ( new WeakMap());
|
|
243
|
-
this._pendingOutputHeightAcks = ( new Map());
|
|
242
|
+
this._pendingLayouts = ( (new WeakMap()));
|
|
243
|
+
this._pendingOutputHeightAcks = ( (new Map()));
|
|
244
244
|
this._dimension = dimension;
|
|
245
245
|
this.isEmbedded = creationOptions.isEmbedded ?? false;
|
|
246
246
|
this._readOnly = creationOptions.isReadOnly ?? false;
|
|
247
|
-
this._notebookOptions = creationOptions.options ?? ( new NotebookOptions(
|
|
247
|
+
this._notebookOptions = creationOptions.options ?? ( (new NotebookOptions(
|
|
248
248
|
this.creationOptions?.codeWindow ?? mainWindow,
|
|
249
249
|
this.configurationService,
|
|
250
250
|
notebookExecutionStateService,
|
|
251
251
|
codeEditorService,
|
|
252
252
|
this._readOnly
|
|
253
|
-
));
|
|
253
|
+
)));
|
|
254
254
|
this._register(this._notebookOptions);
|
|
255
|
-
const eventDispatcher = this._register(( new NotebookEventDispatcher()));
|
|
256
|
-
this._viewContext = ( new ViewContext(
|
|
255
|
+
const eventDispatcher = this._register(( (new NotebookEventDispatcher())));
|
|
256
|
+
this._viewContext = ( (new ViewContext(
|
|
257
257
|
this._notebookOptions,
|
|
258
258
|
eventDispatcher,
|
|
259
259
|
language => this.getBaseCellEditorOptions(language)
|
|
260
|
-
));
|
|
260
|
+
)));
|
|
261
261
|
this._register(this._viewContext.eventDispatcher.onDidChangeCellState(e => {
|
|
262
262
|
this._onDidChangeCellState.fire(e);
|
|
263
263
|
}));
|
|
264
264
|
this._overlayContainer = document.createElement('div');
|
|
265
265
|
this.scopedContextKeyService = this._register(contextKeyService.createScoped(this._overlayContainer));
|
|
266
|
-
this.instantiationService = instantiationService.createChild(( new ServiceCollection([IContextKeyService, this.scopedContextKeyService])));
|
|
266
|
+
this.instantiationService = instantiationService.createChild(( (new ServiceCollection([IContextKeyService, this.scopedContextKeyService]))));
|
|
267
267
|
this._register(_notebookService.onDidChangeOutputRenderers(() => {
|
|
268
268
|
this._updateOutputRenderers();
|
|
269
269
|
}));
|
|
270
270
|
this._register(this.instantiationService.createInstance(NotebookEditorContextKeys, this));
|
|
271
|
-
this._notebookOutline = this._register(this.instantiationService.createInstance(NotebookCellOutlineProvider, this, 4 ));
|
|
272
271
|
this._register(notebookKernelService.onDidChangeSelectedNotebooks(e => {
|
|
273
272
|
if (isEqual(e.notebook, this.viewModel?.uri)) {
|
|
274
273
|
this._loadKernelPreloads();
|
|
@@ -305,7 +304,8 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
305
304
|
|| e.outputFontFamily
|
|
306
305
|
|| e.outputWordWrap
|
|
307
306
|
|| e.outputScrolling
|
|
308
|
-
|| e.outputLinkifyFilePaths
|
|
307
|
+
|| e.outputLinkifyFilePaths
|
|
308
|
+
|| e.minimalError) {
|
|
309
309
|
this._styleElement?.remove();
|
|
310
310
|
this._createLayoutStyles();
|
|
311
311
|
this._webview?.updateOptions({
|
|
@@ -330,6 +330,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
330
330
|
this._overlayContainer.id = `notebook-${id}`;
|
|
331
331
|
this._overlayContainer.className = 'notebookOverlay';
|
|
332
332
|
this._overlayContainer.classList.add('notebook-editor');
|
|
333
|
+
this._overlayContainer.inert = true;
|
|
333
334
|
this._overlayContainer.style.visibility = 'hidden';
|
|
334
335
|
container.appendChild(this._overlayContainer);
|
|
335
336
|
this._createBody(this._overlayContainer);
|
|
@@ -337,10 +338,10 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
337
338
|
this._isVisible = true;
|
|
338
339
|
this._editorFocus = NOTEBOOK_EDITOR_FOCUSED.bindTo(this.scopedContextKeyService);
|
|
339
340
|
this._outputFocus = NOTEBOOK_OUTPUT_FOCUSED.bindTo(this.scopedContextKeyService);
|
|
340
|
-
this._outputInputFocus =
|
|
341
|
+
this._outputInputFocus = NOTEBOOK_OUTPUT_INPUT_FOCUSED.bindTo(this.scopedContextKeyService);
|
|
341
342
|
this._editorEditable = NOTEBOOK_EDITOR_EDITABLE.bindTo(this.scopedContextKeyService);
|
|
342
343
|
this._cursorNavMode = NOTEBOOK_CURSOR_NAVIGATION_MODE.bindTo(this.scopedContextKeyService);
|
|
343
|
-
( new RawContextKey(PreventDefaultContextMenuItemsContextKeyName, false)).bindTo(this.scopedContextKeyService).set(true);
|
|
344
|
+
( (new RawContextKey(PreventDefaultContextMenuItemsContextKeyName, false))).bindTo(this.scopedContextKeyService).set(true);
|
|
344
345
|
this._editorEditable.set(!creationOptions.isReadOnly);
|
|
345
346
|
let contributions;
|
|
346
347
|
if (Array.isArray(this.creationOptions.contributions)) {
|
|
@@ -358,12 +359,12 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
358
359
|
onUnexpectedError(err);
|
|
359
360
|
}
|
|
360
361
|
if (contribution) {
|
|
361
|
-
if (!( this._contributions.has(desc.id))) {
|
|
362
|
+
if (!( (this._contributions.has(desc.id)))) {
|
|
362
363
|
this._contributions.set(desc.id, contribution);
|
|
363
364
|
}
|
|
364
365
|
else {
|
|
365
366
|
contribution.dispose();
|
|
366
|
-
throw new Error(`DUPLICATE notebook editor contribution: '${desc.id}'`);
|
|
367
|
+
throw ( (new Error(`DUPLICATE notebook editor contribution: '${desc.id}'`)));
|
|
367
368
|
}
|
|
368
369
|
}
|
|
369
370
|
}
|
|
@@ -416,10 +417,10 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
416
417
|
if (!this.viewModel) {
|
|
417
418
|
return [];
|
|
418
419
|
}
|
|
419
|
-
const cellsSet = ( new Set());
|
|
420
|
-
return ( this.viewModel.getSelections().map(range => this.viewModel.viewCells.slice(range.start, range.end))).reduce((a, b) => {
|
|
420
|
+
const cellsSet = ( (new Set()));
|
|
421
|
+
return ( (this.viewModel.getSelections().map(range => this.viewModel.viewCells.slice(range.start, range.end)))).reduce((a, b) => {
|
|
421
422
|
b.forEach(cell => {
|
|
422
|
-
if (!( cellsSet.has(cell.handle))) {
|
|
423
|
+
if (!( (cellsSet.has(cell.handle)))) {
|
|
423
424
|
cellsSet.add(cell.handle);
|
|
424
425
|
a.push(cell);
|
|
425
426
|
}
|
|
@@ -445,7 +446,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
445
446
|
return existingOptions;
|
|
446
447
|
}
|
|
447
448
|
else {
|
|
448
|
-
const options = ( new BaseCellEditorOptions(this, this.notebookOptions, this.configurationService, language));
|
|
449
|
+
const options = ( (new BaseCellEditorOptions(this, this.notebookOptions, this.configurationService, language)));
|
|
449
450
|
this._baseCellEditorOptions.set(language, options);
|
|
450
451
|
return options;
|
|
451
452
|
}
|
|
@@ -707,7 +708,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
707
708
|
}
|
|
708
709
|
_createCellList() {
|
|
709
710
|
this._body.classList.add('cell-list-container');
|
|
710
|
-
this._dndController = this._register(( new CellDragAndDropController(this, this._body)));
|
|
711
|
+
this._dndController = this._register(( (new CellDragAndDropController(this, this._body))));
|
|
711
712
|
const getScopedContextKeyService = (container) => this._list.contextKeyService.createScoped(container);
|
|
712
713
|
const renderers = [
|
|
713
714
|
this.instantiationService.createInstance(CodeCellRenderer, this, this._renderedEditors, this._dndController, getScopedContextKeyService),
|
|
@@ -718,12 +719,12 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
718
719
|
});
|
|
719
720
|
this._listDelegate = this.instantiationService.createInstance(NotebookCellListDelegate, getWindow(this.getDomNode()));
|
|
720
721
|
this._register(this._listDelegate);
|
|
721
|
-
const accessibilityProvider = ( new NotebookAccessibilityProvider(
|
|
722
|
+
const accessibilityProvider = ( (new NotebookAccessibilityProvider(
|
|
722
723
|
this.notebookExecutionStateService,
|
|
723
724
|
() => this.viewModel,
|
|
724
725
|
this.keybindingService,
|
|
725
726
|
this.configurationService
|
|
726
|
-
));
|
|
727
|
+
)));
|
|
727
728
|
this._register(accessibilityProvider);
|
|
728
729
|
this._list = this.instantiationService.createInstance(NotebookCellList, 'NotebookCellList', this._body, this._viewContext.notebookOptions, this._listDelegate, renderers, this.scopedContextKeyService, {
|
|
729
730
|
setRowLineHeight: false,
|
|
@@ -761,7 +762,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
761
762
|
});
|
|
762
763
|
this._dndController.setList(this._list);
|
|
763
764
|
this._register(this._list);
|
|
764
|
-
this._listViewInfoAccessor = ( new ListViewInfoAccessor(this._list));
|
|
765
|
+
this._listViewInfoAccessor = ( (new ListViewInfoAccessor(this._list)));
|
|
765
766
|
this._register(this._listViewInfoAccessor);
|
|
766
767
|
this._register(combinedDisposable(...renderers));
|
|
767
768
|
this._listTopCellToolbar = this._register(this.instantiationService.createInstance(ListTopCellToolbar, this, this.notebookOptions));
|
|
@@ -843,8 +844,8 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
843
844
|
}));
|
|
844
845
|
}
|
|
845
846
|
_registerNotebookStickyScroll() {
|
|
846
|
-
this._notebookStickyScroll = this._register(this.instantiationService.createInstance(NotebookStickyScroll, this._notebookStickyScrollContainer, this, this.
|
|
847
|
-
const localDisposableStore = this._register(( new DisposableStore()));
|
|
847
|
+
this._notebookStickyScroll = this._register(this.instantiationService.createInstance(NotebookStickyScroll, this._notebookStickyScrollContainer, this, this._list));
|
|
848
|
+
const localDisposableStore = this._register(( (new DisposableStore())));
|
|
848
849
|
this._register(this._notebookStickyScroll.onDidChangeNotebookStickyScroll((sizeDelta) => {
|
|
849
850
|
const d = localDisposableStore.add(scheduleAtNextAnimationFrame(getWindow(this.getDomNode()), () => {
|
|
850
851
|
if (this.isDisposed) {
|
|
@@ -986,19 +987,19 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
986
987
|
this.notebookOptions.updateOptions(this._readOnly);
|
|
987
988
|
const cellOptions = options?.cellOptions ?? this._parseIndexedCellOptions(options);
|
|
988
989
|
if (cellOptions) {
|
|
989
|
-
const cell = this.viewModel.viewCells.find(cell => ( cell.uri.toString()) === ( cellOptions.resource.toString()));
|
|
990
|
+
const cell = this.viewModel.viewCells.find(cell => ( (cell.uri.toString())) === ( (cellOptions.resource.toString())));
|
|
990
991
|
if (cell) {
|
|
991
992
|
this.focusElement(cell);
|
|
992
993
|
const selection = cellOptions.options?.selection;
|
|
993
994
|
if (selection) {
|
|
994
995
|
cell.updateEditState(CellEditState.Editing, 'setOptions');
|
|
995
996
|
cell.focusMode = CellFocusMode.Editor;
|
|
996
|
-
await this.revealRangeInCenterIfOutsideViewportAsync(cell, ( new Range(
|
|
997
|
+
await this.revealRangeInCenterIfOutsideViewportAsync(cell, ( (new Range(
|
|
997
998
|
selection.startLineNumber,
|
|
998
999
|
selection.startColumn,
|
|
999
1000
|
selection.endLineNumber || selection.startLineNumber,
|
|
1000
1001
|
selection.endColumn || selection.startColumn
|
|
1001
|
-
)));
|
|
1002
|
+
))));
|
|
1002
1003
|
}
|
|
1003
1004
|
else {
|
|
1004
1005
|
this._list.revealCell(cell, options?.cellRevealType ?? 4 );
|
|
@@ -1007,12 +1008,12 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1007
1008
|
if (editor) {
|
|
1008
1009
|
if (cellOptions.options?.selection) {
|
|
1009
1010
|
const { selection } = cellOptions.options;
|
|
1010
|
-
const editorSelection = ( new Range(
|
|
1011
|
+
const editorSelection = ( (new Range(
|
|
1011
1012
|
selection.startLineNumber,
|
|
1012
1013
|
selection.startColumn,
|
|
1013
1014
|
selection.endLineNumber || selection.startLineNumber,
|
|
1014
1015
|
selection.endColumn || selection.startColumn
|
|
1015
|
-
));
|
|
1016
|
+
)));
|
|
1016
1017
|
editor.setSelection(editorSelection);
|
|
1017
1018
|
editor.revealPositionInCenterIfOutsideViewport({
|
|
1018
1019
|
lineNumber: selection.startLineNumber,
|
|
@@ -1087,11 +1088,11 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1087
1088
|
}
|
|
1088
1089
|
this._webviewResolvePromise = (async () => {
|
|
1089
1090
|
if (!this._webview) {
|
|
1090
|
-
throw new Error('Notebook output webview object is not created successfully.');
|
|
1091
|
+
throw ( (new Error('Notebook output webview object is not created successfully.')));
|
|
1091
1092
|
}
|
|
1092
1093
|
await this._webview.createWebview(this.creationOptions.codeWindow ?? mainWindow);
|
|
1093
1094
|
if (!this._webview.webview) {
|
|
1094
|
-
throw new Error('Notebook output webview element was not created successfully.');
|
|
1095
|
+
throw ( (new Error('Notebook output webview element was not created successfully.')));
|
|
1095
1096
|
}
|
|
1096
1097
|
this._localStore.add(this._webview.webview.onDidBlur(() => {
|
|
1097
1098
|
this._outputFocus.set(false);
|
|
@@ -1146,7 +1147,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1146
1147
|
async _attachModel(textModel, viewState, perf) {
|
|
1147
1148
|
this._ensureWebview(this.getId(), textModel.viewType, textModel.uri);
|
|
1148
1149
|
this.viewModel = this.instantiationService.createInstance(NotebookViewModel, textModel.viewType, textModel, this._viewContext, this.getLayoutInfo(), { isReadOnly: this._readOnly });
|
|
1149
|
-
this._viewContext.eventDispatcher.emit([( new NotebookLayoutChangedEvent({ width: true, fontInfo: true }, this.getLayoutInfo()))]);
|
|
1150
|
+
this._viewContext.eventDispatcher.emit([( (new NotebookLayoutChangedEvent({ width: true, fontInfo: true }, this.getLayoutInfo())))]);
|
|
1150
1151
|
this.notebookOptions.updateOptions(this._readOnly);
|
|
1151
1152
|
this._updateForOptions();
|
|
1152
1153
|
this._updateForNotebookConfiguration();
|
|
@@ -1207,7 +1208,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1207
1208
|
}));
|
|
1208
1209
|
await this._warmupWithMarkdownRenderer(this.viewModel, viewState);
|
|
1209
1210
|
perf?.mark('customMarkdownLoaded');
|
|
1210
|
-
this._localCellStateListeners = ( this.viewModel.viewCells.map(cell => this._bindCellListener(cell)));
|
|
1211
|
+
this._localCellStateListeners = ( (this.viewModel.viewCells.map(cell => this._bindCellListener(cell))));
|
|
1211
1212
|
this._lastCellWithEditorFocus = this.viewModel.viewCells.find(viewCell => this.getActiveCell() === viewCell && viewCell.focusMode === CellFocusMode.Editor) ?? null;
|
|
1212
1213
|
this._localStore.add(this.viewModel.onDidChangeViewCells((e) => {
|
|
1213
1214
|
if (this._isDisposed) {
|
|
@@ -1215,10 +1216,12 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1215
1216
|
}
|
|
1216
1217
|
[...e.splices].reverse().forEach(splice => {
|
|
1217
1218
|
const [start, deleted, newCells] = splice;
|
|
1218
|
-
const deletedCells = this._localCellStateListeners.splice(start, deleted, ...( newCells.map(cell => this._bindCellListener(cell))));
|
|
1219
|
+
const deletedCells = this._localCellStateListeners.splice(start, deleted, ...( (newCells.map(cell => this._bindCellListener(cell)))));
|
|
1219
1220
|
dispose(deletedCells);
|
|
1220
1221
|
});
|
|
1221
|
-
if (( e.splices.some(
|
|
1222
|
+
if (( (e.splices.some(
|
|
1223
|
+
s => ( (s[2].some(cell => cell.cellKind === CellKind.Markup)))
|
|
1224
|
+
)))) {
|
|
1222
1225
|
this._backgroundMarkdownRendering();
|
|
1223
1226
|
}
|
|
1224
1227
|
}));
|
|
@@ -1232,7 +1235,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1232
1235
|
this.restoreListViewState(viewState);
|
|
1233
1236
|
}
|
|
1234
1237
|
_bindCellListener(cell) {
|
|
1235
|
-
const store = ( new DisposableStore());
|
|
1238
|
+
const store = ( (new DisposableStore()));
|
|
1236
1239
|
store.add(cell.onDidChangeLayout(e => {
|
|
1237
1240
|
if (e.totalHeight || e.outerWidth) {
|
|
1238
1241
|
this.layoutNotebookCell(cell, cell.layoutInfo.totalHeight, e.context);
|
|
@@ -1302,13 +1305,13 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1302
1305
|
break;
|
|
1303
1306
|
}
|
|
1304
1307
|
}
|
|
1305
|
-
await this._webview.initializeMarkup(( requests.map(([model, offset]) => this.createMarkupCellInitialization(model, offset))));
|
|
1308
|
+
await this._webview.initializeMarkup(( (requests.map(([model, offset]) => this.createMarkupCellInitialization(model, offset)))));
|
|
1306
1309
|
}
|
|
1307
1310
|
else {
|
|
1308
|
-
const initRequests = ( viewModel.viewCells
|
|
1311
|
+
const initRequests = ( (viewModel.viewCells
|
|
1309
1312
|
.filter(cell => cell.cellKind === CellKind.Markup)
|
|
1310
1313
|
.slice(0, 5)
|
|
1311
|
-
.map(cell => this.createMarkupCellInitialization(cell, -10000)));
|
|
1314
|
+
.map(cell => this.createMarkupCellInitialization(cell, -10000))));
|
|
1312
1315
|
await this._webview.initializeMarkup(initRequests);
|
|
1313
1316
|
let offset = 0;
|
|
1314
1317
|
const offsetUpdateRequests = [];
|
|
@@ -1460,6 +1463,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1460
1463
|
this._list.layout(newCellListHeight, dimension.width);
|
|
1461
1464
|
this._list.updateOptions({ paddingBottom: this._allowScrollBeyondLastLine() ? Math.max(0, (newCellListHeight - 50)) : 0, paddingTop: 0 });
|
|
1462
1465
|
}
|
|
1466
|
+
this._overlayContainer.inert = false;
|
|
1463
1467
|
this._overlayContainer.style.visibility = 'visible';
|
|
1464
1468
|
this._overlayContainer.style.display = 'block';
|
|
1465
1469
|
this._overlayContainer.style.position = 'absolute';
|
|
@@ -1471,7 +1475,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1471
1475
|
}
|
|
1472
1476
|
this._notebookTopToolbar.layout(this._dimension);
|
|
1473
1477
|
this._notebookOverviewRuler.layout();
|
|
1474
|
-
this._viewContext?.eventDispatcher.emit([( new NotebookLayoutChangedEvent({ width: true, fontInfo: true }, this.getLayoutInfo()))]);
|
|
1478
|
+
this._viewContext?.eventDispatcher.emit([( (new NotebookLayoutChangedEvent({ width: true, fontInfo: true }, this.getLayoutInfo())))]);
|
|
1475
1479
|
}
|
|
1476
1480
|
updateShadowElement(shadowElement, dimension, position) {
|
|
1477
1481
|
this._shadowElement = shadowElement;
|
|
@@ -1565,6 +1569,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1565
1569
|
onWillHide() {
|
|
1566
1570
|
this._isVisible = false;
|
|
1567
1571
|
this._editorFocus.set(false);
|
|
1572
|
+
this._overlayContainer.inert = true;
|
|
1568
1573
|
this._overlayContainer.style.visibility = 'hidden';
|
|
1569
1574
|
this._overlayContainer.style.left = '-50000px';
|
|
1570
1575
|
this._notebookTopToolbarContainer.style.display = 'none';
|
|
@@ -1671,13 +1676,13 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1671
1676
|
await this._list.revealCell(cell, 6 );
|
|
1672
1677
|
}
|
|
1673
1678
|
async revealLineInViewAsync(cell, line) {
|
|
1674
|
-
return this._list.revealRangeInCell(cell, ( new Range(line, 1, line, 1)), CellRevealRangeType.Default);
|
|
1679
|
+
return this._list.revealRangeInCell(cell, ( (new Range(line, 1, line, 1))), CellRevealRangeType.Default);
|
|
1675
1680
|
}
|
|
1676
1681
|
async revealLineInCenterAsync(cell, line) {
|
|
1677
|
-
return this._list.revealRangeInCell(cell, ( new Range(line, 1, line, 1)), CellRevealRangeType.Center);
|
|
1682
|
+
return this._list.revealRangeInCell(cell, ( (new Range(line, 1, line, 1))), CellRevealRangeType.Center);
|
|
1678
1683
|
}
|
|
1679
1684
|
async revealLineInCenterIfOutsideViewportAsync(cell, line) {
|
|
1680
|
-
return this._list.revealRangeInCell(cell, ( new Range(line, 1, line, 1)), CellRevealRangeType.CenterIfOutsideViewport);
|
|
1685
|
+
return this._list.revealRangeInCell(cell, ( (new Range(line, 1, line, 1))), CellRevealRangeType.CenterIfOutsideViewport);
|
|
1681
1686
|
}
|
|
1682
1687
|
async revealRangeInViewAsync(cell, range) {
|
|
1683
1688
|
return this._list.revealRangeInCell(cell, range, CellRevealRangeType.Default);
|
|
@@ -1759,7 +1764,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1759
1764
|
if (!cells) {
|
|
1760
1765
|
cells = this.viewModel.viewCells;
|
|
1761
1766
|
}
|
|
1762
|
-
return this.notebookExecutionService.cancelNotebookCellHandles(this.textModel, ( Array.from(cells).map(cell => cell.handle)));
|
|
1767
|
+
return this.notebookExecutionService.cancelNotebookCellHandles(this.textModel, ( (Array.from(cells).map(cell => cell.handle))));
|
|
1763
1768
|
}
|
|
1764
1769
|
async executeNotebookCells(cells) {
|
|
1765
1770
|
if (!this.viewModel || !this.hasModel()) {
|
|
@@ -1769,7 +1774,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1769
1774
|
if (!cells) {
|
|
1770
1775
|
cells = this.viewModel.viewCells;
|
|
1771
1776
|
}
|
|
1772
|
-
return this.notebookExecutionService.executeNotebookCells(this.textModel, ( Array.from(cells).map(c => c.model)), this.scopedContextKeyService);
|
|
1777
|
+
return this.notebookExecutionService.executeNotebookCells(this.textModel, ( (Array.from(cells).map(c => c.model))), this.scopedContextKeyService);
|
|
1773
1778
|
}
|
|
1774
1779
|
async layoutNotebookCell(cell, height, context) {
|
|
1775
1780
|
this._debug('layout cell', cell.handle, height);
|
|
@@ -1780,7 +1785,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1780
1785
|
if (this._pendingLayouts?.has(cell)) {
|
|
1781
1786
|
this._pendingLayouts?.get(cell).dispose();
|
|
1782
1787
|
}
|
|
1783
|
-
const deferred = ( new DeferredPromise());
|
|
1788
|
+
const deferred = ( (new DeferredPromise()));
|
|
1784
1789
|
const doLayout = () => {
|
|
1785
1790
|
if (this._isDisposed) {
|
|
1786
1791
|
return;
|
|
@@ -1912,6 +1917,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1912
1917
|
if (itemDOM && itemDOM.ownerDocument.activeElement && itemDOM.contains(itemDOM.ownerDocument.activeElement)) {
|
|
1913
1918
|
itemDOM.ownerDocument.activeElement.blur();
|
|
1914
1919
|
}
|
|
1920
|
+
this._webview?.blurOutput();
|
|
1915
1921
|
cell.updateEditState(CellEditState.Preview, 'focusNotebookCell');
|
|
1916
1922
|
cell.focusMode = CellFocusMode.Container;
|
|
1917
1923
|
this.focusElement(cell);
|
|
@@ -1966,13 +1972,13 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1966
1972
|
const result = { type: 1 , renderer, source: output, mimeType: pickedMimeTypeRenderer.mimeType };
|
|
1967
1973
|
const inset = this._webview?.insetMapping.get(result.source);
|
|
1968
1974
|
if (!inset || !inset.initialized) {
|
|
1969
|
-
const p = ( new Promise(resolve => {
|
|
1975
|
+
const p = ( (new Promise(resolve => {
|
|
1970
1976
|
this._register(Event.any(this.onDidRenderOutput, this.onDidRemoveOutput)(e => {
|
|
1971
1977
|
if (e.model === result.source.model) {
|
|
1972
1978
|
resolve();
|
|
1973
1979
|
}
|
|
1974
1980
|
}));
|
|
1975
|
-
}));
|
|
1981
|
+
})));
|
|
1976
1982
|
this.createOutput(viewCell, result, 0, false);
|
|
1977
1983
|
await p;
|
|
1978
1984
|
}
|
|
@@ -1989,7 +1995,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1989
1995
|
const cells = this.viewModel.viewCells;
|
|
1990
1996
|
const requests = [];
|
|
1991
1997
|
for (let i = 0; i < cells.length; i++) {
|
|
1992
|
-
if (cells[i].cellKind === CellKind.Markup && !( this._webview.markupPreviewMapping.has(cells[i].id))) {
|
|
1998
|
+
if (cells[i].cellKind === CellKind.Markup && !( (this._webview.markupPreviewMapping.has(cells[i].id)))) {
|
|
1993
1999
|
requests.push(this.createMarkupPreview(cells[i]));
|
|
1994
2000
|
}
|
|
1995
2001
|
}
|
|
@@ -2054,24 +2060,24 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2054
2060
|
exisitingMatch.webviewMatches.push(match);
|
|
2055
2061
|
}
|
|
2056
2062
|
else {
|
|
2057
|
-
matchMap[match.cellId] = ( new CellFindMatchModel(
|
|
2063
|
+
matchMap[match.cellId] = ( (new CellFindMatchModel(
|
|
2058
2064
|
this._notebookViewModel.viewCells.find(cell => cell.id === match.cellId),
|
|
2059
2065
|
this._notebookViewModel.viewCells.findIndex(cell => cell.id === match.cellId),
|
|
2060
2066
|
[],
|
|
2061
2067
|
[match]
|
|
2062
|
-
));
|
|
2068
|
+
)));
|
|
2063
2069
|
}
|
|
2064
2070
|
});
|
|
2065
2071
|
}
|
|
2066
2072
|
const ret = [];
|
|
2067
2073
|
this._notebookViewModel.viewCells.forEach((cell, index) => {
|
|
2068
2074
|
if (matchMap[cell.id]) {
|
|
2069
|
-
ret.push(( new CellFindMatchModel(
|
|
2075
|
+
ret.push(( (new CellFindMatchModel(
|
|
2070
2076
|
cell,
|
|
2071
2077
|
index,
|
|
2072
2078
|
matchMap[cell.id].contentMatches,
|
|
2073
2079
|
matchMap[cell.id].webviewMatches
|
|
2074
|
-
)));
|
|
2080
|
+
))));
|
|
2075
2081
|
}
|
|
2076
2082
|
});
|
|
2077
2083
|
return ret;
|
|
@@ -2093,7 +2099,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2093
2099
|
}
|
|
2094
2100
|
getLayoutInfo() {
|
|
2095
2101
|
if (!this._list) {
|
|
2096
|
-
throw new Error('Editor is not initalized successfully');
|
|
2102
|
+
throw ( (new Error('Editor is not initalized successfully')));
|
|
2097
2103
|
}
|
|
2098
2104
|
if (!this._fontInfo) {
|
|
2099
2105
|
this._generateFontInfo();
|
|
@@ -2141,7 +2147,9 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2141
2147
|
cellIsHidden(cell) {
|
|
2142
2148
|
const modelIndex = this.viewModel.getCellIndex(cell);
|
|
2143
2149
|
const foldedRanges = this.viewModel.getHiddenRanges();
|
|
2144
|
-
return (
|
|
2150
|
+
return (
|
|
2151
|
+
(foldedRanges.some(range => modelIndex >= range.start && modelIndex <= range.end))
|
|
2152
|
+
);
|
|
2145
2153
|
}
|
|
2146
2154
|
async unhideMarkupPreviews(cells) {
|
|
2147
2155
|
if (!this._webview) {
|
|
@@ -2150,7 +2158,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2150
2158
|
if (!this._webview.isResolved()) {
|
|
2151
2159
|
await this._resolveWebview();
|
|
2152
2160
|
}
|
|
2153
|
-
await this._webview?.unhideMarkupPreviews(( cells.map(cell => cell.id)));
|
|
2161
|
+
await this._webview?.unhideMarkupPreviews(( (cells.map(cell => cell.id))));
|
|
2154
2162
|
}
|
|
2155
2163
|
async hideMarkupPreviews(cells) {
|
|
2156
2164
|
if (!this._webview || !cells.length) {
|
|
@@ -2159,7 +2167,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2159
2167
|
if (!this._webview.isResolved()) {
|
|
2160
2168
|
await this._resolveWebview();
|
|
2161
2169
|
}
|
|
2162
|
-
await this._webview?.hideMarkupPreviews(( cells.map(cell => cell.id)));
|
|
2170
|
+
await this._webview?.hideMarkupPreviews(( (cells.map(cell => cell.id))));
|
|
2163
2171
|
}
|
|
2164
2172
|
async deleteMarkupPreviews(cells) {
|
|
2165
2173
|
if (!this._webview) {
|
|
@@ -2168,7 +2176,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2168
2176
|
if (!this._webview.isResolved()) {
|
|
2169
2177
|
await this._resolveWebview();
|
|
2170
2178
|
}
|
|
2171
|
-
await this._webview?.deleteMarkupPreviews(( cells.map(cell => cell.id)));
|
|
2179
|
+
await this._webview?.deleteMarkupPreviews(( (cells.map(cell => cell.id))));
|
|
2172
2180
|
}
|
|
2173
2181
|
async updateSelectedMarkdownPreviews() {
|
|
2174
2182
|
if (!this._webview) {
|
|
@@ -2177,7 +2185,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2177
2185
|
if (!this._webview.isResolved()) {
|
|
2178
2186
|
await this._resolveWebview();
|
|
2179
2187
|
}
|
|
2180
|
-
const selectedCells = ( this.getSelectionViewModels().map(cell => cell.id));
|
|
2188
|
+
const selectedCells = ( (this.getSelectionViewModels().map(cell => cell.id)));
|
|
2181
2189
|
await this._webview?.updateMarkupPreviewSelections(selectedCells.length > 1 ? selectedCells : []);
|
|
2182
2190
|
}
|
|
2183
2191
|
async createOutput(cell, output, offset, createWhenIdle) {
|
|
@@ -2243,7 +2251,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2243
2251
|
if (!this._webview || !this._list.webviewElement) {
|
|
2244
2252
|
return;
|
|
2245
2253
|
}
|
|
2246
|
-
if (!( this._webview.insetMapping.has(output.source))) {
|
|
2254
|
+
if (!( (this._webview.insetMapping.has(output.source)))) {
|
|
2247
2255
|
return this.createOutput(cell, output, offset, false);
|
|
2248
2256
|
}
|
|
2249
2257
|
if (output.type === 1 ) {
|
|
@@ -2348,7 +2356,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2348
2356
|
});
|
|
2349
2357
|
this._webview.removeInsets(removedItems);
|
|
2350
2358
|
const markdownUpdateItems = [];
|
|
2351
|
-
for (const cellId of ( this._webview.markupPreviewMapping.keys())) {
|
|
2359
|
+
for (const cellId of ( (this._webview.markupPreviewMapping.keys()))) {
|
|
2352
2360
|
const cell = this.viewModel?.viewCells.find(cell => cell.id === cellId);
|
|
2353
2361
|
if (cell) {
|
|
2354
2362
|
const cellTop = this._list.getCellViewScrollTop(cell);
|
|
@@ -2379,7 +2387,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2379
2387
|
scheduleAtNextAnimationFrame(getWindow(this.getDomNode()), () => {
|
|
2380
2388
|
this._debug('ack height');
|
|
2381
2389
|
this._updateScrollHeight();
|
|
2382
|
-
this._webview?.ackHeight([...( this._pendingOutputHeightAcks.values())]);
|
|
2390
|
+
this._webview?.ackHeight([...( (this._pendingOutputHeightAcks.values()))]);
|
|
2383
2391
|
this._pendingOutputHeightAcks.clear();
|
|
2384
2392
|
}, -1);
|
|
2385
2393
|
}
|
|
@@ -2465,7 +2473,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2465
2473
|
this._webview?.dispose();
|
|
2466
2474
|
this._webview = null;
|
|
2467
2475
|
this.notebookEditorService.removeNotebookEditor(this);
|
|
2468
|
-
dispose(( this._contributions.values()));
|
|
2476
|
+
dispose(( (this._contributions.values())));
|
|
2469
2477
|
this._contributions.clear();
|
|
2470
2478
|
this._localStore.clear();
|
|
2471
2479
|
dispose(this._localCellStateListeners);
|
|
@@ -2497,25 +2505,25 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2497
2505
|
};
|
|
2498
2506
|
}
|
|
2499
2507
|
};
|
|
2500
|
-
NotebookEditorWidget = ( __decorate([
|
|
2501
|
-
( __param(2, IInstantiationService)),
|
|
2502
|
-
( __param(3, IEditorGroupsService)),
|
|
2503
|
-
( __param(4, INotebookRendererMessagingService)),
|
|
2504
|
-
( __param(5, INotebookEditorService)),
|
|
2505
|
-
( __param(6, INotebookKernelService)),
|
|
2506
|
-
( __param(7, INotebookService)),
|
|
2507
|
-
( __param(8, IConfigurationService)),
|
|
2508
|
-
( __param(9, IContextKeyService)),
|
|
2509
|
-
( __param(10, ILayoutService)),
|
|
2510
|
-
( __param(11, IContextMenuService)),
|
|
2511
|
-
( __param(12, ITelemetryService)),
|
|
2512
|
-
( __param(13, INotebookExecutionService)),
|
|
2513
|
-
( __param(14, INotebookExecutionStateService)),
|
|
2514
|
-
( __param(15, IEditorProgressService)),
|
|
2515
|
-
( __param(16, INotebookLoggingService)),
|
|
2516
|
-
( __param(17, IKeybindingService)),
|
|
2517
|
-
( __param(18, ICodeEditorService))
|
|
2518
|
-
], NotebookEditorWidget));
|
|
2508
|
+
NotebookEditorWidget = ( (__decorate([
|
|
2509
|
+
( (__param(2, IInstantiationService))),
|
|
2510
|
+
( (__param(3, IEditorGroupsService))),
|
|
2511
|
+
( (__param(4, INotebookRendererMessagingService))),
|
|
2512
|
+
( (__param(5, INotebookEditorService))),
|
|
2513
|
+
( (__param(6, INotebookKernelService))),
|
|
2514
|
+
( (__param(7, INotebookService))),
|
|
2515
|
+
( (__param(8, IConfigurationService))),
|
|
2516
|
+
( (__param(9, IContextKeyService))),
|
|
2517
|
+
( (__param(10, ILayoutService))),
|
|
2518
|
+
( (__param(11, IContextMenuService))),
|
|
2519
|
+
( (__param(12, ITelemetryService))),
|
|
2520
|
+
( (__param(13, INotebookExecutionService))),
|
|
2521
|
+
( (__param(14, INotebookExecutionStateService))),
|
|
2522
|
+
( (__param(15, IEditorProgressService))),
|
|
2523
|
+
( (__param(16, INotebookLoggingService))),
|
|
2524
|
+
( (__param(17, IKeybindingService))),
|
|
2525
|
+
( (__param(18, ICodeEditorService)))
|
|
2526
|
+
], NotebookEditorWidget)));
|
|
2519
2527
|
registerZIndex(ZIndex.Base, 5, 'notebook-progress-bar');
|
|
2520
2528
|
registerZIndex(ZIndex.Base, 10, 'notebook-list-insertion-indicator');
|
|
2521
2529
|
registerZIndex(ZIndex.Base, 20, 'notebook-cell-editor-outline');
|
|
@@ -2531,33 +2539,25 @@ registerZIndex(ZIndex.Sash, 1, 'notebook-cell-expand-part-button');
|
|
|
2531
2539
|
registerZIndex(ZIndex.Sash, 2, 'notebook-cell-toolbar');
|
|
2532
2540
|
registerZIndex(ZIndex.Sash, 3, 'notebook-cell-toolbar-dropdown-active');
|
|
2533
2541
|
const notebookCellBorder = registerColor('notebook.cellBorderColor', {
|
|
2534
|
-
dark: ( transparent(listInactiveSelectionBackground, 1)),
|
|
2535
|
-
light: ( transparent(listInactiveSelectionBackground, 1)),
|
|
2542
|
+
dark: ( (transparent(listInactiveSelectionBackground, 1))),
|
|
2543
|
+
light: ( (transparent(listInactiveSelectionBackground, 1))),
|
|
2536
2544
|
hcDark: PANEL_BORDER,
|
|
2537
2545
|
hcLight: PANEL_BORDER
|
|
2538
|
-
}, ( localizeWithPath(
|
|
2539
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2540
|
-
'notebook.cellBorderColor',
|
|
2541
|
-
"The border color for notebook cells."
|
|
2542
|
-
)));
|
|
2546
|
+
}, ( localizeWithPath(_moduleId, 0, "The border color for notebook cells.")));
|
|
2543
2547
|
registerColor('notebook.focusedEditorBorder', {
|
|
2544
2548
|
light: focusBorder,
|
|
2545
2549
|
dark: focusBorder,
|
|
2546
2550
|
hcDark: focusBorder,
|
|
2547
2551
|
hcLight: focusBorder
|
|
2548
|
-
}, ( localizeWithPath(
|
|
2549
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2550
|
-
'notebook.focusedEditorBorder',
|
|
2551
|
-
"The color of the notebook cell editor border."
|
|
2552
|
-
)));
|
|
2552
|
+
}, ( localizeWithPath(_moduleId, 1, "The color of the notebook cell editor border.")));
|
|
2553
2553
|
const cellStatusIconSuccess = registerColor('notebookStatusSuccessIcon.foreground', {
|
|
2554
2554
|
light: debugIconStartForeground,
|
|
2555
2555
|
dark: debugIconStartForeground,
|
|
2556
2556
|
hcDark: debugIconStartForeground,
|
|
2557
2557
|
hcLight: debugIconStartForeground
|
|
2558
2558
|
}, ( localizeWithPath(
|
|
2559
|
-
|
|
2560
|
-
|
|
2559
|
+
_moduleId,
|
|
2560
|
+
2,
|
|
2561
2561
|
"The error icon color of notebook cells in the cell status bar."
|
|
2562
2562
|
)));
|
|
2563
2563
|
const runningCellRulerDecorationColor = registerColor('notebookEditorOverviewRuler.runningCellForeground', {
|
|
@@ -2566,8 +2566,8 @@ const runningCellRulerDecorationColor = registerColor('notebookEditorOverviewRul
|
|
|
2566
2566
|
hcDark: debugIconStartForeground,
|
|
2567
2567
|
hcLight: debugIconStartForeground
|
|
2568
2568
|
}, ( localizeWithPath(
|
|
2569
|
-
|
|
2570
|
-
|
|
2569
|
+
_moduleId,
|
|
2570
|
+
3,
|
|
2571
2571
|
"The color of the running cell decoration in the notebook editor overview ruler."
|
|
2572
2572
|
)));
|
|
2573
2573
|
const cellStatusIconError = registerColor('notebookStatusErrorIcon.foreground', {
|
|
@@ -2576,8 +2576,8 @@ const cellStatusIconError = registerColor('notebookStatusErrorIcon.foreground',
|
|
|
2576
2576
|
hcDark: errorForeground,
|
|
2577
2577
|
hcLight: errorForeground
|
|
2578
2578
|
}, ( localizeWithPath(
|
|
2579
|
-
|
|
2580
|
-
|
|
2579
|
+
_moduleId,
|
|
2580
|
+
4,
|
|
2581
2581
|
"The error icon color of notebook cells in the cell status bar."
|
|
2582
2582
|
)));
|
|
2583
2583
|
registerColor('notebookStatusRunningIcon.foreground', {
|
|
@@ -2586,8 +2586,8 @@ registerColor('notebookStatusRunningIcon.foreground', {
|
|
|
2586
2586
|
hcDark: foreground,
|
|
2587
2587
|
hcLight: foreground
|
|
2588
2588
|
}, ( localizeWithPath(
|
|
2589
|
-
|
|
2590
|
-
|
|
2589
|
+
_moduleId,
|
|
2590
|
+
5,
|
|
2591
2591
|
"The running icon color of notebook cells in the cell status bar."
|
|
2592
2592
|
)));
|
|
2593
2593
|
registerColor('notebook.outputContainerBorderColor', {
|
|
@@ -2595,69 +2595,45 @@ registerColor('notebook.outputContainerBorderColor', {
|
|
|
2595
2595
|
light: null,
|
|
2596
2596
|
hcDark: null,
|
|
2597
2597
|
hcLight: null
|
|
2598
|
-
}, ( localizeWithPath(
|
|
2599
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2600
|
-
'notebook.outputContainerBorderColor',
|
|
2601
|
-
"The border color of the notebook output container."
|
|
2602
|
-
)));
|
|
2598
|
+
}, ( localizeWithPath(_moduleId, 6, "The border color of the notebook output container.")));
|
|
2603
2599
|
registerColor('notebook.outputContainerBackgroundColor', {
|
|
2604
2600
|
dark: null,
|
|
2605
2601
|
light: null,
|
|
2606
2602
|
hcDark: null,
|
|
2607
2603
|
hcLight: null
|
|
2608
|
-
}, ( localizeWithPath(
|
|
2609
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2610
|
-
'notebook.outputContainerBackgroundColor',
|
|
2611
|
-
"The color of the notebook output container background."
|
|
2612
|
-
)));
|
|
2604
|
+
}, ( localizeWithPath(_moduleId, 7, "The color of the notebook output container background.")));
|
|
2613
2605
|
registerColor('notebook.cellToolbarSeparator', {
|
|
2614
|
-
dark: ( ( Color.fromHex('#808080')).transparent(0.35)),
|
|
2615
|
-
light: ( ( Color.fromHex('#808080')).transparent(0.35)),
|
|
2606
|
+
dark: ( (( (Color.fromHex('#808080'))).transparent(0.35))),
|
|
2607
|
+
light: ( (( (Color.fromHex('#808080'))).transparent(0.35))),
|
|
2616
2608
|
hcDark: contrastBorder,
|
|
2617
2609
|
hcLight: contrastBorder
|
|
2618
|
-
}, ( localizeWithPath(
|
|
2619
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2620
|
-
'notebook.cellToolbarSeparator',
|
|
2621
|
-
"The color of the separator in the cell bottom toolbar"
|
|
2622
|
-
)));
|
|
2610
|
+
}, ( localizeWithPath(_moduleId, 8, "The color of the separator in the cell bottom toolbar")));
|
|
2623
2611
|
const focusedCellBackground = registerColor('notebook.focusedCellBackground', {
|
|
2624
2612
|
dark: null,
|
|
2625
2613
|
light: null,
|
|
2626
2614
|
hcDark: null,
|
|
2627
2615
|
hcLight: null
|
|
2628
|
-
}, ( localizeWithPath(
|
|
2629
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2630
|
-
'focusedCellBackground',
|
|
2631
|
-
"The background color of a cell when the cell is focused."
|
|
2632
|
-
)));
|
|
2616
|
+
}, ( localizeWithPath(_moduleId, 9, "The background color of a cell when the cell is focused.")));
|
|
2633
2617
|
registerColor('notebook.selectedCellBackground', {
|
|
2634
2618
|
dark: listInactiveSelectionBackground,
|
|
2635
2619
|
light: listInactiveSelectionBackground,
|
|
2636
2620
|
hcDark: null,
|
|
2637
2621
|
hcLight: null
|
|
2638
|
-
}, ( localizeWithPath(
|
|
2639
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2640
|
-
'selectedCellBackground',
|
|
2641
|
-
"The background color of a cell when the cell is selected."
|
|
2642
|
-
)));
|
|
2622
|
+
}, ( localizeWithPath(_moduleId, 10, "The background color of a cell when the cell is selected.")));
|
|
2643
2623
|
registerColor('notebook.cellHoverBackground', {
|
|
2644
|
-
dark: ( transparent(focusedCellBackground, .5)),
|
|
2645
|
-
light: ( transparent(focusedCellBackground, .7)),
|
|
2624
|
+
dark: ( (transparent(focusedCellBackground, .5))),
|
|
2625
|
+
light: ( (transparent(focusedCellBackground, .7))),
|
|
2646
2626
|
hcDark: null,
|
|
2647
2627
|
hcLight: null
|
|
2648
|
-
}, ( localizeWithPath(
|
|
2649
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2650
|
-
'notebook.cellHoverBackground',
|
|
2651
|
-
"The background color of a cell when the cell is hovered."
|
|
2652
|
-
)));
|
|
2628
|
+
}, ( localizeWithPath(_moduleId, 11, "The background color of a cell when the cell is hovered.")));
|
|
2653
2629
|
registerColor('notebook.selectedCellBorder', {
|
|
2654
2630
|
dark: notebookCellBorder,
|
|
2655
2631
|
light: notebookCellBorder,
|
|
2656
2632
|
hcDark: contrastBorder,
|
|
2657
2633
|
hcLight: contrastBorder
|
|
2658
2634
|
}, ( localizeWithPath(
|
|
2659
|
-
|
|
2660
|
-
|
|
2635
|
+
_moduleId,
|
|
2636
|
+
12,
|
|
2661
2637
|
"The color of the cell's top and bottom border when the cell is selected but not focused."
|
|
2662
2638
|
)));
|
|
2663
2639
|
registerColor('notebook.inactiveSelectedCellBorder', {
|
|
@@ -2666,8 +2642,8 @@ registerColor('notebook.inactiveSelectedCellBorder', {
|
|
|
2666
2642
|
hcDark: focusBorder,
|
|
2667
2643
|
hcLight: focusBorder
|
|
2668
2644
|
}, ( localizeWithPath(
|
|
2669
|
-
|
|
2670
|
-
|
|
2645
|
+
_moduleId,
|
|
2646
|
+
13,
|
|
2671
2647
|
"The color of the cell's borders when multiple cells are selected."
|
|
2672
2648
|
)));
|
|
2673
2649
|
registerColor('notebook.focusedCellBorder', {
|
|
@@ -2676,8 +2652,8 @@ registerColor('notebook.focusedCellBorder', {
|
|
|
2676
2652
|
hcDark: focusBorder,
|
|
2677
2653
|
hcLight: focusBorder
|
|
2678
2654
|
}, ( localizeWithPath(
|
|
2679
|
-
|
|
2680
|
-
|
|
2655
|
+
_moduleId,
|
|
2656
|
+
14,
|
|
2681
2657
|
"The color of the cell's focus indicator borders when the cell is focused."
|
|
2682
2658
|
)));
|
|
2683
2659
|
registerColor('notebook.inactiveFocusedCellBorder', {
|
|
@@ -2686,88 +2662,60 @@ registerColor('notebook.inactiveFocusedCellBorder', {
|
|
|
2686
2662
|
hcDark: notebookCellBorder,
|
|
2687
2663
|
hcLight: notebookCellBorder
|
|
2688
2664
|
}, ( localizeWithPath(
|
|
2689
|
-
|
|
2690
|
-
|
|
2665
|
+
_moduleId,
|
|
2666
|
+
15,
|
|
2691
2667
|
"The color of the cell's top and bottom border when a cell is focused while the primary focus is outside of the editor."
|
|
2692
2668
|
)));
|
|
2693
2669
|
registerColor('notebook.cellStatusBarItemHoverBackground', {
|
|
2694
|
-
light: ( new Color((
|
|
2695
|
-
dark: ( new Color((
|
|
2696
|
-
hcDark: ( new Color((
|
|
2697
|
-
hcLight: ( new Color((
|
|
2698
|
-
}, ( localizeWithPath(
|
|
2699
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2700
|
-
'notebook.cellStatusBarItemHoverBackground',
|
|
2701
|
-
"The background color of notebook cell status bar items."
|
|
2702
|
-
)));
|
|
2670
|
+
light: ( (new Color( (new RGBA(0, 0, 0, 0.08))))),
|
|
2671
|
+
dark: ( (new Color( (new RGBA(255, 255, 255, 0.15))))),
|
|
2672
|
+
hcDark: ( (new Color( (new RGBA(255, 255, 255, 0.15))))),
|
|
2673
|
+
hcLight: ( (new Color( (new RGBA(0, 0, 0, 0.08))))),
|
|
2674
|
+
}, ( localizeWithPath(_moduleId, 16, "The background color of notebook cell status bar items.")));
|
|
2703
2675
|
registerColor('notebook.cellInsertionIndicator', {
|
|
2704
2676
|
light: focusBorder,
|
|
2705
2677
|
dark: focusBorder,
|
|
2706
2678
|
hcDark: focusBorder,
|
|
2707
2679
|
hcLight: focusBorder
|
|
2708
|
-
}, ( localizeWithPath(
|
|
2709
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2710
|
-
'notebook.cellInsertionIndicator',
|
|
2711
|
-
"The color of the notebook cell insertion indicator."
|
|
2712
|
-
)));
|
|
2680
|
+
}, ( localizeWithPath(_moduleId, 17, "The color of the notebook cell insertion indicator.")));
|
|
2713
2681
|
registerColor('notebookScrollbarSlider.background', {
|
|
2714
2682
|
dark: scrollbarSliderBackground,
|
|
2715
2683
|
light: scrollbarSliderBackground,
|
|
2716
2684
|
hcDark: scrollbarSliderBackground,
|
|
2717
2685
|
hcLight: scrollbarSliderBackground
|
|
2718
|
-
}, ( localizeWithPath(
|
|
2719
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2720
|
-
'notebookScrollbarSliderBackground',
|
|
2721
|
-
"Notebook scrollbar slider background color."
|
|
2722
|
-
)));
|
|
2686
|
+
}, ( localizeWithPath(_moduleId, 18, "Notebook scrollbar slider background color.")));
|
|
2723
2687
|
registerColor('notebookScrollbarSlider.hoverBackground', {
|
|
2724
2688
|
dark: scrollbarSliderHoverBackground,
|
|
2725
2689
|
light: scrollbarSliderHoverBackground,
|
|
2726
2690
|
hcDark: scrollbarSliderHoverBackground,
|
|
2727
2691
|
hcLight: scrollbarSliderHoverBackground
|
|
2728
|
-
}, ( localizeWithPath(
|
|
2729
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2730
|
-
'notebookScrollbarSliderHoverBackground',
|
|
2731
|
-
"Notebook scrollbar slider background color when hovering."
|
|
2732
|
-
)));
|
|
2692
|
+
}, ( localizeWithPath(_moduleId, 19, "Notebook scrollbar slider background color when hovering.")));
|
|
2733
2693
|
registerColor('notebookScrollbarSlider.activeBackground', {
|
|
2734
2694
|
dark: scrollbarSliderActiveBackground,
|
|
2735
2695
|
light: scrollbarSliderActiveBackground,
|
|
2736
2696
|
hcDark: scrollbarSliderActiveBackground,
|
|
2737
2697
|
hcLight: scrollbarSliderActiveBackground
|
|
2738
2698
|
}, ( localizeWithPath(
|
|
2739
|
-
|
|
2740
|
-
|
|
2699
|
+
_moduleId,
|
|
2700
|
+
20,
|
|
2741
2701
|
"Notebook scrollbar slider background color when clicked on."
|
|
2742
2702
|
)));
|
|
2743
2703
|
registerColor('notebook.symbolHighlightBackground', {
|
|
2744
|
-
dark: ( Color.fromHex('#ffffff0b')),
|
|
2745
|
-
light: ( Color.fromHex('#fdff0033')),
|
|
2704
|
+
dark: ( (Color.fromHex('#ffffff0b'))),
|
|
2705
|
+
light: ( (Color.fromHex('#fdff0033'))),
|
|
2746
2706
|
hcDark: null,
|
|
2747
2707
|
hcLight: null
|
|
2748
|
-
}, ( localizeWithPath(
|
|
2749
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2750
|
-
'notebook.symbolHighlightBackground',
|
|
2751
|
-
"Background color of highlighted cell"
|
|
2752
|
-
)));
|
|
2708
|
+
}, ( localizeWithPath(_moduleId, 21, "Background color of highlighted cell")));
|
|
2753
2709
|
registerColor('notebook.cellEditorBackground', {
|
|
2754
2710
|
light: SIDE_BAR_BACKGROUND,
|
|
2755
2711
|
dark: SIDE_BAR_BACKGROUND,
|
|
2756
2712
|
hcDark: null,
|
|
2757
2713
|
hcLight: null
|
|
2758
|
-
}, ( localizeWithPath(
|
|
2759
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2760
|
-
'notebook.cellEditorBackground',
|
|
2761
|
-
"Cell editor background color."
|
|
2762
|
-
)));
|
|
2714
|
+
}, ( localizeWithPath(_moduleId, 22, "Cell editor background color.")));
|
|
2763
2715
|
const notebookEditorBackground = registerColor('notebook.editorBackground', {
|
|
2764
2716
|
light: EDITOR_PANE_BACKGROUND,
|
|
2765
2717
|
dark: EDITOR_PANE_BACKGROUND,
|
|
2766
2718
|
hcDark: null,
|
|
2767
2719
|
hcLight: null
|
|
2768
|
-
}, ( localizeWithPath(
|
|
2769
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2770
|
-
'notebook.editorBackground',
|
|
2771
|
-
"Notebook background color."
|
|
2772
|
-
)));
|
|
2720
|
+
}, ( localizeWithPath(_moduleId, 23, "Notebook background color.")));
|
|
2773
2721
|
export { NotebookEditorWidget, cellStatusIconError, cellStatusIconSuccess, focusedCellBackground, getDefaultNotebookCreationOptions, notebookCellBorder, runningCellRulerDecorationColor };
|