@codingame/monaco-vscode-api 3.2.3 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +4 -7
- package/debugProtocol.d.ts +14 -39
- package/extensions.d.ts +7 -1
- package/missing-services.js +116 -32
- package/monaco.d.ts +1 -1
- package/monaco.js +11 -1
- package/override/vs/platform/dialogs/common/dialogs.js +1 -0
- package/package.json +8 -8
- package/service-override/tools/editor.js +82 -3
- package/service-override/tools/views.d.ts +2 -1
- package/service-override/tools/views.js +5 -1
- package/services.js +4 -3
- package/vscode/src/vs/base/browser/dom.js +1 -7
- package/vscode/src/vs/base/browser/fonts.js +3 -0
- package/vscode/src/vs/base/browser/keyboardEvent.js +1 -1
- package/vscode/src/vs/base/browser/markdownRenderer.js +4 -4
- package/vscode/src/vs/base/browser/touch.js +13 -2
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionViewItems.js +5 -6
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.d.ts +1 -1
- package/vscode/src/vs/base/browser/ui/actionbar/actionbar.js +2 -2
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/breadcrumbs/breadcrumbsWidget.js +4 -2
- package/vscode/src/vs/base/browser/ui/button/button.js +16 -9
- package/vscode/src/vs/base/browser/ui/codicons/codicon/codicon.css.js +1 -1
- package/vscode/src/vs/base/browser/ui/contextview/contextview.d.ts +1 -0
- package/vscode/src/vs/base/browser/ui/contextview/contextview.js +1 -1
- package/vscode/src/vs/base/browser/ui/dropdown/dropdown.js +4 -4
- package/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.js +3 -3
- package/vscode/src/vs/base/browser/ui/findinput/findInput.js +5 -0
- package/vscode/src/vs/base/browser/ui/findinput/findInputToggles.js +4 -0
- package/vscode/src/vs/base/browser/ui/findinput/replaceInput.js +3 -1
- package/vscode/src/vs/base/browser/ui/grid/gridview.js +1 -0
- package/vscode/src/vs/base/browser/ui/highlightedlabel/highlightedLabel.js +14 -3
- package/vscode/src/vs/base/browser/ui/{iconLabel/iconHoverDelegate.d.ts → hover/hoverDelegate.d.ts} +3 -6
- package/vscode/src/vs/base/browser/ui/hover/{hoverDelegate.js → hoverDelegateFactory.js} +5 -5
- package/vscode/src/vs/base/browser/ui/hover/hoverWidget.js +1 -1
- package/vscode/src/vs/base/browser/ui/{iconLabel/iconLabelHover.d.ts → hover/updatableHoverWidget.d.ts} +6 -1
- package/vscode/src/vs/base/browser/ui/{iconLabel/iconLabelHover.js → hover/updatableHoverWidget.js} +27 -7
- package/vscode/src/vs/base/browser/ui/iconLabel/iconLabel.js +10 -9
- package/vscode/src/vs/base/browser/ui/iconLabel/simpleIconLabel.js +11 -1
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +19 -1
- package/vscode/src/vs/base/browser/ui/keybindingLabel/keybindingLabel.js +8 -7
- package/vscode/src/vs/base/browser/ui/list/listView.js +4 -1
- package/vscode/src/vs/base/browser/ui/list/listWidget.js +27 -10
- package/vscode/src/vs/base/browser/ui/menu/menu.js +15 -9
- package/vscode/src/vs/base/browser/ui/menu/menubar.js +15 -8
- package/vscode/src/vs/base/browser/ui/scrollbar/scrollableElement.js +18 -2
- package/vscode/src/vs/base/browser/ui/selectBox/selectBox.js +1 -0
- package/vscode/src/vs/base/browser/ui/selectBox/selectBoxCustom.js +14 -7
- package/vscode/src/vs/base/browser/ui/table/tableWidget.js +6 -4
- package/vscode/src/vs/base/browser/ui/toggle/toggle.js +7 -6
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +2 -2
- package/vscode/src/vs/base/browser/ui/tree/abstractTree.js +55 -10
- package/vscode/src/vs/base/browser/ui/tree/indexTreeModel.js +4 -1
- package/vscode/src/vs/base/browser/window.d.ts +5 -0
- package/vscode/src/vs/base/browser/window.js +1 -2
- package/vscode/src/vs/base/common/arrays.js +20 -1
- package/vscode/src/vs/base/common/cache.js +3 -2
- package/vscode/src/vs/base/common/codicons.d.ts +62 -38
- package/vscode/src/vs/base/common/codicons.js +19 -571
- package/vscode/src/vs/base/common/codiconsLibrary.js +570 -0
- package/vscode/src/vs/base/common/codiconsUtil.js +17 -0
- package/vscode/src/vs/base/common/event.js +4 -1
- package/vscode/src/vs/base/common/glob.js +1 -0
- package/vscode/src/vs/base/common/hierarchicalKind.d.ts +13 -0
- package/vscode/src/vs/base/common/hierarchicalKind.js +21 -0
- package/vscode/src/vs/base/common/labels.js +2 -2
- package/vscode/src/vs/base/common/network.js +14 -5
- package/vscode/src/vs/base/common/observableInternal/promise.js +1 -0
- package/vscode/src/vs/base/common/observableInternal/utils.js +35 -14
- package/vscode/src/vs/base/common/platform.js +1 -1
- package/vscode/src/vs/base/common/product.d.ts +7 -1
- package/vscode/src/vs/base/common/severity.js +2 -1
- package/vscode/src/vs/base/common/strings.js +16 -4
- package/vscode/src/vs/base/parts/ipc/common/ipc.js +4 -0
- package/vscode/src/vs/editor/browser/controller/mouseHandler.js +5 -5
- package/vscode/src/vs/editor/browser/controller/mouseTarget.js +55 -43
- package/vscode/src/vs/editor/browser/controller/textAreaHandler.js +5 -5
- package/vscode/src/vs/editor/browser/coreCommands.js +13 -13
- package/vscode/src/vs/editor/browser/editorDom.js +11 -1
- package/vscode/src/vs/editor/browser/editorExtensions.js +1 -1
- package/vscode/src/vs/editor/browser/services/editorWorkerService.js +10 -2
- package/vscode/src/vs/editor/browser/services/hoverService/hoverService.d.ts +31 -0
- package/vscode/src/vs/editor/browser/services/{hoverService.js → hoverService/hoverService.js} +38 -27
- package/vscode/src/vs/editor/browser/{widget/hoverWidget → services/hoverService}/hoverWidget.js +13 -14
- package/vscode/src/vs/editor/browser/view/viewLayer.js +4 -4
- package/vscode/src/vs/editor/browser/view/viewOverlays.js +12 -23
- package/vscode/src/vs/editor/browser/view.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/blockDecorations/blockDecorations.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/contentWidgets/contentWidgets.js +3 -3
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/currentLineHighlight/currentLineHighlight.js +4 -6
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/decorations/decorations.js +8 -14
- package/vscode/src/vs/editor/browser/viewParts/editorScrollbar/editorScrollbar.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/glyphMargin/glyphMargin.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/indentGuides/indentGuides.js +3 -6
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lineNumbers/lineNumbers.js +5 -1
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLine.js +4 -4
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.css.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/lines/viewLines.js +5 -5
- package/vscode/src/vs/editor/browser/viewParts/linesDecorations/linesDecorations.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/margin/margin.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/minimap/minimap.js +142 -27
- package/vscode/src/vs/editor/browser/viewParts/overlayWidgets/overlayWidgets.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.js +34 -16
- package/vscode/src/vs/editor/browser/viewParts/overviewRuler/overviewRuler.js +3 -3
- package/vscode/src/vs/editor/browser/viewParts/scrollDecoration/scrollDecoration.js +1 -1
- package/vscode/src/vs/editor/browser/viewParts/selections/selections.js +23 -20
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursor.js +25 -3
- package/vscode/src/vs/editor/browser/viewParts/viewCursors/viewCursors.js +21 -13
- package/vscode/src/vs/editor/browser/viewParts/viewZones/viewZones.js +2 -2
- package/vscode/src/vs/editor/browser/viewParts/whitespace/whitespace.js +2 -2
- package/vscode/src/vs/editor/browser/widget/{codeEditorContributions.js → codeEditor/codeEditorContributions.js} +3 -3
- package/vscode/src/vs/editor/browser/widget/{codeEditorWidget.js → codeEditor/codeEditorWidget.js} +81 -70
- package/vscode/src/vs/editor/browser/widget/codeEditor/editor.css.js +4 -0
- package/vscode/src/vs/editor/browser/widget/codeEditor/embeddedCodeEditorWidget.js +44 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/commands.js +281 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/accessibleDiffViewer.js +7 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorDecorations.js +4 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorEditors.js +15 -9
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorSash.js +2 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/diffEditorViewZones.js +9 -8
- package/vscode/src/vs/editor/browser/widget/diffEditor/components/diffEditorViewZones/renderLines.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditor.contribution.js +33 -246
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorOptions.js +22 -7
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorViewModel.js +5 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/diffEditorWidget.js +71 -41
- package/vscode/src/vs/editor/browser/widget/diffEditor/embeddedDiffEditorWidget.js +36 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/gutterFeature.js +227 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/hideUnchangedRegionsFeature.js +22 -19
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/movedBlocksLinesFeature.js +5 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/overviewRulerFeature.js +15 -4
- package/vscode/src/vs/editor/browser/widget/diffEditor/features/revertButtonsFeature.js +13 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/registrations.contribution.js +11 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/style.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +104 -0
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils.js +8 -15
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/colors.js +14 -4
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/diffEditorItemTemplate.js +6 -5
- package/vscode/src/vs/editor/browser/widget/multiDiffEditor/model.js +14 -0
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorViewModel.js +5 -2
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorWidget.js +5 -3
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/multiDiffEditorWidgetImpl.js +9 -10
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/style.css.js +1 -1
- package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/utils.js +2 -1
- package/vscode/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.js +14 -3
- package/vscode/src/vs/editor/common/config/diffEditor.js +1 -0
- package/vscode/src/vs/editor/common/config/editorConfigurationSchema.js +10 -1
- package/vscode/src/vs/editor/common/config/editorOptions.d.ts +23 -0
- package/vscode/src/vs/editor/common/config/editorOptions.js +115 -33
- package/vscode/src/vs/editor/common/core/editorColorRegistry.js +32 -2
- package/vscode/src/vs/editor/common/core/lineRange.d.ts +1 -0
- package/vscode/src/vs/editor/common/core/lineRange.js +12 -0
- package/vscode/src/vs/editor/common/core/positionToOffset.js +43 -0
- package/vscode/src/vs/editor/common/core/textEdit.js +169 -0
- package/vscode/src/vs/editor/common/core/textLength.js +110 -0
- package/vscode/src/vs/editor/common/core/wordCharacterClassifier.d.ts +14 -2
- package/vscode/src/vs/editor/common/core/wordCharacterClassifier.js +66 -10
- package/vscode/src/vs/editor/common/core/wordHelper.js +1 -0
- package/vscode/src/vs/editor/common/cursor/cursor.js +17 -4
- package/vscode/src/vs/editor/common/cursor/cursorTypeOperations.js +1 -1
- package/vscode/src/vs/editor/common/cursor/cursorWordOperations.js +22 -3
- package/vscode/src/vs/editor/common/cursorCommon.js +7 -5
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer.js +7 -4
- package/vscode/src/vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations.js +1 -1
- package/vscode/src/vs/editor/common/diff/rangeMapping.d.ts +2 -0
- package/vscode/src/vs/editor/common/diff/rangeMapping.js +10 -0
- package/vscode/src/vs/editor/common/editorContextKeys.js +25 -0
- package/vscode/src/vs/editor/common/languages.d.ts +43 -11
- package/vscode/src/vs/editor/common/languages.js +15 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsImpl.js +1 -1
- package/vscode/src/vs/editor/common/model/bracketPairsTextModelPart/bracketPairsTree/length.js +3 -58
- package/vscode/src/vs/editor/common/model/textModel.js +2 -0
- package/vscode/src/vs/editor/common/model/textModelSearch.js +1 -1
- package/vscode/src/vs/editor/common/model/textModelText.js +17 -0
- package/vscode/src/vs/editor/common/model/textModelTokens.js +4 -0
- package/vscode/src/vs/editor/common/model/tokenizationTextModelPart.js +10 -0
- package/vscode/src/vs/editor/common/model.d.ts +17 -2
- package/vscode/src/vs/editor/common/model.js +1 -6
- package/vscode/src/vs/editor/common/services/editorSimpleWorker.js +8 -0
- package/vscode/src/vs/editor/common/services/editorWorker.d.ts +2 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.d.ts +28 -0
- package/vscode/src/vs/editor/common/services/findSectionHeaders.js +71 -0
- package/vscode/src/vs/editor/common/services/markerDecorationsService.js +15 -5
- package/vscode/src/vs/editor/common/standalone/standaloneEnums.js +32 -20
- package/vscode/src/vs/editor/common/viewLayout/linesLayout.js +2 -1
- package/vscode/src/vs/editor/common/viewLayout/viewLayout.js +5 -5
- package/vscode/src/vs/editor/common/viewLayout/viewLinesViewportData.js +1 -0
- package/vscode/src/vs/editor/common/viewModel/modelLineProjection.js +1 -1
- package/vscode/src/vs/editor/common/viewModel/monospaceLineBreaksComputer.js +2 -2
- package/vscode/src/vs/editor/common/viewModel/viewModelImpl.js +10 -7
- package/vscode/src/vs/editor/contrib/bracketMatching/browser/bracketMatching.js +11 -1
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeAction.js +6 -5
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionCommands.js +5 -4
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionController.js +25 -3
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionKeybindingResolver.js +3 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionMenu.js +3 -2
- package/vscode/src/vs/editor/contrib/codeAction/browser/codeActionModel.js +13 -2
- package/vscode/src/vs/editor/contrib/codeAction/common/types.js +18 -33
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorContributions.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorDetector.js +3 -3
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorHoverParticipant.js +1 -1
- package/vscode/src/vs/editor/contrib/colorPicker/browser/colorPickerWidget.js +11 -1
- package/vscode/src/vs/editor/contrib/comment/browser/comment.js +1 -1
- package/vscode/src/vs/editor/contrib/comment/browser/lineCommentCommand.js +9 -9
- package/vscode/src/vs/editor/contrib/diffEditorBreadcrumbs/browser/contribution.js +5 -3
- package/vscode/src/vs/editor/contrib/documentSymbols/browser/outlineModel.js +1 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteContribution.js +40 -20
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/copyPasteController.js +83 -47
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/defaultProviders.js +40 -31
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorContribution.js +16 -1
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/dropIntoEditorController.js +8 -8
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/edit.js +5 -3
- package/vscode/src/vs/editor/contrib/dropOrPasteInto/browser/postEditWidget.js +7 -6
- package/vscode/src/vs/editor/contrib/find/browser/findDecorations.js +14 -4
- package/vscode/src/vs/editor/contrib/find/browser/findModel.js +6 -6
- package/vscode/src/vs/editor/contrib/find/browser/findOptionsWidget.js +16 -1
- package/vscode/src/vs/editor/contrib/find/browser/findWidget.js +23 -3
- package/vscode/src/vs/editor/contrib/folding/browser/foldingDecorations.js +12 -3
- package/vscode/src/vs/editor/contrib/gotoError/browser/gotoErrorWidget.js +11 -1
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/goToCommands.js +3 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesTree.js +5 -3
- package/vscode/src/vs/editor/contrib/gotoSymbol/browser/peek/referencesWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/hover/browser/hover.js +12 -2
- package/vscode/src/vs/editor/contrib/indentation/browser/indentation.js +3 -91
- package/vscode/src/vs/editor/contrib/indentation/common/indentation.js +92 -0
- package/vscode/src/vs/editor/contrib/inlayHints/browser/inlayHintsController.js +14 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/commands.js +4 -0
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostText.js +18 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/ghostTextWidget.js +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/hoverParticipant.js +4 -2
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionContextKeys.js +4 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsController.js +6 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsHintsWidget.js +5 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsModel.js +28 -19
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/inlineCompletionsSource.js +7 -4
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/provideInlineCompletions.js +1 -1
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/singleTextEdit.js +64 -72
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/suggestWidgetInlineCompletionProvider.js +11 -5
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/utils.js +5 -85
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/commands.js +2 -2
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/ghostTextWidget.js +6 -4
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/hoverParticipant.js +4 -1
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditController.js +28 -17
- package/vscode/src/vs/editor/contrib/inlineEdit/browser/inlineEditHintsWidget.js +5 -4
- package/vscode/src/vs/editor/contrib/lineSelection/browser/lineSelection.js +1 -1
- package/vscode/src/vs/editor/contrib/linesOperations/browser/linesOperations.js +53 -6
- package/vscode/src/vs/editor/contrib/linesOperations/browser/moveLinesCommand.js +1 -1
- package/vscode/src/vs/editor/contrib/linkedEditing/browser/linkedEditing.js +11 -1
- package/vscode/src/vs/editor/contrib/links/browser/links.js +2 -2
- package/vscode/src/vs/editor/contrib/multicursor/browser/multicursor.js +7 -7
- package/vscode/src/vs/editor/contrib/parameterHints/browser/parameterHintsWidget.js +11 -1
- package/vscode/src/vs/editor/contrib/peekView/browser/peekView.js +12 -2
- package/vscode/src/vs/editor/contrib/quickAccess/browser/editorNavigationQuickAccess.js +1 -1
- package/vscode/src/vs/editor/contrib/rename/browser/rename.js +27 -33
- package/vscode/src/vs/editor/contrib/rename/browser/{renameInputField.js → renameWidget.js} +282 -194
- package/vscode/src/vs/editor/contrib/sectionHeaders/browser/sectionHeaders.js +154 -0
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollModelProvider.js +60 -61
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollProvider.js +23 -14
- package/vscode/src/vs/editor/contrib/stickyScroll/browser/stickyScrollWidget.js +1 -1
- package/vscode/src/vs/editor/contrib/suggest/browser/suggestWidget.js +12 -2
- package/vscode/src/vs/editor/contrib/symbolIcons/browser/symbolIcons.js +11 -1
- package/vscode/src/vs/editor/contrib/toggleTabFocusMode/browser/toggleTabFocusMode.js +1 -1
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/highlightDecorations.js +16 -6
- package/vscode/src/vs/editor/contrib/wordHighlighter/browser/wordHighlighter.js +2 -2
- package/vscode/src/vs/editor/contrib/wordOperations/browser/wordOperations.js +12 -12
- package/vscode/src/vs/editor/contrib/zoneWidget/browser/zoneWidget.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneCodeEditor.js +2 -2
- package/vscode/src/vs/editor/standalone/browser/standaloneLayoutService.js +1 -1
- package/vscode/src/vs/editor/standalone/browser/standaloneServices.js +12 -12
- package/vscode/src/vs/editor/standalone/browser/standaloneThemeService.js +11 -1
- package/vscode/src/vs/editor/standalone/common/themes.js +11 -1
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.d.ts +16 -9
- package/vscode/src/vs/platform/accessibilitySignal/browser/accessibilitySignalService.js +42 -18
- package/vscode/src/vs/platform/actionWidget/browser/actionList.js +16 -5
- package/vscode/src/vs/platform/actionWidget/browser/actionWidget.js +11 -1
- package/vscode/src/vs/platform/actions/browser/buttonbar.js +13 -5
- package/vscode/src/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem.js +3 -1
- package/vscode/src/vs/platform/actions/browser/floatingMenu.js +11 -1
- package/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.js +11 -1
- package/vscode/src/vs/platform/actions/common/actions.d.ts +7 -0
- package/vscode/src/vs/platform/actions/common/actions.js +7 -0
- package/vscode/src/vs/platform/contextview/browser/contextView.d.ts +1 -0
- package/vscode/src/vs/platform/contextview/browser/contextViewService.js +12 -15
- package/vscode/src/vs/platform/dialogs/common/dialogs.js +4 -2
- package/vscode/src/vs/platform/editor/common/editor.d.ts +12 -0
- package/vscode/src/vs/platform/environment/common/environmentService.js +6 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.d.ts +19 -7
- package/vscode/src/vs/platform/extensionManagement/common/extensionManagement.js +7 -1
- package/vscode/src/vs/platform/extensionManagement/common/extensionsProfileScannerService.js +333 -0
- package/vscode/src/vs/platform/extensionManagement/common/extensionsScannerService.js +901 -0
- package/vscode/src/vs/platform/extensionResourceLoader/common/extensionResourceLoader.js +3 -4
- package/vscode/src/vs/platform/extensions/common/extensionValidator.js +16 -16
- package/vscode/src/vs/platform/extensions/common/extensions.js +5 -1
- package/vscode/src/vs/platform/files/common/files.d.ts +1 -11
- package/vscode/src/vs/platform/files/common/files.js +2 -0
- package/vscode/src/vs/platform/files/common/watcher.js +2 -0
- package/vscode/src/vs/platform/hover/browser/hover.d.ts +1 -1
- package/vscode/src/vs/platform/hover/browser/hover.js +21 -6
- package/vscode/src/vs/platform/keyboardLayout/common/keyboardLayout.js +1 -0
- package/vscode/src/vs/platform/languagePacks/common/languagePacks.js +5 -0
- package/vscode/src/vs/platform/layout/browser/layoutService.d.ts +8 -6
- package/vscode/src/vs/platform/log/browser/log.js +1 -0
- package/vscode/src/vs/platform/log/common/log.js +13 -1
- package/vscode/src/vs/platform/markers/common/markerService.js +1 -1
- package/vscode/src/vs/platform/markers/common/markers.js +9 -9
- package/vscode/src/vs/platform/opener/browser/link.js +16 -4
- package/vscode/src/vs/platform/policy/common/policy.js +2 -0
- package/vscode/src/vs/platform/product/common/product.js +2 -1
- package/vscode/src/vs/platform/quickinput/browser/media/quickInput.css.js +1 -1
- package/vscode/src/vs/platform/quickinput/browser/pickerQuickAccess.js +36 -33
- package/vscode/src/vs/platform/quickinput/browser/quickAccess.js +5 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInput.js +38 -9
- package/vscode/src/vs/platform/quickinput/browser/quickInputBox.js +7 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInputController.js +22 -12
- package/vscode/src/vs/platform/quickinput/browser/quickInputService.js +13 -5
- package/vscode/src/vs/platform/quickinput/browser/quickInputTree.js +1348 -0
- package/vscode/src/vs/platform/quickinput/browser/quickInputUtils.js +1 -1
- package/vscode/src/vs/platform/quickinput/common/quickInput.d.ts +14 -0
- package/vscode/src/vs/platform/remote/common/remoteAgentConnection.js +2 -2
- package/vscode/src/vs/platform/remote/common/remoteHosts.js +1 -4
- package/vscode/src/vs/platform/secrets/common/secrets.js +5 -0
- package/vscode/src/vs/platform/severityIcon/browser/severityIcon.js +5 -5
- package/vscode/src/vs/platform/telemetry/common/telemetryUtils.js +2 -0
- package/vscode/src/vs/platform/terminal/common/capabilities/capabilities.d.ts +1 -1
- package/vscode/src/vs/platform/terminal/common/capabilities/commandDetectionCapability.js +3 -9
- package/vscode/src/vs/platform/terminal/common/terminal.d.ts +6 -1
- package/vscode/src/vs/platform/terminal/common/terminal.js +1 -0
- package/vscode/src/vs/platform/terminal/common/terminalEnvironment.js +4 -1
- package/vscode/src/vs/platform/theme/browser/defaultStyles.js +11 -1
- package/vscode/src/vs/platform/theme/common/colorUtils.js +187 -0
- package/vscode/src/vs/platform/theme/common/colors/baseColors.js +89 -0
- package/vscode/src/vs/platform/theme/common/colors/chartsColors.js +46 -0
- package/vscode/src/vs/platform/theme/common/colors/editorColors.js +469 -0
- package/vscode/src/vs/platform/theme/common/colors/inputColors.js +196 -0
- package/vscode/src/vs/platform/theme/common/colors/listColors.js +166 -0
- package/vscode/src/vs/platform/theme/common/colors/menuColors.js +41 -0
- package/vscode/src/vs/platform/theme/common/colors/minimapColors.js +61 -0
- package/vscode/src/vs/platform/theme/common/colors/miscColors.js +45 -0
- package/vscode/src/vs/platform/theme/common/colors/quickpickColors.js +51 -0
- package/vscode/src/vs/platform/theme/common/colors/searchColors.js +19 -0
- package/vscode/src/vs/platform/theme/common/iconRegistry.js +2 -1
- package/vscode/src/vs/platform/theme/common/themeService.d.ts +1 -1
- package/vscode/src/vs/platform/tunnel/common/tunnel.js +2 -0
- package/vscode/src/vs/platform/undoRedo/common/undoRedoService.js +2 -2
- package/vscode/src/vs/platform/update/common/update.js +1 -1
- package/vscode/src/vs/platform/uriIdentity/common/uriIdentityService.js +1 -0
- package/vscode/src/vs/platform/userDataProfile/common/userDataProfileIpc.js +2 -0
- package/vscode/src/vs/workbench/api/common/extHost.api.impl.js +69 -32
- package/vscode/src/vs/workbench/api/common/extHost.common.services.js +6 -0
- package/vscode/src/vs/workbench/api/common/extHost.protocol.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostAuthentication.js +12 -5
- package/vscode/src/vs/workbench/api/common/extHostChat.js +0 -8
- package/vscode/src/vs/workbench/api/common/extHostChatAgents2.js +58 -88
- package/vscode/src/vs/workbench/api/common/extHostChatVariables.js +8 -4
- package/vscode/src/vs/workbench/api/common/extHostComments.js +49 -13
- package/vscode/src/vs/workbench/api/common/extHostDebugService.js +16 -17
- package/vscode/src/vs/workbench/api/common/extHostEditorTabs.js +3 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionActivator.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostExtensionService.js +17 -4
- package/vscode/src/vs/workbench/api/common/extHostInlineChat.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostLanguageFeatures.js +57 -40
- package/vscode/src/vs/workbench/api/common/extHostLanguageModels.js +305 -0
- package/vscode/src/vs/workbench/api/common/extHostLanguages.js +2 -2
- package/vscode/src/vs/workbench/api/common/extHostNotebookDocument.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostNotebookKernels.js +26 -6
- package/vscode/src/vs/workbench/api/common/extHostQuickOpen.js +9 -9
- package/vscode/src/vs/workbench/api/common/extHostSCM.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostSearch.js +34 -3
- package/vscode/src/vs/workbench/api/common/extHostStatusBar.js +1 -1
- package/vscode/src/vs/workbench/api/common/extHostTask.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTerminalService.js +32 -18
- package/vscode/src/vs/workbench/api/common/extHostTerminalShellIntegration.js +214 -0
- package/vscode/src/vs/workbench/api/common/extHostTesting.js +85 -98
- package/vscode/src/vs/workbench/api/common/extHostTimeline.js +1 -0
- package/vscode/src/vs/workbench/api/common/extHostTunnelService.js +5 -2
- package/vscode/src/vs/workbench/api/common/extHostTypeConverters.js +119 -70
- package/vscode/src/vs/workbench/api/common/extHostTypes.js +90 -28
- package/vscode/src/vs/workbench/browser/actions/developerActions.js +4 -4
- package/vscode/src/vs/workbench/browser/actions/layoutActions.js +2 -2
- package/vscode/src/vs/workbench/browser/actions/windowActions.js +3 -3
- package/vscode/src/vs/workbench/browser/actions/workspaceActions.js +3 -3
- package/vscode/src/vs/workbench/browser/codeeditor.js +1 -1
- package/vscode/src/vs/workbench/browser/composite.d.ts +3 -5
- package/vscode/src/vs/workbench/browser/composite.js +2 -10
- package/vscode/src/vs/workbench/browser/editor.js +2 -2
- package/vscode/src/vs/workbench/browser/labels.js +2 -1
- package/vscode/src/vs/workbench/browser/media/part.css.js +1 -1
- package/vscode/src/vs/workbench/browser/media/style.css.js +1 -1
- package/vscode/src/vs/workbench/browser/part.d.ts +25 -3
- package/vscode/src/vs/workbench/browser/part.js +84 -9
- package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +67 -10
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +92 -14
- package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/compositeBar.js +5 -4
- package/vscode/src/vs/workbench/browser/parts/compositeBarActions.js +13 -3
- package/vscode/src/vs/workbench/browser/parts/compositePart.js +13 -5
- package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +12 -0
- package/vscode/src/vs/workbench/browser/parts/editor/binaryDiffEditor.js +10 -10
- package/vscode/src/vs/workbench/browser/parts/editor/binaryEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +8 -7
- package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +16 -8
- package/vscode/src/vs/workbench/browser/parts/editor/diffEditorCommands.js +217 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +14 -16
- package/vscode/src/vs/workbench/browser/parts/editor/editorActions.js +2 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorAutoSave.js +8 -7
- package/vscode/src/vs/workbench/browser/parts/editor/editorCommands.js +4 -202
- package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +11 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +92 -23
- package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +15 -3
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +7 -8
- package/vscode/src/vs/workbench/browser/parts/editor/editorPane.js +7 -6
- package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +12 -32
- package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +11 -1
- package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/editor/editorPlaceholder.js +27 -28
- package/vscode/src/vs/workbench/browser/parts/editor/editorStatus.js +19 -20
- package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +12 -2
- package/vscode/src/vs/workbench/browser/parts/editor/editorWithViewState.js +14 -17
- package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +11 -1
- package/vscode/src/vs/workbench/browser/parts/editor/multiRowEditorTabsControl.js +12 -12
- package/vscode/src/vs/workbench/browser/parts/editor/sideBySideEditor.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/editor/textCodeEditor.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/editor/textDiffEditor.js +17 -17
- package/vscode/src/vs/workbench/browser/parts/editor/textEditor.js +36 -13
- package/vscode/src/vs/workbench/browser/parts/editor/textResourceEditor.js +22 -22
- package/vscode/src/vs/workbench/browser/parts/globalCompositeBar.js +29 -21
- package/vscode/src/vs/workbench/browser/parts/media/compositepart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/media/paneCompositePart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsCenter.js +13 -2
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsToasts.js +11 -1
- package/vscode/src/vs/workbench/browser/parts/notifications/notificationsViewer.js +16 -16
- package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +1 -0
- package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +122 -33
- package/vscode/src/vs/workbench/browser/parts/panel/panelActions.js +14 -3
- package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +15 -2
- package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +37 -0
- package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +36 -18
- package/vscode/src/vs/workbench/browser/parts/titlebar/menubarControl.js +7 -4
- package/vscode/src/vs/workbench/browser/parts/titlebar/windowTitle.js +6 -4
- package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +2 -3
- package/vscode/src/vs/workbench/browser/parts/views/media/views.css.js +1 -1
- package/vscode/src/vs/workbench/browser/parts/views/treeView.js +3 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewFilter.js +13 -3
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.d.ts +6 -0
- package/vscode/src/vs/workbench/browser/parts/views/viewPane.js +28 -11
- package/vscode/src/vs/workbench/browser/parts/views/viewPaneContainer.js +19 -15
- package/vscode/src/vs/workbench/browser/quickaccess.js +42 -15
- package/vscode/src/vs/workbench/browser/style.js +52 -3
- package/vscode/src/vs/workbench/browser/web.api.d.ts +6 -0
- package/vscode/src/vs/workbench/browser/window.js +28 -20
- package/vscode/src/vs/workbench/browser/workbench.contribution.js +83 -9
- package/vscode/src/vs/workbench/common/component.js +0 -1
- package/vscode/src/vs/workbench/common/contextkeys.js +4 -4
- package/vscode/src/vs/workbench/common/editor/editorGroupModel.js +59 -5
- package/vscode/src/vs/workbench/common/editor/editorInput.d.ts +10 -0
- package/vscode/src/vs/workbench/common/editor/editorInput.js +3 -0
- package/vscode/src/vs/workbench/common/editor/filteredEditorGroupModel.js +1 -0
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.d.ts +3 -1
- package/vscode/src/vs/workbench/common/editor/resourceEditorInput.js +7 -3
- package/vscode/src/vs/workbench/common/editor/sideBySideEditorInput.js +3 -3
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.d.ts +2 -1
- package/vscode/src/vs/workbench/common/editor/textResourceEditorInput.js +9 -6
- package/vscode/src/vs/workbench/common/editor.d.ts +33 -13
- package/vscode/src/vs/workbench/common/editor.js +6 -7
- package/vscode/src/vs/workbench/common/theme.js +45 -5
- package/vscode/src/vs/workbench/common/views.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration.js +59 -184
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibilityContributions.js +1 -0
- package/vscode/src/vs/workbench/contrib/accessibility/browser/accessibleView.js +140 -13
- package/vscode/src/vs/workbench/contrib/accessibility/browser/editorAccessibilityHelp.js +1 -1
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignal.contribution.js +1 -0
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalDebuggerContribution.js +4 -2
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/accessibilitySignalLineFeatureContribution.js +35 -36
- package/vscode/src/vs/workbench/contrib/accessibilitySignals/browser/commands.js +1 -1
- package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatAccessibilityHelp.js +4 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatActions.js +21 -12
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatExecuteActions.js +70 -32
- package/vscode/src/vs/workbench/contrib/chat/browser/actions/chatQuickInputActions.js +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chat.js +4 -1
- package/vscode/src/vs/workbench/contrib/chat/browser/chatAccessibilityProvider.js +118 -0
- package/vscode/src/vs/workbench/contrib/chat/browser/chatFollowups.js +11 -6
- package/vscode/src/vs/workbench/contrib/chat/browser/chatInputPart.js +154 -61
- package/vscode/src/vs/workbench/contrib/chat/browser/chatListRenderer.js +186 -224
- package/vscode/src/vs/workbench/contrib/chat/browser/chatMarkdownDecorationsRenderer.js +6 -75
- package/vscode/src/vs/workbench/contrib/chat/browser/chatWidget.js +158 -49
- package/vscode/src/vs/workbench/contrib/chat/browser/codeBlockPart.js +84 -175
- package/vscode/src/vs/workbench/contrib/chat/browser/contrib/chatDynamicVariables.js +38 -5
- package/vscode/src/vs/workbench/contrib/chat/browser/media/chat.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/chat/common/annotations.js +105 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatAgents.js +137 -43
- package/vscode/src/vs/workbench/contrib/chat/common/chatColors.js +44 -0
- package/vscode/src/vs/workbench/contrib/chat/common/chatContextKeys.js +17 -1
- package/vscode/src/vs/workbench/contrib/chat/common/chatModel.js +82 -34
- package/vscode/src/vs/workbench/contrib/chat/common/chatParserTypes.js +17 -3
- package/vscode/src/vs/workbench/contrib/chat/common/chatRequestParser.js +20 -22
- package/vscode/src/vs/workbench/contrib/chat/common/chatViewModel.js +68 -9
- package/vscode/src/vs/workbench/contrib/chat/common/codeBlockModelCollection.js +115 -0
- package/vscode/src/vs/workbench/contrib/chat/common/{chatProvider.js → languageModels.js} +9 -9
- package/vscode/src/vs/workbench/contrib/codeActions/browser/codeActionsContribution.js +5 -4
- package/vscode/src/vs/workbench/contrib/codeActions/browser/documentationContribution.js +2 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/dictation/editorDictation.js +5 -5
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/diffEditorHelper.js +33 -7
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +11 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/quickaccess/gotoSymbolQuickAccess.js +3 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/saveParticipants.js +9 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/suggestEnabledInput/suggestEnabledInput.js +13 -3
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMinimap.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleMultiCursorModifier.js +2 -2
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderControlCharacter.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleRenderWhitespace.js +1 -1
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/toggleWordWrap.js +6 -6
- package/vscode/src/vs/workbench/contrib/codeEditor/{browser → common}/languageConfigurationExtensionPoint.js +79 -74
- package/vscode/src/vs/workbench/contrib/comments/browser/commentColors.js +11 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentGlyphWidget.js +11 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentNode.js +25 -18
- package/vscode/src/vs/workbench/contrib/comments/browser/commentReply.js +14 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentService.js +80 -52
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadWidget.js +12 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadZoneWidget.js +33 -13
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsController.js +129 -57
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsModel.js +15 -15
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsTreeViewer.js +145 -20
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsView.js +61 -95
- package/vscode/src/vs/workbench/contrib/comments/browser/commentsViewActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/media/panel.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/simpleCommentEditor.js +2 -2
- package/vscode/src/vs/workbench/contrib/comments/browser/timestamp.js +4 -3
- package/vscode/src/vs/workbench/contrib/comments/common/commentModel.js +18 -11
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditor.contribution.js +6 -0
- package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInput.js +62 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/baseDebugView.js +6 -4
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.js +34 -5
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.js +48 -29
- package/vscode/src/vs/workbench/contrib/debug/browser/breakpointsView.js +216 -23
- package/vscode/src/vs/workbench/contrib/debug/browser/callStackEditorContribution.js +11 -1
- package/vscode/src/vs/workbench/contrib/debug/browser/debugColors.js +12 -2
- package/vscode/src/vs/workbench/contrib/debug/browser/debugIcons.js +6 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debug.d.ts +23 -5
- package/vscode/src/vs/workbench/contrib/debug/common/debug.js +24 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.d.ts +15 -1
- package/vscode/src/vs/workbench/contrib/debug/common/debugModel.js +30 -6
- package/vscode/src/vs/workbench/contrib/debug/common/replModel.js +2 -2
- package/vscode/src/vs/workbench/contrib/extensions/browser/extensionsActions.js +106 -37
- package/vscode/src/vs/workbench/contrib/extensions/common/extensionsInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/externalUriOpener/common/externalUriOpener.contribution.js +1 -0
- package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +8 -11
- package/vscode/src/vs/workbench/contrib/files/browser/editors/fileEditorInput.js +5 -3
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +23 -24
- package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +17 -12
- package/vscode/src/vs/workbench/contrib/files/browser/explorerViewlet.js +3 -3
- package/vscode/src/vs/workbench/contrib/files/browser/fileActions.js +9 -9
- package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.save.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/files.configuration.contribution.js +10 -0
- package/vscode/src/vs/workbench/contrib/files/browser/views/emptyView.js +11 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerDecorationsProvider.js +11 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerView.js +1 -3
- package/vscode/src/vs/workbench/contrib/files/browser/views/explorerViewer.js +1 -1
- package/vscode/src/vs/workbench/contrib/files/browser/views/openEditorsView.js +15 -6
- package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +4 -8
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatActions.js +674 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatContentWidget.js +154 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatController.js +316 -344
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatFileCreationWidget.js +223 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSession.js +8 -25
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatSessionServiceImpl.js +427 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.js +45 -160
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatWidget.js +358 -702
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatZoneWidget.js +165 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChat.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/media/inlineChatContentWidget.css.js +4 -0
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/utils.js +1 -1
- package/vscode/src/vs/workbench/contrib/inlineChat/common/inlineChat.js +16 -27
- package/vscode/src/vs/workbench/contrib/interactive/browser/interactiveEditorInput.js +19 -4
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +9 -9
- package/vscode/src/vs/workbench/contrib/languageStatus/browser/media/languageStatus.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +2 -2
- package/vscode/src/vs/workbench/contrib/logs/common/defaultLogLevels.js +17 -2
- package/vscode/src/vs/workbench/contrib/logs/common/logsActions.js +236 -0
- package/vscode/src/vs/workbench/contrib/markdown/browser/markdownDocumentRenderer.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput.js +9 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorInputModel.js +8 -6
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeMarkers/mergeMarkersController.js +8 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/mergeEditorModel.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/rangeUtils.js +5 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/model/textModelDiffs.js +2 -0
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/utils.js +4 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +11 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +5 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +5 -3
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +6 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +5 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +7 -5
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +6 -4
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/lineAlignment.js +2 -2
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +23 -19
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +4 -1
- package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +5 -3
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/icons.contribution.js +9 -0
- package/vscode/src/vs/workbench/contrib/multiDiffEditor/browser/multiDiffEditorInput.js +303 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +655 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnostics.js +101 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/executionStatusBarItemController.js +56 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/findMatchDecorationModel.js +11 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFindReplaceWidget.js +11 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +29 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +888 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/coreActions.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebook.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookFolding.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookOutline.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/media/notebookToolbar.css.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider.js +88 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditor.js +60 -46
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.js +42 -52
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellActionView.js +18 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellComments.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellContextKeys.js +28 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellStatusPart.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/cellToolbars.js +11 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/codeCellRunToolbar.js +2 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/foldedCellHint.js +48 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/cellParts/markupCell.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellList.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/notebookCellListView.js +13 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/backLayerWebView.js +57 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellRenderer.js +11 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.js +161 -15
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/baseCellViewModel.js +4 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel.js +21 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/foldingModel.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/markupCellViewModel.js +5 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +14 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineProvider.js +14 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModelImpl.js +3 -0
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorStickyScroll.js +25 -64
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookEditorToolbar.js +27 -22
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelQuickPickStrategy.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookKernelView.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewParts/notebookTopCellToolbar.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.js +8 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookContextKeys.js +3 -1
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorInput.js +7 -14
- package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModel.js +4 -4
- package/vscode/src/vs/workbench/contrib/outline/browser/outline.js +10 -0
- package/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.js +16 -4
- package/vscode/src/vs/workbench/contrib/preferences/browser/preferencesWidgets.js +17 -4
- package/vscode/src/vs/workbench/contrib/preferences/common/settingsEditorColorRegistry.js +11 -1
- package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +26 -8
- package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +16 -6
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtyDiffSwitcher.js +11 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/dirtydiffDecorator.js +18 -8
- package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +235 -0
- package/vscode/src/vs/workbench/contrib/search/browser/searchModel.js +182 -69
- package/vscode/src/vs/workbench/contrib/search/common/constants.js +2 -0
- package/vscode/src/vs/workbench/contrib/speech/common/speechService.js +203 -1
- package/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.js +3 -0
- package/vscode/src/vs/workbench/contrib/tags/common/workspaceTags.js +2 -0
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminal.d.ts +11 -3
- package/vscode/src/vs/workbench/contrib/terminal/browser/terminalEditorInput.js +2 -2
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/markNavigationAddon.js +58 -8
- package/vscode/src/vs/workbench/contrib/terminal/browser/xterm/xtermTerminal.js +3 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.d.ts +1 -0
- package/vscode/src/vs/workbench/contrib/terminal/common/terminal.js +12 -1
- package/vscode/src/vs/workbench/contrib/terminal/common/terminalColorRegistry.js +11 -1
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverage.js +53 -57
- package/vscode/src/vs/workbench/contrib/testing/common/testCoverageService.js +11 -26
- package/vscode/src/vs/workbench/contrib/testing/common/testResult.js +6 -3
- package/vscode/src/vs/workbench/contrib/testing/common/testTypes.js +12 -12
- package/vscode/src/vs/workbench/contrib/testing/common/testingContextKeys.js +8 -0
- package/vscode/src/vs/workbench/contrib/timeline/common/timeline.js +2 -0
- package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +1 -1
- package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +30 -7
- package/vscode/src/vs/workbench/contrib/webview/browser/themeing.js +12 -2
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +50 -41
- package/vscode/src/vs/workbench/contrib/webview/browser/webviewWindowDragMonitor.js +4 -5
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditor.js +20 -22
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewEditorInput.js +4 -1
- package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -0
- package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +3 -3
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedService.js +1 -1
- package/vscode/src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.js +2 -0
- package/vscode/src/vs/workbench/services/assignment/common/assignmentService.js +6 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationAccessService.js +69 -0
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationService.js +69 -811
- package/vscode/src/vs/workbench/services/authentication/browser/authenticationUsageService.js +50 -0
- package/vscode/src/vs/workbench/services/authentication/common/authentication.js +2 -1
- package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +50 -25
- package/vscode/src/vs/workbench/services/banner/browser/bannerService.d.ts +1 -1
- package/vscode/src/vs/workbench/services/editor/browser/codeEditorService.js +1 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorPaneService.js +1 -0
- package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +21 -17
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.d.ts +12 -0
- package/vscode/src/vs/workbench/services/editor/common/customEditorLabelService.js +144 -0
- package/vscode/src/vs/workbench/services/editor/common/editorGroupsService.d.ts +10 -6
- package/vscode/src/vs/workbench/services/editor/common/editorResolverService.d.ts +3 -3
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.d.ts +16 -4
- package/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagement.js +12 -1
- package/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.js +46 -121
- package/vscode/src/vs/workbench/services/extensions/common/abstractExtensionService.d.ts +5 -2
- package/vscode/src/vs/workbench/services/extensions/common/extensions.d.ts +6 -3
- package/vscode/src/vs/workbench/services/extensions/common/extensionsApiProposals.js +9 -1
- package/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.js +4 -4
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.js +8 -1
- package/vscode/src/vs/workbench/services/history/browser/historyService.js +44 -36
- package/vscode/src/vs/workbench/services/history/common/history.d.ts +0 -5
- package/vscode/src/vs/workbench/services/language/common/languageService.js +4 -3
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.d.ts +2 -1
- package/vscode/src/vs/workbench/services/layout/browser/layoutService.js +2 -1
- package/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.js +8 -6
- package/vscode/src/vs/workbench/services/output/common/output.js +4 -1
- package/vscode/src/vs/workbench/services/remote/common/tunnelModel.js +2 -2
- package/vscode/src/vs/workbench/services/search/common/search.js +1 -0
- package/vscode/src/vs/workbench/services/search/common/textSearchManager.js +15 -5
- package/vscode/src/vs/workbench/services/statusbar/browser/statusbar.d.ts +6 -1
- package/vscode/src/vs/workbench/services/textfile/common/textFileEditorModel.js +1 -1
- package/vscode/src/vs/workbench/services/textfile/common/textfiles.d.ts +1 -1
- package/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.js +11 -1
- package/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorInput.js +5 -3
- package/vscode/src/vs/workbench/services/userActivity/common/userActivityService.js +1 -1
- package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfile.js +1 -0
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopy.js +7 -7
- package/vscode-dts/vscode.proposed.aiTextSearchProvider.d.ts +261 -0
- package/vscode-dts/vscode.proposed.authLearnMore.d.ts +16 -0
- package/vscode-dts/vscode.proposed.chatParticipant.d.ts +49 -78
- package/vscode-dts/vscode.proposed.chatParticipantAdditions.d.ts +13 -16
- package/vscode-dts/vscode.proposed.chatProvider.d.ts +1 -1
- package/vscode-dts/vscode.proposed.commentThreadApplicability.d.ts +32 -0
- package/vscode-dts/vscode.proposed.commentingRangeHint.d.ts +16 -0
- package/vscode-dts/vscode.proposed.contribCommentsViewThreadMenus.d.ts +6 -0
- package/vscode-dts/vscode.proposed.contribDiffEditorGutterToolBarMenus.d.ts +6 -0
- package/vscode-dts/vscode.proposed.debugFocus.d.ts +15 -23
- package/vscode-dts/vscode.proposed.defaultChatParticipant.d.ts +10 -0
- package/vscode-dts/vscode.proposed.documentPaste.d.ts +115 -30
- package/vscode-dts/vscode.proposed.dropMetadata.d.ts +19 -14
- package/vscode-dts/vscode.proposed.fileComments.d.ts +2 -4
- package/vscode-dts/vscode.proposed.inlineCompletionsAdditions.d.ts +18 -0
- package/vscode-dts/vscode.proposed.interactive.d.ts +0 -16
- package/vscode-dts/vscode.proposed.languageModels.d.ts +115 -53
- package/vscode-dts/vscode.proposed.notebookCellExecution.d.ts +44 -0
- package/vscode-dts/vscode.proposed.notebookVariableProvider.d.ts +3 -0
- package/vscode-dts/vscode.proposed.tabInputMultiDiff.d.ts +22 -0
- package/vscode-dts/vscode.proposed.terminalExecuteCommandEvent.d.ts +2 -0
- package/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts +207 -0
- package/vscode/src/vs/editor/browser/services/hoverService.d.ts +0 -30
- package/vscode/src/vs/editor/browser/widget/embeddedCodeEditorWidget.js +0 -74
- package/vscode/src/vs/editor/browser/widget/media/editor.css.js +0 -4
- package/vscode/src/vs/platform/quickinput/browser/quickInputList.js +0 -881
- package/vscode/src/vs/platform/theme/common/colorRegistry.js +0 -1316
- package/vscode/src/vs/workbench/api/common/extHostChatProvider.js +0 -253
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/chat/browser/chatSlashCommandContentWidget.js +0 -74
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChat.css.js +0 -4
- package/vscode/src/vs/workbench/contrib/inlineChat/browser/inlineChatLivePreviewWidget.js +0 -424
- package/vscode-dts/vscode.proposed.testCoverage.d.ts +0 -222
- /package/vscode/src/vs/base/browser/ui/hover/{hover.css.js → hoverWidget.css.js} +0 -0
- /package/vscode/src/vs/editor/browser/{widget/hoverWidget → services/hoverService}/hover.css.js +0 -0
- /package/vscode/src/vs/editor/browser/widget/{multiDiffEditorWidget → multiDiffEditor}/objectPool.js +0 -0
- /package/vscode/src/vs/editor/contrib/indentation/{browser → common}/indentUtils.js +0 -0
- /package/vscode/src/vs/editor/contrib/rename/browser/{renameInputField.css.js → renameWidget.css.js} +0 -0
- /package/vscode/src/vs/platform/theme/common/{colorRegistry.d.ts → colorUtils.d.ts} +0 -0
|
@@ -18,6 +18,7 @@ const NOTEBOOK_ACTIONS_CATEGORY = ( localize2WithPath(
|
|
|
18
18
|
const CELL_TITLE_CELL_GROUP_ID = 'inline/cell';
|
|
19
19
|
const CELL_TITLE_OUTPUT_GROUP_ID = 'inline/output';
|
|
20
20
|
const NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT = 100 ;
|
|
21
|
+
const NOTEBOOK_OUTPUT_WEBVIEW_ACTION_WEIGHT = 200 + 1;
|
|
21
22
|
function getContextFromActiveEditor(editorService) {
|
|
22
23
|
const editor = getNotebookEditorFromEditorPane(editorService.activeEditorPane);
|
|
23
24
|
if (!editor || !editor.hasModel()) {
|
|
@@ -323,4 +324,4 @@ MenuRegistry.appendMenuItem(MenuId.NotebookCellTitle, {
|
|
|
323
324
|
submenu: MenuId.EditorContextShare,
|
|
324
325
|
group: "4_share"
|
|
325
326
|
});
|
|
326
|
-
export { CELL_TITLE_CELL_GROUP_ID, CELL_TITLE_OUTPUT_GROUP_ID, NOTEBOOK_ACTIONS_CATEGORY, NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT, NotebookAction, NotebookCellAction, NotebookMultiCellAction, SELECT_KERNEL_ID, cellExecutionArgs, executeNotebookCondition, findTargetCellEditor, getContextFromActiveEditor, getContextFromUri, getEditorFromArgsOrActivePane, parseMultiCellExecutionArgs };
|
|
327
|
+
export { CELL_TITLE_CELL_GROUP_ID, CELL_TITLE_OUTPUT_GROUP_ID, NOTEBOOK_ACTIONS_CATEGORY, NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT, NOTEBOOK_OUTPUT_WEBVIEW_ACTION_WEIGHT, NotebookAction, NotebookCellAction, NotebookMultiCellAction, SELECT_KERNEL_ID, cellExecutionArgs, executeNotebookCondition, findTargetCellEditor, getContextFromActiveEditor, getContextFromUri, getEditorFromArgsOrActivePane, parseMultiCellExecutionArgs };
|
package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js
CHANGED
|
@@ -3,7 +3,7 @@ import { DisposableStore } from '../../../../../base/common/lifecycle.js';
|
|
|
3
3
|
import { IBulkEditService, ResourceTextEdit } from '../../../../../editor/browser/services/bulkEditService.js';
|
|
4
4
|
import { Range } from '../../../../../editor/common/core/range.js';
|
|
5
5
|
import { ITextModelService } from '../../../../../editor/common/services/resolverService.js';
|
|
6
|
-
import {
|
|
6
|
+
import { Action2, registerAction2 } from '../../../../../platform/actions/common/actions.js';
|
|
7
7
|
import { IConfigurationService } from '../../../../../platform/configuration/common/configuration.js';
|
|
8
8
|
import { ILogService } from '../../../../../platform/log/common/log.js';
|
|
9
9
|
import { IQuickInputService } from '../../../../../platform/quickinput/common/quickInput.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".monaco-workbench .notebookOverlay.notebook-editor{box-sizing:border-box;line-height:22px;position:relative;user-select:auto;-webkit-user-select:initial}.monaco-workbench .notebookOverlay .cell-list-container>.monaco-list{position:absolute}.monaco-workbench .notebookOverlay .cell-list-container .monaco-list-rows{min-height:100%;overflow:visible!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div{white-space:normal;z-index:600!important}.monaco-workbench .notebookOverlay .cell-list-container .monaco-editor .overlayWidgets{z-index:638!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div.parameter-hints-widget{z-index:639!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div.suggest-widget{z-index:640!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div .suggest-details-container{z-index:641!important}.monaco-workbench .notebookOverlay .cell-list-container .monaco-editor .zone-widget.interactive-editor-widget .interactive-editor .markdownMessage{white-space:normal}.monaco-workbench .notebookOverlay .cell-list-container{position:relative}.monaco-workbench .notebookOverlay.global-drag-active .webview{pointer-events:none}.monaco-workbench .notebookOverlay .cell-list-container .webview-cover{position:absolute;top:0}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row,.monaco-workbench .notebookOverlay>.cell-list-container>.notebook-gutter>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row{cursor:default;overflow:visible!important;width:100%}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell{display:flex;position:relative}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu{left:0;margin:auto;padding-left:4px;position:absolute;top:28px;visibility:hidden;width:16px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-output-hover .menu,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu.mouseover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover .menu{visibility:visible}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-output-hover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row.focused,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover{outline:none!important}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container{align-items:center;box-sizing:border-box;display:flex;position:relative;width:100%}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .collapsed-execution-icon{line-height:normal;margin-left:6px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .collapsed-execution-icon .codicon-notebook-state-success{color:var(--vscode-notebookStatusSuccessIcon-foreground)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .collapsed-execution-icon .codicon-notebook-state-error{color:var(--vscode-notebookStatusErrorIcon-foreground)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview{align-items:center;display:flex;padding:0 8px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview .monaco-tokenized-source{cursor:pointer;font-family:var(--notebook-cell-input-preview-font-family);font-size:var(--notebook-cell-input-preview-font-size);overflow:hidden;white-space:normal}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview .expandInputIcon{border-radius:5px;cursor:pointer;height:16px;padding:2px;width:16px;z-index:var(--z-index-notebook-input-collapse-condicon)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview .expandInputIcon:before{color:grey;font-size:12px;line-height:16px;vertical-align:bottom}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container{cursor:pointer}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container .expandOutputPlaceholder{font-family:var(--monaco-monospace-font);font-size:var(--notebook-cell-output-font-size);font-style:italic;min-height:24px;opacity:.7;user-select:none}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container .expandOutputIcon{border-radius:5px;height:16px;left:0;margin-left:4px;padding:2px;position:relative;vertical-align:middle;width:16px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-expand-part-button{border-radius:5px;height:16px;left:0;margin-left:4px;padding:2px;position:relative;vertical-align:middle;width:16px;z-index:var(--z-index-notebook-cell-expand-part-button)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-expand-part-button:before,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container .expandOutputIcon:before{color:grey;font-size:12px;line-height:16px;vertical-align:bottom}.monaco-workbench.hc-black .notebookOverlay .monaco-list-row.focused .cell-editor-focus .cell-editor-part:before,.monaco-workbench.hc-light .notebookOverlay .monaco-list-row.focused .cell-editor-focus .cell-editor-part:before{outline-style:dashed}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu.mouseover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu:hover{cursor:pointer}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container{flex-shrink:0;left:-35px;position:absolute;width:35px;z-index:var(--z-index-run-button-container)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container .monaco-toolbar{height:auto;visibility:hidden}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container .monaco-toolbar .action-item:not(.monaco-dropdown-with-primary) .codicon{padding:6px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container .monaco-toolbar .actions-container{justify-content:center}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-output-hover .run-button-container .monaco-toolbar,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-run-toolbar-dropdown-active .run-button-container .monaco-toolbar,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row.focused .run-button-container .monaco-toolbar,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover .run-button-container .monaco-toolbar{visibility:visible}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .execution-count-label{box-sizing:border-box;font-family:var(--monaco-monospace-font);font-size:10px;opacity:.7;position:absolute;right:0;text-align:center;white-space:pre;width:35px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-statusbar-hidden .execution-count-label{line-height:15px}.monaco-workbench .notebookOverlay .cell .cell-editor-part{position:relative}.monaco-workbench .notebookOverlay .cell .monaco-progress-container{left:0;position:absolute;top:-3px;z-index:var(--z-index-notebook-progress-bar)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list:not(.element-focused):focus:before{outline:none!important}.monaco-workbench .notebookOverlay.notebook-editor>.cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar.visible{cursor:default;z-index:var(--z-index-notebook-scrollbar)}.monaco-workbench .notebookOverlay .monaco-list-row .cell-editor-part:before{bottom:0;content:\"\";display:block;left:0;outline-offset:-1px;pointer-events:none;position:absolute;right:0;top:0;z-index:var(--z-index-notebook-cell-editor-outline)}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-insertion-indicator-top{top:-15px}.monaco-workbench .notebookOverlay>.cell-list-container>.cell-list-insertion-indicator{height:2px;left:0;opacity:0;position:absolute;right:0;z-index:var(--z-index-notebook-list-insertion-indicator)}.monaco-action-bar .action-item.verticalSeparator{cursor:default;height:16px!important;margin:5px 4px!important;min-width:1px!important;width:1px!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-decoration{display:flex;position:absolute;top:-6px}.cell-contributed-items.cell-contributed-items-left{margin-left:4px}.cell-contributed-items.cell-contributed-items-right{flex-direction:row-reverse}.monaco-workbench .notebookOverlay .monaco-list:focus-within .monaco-list-row .codicon:not(.suggest-icon){color:inherit}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-overview-ruler-container{position:absolute;right:0;top:0}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-top:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-top:before{border-top-style:dotted}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-bottom:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-bottom:before{border-bottom-style:dotted}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-left:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-left:before{border-left-style:dotted}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-right:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-right:before{border-right-style:dotted}.cell-comment-container.review-widget{border-left:1px solid var(--vscode-peekView-border);border-right:1px solid var(--vscode-peekView-border)}.cell-comment-container.review-widget>.head{border-top:1px solid var(--vscode-peekView-border)}.cell-comment-container.review-widget>.body{border-bottom:1px solid var(--vscode-peekView-border)}.cell-comment-container.review-widget{background-color:var(--vscode-peekViewResult-background)}.notebookOverlay .cell-drag-image .cell-editor-container>div{background:var(--vscode-editor-background)!important}.notebookOverlay .cell-bottom-toolbar-container .action-item,.notebookOverlay .cell-list-top-cell-toolbar-container .action-item,.notebookOverlay .monaco-list-row .cell-title-toolbar,.notebookOverlay .monaco-list-row.cell-drag-image{background-color:var(--vscode-editor-background)}.monaco-workbench .notebookOverlay.notebook-editor{background-color:var(--vscode-notebook-editorBackground)}.notebookOverlay .cell .cell-statusbar-container,.notebookOverlay .cell .margin-view-overlays,.notebookOverlay .cell .monaco-editor-background{background:var(--vscode-notebook-cellEditorBackground,var(--vscode-editor-background))}.notebookOverlay .cell-bottom-toolbar-container .action-item,.notebookOverlay .cell-list-top-cell-toolbar-container .action-item,.notebookOverlay .monaco-list-row .cell-title-toolbar{border:1px solid var(--vscode-notebook-cellToolbarSeparator)}.notebookOverlay .monaco-action-bar .action-item.verticalSeparator{background-color:var(--vscode-notebook-cellToolbarSeparator)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container{border-bottom:1px solid var(--vscode-notebook-cellToolbarSeparator)}.notebookOverlay .code-cell-row.focused .cell-focus-indicator,.notebookOverlay .code-cell-row.focused .input-collapse-container,.notebookOverlay .markdown-cell-row.focused{background-color:var(--vscode-notebook-focusedCellBackground)!important}.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-bottom,.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-left,.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-right,.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-top,.notebookOverlay .monaco-list.selection-multiple .markdown-cell-row.selected,.notebookOverlay .monaco-list.selection-multiple .markdown-cell-row.selected .cell-focus-indicator-bottom{background-color:var(--vscode-notebook-selectedCellBackground,inherit)!important}.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-focus-indicator-bottom:before,.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-focus-indicator-top:before,.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-left:before,.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-right:before{border-color:var(--vscode-notebook-inactiveSelectedCellBorder,transparent)!important}.notebookOverlay .code-cell-row:not(.focused).cell-output-hover .cell-focus-indicator,.notebookOverlay .code-cell-row:not(.focused):hover .cell-focus-indicator,.notebookOverlay .markdown-cell-row:not(.focused):hover{background-color:var(--vscode-notebook-cellHoverBackground)!important}.notebookOverlay .code-cell-row:not(.focused).cell-output-hover .input-collapse-container,.notebookOverlay .code-cell-row:not(.focused):hover .input-collapse-container{background-color:var(--vscode-notebook-cellHoverBackground)}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-symbolHighlight .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-symbolHighlight{background-color:var(--vscode-notebook-symbolHighlightBackground)!important}.notebookOverlay .monaco-list:focus-within .monaco-list-row.focused .cell-editor-focus .cell-editor-part:before{outline:solid 1px var(--vscode-notebook-focusedEditorBorder)}.notebookOverlay .cell.markdown h1{border-color:var(--vscode-notebook-cellBorderColor)}.notebookOverlay .monaco-list-row .cell-editor-part:before{outline:solid 1px var(--vscode-notebook-cellBorderColor)}.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-language-picker:hover,.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-status-item.cell-status-item-has-command:hover{background-color:var(--vscode-notebook-cellStatusBarItemHoverBackground)}.notebookOverlay>.cell-list-container>.cell-list-insertion-indicator{background-color:var(--vscode-notebook-cellInsertionIndicator)}.notebookOverlay .cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-notebookScrollbarSlider-background)}.notebookOverlay .cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-notebookScrollbarSlider-hoverBackground)}.notebookOverlay .cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-notebookScrollbarSlider-activeBackground)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-expand-part-button:hover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .expandInputIcon:hover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .expandOutputIcon:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-cell-modified .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-cell-modified{background-color:var(--vscode-editorGutter-modifiedBackground)!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-cell-added .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-cell-added{background-color:var(--vscode-diffEditor-insertedTextBackground)!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-cell-deleted .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-cell-deleted{background-color:var(--vscode-diffEditor-removedTextBackground)!important}.monaco-workbench .notebookOverlay .codicon-debug-continue{color:var(--vscode-icon-foreground)!important}";
|
|
2
|
+
var css = ".monaco-workbench .notebookOverlay.notebook-editor{box-sizing:border-box;line-height:22px;position:relative;user-select:auto;-webkit-user-select:initial}.monaco-workbench .notebookOverlay .cell-list-container>.monaco-list{position:absolute}.monaco-workbench .notebookOverlay .cell-list-container .monaco-list-rows{min-height:100%;overflow:visible!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div{white-space:normal;z-index:600!important}.monaco-workbench .notebookOverlay .cell-list-container .monaco-editor .overlayWidgets{z-index:638!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div.parameter-hints-widget{z-index:639!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div.suggest-widget{z-index:640!important}.monaco-workbench .notebookOverlay .cell-list-container .overflowingContentWidgets>div .suggest-details-container{z-index:641!important}.monaco-workbench .notebookOverlay .cell-list-container .monaco-editor .zone-widget.interactive-editor-widget .interactive-editor .markdownMessage{white-space:normal}.monaco-workbench .notebookOverlay .cell-list-container{position:relative}.monaco-workbench .notebookOverlay.global-drag-active .webview{pointer-events:none}.monaco-workbench .notebookOverlay .cell-list-container .webview-cover{position:absolute;top:0}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row,.monaco-workbench .notebookOverlay>.cell-list-container>.notebook-gutter>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row{cursor:default;overflow:visible!important;width:100%}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell{display:flex;position:relative}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu{left:0;margin:auto;padding-left:4px;position:absolute;top:28px;visibility:hidden;width:16px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-output-hover .menu,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu.mouseover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover .menu{visibility:visible}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-output-hover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row.focused,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover{outline:none!important}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container{align-items:center;box-sizing:border-box;display:flex;position:relative;width:100%}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .collapsed-execution-icon{line-height:normal;margin-left:6px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .collapsed-execution-icon .codicon-notebook-state-success{color:var(--vscode-notebookStatusSuccessIcon-foreground)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .collapsed-execution-icon .codicon-notebook-state-error{color:var(--vscode-notebookStatusErrorIcon-foreground)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview{align-items:center;display:flex;padding:0 8px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview .monaco-tokenized-source{cursor:pointer;font-family:var(--notebook-cell-input-preview-font-family);font-size:var(--notebook-cell-input-preview-font-size);overflow:hidden;white-space:normal}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview .expandInputIcon{border-radius:5px;cursor:pointer;height:16px;padding:2px;width:16px;z-index:var(--z-index-notebook-input-collapse-condicon)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container .cell-collapse-preview .expandInputIcon:before{color:grey;font-size:12px;line-height:16px;vertical-align:bottom}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container{cursor:pointer}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container .expandOutputPlaceholder{font-family:var(--monaco-monospace-font);font-size:var(--notebook-cell-output-font-size);font-style:italic;min-height:24px;opacity:.7;user-select:none}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container .expandOutputIcon{border-radius:5px;height:16px;left:0;margin-left:4px;padding:2px;position:relative;vertical-align:middle;width:16px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-expand-part-button{border-radius:5px;height:16px;left:0;margin-left:4px;padding:2px;position:relative;vertical-align:middle;width:16px;z-index:var(--z-index-notebook-cell-expand-part-button)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-expand-part-button:before,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .output-collapse-container .expandOutputIcon:before{color:grey;font-size:12px;line-height:16px;vertical-align:bottom}.monaco-workbench.hc-black .notebookOverlay .monaco-list-row.focused .cell-editor-focus .cell-editor-part:before,.monaco-workbench.hc-light .notebookOverlay .monaco-list-row.focused .cell-editor-focus .cell-editor-part:before{outline-style:dashed}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu.mouseover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .menu:hover{cursor:pointer}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container{flex-shrink:0;left:-35px;position:absolute;width:35px;z-index:var(--z-index-run-button-container)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container .monaco-toolbar{height:auto;visibility:hidden}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container .monaco-toolbar .action-item:not(.monaco-dropdown-with-primary) .codicon{padding:6px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .run-button-container .monaco-toolbar .actions-container{justify-content:center}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-output-hover .run-button-container .monaco-toolbar,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-run-toolbar-dropdown-active .run-button-container .monaco-toolbar,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row.focused .run-button-container .monaco-toolbar,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover .run-button-container .monaco-toolbar{visibility:visible}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .execution-count-label{box-sizing:border-box;font-family:var(--monaco-monospace-font);font-size:10px;opacity:.7;position:absolute;right:0;text-align:center;white-space:pre;width:35px}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-statusbar-hidden .execution-count-label{line-height:15px}.monaco-workbench .notebookOverlay .cell .cell-editor-part{position:relative}.monaco-workbench .notebookOverlay .cell .monaco-progress-container{left:0;position:absolute;top:-3px;z-index:var(--z-index-notebook-progress-bar)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list:not(.element-focused):focus:before{outline:none!important}.monaco-workbench .notebookOverlay.notebook-editor>.cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar.visible{cursor:default;z-index:var(--z-index-notebook-scrollbar)}.monaco-workbench .notebookOverlay .monaco-list-row .cell-editor-part:before{bottom:0;content:\"\";display:block;left:0;outline-offset:-1px;pointer-events:none;position:absolute;right:0;top:0;z-index:var(--z-index-notebook-cell-editor-outline)}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-insertion-indicator-top{top:-15px}.monaco-workbench .notebookOverlay>.cell-list-container>.cell-list-insertion-indicator{height:2px;left:0;opacity:0;position:absolute;right:0;z-index:var(--z-index-notebook-list-insertion-indicator)}.monaco-action-bar .action-item.verticalSeparator{cursor:default;height:16px!important;margin:5px 4px!important;min-width:1px!important;width:1px!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row .cell-decoration{display:flex;position:absolute;top:-6px}.cell-contributed-items.cell-contributed-items-left{margin-left:4px}.cell-contributed-items.cell-contributed-items-right{flex-direction:row-reverse}.monaco-workbench .notebookOverlay .monaco-list:focus-within .monaco-list-row .codicon:not(.suggest-icon){color:inherit}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-overview-ruler-container{position:absolute;right:0;top:0}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-top:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-top:before{border-top-style:dotted}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-bottom:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-focus-indicator-bottom:before{border-bottom-style:dotted}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-left:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-left:before{border-left-style:dotted}.hc-black .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-right:before,.hc-light .notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected:not(.focused) .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-right:before{border-right-style:dotted}.cell-comment-container.review-widget{border-left:1px solid var(--vscode-peekView-border);border-right:1px solid var(--vscode-peekView-border)}.cell-comment-container.review-widget>.head{border-top:1px solid var(--vscode-peekView-border)}.cell-comment-container.review-widget>.body{border-bottom:1px solid var(--vscode-peekView-border)}.cell-comment-container.review-widget{background-color:var(--vscode-peekViewResult-background)}.notebookOverlay .cell-drag-image .cell-editor-container>div{background:var(--vscode-editor-background)!important}.notebookOverlay .cell-bottom-toolbar-container .action-item,.notebookOverlay .cell-list-top-cell-toolbar-container .action-item,.notebookOverlay .monaco-list-row .cell-title-toolbar,.notebookOverlay .monaco-list-row.cell-drag-image{background-color:var(--vscode-editor-background)}.monaco-workbench .notebookOverlay.notebook-editor{background-color:var(--vscode-notebook-editorBackground)}.notebookOverlay .cell .cell-statusbar-container,.notebookOverlay .cell .margin-view-overlays,.notebookOverlay .cell .monaco-editor-background{background:var(--vscode-notebook-cellEditorBackground,var(--vscode-editor-background))}.notebookOverlay .cell-bottom-toolbar-container .action-item,.notebookOverlay .cell-list-top-cell-toolbar-container .action-item,.notebookOverlay .monaco-list-row .cell-title-toolbar{border:1px solid var(--vscode-notebook-cellToolbarSeparator)}.notebookOverlay .monaco-action-bar .action-item.verticalSeparator{background-color:var(--vscode-notebook-cellToolbarSeparator)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .input-collapse-container{border-bottom:1px solid var(--vscode-notebook-cellToolbarSeparator)}.notebookOverlay .code-cell-row.focused .cell-focus-indicator,.notebookOverlay .code-cell-row.focused .input-collapse-container,.notebookOverlay .markdown-cell-row.focused{background-color:var(--vscode-notebook-focusedCellBackground)!important}.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-bottom,.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-left,.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-right,.notebookOverlay .monaco-list.selection-multiple .code-cell-row.selected .cell-focus-indicator-top,.notebookOverlay .monaco-list.selection-multiple .markdown-cell-row.selected,.notebookOverlay .monaco-list.selection-multiple .markdown-cell-row.selected .cell-focus-indicator-bottom{background-color:var(--vscode-notebook-selectedCellBackground,inherit)!important}.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-focus-indicator-bottom:before,.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-focus-indicator-top:before,.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-left:before,.notebookOverlay .monaco-list.selection-multiple:focus-within .monaco-list-row.selected .cell-inner-container:not(.cell-editor-focus) .cell-focus-indicator-right:before{border-color:var(--vscode-notebook-inactiveSelectedCellBorder,transparent)!important}.notebookOverlay .code-cell-row:not(.focused).cell-output-hover .cell-focus-indicator,.notebookOverlay .code-cell-row:not(.focused):hover .cell-focus-indicator,.notebookOverlay .markdown-cell-row:not(.focused):hover{background-color:var(--vscode-notebook-cellHoverBackground)!important}.notebookOverlay .code-cell-row:not(.focused).cell-output-hover .input-collapse-container,.notebookOverlay .code-cell-row:not(.focused):hover .input-collapse-container{background-color:var(--vscode-notebook-cellHoverBackground)}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-symbolHighlight .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-symbolHighlight{background-color:var(--vscode-notebook-symbolHighlightBackground)!important}.notebookOverlay .monaco-list:focus-within .monaco-list-row.focused .cell-editor-focus .cell-editor-part:before{outline:solid 1px var(--vscode-notebook-focusedEditorBorder)}.notebookOverlay .cell.markdown h1{border-color:var(--vscode-notebook-cellBorderColor)}.notebookOverlay .monaco-list-row .cell-editor-part:before{outline:solid 1px var(--vscode-notebook-cellBorderColor)}.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-language-picker:hover,.monaco-workbench .notebookOverlay .cell-statusbar-container .cell-status-item.cell-status-item-has-command:hover{background-color:var(--vscode-notebook-cellStatusBarItemHoverBackground)}.notebookOverlay>.cell-list-container>.cell-list-insertion-indicator{background-color:var(--vscode-notebook-cellInsertionIndicator)}.notebookOverlay .cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar>.slider{background:var(--vscode-notebookScrollbarSlider-background)}.notebookOverlay .cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar>.slider:hover{background:var(--vscode-notebookScrollbarSlider-hoverBackground)}.notebookOverlay .cell-list-container>.monaco-list>.monaco-scrollable-element>.scrollbar>.slider.active{background:var(--vscode-notebookScrollbarSlider-activeBackground)}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .cell-expand-part-button:hover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .expandInputIcon:hover,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .expandOutputIcon:hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-cell-modified .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-cell-modified{background-color:var(--vscode-editorGutter-modifiedBackground)!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-cell-added .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-cell-added{background-color:var(--vscode-diffEditor-insertedTextBackground)!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-cell-deleted .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-cell-deleted{background-color:var(--vscode-diffEditor-removedTextBackground)!important}.monaco-workbench .notebookOverlay .codicon-debug-continue{color:var(--vscode-icon-foreground)!important}.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.code-cell-row.nb-chatGenerationHighlight .cell-focus-indicator,.monaco-workbench .notebookOverlay .monaco-list .monaco-list-row.markdown-cell-row.nb-chatGenerationHighlight{background-color:var(--vscode-notebook-selectedCellBackground)!important}";
|
|
3
3
|
n(css,{});
|
|
4
4
|
export { css, css as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded{opacity:0}.monaco-workbench:not(.reduce-motion) .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded{transition:opacity s .1}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .markdown-cell-hover .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row.focused .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded{opacity:1}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-folding-indicator{align-items:center;display:flex;height:20px;justify-content:center;left:6px;position:absolute;top:10px;width:20px;z-index:var(--z-index-notebook-folding-indicator)}.monaco-workbench .notebookOverlay>.cell-list-container .webview-backed-markdown-cell .notebook-folding-indicator{top:8px}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-folding-indicator .codicon{height:16px;padding:4px;visibility:visible}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-folded-hint{position:absolute;user-select:none}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-folded-hint-label{font-family:var(--monaco-monospace-font);font-size:var(--notebook-cell-output-font-size);font-style:italic;opacity:.7}.monaco-workbench .notebookOverlay .cell-editor-container .monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-workbench .notebookOverlay .cell-editor-container .monaco-editor .margin-view-overlays .codicon-folding-expanded{margin-left:0}";
|
|
2
|
+
var css = ".monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded{opacity:0}.monaco-workbench:not(.reduce-motion) .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded{transition:opacity s .1}.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row .markdown-cell-hover .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row.focused .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded,.monaco-workbench .notebookOverlay>.cell-list-container>.monaco-list>.monaco-scrollable-element>.monaco-list-rows>.monaco-list-row:hover .notebook-folding-indicator.mouseover .codicon.codicon-notebook-expanded{opacity:1}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-folding-indicator{align-items:center;display:flex;height:20px;justify-content:center;left:6px;position:absolute;top:10px;width:20px;z-index:var(--z-index-notebook-folding-indicator)}.monaco-workbench .notebookOverlay>.cell-list-container .webview-backed-markdown-cell .notebook-folding-indicator{top:8px}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-folding-indicator .codicon{height:16px;padding:4px;visibility:visible}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-folded-hint{align-items:center;display:flex;position:absolute;user-select:none}.monaco-workbench .notebookOverlay>.cell-list-container .notebook-folded-hint-label{font-family:var(--monaco-monospace-font);font-size:var(--notebook-cell-output-font-size);font-style:italic;opacity:.7}.monaco-workbench .notebookOverlay>.cell-list-container .folded-cell-run-section-button{border-radius:5px;height:16px;left:0;margin-right:4px;padding:2px;position:relative;width:16px;z-index:var(--z-index-notebook-cell-expand-part-button)}.monaco-workbench .notebookOverlay>.cell-list-container .folded-cell-run-section-button:hover{background-color:var(--vscode-editorStickyScrollHover-background);cursor:pointer}.monaco-workbench .notebookOverlay .cell-editor-container .monaco-editor .margin-view-overlays .codicon-folding-collapsed,.monaco-workbench .notebookOverlay .cell-editor-container .monaco-editor .margin-view-overlays .codicon-folding-expanded{margin-left:0}";
|
|
3
3
|
n(css,{});
|
|
4
4
|
export { css, css as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".monaco-list .notebook-outline-element{align-items:center;display:flex;flex:1;flex-flow:row nowrap}.monaco-list .notebook-outline-element>.element-icon.file-icon{height:100%}.monaco-breadcrumbs>.notebook-outline-element>.element-icon.file-icon{height:18px}.monaco-list .notebook-outline-element .monaco-highlighted-label{color:var(--outline-element-color)}.monaco-breadcrumbs .notebook-outline-element .element-decoration,.monaco-list .notebook-outline-element>.element-decoration{color:var(--outline-element-color);font-size:90%;font-weight:600;margin-left:auto;opacity:.75;padding:0 12px 0 5px;text-align:center}.monaco-list .notebook-outline-element>.element-decoration.bubble{font-family:codicon;font-size:14px;opacity:.4;padding-right:8px}.monaco-breadcrumbs .notebook-outline-element .element-decoration{display:none}";
|
|
2
|
+
var css = ".monaco-list .notebook-outline-element{align-items:center;display:flex;flex:1;flex-flow:row nowrap}.monaco-list .notebook-outline-element>.element-icon.file-icon{height:100%}.monaco-breadcrumbs>.notebook-outline-element>.element-icon.file-icon{height:18px}.monaco-list .notebook-outline-element .monaco-highlighted-label{color:var(--outline-element-color)}.monaco-breadcrumbs .notebook-outline-element .element-decoration,.monaco-list .notebook-outline-element>.element-decoration{color:var(--outline-element-color);font-size:90%;font-weight:600;margin-left:auto;opacity:.75;padding:0 12px 0 5px;text-align:center}.monaco-list .notebook-outline-element>.element-decoration.bubble{font-family:codicon;font-size:14px;opacity:.4;padding-right:8px}.monaco-breadcrumbs .notebook-outline-element .element-decoration,.monaco-list-row .notebook-outline-element .action-menu{display:none}.monaco-list-row .notebook-outline-element.notebook-outline-toolbar-dropdown-active .action-menu,.monaco-list-row.focused.selected .notebook-outline-element .action-menu,.monaco-list-row:hover .notebook-outline-element .action-menu{display:flex}";
|
|
3
3
|
n(css,{});
|
|
4
4
|
export { css, css as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import n from '../../../../../../../../external/rollup-plugin-styles/dist/runtime/inject-css.js';
|
|
2
|
-
var css = ".monaco-workbench .notebookOverlay .notebook-toolbar-container{contain:style;display:none;margin-bottom:2px;margin-top:2px;width:100%}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item{align-items:center;border-radius:5px;display:flex;height:22px;margin-right:8px}.monaco-workbench .notebookOverlay .notebook-toolbar-container>.monaco-scrollable-element{flex:1}.monaco-workbench .notebookOverlay .notebook-toolbar-container>.monaco-scrollable-element .notebook-toolbar-left{padding:0 0 0 8px}.monaco-workbench .notebookOverlay .notebook-toolbar-container .notebook-toolbar-right{display:flex;padding:0}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item .kernel-label{background-size:16px;border-radius:5px;font-size:13px;height:22px;padding:0 5px 0 3px}.monaco-workbench .notebookOverlay .notebook-toolbar-container .notebook-toolbar-left .monaco-action-bar li a[tabindex=\"0\"]:focus{outline:none!important}.monaco-workbench .notebookOverlay .notebook-toolbar-container .notebook-toolbar-left .monaco-action-bar li:has(a:focus){opacity:1;outline-color:var(--vscode-focusBorder);outline-offset:-1px;outline-style:solid;outline-width:1px}.monaco-workbench .notebookOverlay .notebook-toolbar-container .notebook-toolbar-left .monaco-action-bar .action-item .action-label.separator{margin:5px 0!important;padding:0!important}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item:not(.disabled):hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item .action-label{background-size:16px;padding-left:2px}.monaco-workbench .notebook-action-view-item .action-label{display:inline-flex}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item .notebook-label{background-color:unset;background-size:16px;border-radius:5px;padding:0 5px 0 2px}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item.disabled .notebook-label{opacity:.4}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar:not(.vertical) .action-item.active .action-label:not(.disabled),.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar:not(.vertical) .action-label:not(.disabled):hover{background-color:unset}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar:not(.vertical) .action-item.active{background-color:var(--vscode-toolbar-activeBackground)}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item .codicon-notebook-state-error{color:var(--vscode-notebookStatusErrorIcon-foreground)}";
|
|
2
|
+
var css = ".monaco-workbench .notebookOverlay .notebook-toolbar-container{contain:style;display:none;margin-bottom:2px;margin-top:2px;width:100%}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item{align-items:center;border-radius:5px;display:flex;height:22px;margin-right:8px}.monaco-workbench .notebookOverlay .notebook-toolbar-container>.monaco-scrollable-element{flex:1}.monaco-workbench .notebookOverlay .notebook-toolbar-container>.monaco-scrollable-element .notebook-toolbar-left{padding:0 0 0 8px}.monaco-workbench .notebookOverlay .notebook-toolbar-container .notebook-toolbar-right{display:flex;padding:0}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item .kernel-label{background-size:16px;border-radius:5px;font-size:13px;height:22px;padding:0 5px 0 3px}.monaco-workbench .notebookOverlay .notebook-toolbar-container .notebook-toolbar-left .monaco-action-bar li a[tabindex=\"0\"]:focus{outline:none!important}.monaco-workbench .notebookOverlay .notebook-toolbar-container .notebook-toolbar-left .monaco-action-bar li:has(a:focus){opacity:1;outline-color:var(--vscode-focusBorder);outline-offset:-1px;outline-style:solid;outline-width:1px}.monaco-workbench .notebookOverlay .notebook-toolbar-container .notebook-toolbar-left .monaco-action-bar .action-item .action-label.separator{margin:5px 0!important;padding:0!important}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item:not(.disabled):hover{background-color:var(--vscode-toolbar-hoverBackground)}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item .action-label{background-size:16px;padding-left:2px}.monaco-workbench .notebook-action-view-item .action-label{display:inline-flex}.monaco-workbench .notebook-action-view-item-unified .monaco-dropdown{pointer-events:none}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item .notebook-label{background-color:unset;background-size:16px;border-radius:5px;padding:0 5px 0 2px}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item.disabled .notebook-label{opacity:.4}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar:not(.vertical) .action-item.active .action-label:not(.disabled),.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar:not(.vertical) .action-label:not(.disabled):hover{background-color:unset}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar:not(.vertical) .action-item.active{background-color:var(--vscode-toolbar-activeBackground)}.monaco-workbench .notebookOverlay .notebook-toolbar-container .monaco-action-bar .action-item .codicon-notebook-state-error{color:var(--vscode-notebookStatusErrorIcon-foreground)}";
|
|
3
3
|
n(css,{});
|
|
4
4
|
export { css, css as default };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { Emitter, Event } from '../../../../base/common/event.js';
|
|
2
|
+
import { Disposable } from '../../../../base/common/lifecycle.js';
|
|
3
|
+
import '../../../../base/common/observableInternal/derived.js';
|
|
4
|
+
import '../../../../base/common/observableInternal/autorun.js';
|
|
5
|
+
import { observableFromEvent } from '../../../../base/common/observableInternal/utils.js';
|
|
6
|
+
import '../../../../base/common/cancellation.js';
|
|
7
|
+
import { localizeWithPath } from '../../../../nls.js';
|
|
8
|
+
import { CellKind, NotebookCellExecutionState } from '../common/notebookCommon.js';
|
|
9
|
+
import { NotebookExecutionType } from '../common/notebookExecutionStateService.js';
|
|
10
|
+
class NotebookAccessibilityProvider extends Disposable {
|
|
11
|
+
constructor(notebookExecutionStateService, viewModel, keybindingService, configurationService) {
|
|
12
|
+
super();
|
|
13
|
+
this.notebookExecutionStateService = notebookExecutionStateService;
|
|
14
|
+
this.viewModel = viewModel;
|
|
15
|
+
this.keybindingService = keybindingService;
|
|
16
|
+
this.configurationService = configurationService;
|
|
17
|
+
this._onDidAriaLabelChange = ( new Emitter());
|
|
18
|
+
this.onDidAriaLabelChange = this._onDidAriaLabelChange.event;
|
|
19
|
+
this._register(Event.debounce(this.notebookExecutionStateService.onDidChangeExecution, (last, e) => this.mergeEvents(last, e), 100)((cellHandles) => {
|
|
20
|
+
const viewModel = this.viewModel();
|
|
21
|
+
if (viewModel) {
|
|
22
|
+
for (const handle of cellHandles) {
|
|
23
|
+
const cellModel = viewModel.getCellByHandle(handle);
|
|
24
|
+
if (cellModel) {
|
|
25
|
+
this._onDidAriaLabelChange.fire(cellModel);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}, this));
|
|
30
|
+
}
|
|
31
|
+
getAriaLabel(element) {
|
|
32
|
+
const event = Event.filter(this.onDidAriaLabelChange, e => e === element);
|
|
33
|
+
return observableFromEvent(event, () => {
|
|
34
|
+
const viewModel = this.viewModel();
|
|
35
|
+
if (!viewModel) {
|
|
36
|
+
return '';
|
|
37
|
+
}
|
|
38
|
+
const index = viewModel.getCellIndex(element);
|
|
39
|
+
if (index >= 0) {
|
|
40
|
+
return this.getLabel(index, element);
|
|
41
|
+
}
|
|
42
|
+
return '';
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
getLabel(index, element) {
|
|
46
|
+
const executionState = this.notebookExecutionStateService.getCellExecution(element.uri)?.state;
|
|
47
|
+
const executionLabel = executionState === NotebookCellExecutionState.Executing
|
|
48
|
+
? ', executing'
|
|
49
|
+
: executionState === NotebookCellExecutionState.Pending
|
|
50
|
+
? ', pending'
|
|
51
|
+
: '';
|
|
52
|
+
return `Cell ${index}, ${element.cellKind === CellKind.Markup ? 'markdown' : 'code'} cell${executionLabel}`;
|
|
53
|
+
}
|
|
54
|
+
getWidgetAriaLabel() {
|
|
55
|
+
const keybinding = this.keybindingService.lookupKeybinding("editor.action.accessibilityHelp" )?.getLabel();
|
|
56
|
+
if (this.configurationService.getValue("accessibility.verbosity.notebook" )) {
|
|
57
|
+
return keybinding
|
|
58
|
+
? ( localizeWithPath(
|
|
59
|
+
'vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider',
|
|
60
|
+
'notebookTreeAriaLabelHelp',
|
|
61
|
+
"Notebook\nUse {0} for accessibility help",
|
|
62
|
+
keybinding
|
|
63
|
+
))
|
|
64
|
+
: ( localizeWithPath(
|
|
65
|
+
'vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider',
|
|
66
|
+
'notebookTreeAriaLabelHelpNoKb',
|
|
67
|
+
"Notebook\nRun the Open Accessibility Help command for more information",
|
|
68
|
+
keybinding
|
|
69
|
+
));
|
|
70
|
+
}
|
|
71
|
+
return ( localizeWithPath(
|
|
72
|
+
'vs/workbench/contrib/notebook/browser/notebookAccessibilityProvider',
|
|
73
|
+
'notebookTreeAriaLabel',
|
|
74
|
+
"Notebook"
|
|
75
|
+
));
|
|
76
|
+
}
|
|
77
|
+
mergeEvents(last, e) {
|
|
78
|
+
const viewModel = this.viewModel();
|
|
79
|
+
const result = last || [];
|
|
80
|
+
if (viewModel && e.type === NotebookExecutionType.cell && e.affectsNotebook(viewModel.uri)) {
|
|
81
|
+
if (result.indexOf(e.cellHandle) < 0) {
|
|
82
|
+
result.push(e.cellHandle);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return result;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export { NotebookAccessibilityProvider };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
|
|
2
|
-
import { append, $, isAncestorOfActiveElement,
|
|
2
|
+
import { append, $, isAncestorOfActiveElement, setParentFlowTo } from '../../../../base/browser/dom.js';
|
|
3
3
|
import { toAction } from '../../../../base/common/actions.js';
|
|
4
4
|
import { timeout } from '../../../../base/common/async.js';
|
|
5
5
|
import { Emitter } from '../../../../base/common/event.js';
|
|
@@ -40,8 +40,8 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
40
40
|
static { this.ID = NOTEBOOK_EDITOR_ID; }
|
|
41
41
|
get onDidFocus() { return this._onDidFocusWidget.event; }
|
|
42
42
|
get onDidBlur() { return this._onDidBlurWidget.event; }
|
|
43
|
-
constructor(telemetryService, themeService, _instantiationService, storageService, _editorService, _editorGroupService, _notebookWidgetService, _contextKeyService, _fileService, configurationService, _editorProgressService, _notebookService, _extensionsWorkbenchService, _workingCopyBackupService, logService, _notebookEditorWorkerService, _preferencesService) {
|
|
44
|
-
super(NotebookEditor_1.ID, telemetryService, themeService, storageService);
|
|
43
|
+
constructor(group, telemetryService, themeService, _instantiationService, storageService, _editorService, _editorGroupService, _notebookWidgetService, _contextKeyService, _fileService, configurationService, _editorProgressService, _notebookService, _extensionsWorkbenchService, _workingCopyBackupService, logService, _notebookEditorWorkerService, _preferencesService) {
|
|
44
|
+
super(NotebookEditor_1.ID, group, telemetryService, themeService, storageService);
|
|
45
45
|
this._instantiationService = _instantiationService;
|
|
46
46
|
this._editorService = _editorService;
|
|
47
47
|
this._editorGroupService = _editorGroupService;
|
|
@@ -65,6 +65,8 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
65
65
|
this.onDidChangeModel = this._onDidChangeModel.event;
|
|
66
66
|
this._onDidChangeSelection = this._register(( new Emitter()));
|
|
67
67
|
this.onDidChangeSelection = this._onDidChangeSelection.event;
|
|
68
|
+
this._onDidChangeScroll = this._register(( new Emitter()));
|
|
69
|
+
this.onDidChangeScroll = this._onDidChangeScroll.event;
|
|
68
70
|
this._editorMemento = this.getEditorMemento(_editorGroupService, configurationService, NOTEBOOK_EDITOR_VIEW_STATE_PREFERENCE_KEY);
|
|
69
71
|
this._register(this._fileService.onDidChangeFileSystemProviderCapabilities(e => this._onDidChangeFileSystemProvider(e.scheme)));
|
|
70
72
|
this._register(this._fileService.onDidChangeFileSystemProviderRegistrations(e => this._onDidChangeFileSystemProvider(e.scheme)));
|
|
@@ -96,32 +98,30 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
96
98
|
this._rootElement = append(parent, $('.notebook-editor'));
|
|
97
99
|
this._rootElement.id = `notebook-editor-element-${generateUuid()}`;
|
|
98
100
|
}
|
|
99
|
-
getActionViewItem(action) {
|
|
101
|
+
getActionViewItem(action, options) {
|
|
100
102
|
if (action.id === SELECT_KERNEL_ID) {
|
|
101
|
-
return this._instantiationService.createInstance(NotebooKernelActionViewItem, action, this);
|
|
103
|
+
return this._instantiationService.createInstance(NotebooKernelActionViewItem, action, this, options);
|
|
102
104
|
}
|
|
103
105
|
return undefined;
|
|
104
106
|
}
|
|
105
107
|
getControl() {
|
|
106
108
|
return this._widget.value;
|
|
107
109
|
}
|
|
108
|
-
setVisible(visible
|
|
109
|
-
super.setVisible(visible
|
|
110
|
+
setVisible(visible) {
|
|
111
|
+
super.setVisible(visible);
|
|
110
112
|
if (!visible) {
|
|
111
113
|
this._widget.value?.onWillHide();
|
|
112
114
|
}
|
|
113
115
|
}
|
|
114
|
-
setEditorVisible(visible
|
|
115
|
-
super.setEditorVisible(visible
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
this.
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}));
|
|
124
|
-
}
|
|
116
|
+
setEditorVisible(visible) {
|
|
117
|
+
super.setEditorVisible(visible);
|
|
118
|
+
this._groupListener.clear();
|
|
119
|
+
this._groupListener.add(this.group.onWillCloseEditor(e => this._saveEditorViewState(e.editor)));
|
|
120
|
+
this._groupListener.add(this.group.onDidModelChange(() => {
|
|
121
|
+
if (this._editorGroupService.activeGroup !== this.group) {
|
|
122
|
+
this._widget?.value?.updateEditorFocus();
|
|
123
|
+
}
|
|
124
|
+
}));
|
|
125
125
|
if (!visible) {
|
|
126
126
|
this._saveEditorViewState(this.input);
|
|
127
127
|
if (this.input && this._widget.value) {
|
|
@@ -150,11 +150,10 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
150
150
|
});
|
|
151
151
|
const perf = ( new NotebookPerfMarks());
|
|
152
152
|
perf.mark('startTime');
|
|
153
|
-
const group = this.group;
|
|
154
153
|
this._inputListener.value = input.onDidChangeCapabilities(() => this._onDidChangeInputCapabilities(input));
|
|
155
154
|
this._widgetDisposableStore.clear();
|
|
156
155
|
this._widget.value?.onWillHide();
|
|
157
|
-
this._widget = this._instantiationService.invokeFunction(this._notebookWidgetService.retrieveWidget, group, input, undefined, this._pagePosition?.dimension,
|
|
156
|
+
this._widget = this._instantiationService.invokeFunction(this._notebookWidgetService.retrieveWidget, this.group, input, undefined, this._pagePosition?.dimension, this.window);
|
|
158
157
|
if (this._rootElement && this._widget.value.getDomNode()) {
|
|
159
158
|
this._rootElement.setAttribute('aria-flowto', this._widget.value.getDomNode().id || '');
|
|
160
159
|
setParentFlowTo(this._widget.value.getDomNode(), this._rootElement);
|
|
@@ -234,8 +233,9 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
234
233
|
this._widgetDisposableStore.add(this._widget.value.onDidFocusWidget(() => this._onDidFocusWidget.fire()));
|
|
235
234
|
this._widgetDisposableStore.add(this._widget.value.onDidBlurWidget(() => this._onDidBlurWidget.fire()));
|
|
236
235
|
this._widgetDisposableStore.add(this._editorGroupService.createEditorDropTarget(this._widget.value.getDomNode(), {
|
|
237
|
-
containsGroup: (group) => this.group
|
|
236
|
+
containsGroup: (group) => this.group.id === group.id
|
|
238
237
|
}));
|
|
238
|
+
this._widgetDisposableStore.add(this._widget.value.onDidScroll(() => { this._onDidChangeScroll.fire(); }));
|
|
239
239
|
perf.mark('editorLoaded');
|
|
240
240
|
fileOpenMonitor.cancel();
|
|
241
241
|
if (perfMarksCaptured) {
|
|
@@ -249,7 +249,7 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
249
249
|
if (isEditorOpenError(e)) {
|
|
250
250
|
throw e;
|
|
251
251
|
}
|
|
252
|
-
if (e.fileOperationResult === 7
|
|
252
|
+
if (e.fileOperationResult === 7 ) {
|
|
253
253
|
let message;
|
|
254
254
|
if (e instanceof TooLargeFileOperationError) {
|
|
255
255
|
message = ( localizeWithPath(
|
|
@@ -376,8 +376,25 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
376
376
|
}
|
|
377
377
|
return undefined;
|
|
378
378
|
}
|
|
379
|
+
getScrollPosition() {
|
|
380
|
+
const widget = this.getControl();
|
|
381
|
+
if (!widget) {
|
|
382
|
+
throw new Error('Notebook widget has not yet been initialized');
|
|
383
|
+
}
|
|
384
|
+
return {
|
|
385
|
+
scrollTop: widget.scrollTop,
|
|
386
|
+
scrollLeft: 0,
|
|
387
|
+
};
|
|
388
|
+
}
|
|
389
|
+
setScrollPosition(scrollPosition) {
|
|
390
|
+
const editor = this.getControl();
|
|
391
|
+
if (!editor) {
|
|
392
|
+
throw new Error('Control has not yet been initialized');
|
|
393
|
+
}
|
|
394
|
+
editor.setScrollTop(scrollPosition.scrollTop);
|
|
395
|
+
}
|
|
379
396
|
_saveEditorViewState(input) {
|
|
380
|
-
if (this.
|
|
397
|
+
if (this._widget.value && input instanceof NotebookEditorInput) {
|
|
381
398
|
if (this._widget.value.isDisposed) {
|
|
382
399
|
return;
|
|
383
400
|
}
|
|
@@ -386,10 +403,7 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
386
403
|
}
|
|
387
404
|
}
|
|
388
405
|
_loadNotebookEditorViewState(input) {
|
|
389
|
-
|
|
390
|
-
if (this.group) {
|
|
391
|
-
result = this._editorMemento.loadEditorState(this.group, input.resource);
|
|
392
|
-
}
|
|
406
|
+
const result = this._editorMemento.loadEditorState(this.group, input.resource);
|
|
393
407
|
if (result) {
|
|
394
408
|
return result;
|
|
395
409
|
}
|
|
@@ -404,10 +418,10 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
404
418
|
this._rootElement.classList.toggle('mid-width', dimension.width < 1000 && dimension.width >= 600);
|
|
405
419
|
this._rootElement.classList.toggle('narrow-width', dimension.width < 600);
|
|
406
420
|
this._pagePosition = { dimension, position };
|
|
407
|
-
if (!this._widget.value || !(this.
|
|
421
|
+
if (!this._widget.value || !(this.input instanceof NotebookEditorInput)) {
|
|
408
422
|
return;
|
|
409
423
|
}
|
|
410
|
-
if (( this.
|
|
424
|
+
if (( this.input.resource.toString()) !== this.textModel?.uri.toString() && this._widget.value?.hasModel()) {
|
|
411
425
|
return;
|
|
412
426
|
}
|
|
413
427
|
if (this.isVisible()) {
|
|
@@ -416,23 +430,23 @@ let NotebookEditor = class NotebookEditor extends EditorPane {
|
|
|
416
430
|
}
|
|
417
431
|
};
|
|
418
432
|
NotebookEditor = NotebookEditor_1 = ( __decorate([
|
|
419
|
-
( __param(
|
|
420
|
-
( __param(
|
|
421
|
-
( __param(
|
|
422
|
-
( __param(
|
|
423
|
-
( __param(
|
|
424
|
-
( __param(
|
|
425
|
-
( __param(
|
|
426
|
-
( __param(
|
|
427
|
-
( __param(
|
|
428
|
-
( __param(
|
|
429
|
-
( __param(
|
|
430
|
-
( __param(
|
|
431
|
-
( __param(
|
|
432
|
-
( __param(
|
|
433
|
-
( __param(
|
|
434
|
-
( __param(
|
|
435
|
-
( __param(
|
|
433
|
+
( __param(1, ITelemetryService)),
|
|
434
|
+
( __param(2, IThemeService)),
|
|
435
|
+
( __param(3, IInstantiationService)),
|
|
436
|
+
( __param(4, IStorageService)),
|
|
437
|
+
( __param(5, IEditorService)),
|
|
438
|
+
( __param(6, IEditorGroupsService)),
|
|
439
|
+
( __param(7, INotebookEditorService)),
|
|
440
|
+
( __param(8, IContextKeyService)),
|
|
441
|
+
( __param(9, IFileService)),
|
|
442
|
+
( __param(10, ITextResourceConfigurationService)),
|
|
443
|
+
( __param(11, IEditorProgressService)),
|
|
444
|
+
( __param(12, INotebookService)),
|
|
445
|
+
( __param(13, IExtensionsWorkbenchService)),
|
|
446
|
+
( __param(14, IWorkingCopyBackupService)),
|
|
447
|
+
( __param(15, ILogService)),
|
|
448
|
+
( __param(16, INotebookEditorWorkerService)),
|
|
449
|
+
( __param(17, IPreferencesService))
|
|
436
450
|
], NotebookEditor));
|
|
437
451
|
class NotebookEditorSelection {
|
|
438
452
|
constructor(cellUri, selections) {
|