@codingame/monaco-vscode-notebook-service-override 19.1.3 → 20.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/index.js +1 -1
- package/package.json +23 -27
- package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +22 -52
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +24 -24
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +7 -7
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +5 -5
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +6 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +16 -16
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +5 -6
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +13 -13
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +2 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +53 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +31 -31
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +10 -10
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +28 -28
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +26 -26
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +25 -25
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +19 -19
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +8 -8
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +14 -14
- package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +21 -21
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +72 -75
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +4 -4
- package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +2 -2
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +3 -3
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +0 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
- package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +1 -1
- package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +1 -1
|
@@ -12,8 +12,8 @@ import { observableValue } from '@codingame/monaco-vscode-api/vscode/vs/base/com
|
|
|
12
12
|
var NotebookVariableRenderer_1;
|
|
13
13
|
const $ = $$1;
|
|
14
14
|
const MAX_VALUE_RENDER_LENGTH_IN_VIEWLET = 1024;
|
|
15
|
-
const NOTEBOOK_TITLE = ( localize2(
|
|
16
|
-
const REPL_TITLE = ( localize2(
|
|
15
|
+
const NOTEBOOK_TITLE = ( localize2(8621, "Notebook Variables"));
|
|
16
|
+
const REPL_TITLE = ( localize2(8622, "REPL Variables"));
|
|
17
17
|
class NotebookVariablesDelegate {
|
|
18
18
|
getHeight(element) {
|
|
19
19
|
return 22;
|
|
@@ -69,7 +69,7 @@ class NotebookVariableAccessibilityProvider {
|
|
|
69
69
|
this._widgetAriaLabel.set(label, undefined);
|
|
70
70
|
}
|
|
71
71
|
getAriaLabel(element) {
|
|
72
|
-
return localize(
|
|
72
|
+
return localize(8623, "Variable {0}, value {1}", element.name, element.value);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
@@ -20,11 +20,11 @@ import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/w
|
|
|
20
20
|
import { CONTEXT_VARIABLE_NAME, CONTEXT_VARIABLE_VALUE, CONTEXT_VARIABLE_TYPE, CONTEXT_VARIABLE_INTERFACES, CONTEXT_VARIABLE_LANGUAGE, CONTEXT_VARIABLE_EXTENSIONID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
|
|
21
21
|
import { NotebookVariableDataSource } from './notebookVariablesDataSource.js';
|
|
22
22
|
import { NotebookVariableAccessibilityProvider, NotebookVariablesDelegate, NotebookVariableRenderer, REPL_TITLE, NOTEBOOK_TITLE } from './notebookVariablesTree.js';
|
|
23
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
23
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
24
24
|
import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
|
|
25
25
|
import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
|
|
26
26
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
27
|
-
import { isCompositeNotebookEditorInput } from '@codingame/monaco-vscode-
|
|
27
|
+
import { isCompositeNotebookEditorInput } from '@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
|
|
28
28
|
|
|
29
29
|
let NotebookVariablesView = class NotebookVariablesView extends ViewPane {
|
|
30
30
|
static { this.ID = 'notebookVariablesView'; }
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts
CHANGED
|
@@ -7,12 +7,12 @@ import { IEditorOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/
|
|
|
7
7
|
import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
8
8
|
import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
|
|
9
9
|
import { IEditorPane } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
|
|
10
|
-
import { CellFoldingState, INotebookEditorPane } from "@codingame/monaco-vscode-
|
|
11
|
-
import { NotebookEditor } from "@codingame/monaco-vscode-
|
|
10
|
+
import { CellFoldingState, INotebookEditorPane } from "@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
11
|
+
import { NotebookEditor } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor";
|
|
12
12
|
import { INotebookCellOutlineDataSource } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource";
|
|
13
13
|
import { CellKind } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
|
|
14
14
|
import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
|
|
15
|
-
import { IBreadcrumbsDataSource, IOutline, IOutlineCreator, IOutlineListConfig, IQuickPickDataSource, IQuickPickOutlineElement, OutlineChangeEvent, OutlineTarget } from "@codingame/monaco-vscode-
|
|
15
|
+
import { IBreadcrumbsDataSource, IOutline, IOutlineCreator, IOutlineListConfig, IQuickPickDataSource, IQuickPickOutlineElement, OutlineChangeEvent, OutlineTarget } from "@codingame/monaco-vscode-622c0cca-d5fa-59b6-b730-0715afcf93ee-common/vscode/vs/workbench/services/outline/browser/outline";
|
|
16
16
|
import { IOutlineService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/outline/browser/outline.service";
|
|
17
17
|
import { OutlineEntry } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry";
|
|
18
18
|
import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
|
|
@@ -27,13 +27,13 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/quic
|
|
|
27
27
|
import '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/colors/searchColors';
|
|
28
28
|
import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
|
|
29
29
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
30
|
-
import { CellFoldingState, CellRevealType } from '@codingame/monaco-vscode-
|
|
31
|
-
import { NotebookEditor } from '@codingame/monaco-vscode-
|
|
30
|
+
import { CellFoldingState, CellRevealType } from '@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
31
|
+
import { NotebookEditor } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor';
|
|
32
32
|
import { CellKind, NotebookSetting, NotebookCellsChangeType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
33
33
|
import { SIDE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService';
|
|
34
34
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
35
35
|
import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
36
|
-
import { OutlineConfigKeys, OutlineTarget, OutlineConfigCollapseItemsValues } from '@codingame/monaco-vscode-
|
|
36
|
+
import { OutlineConfigKeys, OutlineTarget, OutlineConfigCollapseItemsValues } from '@codingame/monaco-vscode-622c0cca-d5fa-59b6-b730-0715afcf93ee-common/vscode/vs/workbench/services/outline/browser/outline';
|
|
37
37
|
import { IOutlineService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/outline/browser/outline.service';
|
|
38
38
|
import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
39
39
|
import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
|
|
@@ -46,7 +46,7 @@ import { MenuEntryActionViewItem, getActionBarActions } from '@codingame/monaco-
|
|
|
46
46
|
import { disposableTimeout, Delayer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
47
47
|
import { IOutlinePane } from '@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common/vscode/vs/workbench/contrib/outline/browser/outline';
|
|
48
48
|
import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
|
|
49
|
-
import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-
|
|
49
|
+
import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
|
|
50
50
|
import { NotebookOutlineConstants } from '../../viewModel/notebookOutlineEntryFactory.js';
|
|
51
51
|
import { INotebookCellOutlineDataSourceFactory } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service';
|
|
52
52
|
import { NotebookExecutionType } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
|
|
@@ -728,33 +728,33 @@ const NotebookOutlineContext = {
|
|
|
728
728
|
type: 'boolean',
|
|
729
729
|
default: true,
|
|
730
730
|
markdownDescription: ( localize(
|
|
731
|
-
|
|
731
|
+
8624,
|
|
732
732
|
"When enabled, notebook outline will show only markdown cells containing a header."
|
|
733
733
|
))
|
|
734
734
|
},
|
|
735
735
|
[NotebookSetting.outlineShowCodeCells]: {
|
|
736
736
|
type: 'boolean',
|
|
737
737
|
default: false,
|
|
738
|
-
markdownDescription: ( localize(
|
|
738
|
+
markdownDescription: ( localize(8625, "When enabled, notebook outline shows code cells."))
|
|
739
739
|
},
|
|
740
740
|
[NotebookSetting.outlineShowCodeCellSymbols]: {
|
|
741
741
|
type: 'boolean',
|
|
742
742
|
default: true,
|
|
743
743
|
markdownDescription: ( localize(
|
|
744
|
-
|
|
744
|
+
8626,
|
|
745
745
|
"When enabled, notebook outline shows code cell symbols. Relies on `notebook.outline.showCodeCells` being enabled."
|
|
746
746
|
))
|
|
747
747
|
},
|
|
748
748
|
[NotebookSetting.breadcrumbsShowCodeCells]: {
|
|
749
749
|
type: 'boolean',
|
|
750
750
|
default: true,
|
|
751
|
-
markdownDescription: ( localize(
|
|
751
|
+
markdownDescription: ( localize(8627, "When enabled, notebook breadcrumbs contain code cells."))
|
|
752
752
|
},
|
|
753
753
|
[NotebookSetting.gotoSymbolsAllSymbols]: {
|
|
754
754
|
type: 'boolean',
|
|
755
755
|
default: true,
|
|
756
756
|
markdownDescription: ( localize(
|
|
757
|
-
|
|
757
|
+
8628,
|
|
758
758
|
"When enabled, the Go to Symbol Quick Pick will display full code symbols from the notebook, as well as Markdown headers."
|
|
759
759
|
))
|
|
760
760
|
},
|
|
@@ -762,7 +762,7 @@ const NotebookOutlineContext = {
|
|
|
762
762
|
});
|
|
763
763
|
MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
764
764
|
submenu: MenuId.NotebookOutlineFilter,
|
|
765
|
-
title: ( localize(
|
|
765
|
+
title: ( localize(8629, "Filter Entries")),
|
|
766
766
|
icon: Codicon.filter,
|
|
767
767
|
group: 'navigation',
|
|
768
768
|
order: -1,
|
|
@@ -772,7 +772,7 @@ registerAction2(class ToggleShowMarkdownHeadersOnly extends Action2 {
|
|
|
772
772
|
constructor() {
|
|
773
773
|
super({
|
|
774
774
|
id: 'notebook.outline.toggleShowMarkdownHeadersOnly',
|
|
775
|
-
title: ( localize(
|
|
775
|
+
title: ( localize(8630, "Markdown Headers Only")),
|
|
776
776
|
f1: false,
|
|
777
777
|
toggled: {
|
|
778
778
|
condition: ( ContextKeyExpr.equals('config.notebook.outline.showMarkdownHeadersOnly', true))
|
|
@@ -793,7 +793,7 @@ registerAction2(class ToggleCodeCellEntries extends Action2 {
|
|
|
793
793
|
constructor() {
|
|
794
794
|
super({
|
|
795
795
|
id: 'notebook.outline.toggleCodeCells',
|
|
796
|
-
title: ( localize(
|
|
796
|
+
title: ( localize(8631, "Code Cells")),
|
|
797
797
|
f1: false,
|
|
798
798
|
toggled: {
|
|
799
799
|
condition: ( ContextKeyExpr.equals('config.notebook.outline.showCodeCells', true))
|
|
@@ -815,7 +815,7 @@ registerAction2(class ToggleCodeCellSymbolEntries extends Action2 {
|
|
|
815
815
|
constructor() {
|
|
816
816
|
super({
|
|
817
817
|
id: 'notebook.outline.toggleCodeCellSymbols',
|
|
818
|
-
title: ( localize(
|
|
818
|
+
title: ( localize(8632, "Code Cell Symbols")),
|
|
819
819
|
f1: false,
|
|
820
820
|
toggled: {
|
|
821
821
|
condition: ( ContextKeyExpr.equals('config.notebook.outline.showCodeCellSymbols', true))
|
|
@@ -24,7 +24,7 @@ import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/regist
|
|
|
24
24
|
import { IWorkspaceTrustManagementService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspaceTrust.service';
|
|
25
25
|
import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
26
26
|
import { SaveReason } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
27
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
27
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
28
28
|
import { NotebookSetting, CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
29
29
|
import { NotebookFileWorkingCopyModel } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorModel';
|
|
30
30
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
@@ -65,7 +65,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
65
65
|
if (!enabled) {
|
|
66
66
|
return undefined;
|
|
67
67
|
}
|
|
68
|
-
progress.report({ message: ( localize(
|
|
68
|
+
progress.report({ message: ( localize(8634, "Formatting")) });
|
|
69
69
|
const notebook = workingCopy.model.notebookModel;
|
|
70
70
|
const formatApplied = await this.instantiationService.invokeFunction(CodeActionParticipantUtils.checkAndRunFormatCodeAction, notebook, progress, token);
|
|
71
71
|
const disposable = ( new DisposableStore());
|
|
@@ -83,7 +83,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
|
|
|
83
83
|
}
|
|
84
84
|
return [];
|
|
85
85
|
})));
|
|
86
|
-
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(
|
|
86
|
+
await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(8635, "Format Notebook")), code: 'undoredo.formatNotebook', });
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
finally {
|
|
@@ -152,7 +152,7 @@ let TrimWhitespaceParticipant = class TrimWhitespaceParticipant extends Notebook
|
|
|
152
152
|
return ( ops.map(op => ( new ResourceTextEdit(model.uri, { ...op, text: op.text || '' }, model.getVersionId()))));
|
|
153
153
|
})));
|
|
154
154
|
const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
|
|
155
|
-
await this.bulkEditService.apply(filteredEdits, { label: ( localize(
|
|
155
|
+
await this.bulkEditService.apply(filteredEdits, { label: ( localize(8636, "Notebook Trim Trailing Whitespace")), code: 'undoredo.notebookTrimTrailingWhitespace' });
|
|
156
156
|
}
|
|
157
157
|
finally {
|
|
158
158
|
progress.report({ increment: 100 });
|
|
@@ -229,7 +229,7 @@ let TrimFinalNewLinesParticipant = class TrimFinalNewLinesParticipant extends No
|
|
|
229
229
|
));
|
|
230
230
|
})));
|
|
231
231
|
const filteredEdits = allCellEdits.flat().filter(edit => edit !== undefined);
|
|
232
|
-
await this.bulkEditService.apply(filteredEdits, { label: ( localize(
|
|
232
|
+
await this.bulkEditService.apply(filteredEdits, { label: ( localize(8637, "Trim Final New Lines")), code: 'undoredo.trimFinalNewLines' });
|
|
233
233
|
}
|
|
234
234
|
finally {
|
|
235
235
|
progress.report({ increment: 100 });
|
|
@@ -283,7 +283,7 @@ let InsertFinalNewLineParticipant = class InsertFinalNewLineParticipant extends
|
|
|
283
283
|
)), text: cell.textBuffer.getEOL() }, cell.textModel?.getVersionId()));
|
|
284
284
|
})));
|
|
285
285
|
const filteredEdits = allCellEdits.filter(edit => edit !== undefined);
|
|
286
|
-
await this.bulkEditService.apply(filteredEdits, { label: ( localize(
|
|
286
|
+
await this.bulkEditService.apply(filteredEdits, { label: ( localize(8638, "Insert Final New Line")), code: 'undoredo.insertFinalNewLine' });
|
|
287
287
|
if (activeCellEditor && selections) {
|
|
288
288
|
activeCellEditor.setSelections(selections);
|
|
289
289
|
}
|
|
@@ -339,7 +339,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
|
|
|
339
339
|
const notebookCodeActionsOnSave = includedActions.filter(x => CodeActionKind.Notebook.contains(x));
|
|
340
340
|
if (notebookCodeActionsOnSave.length) {
|
|
341
341
|
const nbDisposable = ( new DisposableStore());
|
|
342
|
-
progress.report({ message: ( localize(
|
|
342
|
+
progress.report({ message: ( localize(8639, "Running 'Notebook' code actions")) });
|
|
343
343
|
try {
|
|
344
344
|
const cell = notebookModel.cells[0];
|
|
345
345
|
const ref = await this.textModelService.createModelReference(cell.uri);
|
|
@@ -371,7 +371,7 @@ let CodeActionOnSaveParticipant = class CodeActionOnSaveParticipant {
|
|
|
371
371
|
});
|
|
372
372
|
}
|
|
373
373
|
const cellDisposable = ( new DisposableStore());
|
|
374
|
-
progress.report({ message: ( localize(
|
|
374
|
+
progress.report({ message: ( localize(8640, "Running 'Cell' code actions")) });
|
|
375
375
|
try {
|
|
376
376
|
await Promise.all(( notebookModel.cells.map(async (cell) => {
|
|
377
377
|
const ref = await this.textModelService.createModelReference(cell.uri);
|
|
@@ -411,7 +411,7 @@ class CodeActionParticipantUtils {
|
|
|
411
411
|
const configurationService = accessor.get(IConfigurationService);
|
|
412
412
|
const formatDisposable = ( new DisposableStore());
|
|
413
413
|
let formatResult = false;
|
|
414
|
-
progress.report({ message: ( localize(
|
|
414
|
+
progress.report({ message: ( localize(8641, "Running 'Format' code actions")) });
|
|
415
415
|
try {
|
|
416
416
|
const cell = notebookModel.cells[0];
|
|
417
417
|
const ref = await textModelService.createModelReference(cell.uri);
|
|
@@ -440,7 +440,7 @@ class CodeActionParticipantUtils {
|
|
|
440
440
|
_report() {
|
|
441
441
|
progress.report({
|
|
442
442
|
message: ( localize(
|
|
443
|
-
|
|
443
|
+
8642,
|
|
444
444
|
"Getting code actions from '{0}' ([configure]({1})).",
|
|
445
445
|
( [...this._names].map(name => `'${name}'`)).join(', '),
|
|
446
446
|
'command:workbench.action.openSettings?%5B%22notebook.codeActionsOnSave%22%5D'
|
|
@@ -480,7 +480,7 @@ class CodeActionParticipantUtils {
|
|
|
480
480
|
logService.warn('Failed to apply code action on save, applied to multiple resources.');
|
|
481
481
|
continue;
|
|
482
482
|
}
|
|
483
|
-
progress.report({ message: ( localize(
|
|
483
|
+
progress.report({ message: ( localize(8643, "Applying code action '{0}'.", action.action.title)) });
|
|
484
484
|
await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
485
485
|
if (token.isCancellationRequested) {
|
|
486
486
|
return;
|
|
@@ -505,7 +505,7 @@ class CodeActionParticipantUtils {
|
|
|
505
505
|
_report() {
|
|
506
506
|
progress.report({
|
|
507
507
|
message: ( localize(
|
|
508
|
-
|
|
508
|
+
8642,
|
|
509
509
|
"Getting code actions from '{0}' ([configure]({1})).",
|
|
510
510
|
( [...this._names].map(name => `'${name}'`)).join(', '),
|
|
511
511
|
'command:workbench.action.openSettings?%5B%22notebook.defaultFormatter%22%5D'
|
|
@@ -532,7 +532,7 @@ class CodeActionParticipantUtils {
|
|
|
532
532
|
if (!action) {
|
|
533
533
|
return false;
|
|
534
534
|
}
|
|
535
|
-
progress.report({ message: ( localize(
|
|
535
|
+
progress.report({ message: ( localize(8643, "Applying code action '{0}'.", action.action.title)) });
|
|
536
536
|
await instantiationService.invokeFunction(applyCodeAction, action, ApplyCodeActionReason.OnSave, {}, token);
|
|
537
537
|
if (token.isCancellationRequested) {
|
|
538
538
|
return false;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
2
|
-
import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-
|
|
2
|
+
import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
|
|
3
3
|
export declare class TroubleshootController extends Disposable implements INotebookEditorContribution {
|
|
4
4
|
private readonly _notebookEditor;
|
|
5
5
|
static id: string;
|
|
6
6
|
private readonly _localStore;
|
|
7
|
-
private
|
|
7
|
+
private _cellDisposables;
|
|
8
8
|
private _enabled;
|
|
9
9
|
private _cellStatusItems;
|
|
10
|
-
private _cellOverlayIds;
|
|
11
10
|
private _notebookOverlayDomNode;
|
|
12
11
|
constructor(_notebookEditor: INotebookEditor);
|
|
13
12
|
toggle(): void;
|
|
@@ -16,7 +15,6 @@ export declare class TroubleshootController extends Disposable implements INoteb
|
|
|
16
15
|
private _createCellOverlays;
|
|
17
16
|
private _createNotebookOverlay;
|
|
18
17
|
private _createCellOverlay;
|
|
19
|
-
private _removeCellOverlays;
|
|
20
18
|
private _removeNotebookOverlay;
|
|
21
19
|
private _updateListener;
|
|
22
20
|
private _getItemsForCells;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
import { Disposable, DisposableStore, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
2
|
+
import { Disposable, DisposableStore, toDisposable, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
3
3
|
import { localize2 } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
4
4
|
import { Categories } from '@codingame/monaco-vscode-api/vscode/vs/platform/action/common/actionCommonCategories';
|
|
5
5
|
import { registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
|
|
6
|
-
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-
|
|
6
|
+
import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
7
7
|
import { registerNotebookContribution } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
8
8
|
import { CellStatusbarAlignment } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
9
9
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
@@ -16,10 +16,9 @@ class TroubleshootController extends Disposable {
|
|
|
16
16
|
super();
|
|
17
17
|
this._notebookEditor = _notebookEditor;
|
|
18
18
|
this._localStore = this._register(( new DisposableStore()));
|
|
19
|
-
this.
|
|
19
|
+
this._cellDisposables = [];
|
|
20
20
|
this._enabled = false;
|
|
21
21
|
this._cellStatusItems = [];
|
|
22
|
-
this._cellOverlayIds = [];
|
|
23
22
|
this._register(this._notebookEditor.onDidChangeModel(() => {
|
|
24
23
|
this._update();
|
|
25
24
|
}));
|
|
@@ -31,14 +30,14 @@ class TroubleshootController extends Disposable {
|
|
|
31
30
|
}
|
|
32
31
|
_update() {
|
|
33
32
|
this._localStore.clear();
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
33
|
+
this._cellDisposables.forEach(d => d.dispose());
|
|
34
|
+
this._cellDisposables = [];
|
|
36
35
|
this._removeNotebookOverlay();
|
|
37
36
|
if (!this._notebookEditor.hasModel()) {
|
|
38
37
|
return;
|
|
39
38
|
}
|
|
40
|
-
this._updateListener();
|
|
41
39
|
if (this._enabled) {
|
|
40
|
+
this._updateListener();
|
|
42
41
|
this._createNotebookOverlay();
|
|
43
42
|
this._createCellOverlays();
|
|
44
43
|
}
|
|
@@ -148,9 +147,16 @@ class TroubleshootController extends Disposable {
|
|
|
148
147
|
topLine.style.height = '2px';
|
|
149
148
|
topLine.style.backgroundColor = 'rgba(255, 0, 0, 0.7)';
|
|
150
149
|
overlayContainer.appendChild(topLine);
|
|
151
|
-
const
|
|
150
|
+
const getLayoutInfo = () => {
|
|
151
|
+
const eol = cell.textBuffer.getEOL() === '\n' ? 'LF' : 'CRLF';
|
|
152
|
+
let scrollTop = '';
|
|
153
|
+
if (cell.layoutInfo.layoutState > 0) {
|
|
154
|
+
scrollTop = `| AbsoluteTopOfElement: ${this._notebookEditor.getAbsoluteTopOfElement(cell)}px`;
|
|
155
|
+
}
|
|
156
|
+
return `cell #${index} (handle: ${cell.handle}) ${scrollTop} | EOL: ${eol}`;
|
|
157
|
+
};
|
|
152
158
|
const label = createElement('div');
|
|
153
|
-
label.textContent =
|
|
159
|
+
label.textContent = getLayoutInfo();
|
|
154
160
|
label.style.position = 'absolute';
|
|
155
161
|
label.style.top = '0px';
|
|
156
162
|
label.style.right = '10px';
|
|
@@ -172,32 +178,36 @@ class TroubleshootController extends Disposable {
|
|
|
172
178
|
});
|
|
173
179
|
});
|
|
174
180
|
if (overlayId) {
|
|
175
|
-
this._cellOverlayIds.push(overlayId);
|
|
176
181
|
const updateLayout = () => {
|
|
177
|
-
|
|
178
|
-
label.textContent = `cell #${index} (handle: ${cell.handle}) | AbsoluteTopOfElement: ${scrollTop}px`;
|
|
182
|
+
label.textContent = getLayoutInfo();
|
|
179
183
|
if (overlayId) {
|
|
180
184
|
this._notebookEditor.changeCellOverlays((accessor) => {
|
|
181
185
|
accessor.layoutOverlay(overlayId);
|
|
182
186
|
});
|
|
183
187
|
}
|
|
184
188
|
};
|
|
185
|
-
this.
|
|
189
|
+
const disposables = this._cellDisposables[index];
|
|
190
|
+
disposables.add(cell.onDidChangeLayout((e) => {
|
|
186
191
|
updateLayout();
|
|
187
192
|
}));
|
|
188
|
-
|
|
193
|
+
disposables.add(cell.textBuffer.onDidChangeContent(() => {
|
|
189
194
|
updateLayout();
|
|
190
195
|
}));
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
196
|
+
if (cell.textModel) {
|
|
197
|
+
disposables.add(cell.textModel.onDidChangeContent(() => {
|
|
198
|
+
updateLayout();
|
|
199
|
+
}));
|
|
200
|
+
}
|
|
201
|
+
disposables.add(this._notebookEditor.onDidChangeLayout(() => {
|
|
202
|
+
updateLayout();
|
|
203
|
+
}));
|
|
204
|
+
disposables.add(toDisposable(() => {
|
|
205
|
+
this._notebookEditor.changeCellOverlays((accessor) => {
|
|
206
|
+
if (overlayId) {
|
|
207
|
+
accessor.removeOverlay(overlayId);
|
|
208
|
+
}
|
|
209
|
+
});
|
|
210
|
+
}));
|
|
201
211
|
}
|
|
202
212
|
}
|
|
203
213
|
_removeNotebookOverlay() {
|
|
@@ -212,20 +222,31 @@ class TroubleshootController extends Disposable {
|
|
|
212
222
|
}
|
|
213
223
|
for (let i = 0; i < this._notebookEditor.getLength(); i++) {
|
|
214
224
|
const cell = this._notebookEditor.cellAt(i);
|
|
215
|
-
|
|
225
|
+
const disposableStore = ( new DisposableStore());
|
|
226
|
+
this._cellDisposables.push(disposableStore);
|
|
227
|
+
disposableStore.add(cell.onDidChangeLayout(e => {
|
|
216
228
|
this._log(cell, e);
|
|
217
229
|
}));
|
|
218
230
|
}
|
|
219
231
|
this._localStore.add(this._notebookEditor.onDidChangeViewCells(e => {
|
|
220
232
|
[...e.splices].reverse().forEach(splice => {
|
|
221
233
|
const [start, deleted, newCells] = splice;
|
|
222
|
-
const deletedCells = this.
|
|
223
|
-
|
|
234
|
+
const deletedCells = this._cellDisposables.splice(start, deleted, ...( newCells.map(cell => {
|
|
235
|
+
const disposableStore = ( new DisposableStore());
|
|
236
|
+
disposableStore.add(cell.onDidChangeLayout(e => {
|
|
224
237
|
this._log(cell, e);
|
|
225
|
-
});
|
|
238
|
+
}));
|
|
239
|
+
return disposableStore;
|
|
226
240
|
})));
|
|
227
241
|
dispose(deletedCells);
|
|
228
242
|
});
|
|
243
|
+
const addedCells = e.splices.reduce((acc, [, , newCells]) => [...acc, ...newCells], []);
|
|
244
|
+
for (let i = 0; i < addedCells.length; i++) {
|
|
245
|
+
const cellIndex = this._notebookEditor.getCellIndex(addedCells[i]);
|
|
246
|
+
if (cellIndex !== undefined) {
|
|
247
|
+
this._createCellOverlay(addedCells[i], cellIndex);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
229
250
|
}));
|
|
230
251
|
const vm = this._notebookEditor.getViewModel();
|
|
231
252
|
let items = [];
|
|
@@ -251,8 +272,7 @@ class TroubleshootController extends Disposable {
|
|
|
251
272
|
return items;
|
|
252
273
|
}
|
|
253
274
|
dispose() {
|
|
254
|
-
dispose(this.
|
|
255
|
-
this._removeCellOverlays();
|
|
275
|
+
dispose(this._cellDisposables);
|
|
256
276
|
this._removeNotebookOverlay();
|
|
257
277
|
this._localStore.clear();
|
|
258
278
|
super.dispose();
|
|
@@ -263,7 +283,7 @@ registerAction2(class extends Action2 {
|
|
|
263
283
|
constructor() {
|
|
264
284
|
super({
|
|
265
285
|
id: 'notebook.toggleLayoutTroubleshoot',
|
|
266
|
-
title: ( localize2(
|
|
286
|
+
title: ( localize2(8644, "Toggle Notebook Layout Troubleshoot")),
|
|
267
287
|
category: Categories.Developer,
|
|
268
288
|
f1: true
|
|
269
289
|
});
|
|
@@ -282,7 +302,7 @@ registerAction2(class extends Action2 {
|
|
|
282
302
|
constructor() {
|
|
283
303
|
super({
|
|
284
304
|
id: 'notebook.inspectLayout',
|
|
285
|
-
title: ( localize2(
|
|
305
|
+
title: ( localize2(8645, "Inspect Notebook Layout")),
|
|
286
306
|
category: Categories.Developer,
|
|
287
307
|
f1: true
|
|
288
308
|
});
|
|
@@ -303,7 +323,7 @@ registerAction2(class extends Action2 {
|
|
|
303
323
|
constructor() {
|
|
304
324
|
super({
|
|
305
325
|
id: 'notebook.clearNotebookEdtitorTypeCache',
|
|
306
|
-
title: ( localize2(
|
|
326
|
+
title: ( localize2(8646, "Clear Notebook Editor Type Cache")),
|
|
307
327
|
category: Categories.Developer,
|
|
308
328
|
f1: true
|
|
309
329
|
});
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/l
|
|
|
4
4
|
import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
|
|
5
5
|
import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
6
6
|
import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
|
|
7
|
-
import { getNotebookEditorFromEditorPane, CellEditState } from '@codingame/monaco-vscode-
|
|
7
|
+
import { getNotebookEditorFromEditorPane, CellEditState } from '@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
8
8
|
import { UndoCommand, RedoCommand } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
|
|
9
9
|
|
|
10
10
|
let NotebookUndoRedoContribution = class NotebookUndoRedoContribution extends Disposable {
|
package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js
CHANGED
|
@@ -3,11 +3,11 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
|
|
|
3
3
|
import { RunOnceScheduler } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
|
|
4
4
|
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
5
5
|
import { IAccessibilityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility.service';
|
|
6
|
-
import { CellEditState, RenderOutputType } from '@codingame/monaco-vscode-
|
|
6
|
+
import { CellEditState, RenderOutputType } from '@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
|
|
7
7
|
import { registerNotebookContribution } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
|
|
8
8
|
import { outputDisplayLimit } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel';
|
|
9
9
|
import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
|
|
10
|
-
import { cellRangesToIndexes } from '@codingame/monaco-vscode-
|
|
10
|
+
import { cellRangesToIndexes } from '@codingame/monaco-vscode-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/notebook/common/notebookRange';
|
|
11
11
|
import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
|
|
12
12
|
|
|
13
13
|
let NotebookViewportContribution = class NotebookViewportContribution extends Disposable {
|