@codingame/monaco-vscode-notebook-service-override 3.2.3 → 4.1.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.
Files changed (80) hide show
  1. package/notebook.js +13 -13
  2. package/package.json +2 -2
  3. package/external/rollup-plugin-styles/dist/runtime/inject-css.js +0 -3
  4. package/external/tslib/tslib.es6.js +0 -11
  5. package/override/vs/platform/dialogs/common/dialogs.js +0 -8
  6. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.css.js +0 -6
  7. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +0 -389
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +0 -608
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +0 -109
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +0 -173
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +0 -488
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +0 -106
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookCellPausing.js +0 -67
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +0 -165
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +0 -67
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +0 -320
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +0 -72
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/media/notebookFind.css.js +0 -6
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +0 -168
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +0 -209
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +0 -84
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/kernelDetection/notebookKernelDetection.js +0 -82
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +0 -67
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +0 -91
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +0 -393
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariableContextKeys.js +0 -5
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +0 -97
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +0 -118
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +0 -59
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +0 -148
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +0 -383
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +0 -77
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +0 -511
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +0 -159
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +0 -56
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +0 -94
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/apiActions.js +0 -51
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +0 -565
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +0 -31
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.js +0 -744
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +0 -707
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +0 -351
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +0 -267
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffCellEditorOptions.js +0 -45
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +0 -1297
  46. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +0 -284
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementViewModel.js +0 -563
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffNestedCellViewModel.js +0 -108
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/eventDispatcher.js +0 -39
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiff.css.js +0 -6
  51. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +0 -313
  52. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +0 -890
  53. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditorBrowser.js +0 -13
  54. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffList.js +0 -393
  55. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffOverviewRuler.js +0 -175
  56. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +0 -1174
  57. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibility.js +0 -159
  58. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +0 -451
  59. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +0 -192
  60. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +0 -106
  61. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +0 -509
  62. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +0 -130
  63. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelServiceImpl.js +0 -341
  64. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +0 -111
  65. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +0 -28
  66. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookRendererMessagingServiceImpl.js +0 -65
  67. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +0 -641
  68. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +0 -200
  69. package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.js +0 -80
  70. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +0 -1003
  71. package/vscode/src/vs/workbench/contrib/notebook/common/notebookDiffEditorInput.js +0 -103
  72. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +0 -202
  73. package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.js +0 -80
  74. package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.js +0 -98
  75. package/vscode/src/vs/workbench/contrib/search/browser/notebookSearch/notebookSearchService.js +0 -237
  76. package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.js +0 -89
  77. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +0 -376
  78. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +0 -408
  79. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +0 -144
  80. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopyManager.js +0 -129
@@ -1,118 +0,0 @@
1
- import { CancellationTokenSource } from 'vscode/vscode/vs/base/common/cancellation';
2
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
3
- import { variablePageSize } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookKernelService';
4
-
5
- class NotebookVariableDataSource {
6
- constructor(notebookKernelService) {
7
- this.notebookKernelService = notebookKernelService;
8
- this.cancellationTokenSource = ( new CancellationTokenSource());
9
- }
10
- hasChildren(element) {
11
- return element.kind === 'root' || element.hasNamedChildren || element.indexedChildrenCount > 0;
12
- }
13
- cancel() {
14
- this.cancellationTokenSource.cancel();
15
- this.cancellationTokenSource.dispose();
16
- this.cancellationTokenSource = ( new CancellationTokenSource());
17
- }
18
- async getChildren(element) {
19
- if (element.kind === 'root') {
20
- return this.getRootVariables(element.notebook);
21
- }
22
- else {
23
- return this.getVariables(element);
24
- }
25
- }
26
- async getVariables(parent) {
27
- const selectedKernel = this.notebookKernelService.getMatchingKernel(parent.notebook).selected;
28
- if (selectedKernel && selectedKernel.hasVariableProvider) {
29
- let children = [];
30
- if (parent.hasNamedChildren) {
31
- const variables = selectedKernel.provideVariables(parent.notebook.uri, parent.extHostId, 'named', 0, this.cancellationTokenSource.token);
32
- const childNodes = await ( variables
33
- .map(
34
- variable => { return this.createVariableElement(variable, parent.notebook); }
35
- ))
36
- .toPromise();
37
- children = children.concat(childNodes);
38
- }
39
- if (parent.indexedChildrenCount > 0) {
40
- const childNodes = await this.getIndexedChildren(parent, selectedKernel);
41
- children = children.concat(childNodes);
42
- }
43
- return children;
44
- }
45
- return [];
46
- }
47
- async getIndexedChildren(parent, kernel) {
48
- const childNodes = [];
49
- if (parent.indexedChildrenCount > variablePageSize) {
50
- const indexedChildCountLimit = 100000;
51
- const limit = Math.min(parent.indexedChildrenCount, indexedChildCountLimit);
52
- for (let start = 0; start < limit; start += variablePageSize) {
53
- let end = start + variablePageSize;
54
- if (end > limit) {
55
- end = limit;
56
- }
57
- childNodes.push({
58
- kind: 'variable',
59
- notebook: parent.notebook,
60
- id: parent.id + `${start}`,
61
- extHostId: parent.extHostId,
62
- name: `[${start}..${end - 1}]`,
63
- value: '',
64
- indexedChildrenCount: end - start,
65
- indexStart: start,
66
- hasNamedChildren: false
67
- });
68
- }
69
- if (parent.indexedChildrenCount > indexedChildCountLimit) {
70
- childNodes.push({
71
- kind: 'variable',
72
- notebook: parent.notebook,
73
- id: parent.id + `${limit + 1}`,
74
- extHostId: parent.extHostId,
75
- name: ( localizeWithPath(
76
- 'vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource',
77
- 'notebook.indexedChildrenLimitReached',
78
- "Display limit reached"
79
- )),
80
- value: '',
81
- indexedChildrenCount: 0,
82
- hasNamedChildren: false
83
- });
84
- }
85
- }
86
- else if (parent.indexedChildrenCount > 0) {
87
- const variables = kernel.provideVariables(parent.notebook.uri, parent.extHostId, 'indexed', parent.indexStart ?? 0, this.cancellationTokenSource.token);
88
- for await (const variable of variables) {
89
- childNodes.push(this.createVariableElement(variable, parent.notebook));
90
- if (childNodes.length >= variablePageSize) {
91
- break;
92
- }
93
- }
94
- }
95
- return childNodes;
96
- }
97
- async getRootVariables(notebook) {
98
- const selectedKernel = this.notebookKernelService.getMatchingKernel(notebook).selected;
99
- if (selectedKernel && selectedKernel.hasVariableProvider) {
100
- const variables = selectedKernel.provideVariables(notebook.uri, undefined, 'named', 0, this.cancellationTokenSource.token);
101
- return await ( variables
102
- .map(variable => { return this.createVariableElement(variable, notebook); }))
103
- .toPromise();
104
- }
105
- return [];
106
- }
107
- createVariableElement(variable, notebook) {
108
- return {
109
- ...variable,
110
- kind: 'variable',
111
- notebook,
112
- extHostId: variable.id,
113
- id: `${variable.id}`
114
- };
115
- }
116
- }
117
-
118
- export { NotebookVariableDataSource };
@@ -1,59 +0,0 @@
1
- import { append, $ as $$1 } from 'vscode/vscode/vs/base/browser/dom';
2
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
3
- import { renderExpressionValue } from 'vscode/vscode/vs/workbench/contrib/debug/browser/baseDebugView';
4
-
5
- const $ = $$1;
6
- const MAX_VALUE_RENDER_LENGTH_IN_VIEWLET = 1024;
7
- class NotebookVariablesDelegate {
8
- getHeight(element) {
9
- return 22;
10
- }
11
- getTemplateId(element) {
12
- return NotebookVariableRenderer.ID;
13
- }
14
- }
15
- class NotebookVariableRenderer {
16
- static { this.ID = 'variableElement'; }
17
- get templateId() {
18
- return NotebookVariableRenderer.ID;
19
- }
20
- renderTemplate(container) {
21
- const expression = append(container, $('.expression'));
22
- const name = append(expression, $('span.name'));
23
- const value = append(expression, $('span.value'));
24
- const template = { expression, name, value };
25
- return template;
26
- }
27
- renderElement(element, _index, data) {
28
- const text = element.element.value.trim() !== '' ? `${element.element.name}:` : element.element.name;
29
- data.name.textContent = text;
30
- data.name.title = element.element.type ?? '';
31
- renderExpressionValue(element.element, data.value, {
32
- colorize: true,
33
- showHover: true,
34
- maxValueLength: MAX_VALUE_RENDER_LENGTH_IN_VIEWLET
35
- });
36
- }
37
- disposeTemplate() {
38
- }
39
- }
40
- class NotebookVariableAccessibilityProvider {
41
- getWidgetAriaLabel() {
42
- return ( localizeWithPath(
43
- 'vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree',
44
- 'debugConsole',
45
- "Notebook Variables"
46
- ));
47
- }
48
- getAriaLabel(element) {
49
- return ( localizeWithPath(
50
- 'vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree',
51
- 'notebookVariableAriaLabel',
52
- "Variable {0}, value {1}",
53
- element.name,
54
- element.value
55
- ));
56
- }
57
- }
58
-
59
- export { NotebookVariableAccessibilityProvider, NotebookVariableRenderer, NotebookVariablesDelegate };
@@ -1,148 +0,0 @@
1
- import { __decorate, __param } from '../../../../../../../../../external/tslib/tslib.es6.js';
2
- import { RunOnceScheduler } from 'vscode/vscode/vs/base/common/async';
3
- import { localize2WithPath } from 'vscode/vscode/vs/nls';
4
- import { createAndFillInContextMenuActions } from 'vscode/vscode/vs/platform/actions/browser/menuEntryActionViewItem';
5
- import { MenuId, IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions';
6
- import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
7
- import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
8
- import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
9
- import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
10
- import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
11
- import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
12
- import { WorkbenchAsyncDataTree } from 'vscode/vscode/vs/platform/list/browser/listService';
13
- import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
14
- import { IQuickInputService } from 'vscode/vscode/vs/platform/quickinput/common/quickInput';
15
- import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
16
- import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
17
- import { ViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
18
- import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
19
- import { CONTEXT_VARIABLE_NAME, CONTEXT_VARIABLE_VALUE, CONTEXT_VARIABLE_TYPE, CONTEXT_VARIABLE_LANGUAGE, CONTEXT_VARIABLE_EXTENSIONID } from 'vscode/vscode/vs/workbench/contrib/debug/common/debug';
20
- import { NotebookVariableDataSource } from './notebookVariablesDataSource.js';
21
- import { NotebookVariablesDelegate, NotebookVariableRenderer, NotebookVariableAccessibilityProvider } from './notebookVariablesTree.js';
22
- import { getNotebookEditorFromEditorPane } from 'vscode/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
23
- import { INotebookExecutionStateService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
24
- import { INotebookKernelService } from 'vscode/vscode/vs/workbench/contrib/notebook/common/notebookKernelService';
25
- import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
26
-
27
- let NotebookVariablesView = class NotebookVariablesView extends ViewPane {
28
- static { this.ID = 'notebookVariablesView'; }
29
- static { this.TITLE = ( localize2WithPath(
30
- 'vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView',
31
- 'notebook.notebookVariables',
32
- "Notebook Variables"
33
- )); }
34
- constructor(options, editorService, notebookKernelService, notebookExecutionStateService, keybindingService, contextMenuService, contextKeyService, configurationService, instantiationService, viewDescriptorService, openerService, quickInputService, commandService, themeService, telemetryService, menuService) {
35
- super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService);
36
- this.editorService = editorService;
37
- this.notebookKernelService = notebookKernelService;
38
- this.notebookExecutionStateService = notebookExecutionStateService;
39
- this.quickInputService = quickInputService;
40
- this.commandService = commandService;
41
- this.menuService = menuService;
42
- this._register(this.editorService.onDidActiveEditorChange(this.handleActiveEditorChange.bind(this)));
43
- this._register(this.notebookKernelService.onDidNotebookVariablesUpdate(this.handleVariablesChanged.bind(this)));
44
- this._register(this.notebookExecutionStateService.onDidChangeExecution(this.handleExecutionStateChange.bind(this)));
45
- this.setActiveNotebook();
46
- this.dataSource = ( new NotebookVariableDataSource(this.notebookKernelService));
47
- this.updateScheduler = ( new RunOnceScheduler(() => this.tree?.updateChildren(), 100));
48
- }
49
- renderBody(container) {
50
- super.renderBody(container);
51
- this.element.classList.add('debug-pane');
52
- this.tree = this.instantiationService.createInstance(WorkbenchAsyncDataTree, 'notebookVariablesTree', container, ( new NotebookVariablesDelegate()), [( new NotebookVariableRenderer())], this.dataSource, {
53
- accessibilityProvider: ( new NotebookVariableAccessibilityProvider()),
54
- identityProvider: { getId: (e) => e.id },
55
- });
56
- this.tree.layout();
57
- if (this.activeNotebook) {
58
- this.tree.setInput({ kind: 'root', notebook: this.activeNotebook });
59
- }
60
- this._register(this.tree.onContextMenu(e => this.onContextMenu(e)));
61
- }
62
- onContextMenu(e) {
63
- if (!e.element) {
64
- return;
65
- }
66
- const element = e.element;
67
- const arg = {
68
- source: ( element.notebook.uri.toString()),
69
- value: element.value,
70
- type: element.type,
71
- expression: element.expression,
72
- language: element.language,
73
- extensionId: element.extensionId
74
- };
75
- const actions = [];
76
- const overlayedContext = this.contextKeyService.createOverlay([
77
- [CONTEXT_VARIABLE_NAME.key, element.name],
78
- [CONTEXT_VARIABLE_VALUE.key, element.value],
79
- [CONTEXT_VARIABLE_TYPE.key, element.type],
80
- [CONTEXT_VARIABLE_LANGUAGE.key, element.language],
81
- [CONTEXT_VARIABLE_EXTENSIONID.key, element.extensionId]
82
- ]);
83
- const menu = this.menuService.createMenu(MenuId.NotebookVariablesContext, overlayedContext);
84
- createAndFillInContextMenuActions(menu, { arg, shouldForwardArgs: true }, actions);
85
- menu.dispose();
86
- this.contextMenuService.showContextMenu({
87
- getAnchor: () => e.anchor,
88
- getActions: () => actions
89
- });
90
- }
91
- layoutBody(height, width) {
92
- super.layoutBody(height, width);
93
- this.tree?.layout(height, width);
94
- }
95
- setActiveNotebook() {
96
- const current = this.activeNotebook;
97
- const activeEditorPane = this.editorService.activeEditorPane;
98
- if (activeEditorPane?.getId() === 'workbench.editor.notebook' || activeEditorPane?.getId() === 'workbench.editor.interactive') {
99
- const notebookDocument = getNotebookEditorFromEditorPane(activeEditorPane)?.getViewModel()?.notebookDocument;
100
- this.activeNotebook = notebookDocument;
101
- }
102
- return current !== this.activeNotebook;
103
- }
104
- handleActiveEditorChange() {
105
- if (this.setActiveNotebook() && this.activeNotebook) {
106
- this.tree?.setInput({ kind: 'root', notebook: this.activeNotebook });
107
- this.updateScheduler.schedule();
108
- }
109
- }
110
- handleExecutionStateChange(event) {
111
- if (this.activeNotebook) {
112
- if (event.affectsNotebook(this.activeNotebook.uri)) {
113
- this.dataSource.cancel();
114
- if (event.changed === undefined) {
115
- this.updateScheduler.schedule();
116
- }
117
- else {
118
- this.updateScheduler.cancel();
119
- }
120
- }
121
- }
122
- }
123
- handleVariablesChanged(notebookUri) {
124
- if (this.activeNotebook && ( notebookUri.toString()) === ( this.activeNotebook.uri.toString())) {
125
- this.tree?.setInput({ kind: 'root', notebook: this.activeNotebook });
126
- this.updateScheduler.schedule();
127
- }
128
- }
129
- };
130
- NotebookVariablesView = ( __decorate([
131
- ( __param(1, IEditorService)),
132
- ( __param(2, INotebookKernelService)),
133
- ( __param(3, INotebookExecutionStateService)),
134
- ( __param(4, IKeybindingService)),
135
- ( __param(5, IContextMenuService)),
136
- ( __param(6, IContextKeyService)),
137
- ( __param(7, IConfigurationService)),
138
- ( __param(8, IInstantiationService)),
139
- ( __param(9, IViewDescriptorService)),
140
- ( __param(10, IOpenerService)),
141
- ( __param(11, IQuickInputService)),
142
- ( __param(12, ICommandService)),
143
- ( __param(13, IThemeService)),
144
- ( __param(14, ITelemetryService)),
145
- ( __param(15, IMenuService))
146
- ], NotebookVariablesView));
147
-
148
- export { NotebookVariablesView };