@codingame/monaco-vscode-api 4.5.1 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions.js +10 -2
- package/package.json +8 -8
- package/services.js +1 -0
- package/vscode/src/vs/base/browser/defaultWorkerFactory.js +4 -2
- package/vscode/src/vs/base/browser/dom.js +3 -3
- package/vscode/src/vs/base/browser/iframe.js +3 -1
- package/vscode/src/vs/base/browser/indexedDB.js +2 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +4 -9
- package/vscode/src/vs/base/browser/ui/button/button.js +16 -19
- package/vscode/src/vs/base/browser/ui/dialog/dialog.js +168 -165
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +5 -8
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +19 -18
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -15
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +13 -16
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +10 -12
- package/vscode/src/vs/base/browser/ui/hover/updatableHoverWidget.js +13 -14
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +19 -39
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +3 -2
- package/vscode/src/vs/base/browser/ui/list/listView.js +6 -6
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +7 -7
- package/vscode/src/vs/base/browser/ui/list/rowCache.js +2 -2
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +24 -23
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +1 -1
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +12 -15
- package/vscode/src/vs/base/browser/ui/splitview/paneview.js +25 -25
- package/vscode/src/vs/base/browser/ui/splitview/splitview.js +10 -10
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +11 -10
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +177 -152
- package/vscode/src/vs/base/browser/ui/tree/asyncDataTree.js +7 -7
- package/vscode/src/vs/base/browser/ui/tree/compressedObjectTreeModel.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/dataTree.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +6 -6
- package/vscode/src/vs/base/browser/ui/tree/objectTree.js +1 -1
- package/vscode/src/vs/base/browser/ui/tree/objectTreeModel.js +4 -4
- package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +2 -1
- package/vscode/src/vs/base/common/actions.js +6 -5
- package/vscode/src/vs/base/common/arrays.js +2 -2
- package/vscode/src/vs/base/common/arraysFind.js +3 -1
- package/vscode/src/vs/base/common/assert.js +2 -2
- package/vscode/src/vs/base/common/async.js +3 -3
- package/vscode/src/vs/base/common/buffer.js +2 -2
- package/vscode/src/vs/base/common/codiconsUtil.js +1 -1
- package/vscode/src/vs/base/common/color.js +2 -2
- package/vscode/src/vs/base/common/date.js +70 -284
- package/vscode/src/vs/base/common/decorators.js +2 -2
- package/vscode/src/vs/base/common/diff/diff.js +1 -1
- package/vscode/src/vs/base/common/errorMessage.js +12 -22
- package/vscode/src/vs/base/common/errors.js +2 -2
- package/vscode/src/vs/base/common/event.js +2 -2
- package/vscode/src/vs/base/common/extpath.js +1 -1
- package/vscode/src/vs/base/common/filters.js +1 -1
- package/vscode/src/vs/base/common/history.js +1 -1
- package/vscode/src/vs/base/common/jsonEdit.js +6 -4
- package/vscode/src/vs/base/common/jsonErrorMessages.js +10 -45
- package/vscode/src/vs/base/common/keyCodes.js +3 -1
- package/vscode/src/vs/base/common/keybindingLabels.js +29 -108
- package/vscode/src/vs/base/common/labels.js +2 -2
- package/vscode/src/vs/base/common/lifecycle.js +5 -5
- package/vscode/src/vs/base/common/map.js +11 -11
- package/vscode/src/vs/base/common/objects.js +1 -1
- package/vscode/src/vs/base/common/path.js +2 -2
- package/vscode/src/vs/base/common/platform.js +7 -26
- package/vscode/src/vs/base/common/stream.js +1 -1
- package/vscode/src/vs/base/common/strings.js +2 -2
- package/vscode/src/vs/base/common/ternarySearchTree.js +3 -3
- package/vscode/src/vs/base/common/types.js +7 -5
- package/vscode/src/vs/base/common/uri.js +11 -5
- package/vscode/src/vs/base/common/worker/simpleWorker.js +7 -7
- package/vscode/src/vs/base/parts/ipc/common/ipc.net.js +1 -1
- package/vscode/src/vs/editor/browser/config/editorConfiguration.js +1 -1
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +47 -42
- package/vscode/src/vs/editor/browser/coreCommands.js +104 -115
- package/vscode/src/vs/editor/browser/editorExtensions.js +24 -35
- package/vscode/src/vs/editor/browser/services/abstractCodeEditorService.js +2 -2
- package/vscode/src/vs/editor/browser/services/bulkEditService.js +1 -1
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +1 -1
- package/vscode/src/vs/editor/browser/services/hoverService/hoverWidget.js +18 -22
- package/vscode/src/vs/editor/browser/services/openerService.js +1 -1
- package/vscode/src/vs/editor/browser/view/viewLayer.js +1 -1
- package/vscode/src/vs/editor/browser/view.js +6 -6
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimapCharRendererFactory.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorContributions.js +1 -1
- package/vscode/src/vs/editor/browser/widget/codeEditor/codeEditorWidget.js +129 -128
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +25 -68
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +66 -99
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +10 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/inlineDiffDeletedCodeMargin.js +15 -34
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +25 -41
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffProviderFactoryService.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +27 -51
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +40 -31
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +13 -20
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +8 -19
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/colors.js +4 -15
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/multiDiffEditorWidgetImpl.js +1 -1
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +83 -154
- package/vscode/src/vs/editor/common/config/editorOptions.js +863 -1427
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +110 -253
- package/vscode/src/vs/editor/common/core/lineRange.js +4 -2
- package/vscode/src/vs/editor/common/core/offsetRange.js +3 -3
- package/vscode/src/vs/editor/common/core/textEdit.js +1 -1
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm.js +1 -1
- package/vscode/src/vs/editor/common/diff/legacyLinesDiffComputer.js +1 -1
- package/vscode/src/vs/editor/common/editorContextKeys.js +80 -239
- package/vscode/src/vs/editor/common/languages/modesRegistry.js +5 -8
- package/vscode/src/vs/editor/common/languages/supports/tokenization.js +2 -2
- package/vscode/src/vs/editor/common/languages.js +68 -71
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/ast.js +12 -12
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/concat23Trees.js +2 -2
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/nodeReader.js +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/parser.js +2 -2
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/tokenizer.js +1 -1
- package/vscode/src/vs/editor/common/model/editStack.js +47 -36
- package/vscode/src/vs/editor/common/model/guidesTextModelPart.js +3 -3
- package/vscode/src/vs/editor/common/model/pieceTreeTextBuffer/pieceTreeTextBuffer.js +2 -2
- package/vscode/src/vs/editor/common/model/textModel.js +9 -9
- package/vscode/src/vs/editor/common/model/textModelPart.js +1 -1
- package/vscode/src/vs/editor/common/model/textModelTokens.js +2 -2
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +1 -1
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +2 -2
- package/vscode/src/vs/editor/common/services/modelService.js +1 -1
- package/vscode/src/vs/editor/common/standaloneStrings.js +56 -115
- package/vscode/src/vs/editor/common/textModelGuides.js +1 -1
- package/vscode/src/vs/editor/common/tokens/contiguousMultilineTokens.js +2 -2
- package/vscode/src/vs/editor/common/tokens/sparseMultilineTokens.js +1 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLineRenderer.js +79 -67
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +12 -12
- package/vscode/src/vs/editor/contrib/anchorSelect/browser/anchorSelect.js +12 -31
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +25 -40
- package/vscode/src/vs/editor/contrib/caretOperations/browser/caretOperations.js +4 -11
- package/vscode/src/vs/editor/contrib/caretOperations/browser/transpose.js +3 -6
- package/vscode/src/vs/editor/contrib/clipboard/browser/clipboard.js +28 -76
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +36 -25
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +54 -143
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionContributions.js +8 -7
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +30 -37
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +25 -54
- package/vscode/src/vs/editor/contrib/codeAction/browser/lightBulbWidget.js +15 -28
- package/vscode/src/vs/editor/contrib/codelens/browser/codeLensCache.js +1 -1
- package/vscode/src/vs/editor/contrib/codelens/browser/codelensController.js +30 -37
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +24 -31
- package/vscode/src/vs/editor/contrib/colorPicker/browser/standaloneColorPickerActions.js +7 -24
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +11 -34
- package/vscode/src/vs/editor/contrib/contextmenu/browser/contextmenu.js +37 -70
- package/vscode/src/vs/editor/contrib/cursorUndo/browser/cursorUndo.js +15 -14
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +6 -13
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +33 -50
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +37 -68
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +4 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +20 -27
- package/vscode/src/vs/editor/contrib/editorState/browser/keybindingCancellation.js +8 -7
- package/vscode/src/vs/editor/contrib/find/browser/findController.js +83 -120
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +59 -143
- package/vscode/src/vs/editor/contrib/folding/browser/folding.js +51 -117
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +13 -32
- package/vscode/src/vs/editor/contrib/folding/browser/foldingRanges.js +2 -2
- package/vscode/src/vs/editor/contrib/fontZoom/browser/fontZoom.js +4 -15
- package/vscode/src/vs/editor/contrib/format/browser/formatActions.js +28 -35
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoError.js +21 -52
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +38 -77
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +109 -246
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/link/goToDefinitionAtPosition.js +21 -23
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesController.js +40 -30
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +23 -34
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +31 -42
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/referencesModel.js +33 -39
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/symbolNavigation.js +24 -23
- package/vscode/src/vs/editor/contrib/hover/browser/hover.js +31 -95
- package/vscode/src/vs/editor/contrib/hover/browser/markdownHoverParticipant.js +41 -32
- package/vscode/src/vs/editor/contrib/hover/browser/markerHoverParticipant.js +18 -37
- package/vscode/src/vs/editor/contrib/inPlaceReplace/browser/inPlaceReplace.js +11 -18
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +29 -76
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHints.js +1 -1
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsHover.js +80 -99
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +30 -63
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +45 -42
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +11 -18
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +28 -23
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +39 -60
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +3 -1
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +2 -5
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +135 -234
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +26 -33
- package/vscode/src/vs/editor/contrib/links/browser/links.js +32 -64
- package/vscode/src/vs/editor/contrib/message/browser/messageController.js +13 -16
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +122 -195
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHints.js +17 -20
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +16 -32
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +43 -86
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoLineQuickAccess.js +10 -24
- package/vscode/src/vs/editor/contrib/quickAccess/browser/gotoSymbolQuickAccess.js +46 -170
- package/vscode/src/vs/editor/contrib/readOnlyMessage/browser/contribution.js +3 -10
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +54 -76
- package/vscode/src/vs/editor/contrib/rename/browser/renameWidget.js +37 -45
- package/vscode/src/vs/editor/contrib/smartSelect/browser/smartSelect.js +73 -86
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetController2.js +23 -38
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetSession.js +1 -1
- package/vscode/src/vs/editor/contrib/snippet/browser/snippetVariables.js +13 -80
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollActions.js +20 -56
- package/vscode/src/vs/editor/contrib/suggest/browser/suggest.js +55 -72
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestController.js +161 -147
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +43 -95
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetDetails.js +21 -28
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetRenderer.js +16 -23
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidgetStatus.js +11 -10
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +67 -66
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +6 -13
- package/vscode/src/vs/editor/contrib/tokenization/browser/tokenization.js +3 -6
- package/vscode/src/vs/editor/contrib/unicodeHighlighter/browser/unicodeHighlighter.js +72 -136
- package/vscode/src/vs/editor/contrib/unusualLineTerminators/browser/unusualLineTerminators.js +11 -26
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +19 -22
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +66 -59
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +72 -51
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +3 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +7 -7
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +2 -2
- package/vscode/src/vs/nls.js +1 -4
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +88 -255
- package/vscode/src/vs/platform/action/common/actionCommonCategories.js +9 -16
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +21 -41
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +18 -45
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +19 -24
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +40 -51
- package/vscode/src/vs/platform/actions/browser/toolbar.js +24 -23
- package/vscode/src/vs/platform/actions/common/actions.contribution.js +5 -0
- package/vscode/src/vs/platform/actions/common/actions.js +4 -2
- package/vscode/src/vs/platform/actions/common/menuResetAction.js +21 -0
- package/vscode/src/vs/platform/actions/common/menuService.js +49 -51
- package/vscode/src/vs/platform/commands/common/commands.js +2 -2
- package/vscode/src/vs/platform/configuration/common/configurationModels.js +1 -1
- package/vscode/src/vs/platform/configuration/common/configurationRegistry.js +38 -61
- package/vscode/src/vs/platform/contextkey/browser/contextKeyService.js +68 -51
- package/vscode/src/vs/platform/contextkey/common/contextkey.js +168 -130
- package/vscode/src/vs/platform/contextkey/common/contextkeys.js +14 -45
- package/vscode/src/vs/platform/contextkey/common/scanner.js +12 -26
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +18 -33
- package/vscode/src/vs/platform/dnd/browser/dnd.js +24 -19
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +8 -15
- package/vscode/src/vs/platform/extensionManagement/common/extensionNls.js +2 -6
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +335 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +915 -0
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +36 -43
- package/vscode/src/vs/platform/files/browser/htmlFileSystemProvider.js +23 -16
- 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/instantiation/common/instantiation.js +1 -1
- package/vscode/src/vs/platform/instantiation/common/instantiationService.js +7 -7
- package/vscode/src/vs/platform/keybinding/common/abstractKeybindingService.js +21 -20
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +75 -6
- package/vscode/src/vs/platform/layout/browser/zIndexRegistry.js +4 -2
- package/vscode/src/vs/platform/list/browser/listService.js +159 -189
- package/vscode/src/vs/platform/log/common/log.js +20 -19
- package/vscode/src/vs/platform/markers/common/markerService.js +1 -1
- package/vscode/src/vs/platform/markers/common/markers.js +15 -14
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +34 -47
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +183 -193
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +107 -98
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +9 -8
- package/vscode/src/vs/platform/quickinput/browser/quickPickPin.js +5 -12
- package/vscode/src/vs/platform/request/common/request.js +31 -40
- package/vscode/src/vs/platform/terminal/common/terminal.js +3 -1
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +28 -59
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +9 -40
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +151 -350
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +51 -170
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +63 -90
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +8 -35
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +14 -53
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +13 -32
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +14 -37
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +6 -13
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +9 -24
- package/vscode/src/vs/platform/theme/common/tokenClassificationRegistry.js +64 -207
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +111 -114
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfile.js +51 -54
- package/vscode/src/vs/platform/userDataSync/common/abstractSynchronizer.js +20 -5
- package/vscode/src/vs/platform/userDataSync/common/userDataSync.js +25 -32
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncMachines.js +7 -1
- package/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.js +173 -35
- package/vscode/src/vs/platform/workspace/common/workspace.js +8 -9
- package/vscode/src/vs/platform/workspaces/common/workspaces.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostAiRelatedInformation.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostApiCommands.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +55 -46
- package/vscode/src/vs/workbench/api/common/extHostCodeInsets.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostCommands.js +9 -5
- package/vscode/src/vs/workbench/api/common/extHostConfiguration.js +10 -4
- package/vscode/src/vs/workbench/api/common/extHostCustomEditors.js +17 -15
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +40 -24
- package/vscode/src/vs/workbench/api/common/extHostDiagnostics.js +37 -34
- package/vscode/src/vs/workbench/api/common/extHostDocumentContentProviders.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostDocumentData.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostDocuments.js +5 -5
- package/vscode/src/vs/workbench/api/common/extHostDocumentsAndEditors.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +12 -8
- package/vscode/src/vs/workbench/api/common/extHostEmbeddingVector.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +22 -7
- package/vscode/src/vs/workbench/api/common/extHostFileSystem.js +16 -16
- package/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostIssueReporter.js +9 -9
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +272 -200
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +49 -42
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostLogService.js +6 -13
- package/vscode/src/vs/workbench/api/common/extHostManagedSockets.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebook.js +20 -14
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocumentSaveParticipant.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +20 -18
- package/vscode/src/vs/workbench/api/common/extHostNotebookRenderers.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostOutput.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostProfileContentHandler.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +4 -2
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +8 -6
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +41 -38
- package/vscode/src/vs/workbench/api/common/extHostTask.js +15 -11
- package/vscode/src/vs/workbench/api/common/extHostTelemetry.js +22 -21
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +109 -94
- package/vscode/src/vs/workbench/api/common/extHostTestItem.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +9 -7
- package/vscode/src/vs/workbench/api/common/extHostTestingPrivateApi.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTextEditor.js +6 -6
- package/vscode/src/vs/workbench/api/common/extHostTextEditors.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTreeViews.js +17 -10
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +31 -36
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +11 -11
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +31 -27
- package/vscode/src/vs/workbench/api/common/extHostUriOpener.js +6 -4
- package/vscode/src/vs/workbench/api/common/extHostUrls.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebview.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebviewMessaging.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostWebviewPanels.js +3 -3
- package/vscode/src/vs/workbench/api/common/extHostWebviewView.js +4 -4
- package/vscode/src/vs/workbench/api/common/extHostWorkspace.js +51 -48
- package/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.js +29 -44
- package/vscode/src/vs/workbench/api/worker/extHostExtensionService.js +3 -3
- package/vscode/src/vs/workbench/api/worker/extensionHostWorker.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +93 -157
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +270 -614
- package/vscode/src/vs/workbench/browser/actions/textInputActions.js +31 -30
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +49 -123
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +63 -119
- package/vscode/src/vs/workbench/browser/actions/workspaceCommands.js +11 -26
- package/vscode/src/vs/workbench/browser/editor.js +62 -55
- package/vscode/src/vs/workbench/browser/labels.js +40 -51
- package/vscode/src/vs/workbench/browser/part.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +23 -56
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +72 -115
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +12 -17
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +11 -18
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.js +51 -198
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +60 -101
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +51 -48
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +10 -33
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +176 -684
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +51 -104
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +61 -91
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +26 -77
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +19 -27
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +41 -60
- package/vscode/src/vs/workbench/browser/parts/editor/editorQuickAccess.js +86 -94
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +124 -353
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +21 -30
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +45 -48
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +34 -31
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +2 -5
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +27 -24
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +21 -18
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +117 -135
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsActions.js +42 -109
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsAlerts.js +11 -10
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +25 -52
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCommands.js +24 -59
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsList.js +22 -30
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsStatus.js +21 -61
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +23 -25
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +32 -50
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +58 -196
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +73 -124
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +19 -30
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +6 -5
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +152 -141
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -16
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +62 -72
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +68 -85
- package/vscode/src/vs/workbench/browser/quickaccess.js +12 -12
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +381 -589
- package/vscode/src/vs/workbench/common/configuration.js +33 -52
- package/vscode/src/vs/workbench/common/contextkeys.js +117 -348
- package/vscode/src/vs/workbench/common/contributions.js +9 -3
- package/vscode/src/vs/workbench/common/editor/diffEditorInput.js +14 -15
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +18 -15
- package/vscode/src/vs/workbench/common/editor/textEditorModel.js +14 -11
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +1 -1
- package/vscode/src/vs/workbench/common/editor.js +31 -36
- package/vscode/src/vs/workbench/common/theme.js +359 -406
- package/vscode/src/vs/workbench/common/views.js +36 -35
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +221 -488
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +4 -22
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleViewActions.js +37 -52
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +56 -127
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +18 -41
- package/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +55 -54
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +27 -71
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +13 -18
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +13 -45
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +2 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +21 -37
- package/vscode/src/vs/workbench/contrib/chat/browser/chatEditorInput.js +17 -22
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +8 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +40 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +83 -138
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +2 -2
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +31 -52
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +20 -19
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +6 -6
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +7 -30
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +29 -64
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +14 -8
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +33 -40
- package/vscode/src/vs/workbench/contrib/codeActions/common/codeActionsExtensionPoint.js +24 -61
- package/vscode/src/vs/workbench/contrib/codeActions/common/documentationExtensionPoint.js +11 -34
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +22 -38
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +23 -34
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +23 -67
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/largeFileOptimizations.js +14 -17
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +25 -45
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +47 -55
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +13 -28
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +4 -11
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +29 -41
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +14 -37
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -14
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +82 -88
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +19 -22
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +17 -16
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadHeader.js +9 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +15 -18
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsAccessibility.js +33 -64
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +108 -124
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +16 -19
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +43 -79
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +46 -61
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +16 -51
- package/vscode/src/vs/workbench/contrib/comments/browser/reactionsAction.js +30 -44
- package/vscode/src/vs/workbench/contrib/comments/common/commentContextKeys.js +24 -51
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +22 -17
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +18 -21
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +84 -242
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +33 -74
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +220 -412
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +14 -13
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +20 -67
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +62 -273
- package/vscode/src/vs/workbench/contrib/debug/common/abstractDebugAdapter.js +12 -17
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +227 -290
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +147 -141
- package/vscode/src/vs/workbench/contrib/debug/common/debugSource.js +13 -14
- package/vscode/src/vs/workbench/contrib/debug/common/disassemblyViewInput.js +4 -11
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +25 -22
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +617 -1086
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsIcons.js +42 -69
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsFileTemplate.js +10 -13
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +9 -15
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.js +32 -29
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/configuration.js +9 -12
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpenerService.js +26 -35
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +38 -49
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +60 -107
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +71 -100
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +161 -373
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.save.js +10 -13
- package/vscode/src/vs/workbench/contrib/files/browser/fileConstants.js +11 -22
- package/vscode/src/vs/workbench/contrib/files/browser/fileImportExport.js +151 -244
- package/vscode/src/vs/workbench/contrib/files/browser/files.configuration.contribution.js +105 -156
- package/vscode/src/vs/workbench/contrib/files/browser/files.editorPane.contribution.js +10 -17
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +18 -21
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +14 -25
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +52 -72
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +122 -155
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +55 -78
- package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +22 -25
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +8 -16
- package/vscode/src/vs/workbench/contrib/files/common/files.js +61 -84
- package/vscode/src/vs/workbench/contrib/folding/browser/folding.contribution.js +11 -14
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsMultiple.js +58 -106
- package/vscode/src/vs/workbench/contrib/format/browser/formatActionsNone.js +9 -22
- package/vscode/src/vs/workbench/contrib/format/browser/formatModified.js +6 -9
- package/vscode/src/vs/workbench/contrib/inlayHints/browser/inlayHintsAccessibilty.js +15 -26
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +122 -171
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +53 -78
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +19 -30
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +7 -7
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +46 -67
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +56 -65
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +7 -10
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +3 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +78 -165
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +14 -18
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +74 -145
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/diffComputer.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/lineRange.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mapping.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +64 -53
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/modifiedBaseRange.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +3 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +1 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/common/mergeEditor.js +19 -50
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +2 -5
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +58 -55
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffSourceResolverService.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +97 -157
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +40 -60
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +57 -120
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindWidget.js +19 -35
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOperations.js +36 -43
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/cellOutputActions.js +2 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +11 -18
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +50 -63
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +12 -27
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +90 -152
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/foldingController.js +8 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +18 -45
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +6 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +58 -49
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +155 -210
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookIcons.js +28 -135
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellEditorOptions.js +17 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellOutput.js +63 -82
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCell.js +16 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellExecutionIcon.js +8 -23
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +11 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/collapsedCellOutput.js +8 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +12 -20
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +20 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +89 -100
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +66 -73
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +10 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +48 -101
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +15 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookViewZones.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +21 -23
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +6 -6
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +32 -44
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesIcons.js +16 -51
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +52 -91
- package/vscode/src/vs/workbench/contrib/preferences/browser/settingsLayout.js +52 -231
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +34 -105
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +128 -156
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +19 -82
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +250 -445
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +9 -16
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +123 -180
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsBase.js +2 -5
- package/vscode/src/vs/workbench/contrib/search/browser/searchActionsFind.js +21 -62
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/search/common/cellSearchModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/abstractSnippetsActions.js +2 -5
- package/vscode/src/vs/workbench/contrib/snippets/browser/commands/fileTemplateSnippets.js +3 -10
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetCompletionProvider.js +18 -17
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsFile.js +18 -24
- package/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.js +71 -70
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +35 -146
- package/vscode/src/vs/workbench/contrib/tasks/common/taskDefinitionRegistry.js +18 -23
- package/vscode/src/vs/workbench/contrib/tasks/common/taskService.js +19 -23
- package/vscode/src/vs/workbench/contrib/tasks/common/tasks.js +134 -123
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +19 -26
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +10 -29
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +42 -78
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalContextKey.js +106 -138
- package/vscode/src/vs/workbench/contrib/testing/common/testId.js +1 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testItemCollection.js +5 -5
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +36 -31
- package/vscode/src/vs/workbench/contrib/webview/browser/webview.contribution.js +4 -11
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -23
- package/vscode/src/vs/workbench/contrib/workspace/common/workspace.js +6 -9
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +18 -8
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverSchema.js +23 -62
- package/vscode/src/vs/workbench/services/configurationResolver/common/configurationResolverUtils.js +3 -2
- package/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.js +99 -18
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.js +9 -8
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionFeatures.js +1 -1
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +3 -6
- package/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.js +40 -57
- package/vscode/src/vs/workbench/services/extensions/common/extensionDescriptionRegistry.js +1 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensions.js +6 -2
- 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 +55 -119
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +1 -1
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorInput.js +6 -13
- package/vscode/src/vs/workbench/services/preferences/browser/keybindingsEditorModel.js +33 -60
- package/vscode/src/vs/workbench/services/preferences/common/preferencesEditorInput.js +8 -15
- package/vscode/src/vs/workbench/services/preferences/common/preferencesModels.js +79 -72
- package/vscode/src/vs/workbench/services/preferences/common/preferencesValidation.js +54 -141
- package/vscode/src/vs/workbench/services/remote/common/remoteExplorerService.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/userDataProfile/common/userDataProfile.js +14 -23
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +2 -5
- package/vscode/src/vs/workbench/services/userDataSync/common/userDataSync.js +22 -62
- package/vscode/src/vs/workbench/services/views/browser/viewsService.js +49 -78
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +48 -87
- package/tools/l10n.js +0 -177
|
@@ -95,6 +95,7 @@ import { PixelRatio } from '../../../../base/browser/pixelRatio.js';
|
|
|
95
95
|
import { ICodeEditorService } from '../../../../editor/browser/services/codeEditorService.js';
|
|
96
96
|
import { PreventDefaultContextMenuItemsContextKeyName } from '../../webview/browser/webview.contribution.js';
|
|
97
97
|
import { NotebookAccessibilityProvider } from './notebookAccessibilityProvider.js';
|
|
98
|
+
const _moduleId = "vs/workbench/contrib/notebook/browser/notebookEditorWidget";
|
|
98
99
|
const $ = $$1;
|
|
99
100
|
function getDefaultNotebookCreationOptions() {
|
|
100
101
|
const skipContributions = [
|
|
@@ -174,49 +175,49 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
174
175
|
this.editorProgressService = editorProgressService;
|
|
175
176
|
this.logService = logService;
|
|
176
177
|
this.keybindingService = keybindingService;
|
|
177
|
-
this._onDidChangeCellState = this._register(( new Emitter()));
|
|
178
|
+
this._onDidChangeCellState = this._register(( (new Emitter())));
|
|
178
179
|
this.onDidChangeCellState = this._onDidChangeCellState.event;
|
|
179
|
-
this._onDidChangeViewCells = this._register(( new Emitter()));
|
|
180
|
+
this._onDidChangeViewCells = this._register(( (new Emitter())));
|
|
180
181
|
this.onDidChangeViewCells = this._onDidChangeViewCells.event;
|
|
181
|
-
this._onWillChangeModel = this._register(( new Emitter()));
|
|
182
|
+
this._onWillChangeModel = this._register(( (new Emitter())));
|
|
182
183
|
this.onWillChangeModel = this._onWillChangeModel.event;
|
|
183
|
-
this._onDidChangeModel = this._register(( new Emitter()));
|
|
184
|
+
this._onDidChangeModel = this._register(( (new Emitter())));
|
|
184
185
|
this.onDidChangeModel = this._onDidChangeModel.event;
|
|
185
|
-
this._onDidAttachViewModel = this._register(( new Emitter()));
|
|
186
|
+
this._onDidAttachViewModel = this._register(( (new Emitter())));
|
|
186
187
|
this.onDidAttachViewModel = this._onDidAttachViewModel.event;
|
|
187
|
-
this._onDidChangeOptions = this._register(( new Emitter()));
|
|
188
|
+
this._onDidChangeOptions = this._register(( (new Emitter())));
|
|
188
189
|
this.onDidChangeOptions = this._onDidChangeOptions.event;
|
|
189
|
-
this._onDidChangeDecorations = this._register(( new Emitter()));
|
|
190
|
+
this._onDidChangeDecorations = this._register(( (new Emitter())));
|
|
190
191
|
this.onDidChangeDecorations = this._onDidChangeDecorations.event;
|
|
191
|
-
this._onDidScroll = this._register(( new Emitter()));
|
|
192
|
+
this._onDidScroll = this._register(( (new Emitter())));
|
|
192
193
|
this.onDidScroll = this._onDidScroll.event;
|
|
193
|
-
this._onDidChangeActiveCell = this._register(( new Emitter()));
|
|
194
|
+
this._onDidChangeActiveCell = this._register(( (new Emitter())));
|
|
194
195
|
this.onDidChangeActiveCell = this._onDidChangeActiveCell.event;
|
|
195
|
-
this._onDidChangeFocus = this._register(( new Emitter()));
|
|
196
|
+
this._onDidChangeFocus = this._register(( (new Emitter())));
|
|
196
197
|
this.onDidChangeFocus = this._onDidChangeFocus.event;
|
|
197
|
-
this._onDidChangeSelection = this._register(( new Emitter()));
|
|
198
|
+
this._onDidChangeSelection = this._register(( (new Emitter())));
|
|
198
199
|
this.onDidChangeSelection = this._onDidChangeSelection.event;
|
|
199
|
-
this._onDidChangeVisibleRanges = this._register(( new Emitter()));
|
|
200
|
+
this._onDidChangeVisibleRanges = this._register(( (new Emitter())));
|
|
200
201
|
this.onDidChangeVisibleRanges = this._onDidChangeVisibleRanges.event;
|
|
201
|
-
this._onDidFocusEmitter = this._register(( new Emitter()));
|
|
202
|
+
this._onDidFocusEmitter = this._register(( (new Emitter())));
|
|
202
203
|
this.onDidFocusWidget = this._onDidFocusEmitter.event;
|
|
203
|
-
this._onDidBlurEmitter = this._register(( new Emitter()));
|
|
204
|
+
this._onDidBlurEmitter = this._register(( (new Emitter())));
|
|
204
205
|
this.onDidBlurWidget = this._onDidBlurEmitter.event;
|
|
205
|
-
this._onDidChangeActiveEditor = this._register(( new Emitter()));
|
|
206
|
+
this._onDidChangeActiveEditor = this._register(( (new Emitter())));
|
|
206
207
|
this.onDidChangeActiveEditor = this._onDidChangeActiveEditor.event;
|
|
207
|
-
this._onDidChangeActiveKernel = this._register(( new Emitter()));
|
|
208
|
+
this._onDidChangeActiveKernel = this._register(( (new Emitter())));
|
|
208
209
|
this.onDidChangeActiveKernel = this._onDidChangeActiveKernel.event;
|
|
209
|
-
this._onMouseUp = this._register(( new Emitter()));
|
|
210
|
+
this._onMouseUp = this._register(( (new Emitter())));
|
|
210
211
|
this.onMouseUp = this._onMouseUp.event;
|
|
211
|
-
this._onMouseDown = this._register(( new Emitter()));
|
|
212
|
+
this._onMouseDown = this._register(( (new Emitter())));
|
|
212
213
|
this.onMouseDown = this._onMouseDown.event;
|
|
213
|
-
this._onDidReceiveMessage = this._register(( new Emitter()));
|
|
214
|
+
this._onDidReceiveMessage = this._register(( (new Emitter())));
|
|
214
215
|
this.onDidReceiveMessage = this._onDidReceiveMessage.event;
|
|
215
|
-
this._onDidRenderOutput = this._register(( new Emitter()));
|
|
216
|
+
this._onDidRenderOutput = this._register(( (new Emitter())));
|
|
216
217
|
this.onDidRenderOutput = this._onDidRenderOutput.event;
|
|
217
|
-
this._onDidRemoveOutput = this._register(( new Emitter()));
|
|
218
|
+
this._onDidRemoveOutput = this._register(( (new Emitter())));
|
|
218
219
|
this.onDidRemoveOutput = this._onDidRemoveOutput.event;
|
|
219
|
-
this._onDidResizeOutputEmitter = this._register(( new Emitter()));
|
|
220
|
+
this._onDidResizeOutputEmitter = this._register(( (new Emitter())));
|
|
220
221
|
this.onDidResizeOutput = this._onDidResizeOutputEmitter.event;
|
|
221
222
|
this._webview = null;
|
|
222
223
|
this._webviewResolvePromise = null;
|
|
@@ -224,46 +225,46 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
224
225
|
this._listDelegate = null;
|
|
225
226
|
this._dndController = null;
|
|
226
227
|
this._listTopCellToolbar = null;
|
|
227
|
-
this._renderedEditors = ( new Map());
|
|
228
|
-
this._localStore = this._register(( new DisposableStore()));
|
|
228
|
+
this._renderedEditors = ( (new Map()));
|
|
229
|
+
this._localStore = this._register(( (new DisposableStore())));
|
|
229
230
|
this._localCellStateListeners = [];
|
|
230
231
|
this._shadowElementViewInfo = null;
|
|
231
|
-
this._contributions = ( new Map());
|
|
232
|
-
this._insetModifyQueueByOutputId = ( new SequencerByKey());
|
|
232
|
+
this._contributions = ( (new Map()));
|
|
233
|
+
this._insetModifyQueueByOutputId = ( (new SequencerByKey()));
|
|
233
234
|
this._cellContextKeyManager = null;
|
|
234
235
|
this._uuid = generateUuid();
|
|
235
236
|
this._webviewFocused = false;
|
|
236
237
|
this._isVisible = false;
|
|
237
238
|
this._isDisposed = false;
|
|
238
|
-
this._baseCellEditorOptions = ( new Map());
|
|
239
|
+
this._baseCellEditorOptions = ( (new Map()));
|
|
239
240
|
this._debugFlag = false;
|
|
240
241
|
this._backgroundMarkdownRenderRunning = false;
|
|
241
242
|
this._lastCellWithEditorFocus = null;
|
|
242
|
-
this._pendingLayouts = ( new WeakMap());
|
|
243
|
-
this._pendingOutputHeightAcks = ( new Map());
|
|
243
|
+
this._pendingLayouts = ( (new WeakMap()));
|
|
244
|
+
this._pendingOutputHeightAcks = ( (new Map()));
|
|
244
245
|
this._dimension = dimension;
|
|
245
246
|
this.isEmbedded = creationOptions.isEmbedded ?? false;
|
|
246
247
|
this._readOnly = creationOptions.isReadOnly ?? false;
|
|
247
|
-
this._notebookOptions = creationOptions.options ?? ( new NotebookOptions(
|
|
248
|
+
this._notebookOptions = creationOptions.options ?? ( (new NotebookOptions(
|
|
248
249
|
this.creationOptions?.codeWindow ?? mainWindow,
|
|
249
250
|
this.configurationService,
|
|
250
251
|
notebookExecutionStateService,
|
|
251
252
|
codeEditorService,
|
|
252
253
|
this._readOnly
|
|
253
|
-
));
|
|
254
|
+
)));
|
|
254
255
|
this._register(this._notebookOptions);
|
|
255
|
-
const eventDispatcher = this._register(( new NotebookEventDispatcher()));
|
|
256
|
-
this._viewContext = ( new ViewContext(
|
|
256
|
+
const eventDispatcher = this._register(( (new NotebookEventDispatcher())));
|
|
257
|
+
this._viewContext = ( (new ViewContext(
|
|
257
258
|
this._notebookOptions,
|
|
258
259
|
eventDispatcher,
|
|
259
260
|
language => this.getBaseCellEditorOptions(language)
|
|
260
|
-
));
|
|
261
|
+
)));
|
|
261
262
|
this._register(this._viewContext.eventDispatcher.onDidChangeCellState(e => {
|
|
262
263
|
this._onDidChangeCellState.fire(e);
|
|
263
264
|
}));
|
|
264
265
|
this._overlayContainer = document.createElement('div');
|
|
265
266
|
this.scopedContextKeyService = this._register(contextKeyService.createScoped(this._overlayContainer));
|
|
266
|
-
this.instantiationService = instantiationService.createChild(( new ServiceCollection([IContextKeyService, this.scopedContextKeyService])));
|
|
267
|
+
this.instantiationService = instantiationService.createChild(( (new ServiceCollection([IContextKeyService, this.scopedContextKeyService]))));
|
|
267
268
|
this._register(_notebookService.onDidChangeOutputRenderers(() => {
|
|
268
269
|
this._updateOutputRenderers();
|
|
269
270
|
}));
|
|
@@ -340,7 +341,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
340
341
|
this._outputInputFocus = NOTEBOOK_OUPTUT_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));
|
|
@@ -844,7 +845,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
844
845
|
}
|
|
845
846
|
_registerNotebookStickyScroll() {
|
|
846
847
|
this._notebookStickyScroll = this._register(this.instantiationService.createInstance(NotebookStickyScroll, this._notebookStickyScrollContainer, this, this._notebookOutline, this._list));
|
|
847
|
-
const localDisposableStore = this._register(( new DisposableStore()));
|
|
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 = [];
|
|
@@ -1471,7 +1474,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1471
1474
|
}
|
|
1472
1475
|
this._notebookTopToolbar.layout(this._dimension);
|
|
1473
1476
|
this._notebookOverviewRuler.layout();
|
|
1474
|
-
this._viewContext?.eventDispatcher.emit([( new NotebookLayoutChangedEvent({ width: true, fontInfo: true }, this.getLayoutInfo()))]);
|
|
1477
|
+
this._viewContext?.eventDispatcher.emit([( (new NotebookLayoutChangedEvent({ width: true, fontInfo: true }, this.getLayoutInfo())))]);
|
|
1475
1478
|
}
|
|
1476
1479
|
updateShadowElement(shadowElement, dimension, position) {
|
|
1477
1480
|
this._shadowElement = shadowElement;
|
|
@@ -1671,13 +1674,13 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1671
1674
|
await this._list.revealCell(cell, 6 );
|
|
1672
1675
|
}
|
|
1673
1676
|
async revealLineInViewAsync(cell, line) {
|
|
1674
|
-
return this._list.revealRangeInCell(cell, ( new Range(line, 1, line, 1)), CellRevealRangeType.Default);
|
|
1677
|
+
return this._list.revealRangeInCell(cell, ( (new Range(line, 1, line, 1))), CellRevealRangeType.Default);
|
|
1675
1678
|
}
|
|
1676
1679
|
async revealLineInCenterAsync(cell, line) {
|
|
1677
|
-
return this._list.revealRangeInCell(cell, ( new Range(line, 1, line, 1)), CellRevealRangeType.Center);
|
|
1680
|
+
return this._list.revealRangeInCell(cell, ( (new Range(line, 1, line, 1))), CellRevealRangeType.Center);
|
|
1678
1681
|
}
|
|
1679
1682
|
async revealLineInCenterIfOutsideViewportAsync(cell, line) {
|
|
1680
|
-
return this._list.revealRangeInCell(cell, ( new Range(line, 1, line, 1)), CellRevealRangeType.CenterIfOutsideViewport);
|
|
1683
|
+
return this._list.revealRangeInCell(cell, ( (new Range(line, 1, line, 1))), CellRevealRangeType.CenterIfOutsideViewport);
|
|
1681
1684
|
}
|
|
1682
1685
|
async revealRangeInViewAsync(cell, range) {
|
|
1683
1686
|
return this._list.revealRangeInCell(cell, range, CellRevealRangeType.Default);
|
|
@@ -1759,7 +1762,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1759
1762
|
if (!cells) {
|
|
1760
1763
|
cells = this.viewModel.viewCells;
|
|
1761
1764
|
}
|
|
1762
|
-
return this.notebookExecutionService.cancelNotebookCellHandles(this.textModel, ( Array.from(cells).map(cell => cell.handle)));
|
|
1765
|
+
return this.notebookExecutionService.cancelNotebookCellHandles(this.textModel, ( (Array.from(cells).map(cell => cell.handle))));
|
|
1763
1766
|
}
|
|
1764
1767
|
async executeNotebookCells(cells) {
|
|
1765
1768
|
if (!this.viewModel || !this.hasModel()) {
|
|
@@ -1769,7 +1772,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1769
1772
|
if (!cells) {
|
|
1770
1773
|
cells = this.viewModel.viewCells;
|
|
1771
1774
|
}
|
|
1772
|
-
return this.notebookExecutionService.executeNotebookCells(this.textModel, ( Array.from(cells).map(c => c.model)), this.scopedContextKeyService);
|
|
1775
|
+
return this.notebookExecutionService.executeNotebookCells(this.textModel, ( (Array.from(cells).map(c => c.model))), this.scopedContextKeyService);
|
|
1773
1776
|
}
|
|
1774
1777
|
async layoutNotebookCell(cell, height, context) {
|
|
1775
1778
|
this._debug('layout cell', cell.handle, height);
|
|
@@ -1780,7 +1783,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1780
1783
|
if (this._pendingLayouts?.has(cell)) {
|
|
1781
1784
|
this._pendingLayouts?.get(cell).dispose();
|
|
1782
1785
|
}
|
|
1783
|
-
const deferred = ( new DeferredPromise());
|
|
1786
|
+
const deferred = ( (new DeferredPromise()));
|
|
1784
1787
|
const doLayout = () => {
|
|
1785
1788
|
if (this._isDisposed) {
|
|
1786
1789
|
return;
|
|
@@ -1966,13 +1969,13 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1966
1969
|
const result = { type: 1 , renderer, source: output, mimeType: pickedMimeTypeRenderer.mimeType };
|
|
1967
1970
|
const inset = this._webview?.insetMapping.get(result.source);
|
|
1968
1971
|
if (!inset || !inset.initialized) {
|
|
1969
|
-
const p = ( new Promise(resolve => {
|
|
1972
|
+
const p = ( (new Promise(resolve => {
|
|
1970
1973
|
this._register(Event.any(this.onDidRenderOutput, this.onDidRemoveOutput)(e => {
|
|
1971
1974
|
if (e.model === result.source.model) {
|
|
1972
1975
|
resolve();
|
|
1973
1976
|
}
|
|
1974
1977
|
}));
|
|
1975
|
-
}));
|
|
1978
|
+
})));
|
|
1976
1979
|
this.createOutput(viewCell, result, 0, false);
|
|
1977
1980
|
await p;
|
|
1978
1981
|
}
|
|
@@ -1989,7 +1992,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
1989
1992
|
const cells = this.viewModel.viewCells;
|
|
1990
1993
|
const requests = [];
|
|
1991
1994
|
for (let i = 0; i < cells.length; i++) {
|
|
1992
|
-
if (cells[i].cellKind === CellKind.Markup && !( this._webview.markupPreviewMapping.has(cells[i].id))) {
|
|
1995
|
+
if (cells[i].cellKind === CellKind.Markup && !( (this._webview.markupPreviewMapping.has(cells[i].id)))) {
|
|
1993
1996
|
requests.push(this.createMarkupPreview(cells[i]));
|
|
1994
1997
|
}
|
|
1995
1998
|
}
|
|
@@ -2054,24 +2057,24 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2054
2057
|
exisitingMatch.webviewMatches.push(match);
|
|
2055
2058
|
}
|
|
2056
2059
|
else {
|
|
2057
|
-
matchMap[match.cellId] = ( new CellFindMatchModel(
|
|
2060
|
+
matchMap[match.cellId] = ( (new CellFindMatchModel(
|
|
2058
2061
|
this._notebookViewModel.viewCells.find(cell => cell.id === match.cellId),
|
|
2059
2062
|
this._notebookViewModel.viewCells.findIndex(cell => cell.id === match.cellId),
|
|
2060
2063
|
[],
|
|
2061
2064
|
[match]
|
|
2062
|
-
));
|
|
2065
|
+
)));
|
|
2063
2066
|
}
|
|
2064
2067
|
});
|
|
2065
2068
|
}
|
|
2066
2069
|
const ret = [];
|
|
2067
2070
|
this._notebookViewModel.viewCells.forEach((cell, index) => {
|
|
2068
2071
|
if (matchMap[cell.id]) {
|
|
2069
|
-
ret.push(( new CellFindMatchModel(
|
|
2072
|
+
ret.push(( (new CellFindMatchModel(
|
|
2070
2073
|
cell,
|
|
2071
2074
|
index,
|
|
2072
2075
|
matchMap[cell.id].contentMatches,
|
|
2073
2076
|
matchMap[cell.id].webviewMatches
|
|
2074
|
-
)));
|
|
2077
|
+
))));
|
|
2075
2078
|
}
|
|
2076
2079
|
});
|
|
2077
2080
|
return ret;
|
|
@@ -2093,7 +2096,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2093
2096
|
}
|
|
2094
2097
|
getLayoutInfo() {
|
|
2095
2098
|
if (!this._list) {
|
|
2096
|
-
throw new Error('Editor is not initalized successfully');
|
|
2099
|
+
throw ( (new Error('Editor is not initalized successfully')));
|
|
2097
2100
|
}
|
|
2098
2101
|
if (!this._fontInfo) {
|
|
2099
2102
|
this._generateFontInfo();
|
|
@@ -2141,7 +2144,9 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2141
2144
|
cellIsHidden(cell) {
|
|
2142
2145
|
const modelIndex = this.viewModel.getCellIndex(cell);
|
|
2143
2146
|
const foldedRanges = this.viewModel.getHiddenRanges();
|
|
2144
|
-
return (
|
|
2147
|
+
return (
|
|
2148
|
+
(foldedRanges.some(range => modelIndex >= range.start && modelIndex <= range.end))
|
|
2149
|
+
);
|
|
2145
2150
|
}
|
|
2146
2151
|
async unhideMarkupPreviews(cells) {
|
|
2147
2152
|
if (!this._webview) {
|
|
@@ -2150,7 +2155,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2150
2155
|
if (!this._webview.isResolved()) {
|
|
2151
2156
|
await this._resolveWebview();
|
|
2152
2157
|
}
|
|
2153
|
-
await this._webview?.unhideMarkupPreviews(( cells.map(cell => cell.id)));
|
|
2158
|
+
await this._webview?.unhideMarkupPreviews(( (cells.map(cell => cell.id))));
|
|
2154
2159
|
}
|
|
2155
2160
|
async hideMarkupPreviews(cells) {
|
|
2156
2161
|
if (!this._webview || !cells.length) {
|
|
@@ -2159,7 +2164,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2159
2164
|
if (!this._webview.isResolved()) {
|
|
2160
2165
|
await this._resolveWebview();
|
|
2161
2166
|
}
|
|
2162
|
-
await this._webview?.hideMarkupPreviews(( cells.map(cell => cell.id)));
|
|
2167
|
+
await this._webview?.hideMarkupPreviews(( (cells.map(cell => cell.id))));
|
|
2163
2168
|
}
|
|
2164
2169
|
async deleteMarkupPreviews(cells) {
|
|
2165
2170
|
if (!this._webview) {
|
|
@@ -2168,7 +2173,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2168
2173
|
if (!this._webview.isResolved()) {
|
|
2169
2174
|
await this._resolveWebview();
|
|
2170
2175
|
}
|
|
2171
|
-
await this._webview?.deleteMarkupPreviews(( cells.map(cell => cell.id)));
|
|
2176
|
+
await this._webview?.deleteMarkupPreviews(( (cells.map(cell => cell.id))));
|
|
2172
2177
|
}
|
|
2173
2178
|
async updateSelectedMarkdownPreviews() {
|
|
2174
2179
|
if (!this._webview) {
|
|
@@ -2177,7 +2182,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2177
2182
|
if (!this._webview.isResolved()) {
|
|
2178
2183
|
await this._resolveWebview();
|
|
2179
2184
|
}
|
|
2180
|
-
const selectedCells = ( this.getSelectionViewModels().map(cell => cell.id));
|
|
2185
|
+
const selectedCells = ( (this.getSelectionViewModels().map(cell => cell.id)));
|
|
2181
2186
|
await this._webview?.updateMarkupPreviewSelections(selectedCells.length > 1 ? selectedCells : []);
|
|
2182
2187
|
}
|
|
2183
2188
|
async createOutput(cell, output, offset, createWhenIdle) {
|
|
@@ -2243,7 +2248,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2243
2248
|
if (!this._webview || !this._list.webviewElement) {
|
|
2244
2249
|
return;
|
|
2245
2250
|
}
|
|
2246
|
-
if (!( this._webview.insetMapping.has(output.source))) {
|
|
2251
|
+
if (!( (this._webview.insetMapping.has(output.source)))) {
|
|
2247
2252
|
return this.createOutput(cell, output, offset, false);
|
|
2248
2253
|
}
|
|
2249
2254
|
if (output.type === 1 ) {
|
|
@@ -2348,7 +2353,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2348
2353
|
});
|
|
2349
2354
|
this._webview.removeInsets(removedItems);
|
|
2350
2355
|
const markdownUpdateItems = [];
|
|
2351
|
-
for (const cellId of ( this._webview.markupPreviewMapping.keys())) {
|
|
2356
|
+
for (const cellId of ( (this._webview.markupPreviewMapping.keys()))) {
|
|
2352
2357
|
const cell = this.viewModel?.viewCells.find(cell => cell.id === cellId);
|
|
2353
2358
|
if (cell) {
|
|
2354
2359
|
const cellTop = this._list.getCellViewScrollTop(cell);
|
|
@@ -2379,7 +2384,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2379
2384
|
scheduleAtNextAnimationFrame(getWindow(this.getDomNode()), () => {
|
|
2380
2385
|
this._debug('ack height');
|
|
2381
2386
|
this._updateScrollHeight();
|
|
2382
|
-
this._webview?.ackHeight([...( this._pendingOutputHeightAcks.values())]);
|
|
2387
|
+
this._webview?.ackHeight([...( (this._pendingOutputHeightAcks.values()))]);
|
|
2383
2388
|
this._pendingOutputHeightAcks.clear();
|
|
2384
2389
|
}, -1);
|
|
2385
2390
|
}
|
|
@@ -2465,7 +2470,7 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2465
2470
|
this._webview?.dispose();
|
|
2466
2471
|
this._webview = null;
|
|
2467
2472
|
this.notebookEditorService.removeNotebookEditor(this);
|
|
2468
|
-
dispose(( this._contributions.values()));
|
|
2473
|
+
dispose(( (this._contributions.values())));
|
|
2469
2474
|
this._contributions.clear();
|
|
2470
2475
|
this._localStore.clear();
|
|
2471
2476
|
dispose(this._localCellStateListeners);
|
|
@@ -2497,25 +2502,25 @@ let NotebookEditorWidget = class NotebookEditorWidget extends Disposable {
|
|
|
2497
2502
|
};
|
|
2498
2503
|
}
|
|
2499
2504
|
};
|
|
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));
|
|
2505
|
+
NotebookEditorWidget = ( (__decorate([
|
|
2506
|
+
( (__param(2, IInstantiationService))),
|
|
2507
|
+
( (__param(3, IEditorGroupsService))),
|
|
2508
|
+
( (__param(4, INotebookRendererMessagingService))),
|
|
2509
|
+
( (__param(5, INotebookEditorService))),
|
|
2510
|
+
( (__param(6, INotebookKernelService))),
|
|
2511
|
+
( (__param(7, INotebookService))),
|
|
2512
|
+
( (__param(8, IConfigurationService))),
|
|
2513
|
+
( (__param(9, IContextKeyService))),
|
|
2514
|
+
( (__param(10, ILayoutService))),
|
|
2515
|
+
( (__param(11, IContextMenuService))),
|
|
2516
|
+
( (__param(12, ITelemetryService))),
|
|
2517
|
+
( (__param(13, INotebookExecutionService))),
|
|
2518
|
+
( (__param(14, INotebookExecutionStateService))),
|
|
2519
|
+
( (__param(15, IEditorProgressService))),
|
|
2520
|
+
( (__param(16, INotebookLoggingService))),
|
|
2521
|
+
( (__param(17, IKeybindingService))),
|
|
2522
|
+
( (__param(18, ICodeEditorService)))
|
|
2523
|
+
], NotebookEditorWidget)));
|
|
2519
2524
|
registerZIndex(ZIndex.Base, 5, 'notebook-progress-bar');
|
|
2520
2525
|
registerZIndex(ZIndex.Base, 10, 'notebook-list-insertion-indicator');
|
|
2521
2526
|
registerZIndex(ZIndex.Base, 20, 'notebook-cell-editor-outline');
|
|
@@ -2531,33 +2536,25 @@ registerZIndex(ZIndex.Sash, 1, 'notebook-cell-expand-part-button');
|
|
|
2531
2536
|
registerZIndex(ZIndex.Sash, 2, 'notebook-cell-toolbar');
|
|
2532
2537
|
registerZIndex(ZIndex.Sash, 3, 'notebook-cell-toolbar-dropdown-active');
|
|
2533
2538
|
const notebookCellBorder = registerColor('notebook.cellBorderColor', {
|
|
2534
|
-
dark: ( transparent(listInactiveSelectionBackground, 1)),
|
|
2535
|
-
light: ( transparent(listInactiveSelectionBackground, 1)),
|
|
2539
|
+
dark: ( (transparent(listInactiveSelectionBackground, 1))),
|
|
2540
|
+
light: ( (transparent(listInactiveSelectionBackground, 1))),
|
|
2536
2541
|
hcDark: PANEL_BORDER,
|
|
2537
2542
|
hcLight: PANEL_BORDER
|
|
2538
|
-
}, ( localizeWithPath(
|
|
2539
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2540
|
-
'notebook.cellBorderColor',
|
|
2541
|
-
"The border color for notebook cells."
|
|
2542
|
-
)));
|
|
2543
|
+
}, ( localizeWithPath(_moduleId, 0, "The border color for notebook cells.")));
|
|
2543
2544
|
registerColor('notebook.focusedEditorBorder', {
|
|
2544
2545
|
light: focusBorder,
|
|
2545
2546
|
dark: focusBorder,
|
|
2546
2547
|
hcDark: focusBorder,
|
|
2547
2548
|
hcLight: focusBorder
|
|
2548
|
-
}, ( localizeWithPath(
|
|
2549
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2550
|
-
'notebook.focusedEditorBorder',
|
|
2551
|
-
"The color of the notebook cell editor border."
|
|
2552
|
-
)));
|
|
2549
|
+
}, ( localizeWithPath(_moduleId, 1, "The color of the notebook cell editor border.")));
|
|
2553
2550
|
const cellStatusIconSuccess = registerColor('notebookStatusSuccessIcon.foreground', {
|
|
2554
2551
|
light: debugIconStartForeground,
|
|
2555
2552
|
dark: debugIconStartForeground,
|
|
2556
2553
|
hcDark: debugIconStartForeground,
|
|
2557
2554
|
hcLight: debugIconStartForeground
|
|
2558
2555
|
}, ( localizeWithPath(
|
|
2559
|
-
|
|
2560
|
-
|
|
2556
|
+
_moduleId,
|
|
2557
|
+
2,
|
|
2561
2558
|
"The error icon color of notebook cells in the cell status bar."
|
|
2562
2559
|
)));
|
|
2563
2560
|
const runningCellRulerDecorationColor = registerColor('notebookEditorOverviewRuler.runningCellForeground', {
|
|
@@ -2566,8 +2563,8 @@ const runningCellRulerDecorationColor = registerColor('notebookEditorOverviewRul
|
|
|
2566
2563
|
hcDark: debugIconStartForeground,
|
|
2567
2564
|
hcLight: debugIconStartForeground
|
|
2568
2565
|
}, ( localizeWithPath(
|
|
2569
|
-
|
|
2570
|
-
|
|
2566
|
+
_moduleId,
|
|
2567
|
+
3,
|
|
2571
2568
|
"The color of the running cell decoration in the notebook editor overview ruler."
|
|
2572
2569
|
)));
|
|
2573
2570
|
const cellStatusIconError = registerColor('notebookStatusErrorIcon.foreground', {
|
|
@@ -2576,8 +2573,8 @@ const cellStatusIconError = registerColor('notebookStatusErrorIcon.foreground',
|
|
|
2576
2573
|
hcDark: errorForeground,
|
|
2577
2574
|
hcLight: errorForeground
|
|
2578
2575
|
}, ( localizeWithPath(
|
|
2579
|
-
|
|
2580
|
-
|
|
2576
|
+
_moduleId,
|
|
2577
|
+
4,
|
|
2581
2578
|
"The error icon color of notebook cells in the cell status bar."
|
|
2582
2579
|
)));
|
|
2583
2580
|
registerColor('notebookStatusRunningIcon.foreground', {
|
|
@@ -2586,8 +2583,8 @@ registerColor('notebookStatusRunningIcon.foreground', {
|
|
|
2586
2583
|
hcDark: foreground,
|
|
2587
2584
|
hcLight: foreground
|
|
2588
2585
|
}, ( localizeWithPath(
|
|
2589
|
-
|
|
2590
|
-
|
|
2586
|
+
_moduleId,
|
|
2587
|
+
5,
|
|
2591
2588
|
"The running icon color of notebook cells in the cell status bar."
|
|
2592
2589
|
)));
|
|
2593
2590
|
registerColor('notebook.outputContainerBorderColor', {
|
|
@@ -2595,69 +2592,45 @@ registerColor('notebook.outputContainerBorderColor', {
|
|
|
2595
2592
|
light: null,
|
|
2596
2593
|
hcDark: null,
|
|
2597
2594
|
hcLight: null
|
|
2598
|
-
}, ( localizeWithPath(
|
|
2599
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2600
|
-
'notebook.outputContainerBorderColor',
|
|
2601
|
-
"The border color of the notebook output container."
|
|
2602
|
-
)));
|
|
2595
|
+
}, ( localizeWithPath(_moduleId, 6, "The border color of the notebook output container.")));
|
|
2603
2596
|
registerColor('notebook.outputContainerBackgroundColor', {
|
|
2604
2597
|
dark: null,
|
|
2605
2598
|
light: null,
|
|
2606
2599
|
hcDark: null,
|
|
2607
2600
|
hcLight: null
|
|
2608
|
-
}, ( localizeWithPath(
|
|
2609
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2610
|
-
'notebook.outputContainerBackgroundColor',
|
|
2611
|
-
"The color of the notebook output container background."
|
|
2612
|
-
)));
|
|
2601
|
+
}, ( localizeWithPath(_moduleId, 7, "The color of the notebook output container background.")));
|
|
2613
2602
|
registerColor('notebook.cellToolbarSeparator', {
|
|
2614
|
-
dark: ( ( Color.fromHex('#808080')).transparent(0.35)),
|
|
2615
|
-
light: ( ( Color.fromHex('#808080')).transparent(0.35)),
|
|
2603
|
+
dark: ( (( (Color.fromHex('#808080'))).transparent(0.35))),
|
|
2604
|
+
light: ( (( (Color.fromHex('#808080'))).transparent(0.35))),
|
|
2616
2605
|
hcDark: contrastBorder,
|
|
2617
2606
|
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
|
-
)));
|
|
2607
|
+
}, ( localizeWithPath(_moduleId, 8, "The color of the separator in the cell bottom toolbar")));
|
|
2623
2608
|
const focusedCellBackground = registerColor('notebook.focusedCellBackground', {
|
|
2624
2609
|
dark: null,
|
|
2625
2610
|
light: null,
|
|
2626
2611
|
hcDark: null,
|
|
2627
2612
|
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
|
-
)));
|
|
2613
|
+
}, ( localizeWithPath(_moduleId, 9, "The background color of a cell when the cell is focused.")));
|
|
2633
2614
|
registerColor('notebook.selectedCellBackground', {
|
|
2634
2615
|
dark: listInactiveSelectionBackground,
|
|
2635
2616
|
light: listInactiveSelectionBackground,
|
|
2636
2617
|
hcDark: null,
|
|
2637
2618
|
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
|
-
)));
|
|
2619
|
+
}, ( localizeWithPath(_moduleId, 10, "The background color of a cell when the cell is selected.")));
|
|
2643
2620
|
registerColor('notebook.cellHoverBackground', {
|
|
2644
|
-
dark: ( transparent(focusedCellBackground, .5)),
|
|
2645
|
-
light: ( transparent(focusedCellBackground, .7)),
|
|
2621
|
+
dark: ( (transparent(focusedCellBackground, .5))),
|
|
2622
|
+
light: ( (transparent(focusedCellBackground, .7))),
|
|
2646
2623
|
hcDark: null,
|
|
2647
2624
|
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
|
-
)));
|
|
2625
|
+
}, ( localizeWithPath(_moduleId, 11, "The background color of a cell when the cell is hovered.")));
|
|
2653
2626
|
registerColor('notebook.selectedCellBorder', {
|
|
2654
2627
|
dark: notebookCellBorder,
|
|
2655
2628
|
light: notebookCellBorder,
|
|
2656
2629
|
hcDark: contrastBorder,
|
|
2657
2630
|
hcLight: contrastBorder
|
|
2658
2631
|
}, ( localizeWithPath(
|
|
2659
|
-
|
|
2660
|
-
|
|
2632
|
+
_moduleId,
|
|
2633
|
+
12,
|
|
2661
2634
|
"The color of the cell's top and bottom border when the cell is selected but not focused."
|
|
2662
2635
|
)));
|
|
2663
2636
|
registerColor('notebook.inactiveSelectedCellBorder', {
|
|
@@ -2666,8 +2639,8 @@ registerColor('notebook.inactiveSelectedCellBorder', {
|
|
|
2666
2639
|
hcDark: focusBorder,
|
|
2667
2640
|
hcLight: focusBorder
|
|
2668
2641
|
}, ( localizeWithPath(
|
|
2669
|
-
|
|
2670
|
-
|
|
2642
|
+
_moduleId,
|
|
2643
|
+
13,
|
|
2671
2644
|
"The color of the cell's borders when multiple cells are selected."
|
|
2672
2645
|
)));
|
|
2673
2646
|
registerColor('notebook.focusedCellBorder', {
|
|
@@ -2676,8 +2649,8 @@ registerColor('notebook.focusedCellBorder', {
|
|
|
2676
2649
|
hcDark: focusBorder,
|
|
2677
2650
|
hcLight: focusBorder
|
|
2678
2651
|
}, ( localizeWithPath(
|
|
2679
|
-
|
|
2680
|
-
|
|
2652
|
+
_moduleId,
|
|
2653
|
+
14,
|
|
2681
2654
|
"The color of the cell's focus indicator borders when the cell is focused."
|
|
2682
2655
|
)));
|
|
2683
2656
|
registerColor('notebook.inactiveFocusedCellBorder', {
|
|
@@ -2686,88 +2659,60 @@ registerColor('notebook.inactiveFocusedCellBorder', {
|
|
|
2686
2659
|
hcDark: notebookCellBorder,
|
|
2687
2660
|
hcLight: notebookCellBorder
|
|
2688
2661
|
}, ( localizeWithPath(
|
|
2689
|
-
|
|
2690
|
-
|
|
2662
|
+
_moduleId,
|
|
2663
|
+
15,
|
|
2691
2664
|
"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
2665
|
)));
|
|
2693
2666
|
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
|
-
)));
|
|
2667
|
+
light: ( (new Color( (new RGBA(0, 0, 0, 0.08))))),
|
|
2668
|
+
dark: ( (new Color( (new RGBA(255, 255, 255, 0.15))))),
|
|
2669
|
+
hcDark: ( (new Color( (new RGBA(255, 255, 255, 0.15))))),
|
|
2670
|
+
hcLight: ( (new Color( (new RGBA(0, 0, 0, 0.08))))),
|
|
2671
|
+
}, ( localizeWithPath(_moduleId, 16, "The background color of notebook cell status bar items.")));
|
|
2703
2672
|
registerColor('notebook.cellInsertionIndicator', {
|
|
2704
2673
|
light: focusBorder,
|
|
2705
2674
|
dark: focusBorder,
|
|
2706
2675
|
hcDark: focusBorder,
|
|
2707
2676
|
hcLight: focusBorder
|
|
2708
|
-
}, ( localizeWithPath(
|
|
2709
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2710
|
-
'notebook.cellInsertionIndicator',
|
|
2711
|
-
"The color of the notebook cell insertion indicator."
|
|
2712
|
-
)));
|
|
2677
|
+
}, ( localizeWithPath(_moduleId, 17, "The color of the notebook cell insertion indicator.")));
|
|
2713
2678
|
registerColor('notebookScrollbarSlider.background', {
|
|
2714
2679
|
dark: scrollbarSliderBackground,
|
|
2715
2680
|
light: scrollbarSliderBackground,
|
|
2716
2681
|
hcDark: scrollbarSliderBackground,
|
|
2717
2682
|
hcLight: scrollbarSliderBackground
|
|
2718
|
-
}, ( localizeWithPath(
|
|
2719
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2720
|
-
'notebookScrollbarSliderBackground',
|
|
2721
|
-
"Notebook scrollbar slider background color."
|
|
2722
|
-
)));
|
|
2683
|
+
}, ( localizeWithPath(_moduleId, 18, "Notebook scrollbar slider background color.")));
|
|
2723
2684
|
registerColor('notebookScrollbarSlider.hoverBackground', {
|
|
2724
2685
|
dark: scrollbarSliderHoverBackground,
|
|
2725
2686
|
light: scrollbarSliderHoverBackground,
|
|
2726
2687
|
hcDark: scrollbarSliderHoverBackground,
|
|
2727
2688
|
hcLight: scrollbarSliderHoverBackground
|
|
2728
|
-
}, ( localizeWithPath(
|
|
2729
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2730
|
-
'notebookScrollbarSliderHoverBackground',
|
|
2731
|
-
"Notebook scrollbar slider background color when hovering."
|
|
2732
|
-
)));
|
|
2689
|
+
}, ( localizeWithPath(_moduleId, 19, "Notebook scrollbar slider background color when hovering.")));
|
|
2733
2690
|
registerColor('notebookScrollbarSlider.activeBackground', {
|
|
2734
2691
|
dark: scrollbarSliderActiveBackground,
|
|
2735
2692
|
light: scrollbarSliderActiveBackground,
|
|
2736
2693
|
hcDark: scrollbarSliderActiveBackground,
|
|
2737
2694
|
hcLight: scrollbarSliderActiveBackground
|
|
2738
2695
|
}, ( localizeWithPath(
|
|
2739
|
-
|
|
2740
|
-
|
|
2696
|
+
_moduleId,
|
|
2697
|
+
20,
|
|
2741
2698
|
"Notebook scrollbar slider background color when clicked on."
|
|
2742
2699
|
)));
|
|
2743
2700
|
registerColor('notebook.symbolHighlightBackground', {
|
|
2744
|
-
dark: ( Color.fromHex('#ffffff0b')),
|
|
2745
|
-
light: ( Color.fromHex('#fdff0033')),
|
|
2701
|
+
dark: ( (Color.fromHex('#ffffff0b'))),
|
|
2702
|
+
light: ( (Color.fromHex('#fdff0033'))),
|
|
2746
2703
|
hcDark: null,
|
|
2747
2704
|
hcLight: null
|
|
2748
|
-
}, ( localizeWithPath(
|
|
2749
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2750
|
-
'notebook.symbolHighlightBackground',
|
|
2751
|
-
"Background color of highlighted cell"
|
|
2752
|
-
)));
|
|
2705
|
+
}, ( localizeWithPath(_moduleId, 21, "Background color of highlighted cell")));
|
|
2753
2706
|
registerColor('notebook.cellEditorBackground', {
|
|
2754
2707
|
light: SIDE_BAR_BACKGROUND,
|
|
2755
2708
|
dark: SIDE_BAR_BACKGROUND,
|
|
2756
2709
|
hcDark: null,
|
|
2757
2710
|
hcLight: null
|
|
2758
|
-
}, ( localizeWithPath(
|
|
2759
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2760
|
-
'notebook.cellEditorBackground',
|
|
2761
|
-
"Cell editor background color."
|
|
2762
|
-
)));
|
|
2711
|
+
}, ( localizeWithPath(_moduleId, 22, "Cell editor background color.")));
|
|
2763
2712
|
const notebookEditorBackground = registerColor('notebook.editorBackground', {
|
|
2764
2713
|
light: EDITOR_PANE_BACKGROUND,
|
|
2765
2714
|
dark: EDITOR_PANE_BACKGROUND,
|
|
2766
2715
|
hcDark: null,
|
|
2767
2716
|
hcLight: null
|
|
2768
|
-
}, ( localizeWithPath(
|
|
2769
|
-
'vs/workbench/contrib/notebook/browser/notebookEditorWidget',
|
|
2770
|
-
'notebook.editorBackground',
|
|
2771
|
-
"Notebook background color."
|
|
2772
|
-
)));
|
|
2717
|
+
}, ( localizeWithPath(_moduleId, 23, "Notebook background color.")));
|
|
2773
2718
|
export { NotebookEditorWidget, cellStatusIconError, cellStatusIconSuccess, focusedCellBackground, getDefaultNotebookCreationOptions, notebookCellBorder, runningCellRulerDecorationColor };
|