@codingame/monaco-vscode-notebook-service-override 17.2.0 → 18.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.
Files changed (81) hide show
  1. package/index.js +1 -1
  2. package/package.json +30 -26
  3. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +11 -8
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +26 -26
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -1
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.js +2 -2
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +8 -8
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +1 -1
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +3 -3
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +1 -1
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +1 -1
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +4 -4
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +1 -1
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +9 -9
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -1
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +1 -1
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +2 -2
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +1 -1
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +12 -12
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +1 -1
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +6 -6
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +7 -7
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +4 -4
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -2
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +1 -1
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +9 -9
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +17 -17
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +1 -1
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +3 -3
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +3 -3
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.d.ts +1 -1
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -3
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +1 -1
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +5 -5
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +3 -3
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +19 -19
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +13 -13
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +8 -1
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +173 -4
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +1 -1
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +2 -2
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +31 -31
  46. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +67 -12
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +29 -29
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +89 -38
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +1 -1
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +26 -26
  51. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +20 -20
  52. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +8 -8
  53. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +1 -1
  54. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +16 -16
  55. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +4 -4
  56. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +22 -22
  57. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +76 -75
  58. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
  59. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +3 -3
  60. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  61. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts +2 -2
  62. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +6 -6
  63. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
  64. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +1 -1
  65. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +2 -2
  66. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  67. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.d.ts +1 -1
  68. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +1 -1
  69. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  70. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.d.ts +1 -1
  71. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +5 -5
  72. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  73. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +1 -1
  74. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +5 -5
  75. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +1 -1
  76. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +2 -1
  77. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +6 -1
  78. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  79. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
  80. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +1 -1
  81. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +1 -1
@@ -18,10 +18,10 @@ import { createInlineValueDecoration } from '@codingame/monaco-vscode-88aa9a78-7
18
18
  import { State } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
19
19
  import { IDebugService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug.service';
20
20
  import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
21
- import { NotebookExecutionType } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
21
+ import { NotebookExecutionType } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
22
22
  import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
23
23
  import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
24
- import { NotebookAction } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
24
+ import { NotebookAction } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
25
25
  import { registerNotebookContribution } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
26
26
 
27
27
  var NotebookInlineVariablesController_1;
@@ -508,7 +508,7 @@ registerAction2(class ClearNotebookInlineValues extends NotebookAction {
508
508
  constructor() {
509
509
  super({
510
510
  id: 'notebook.clearAllInlineValues',
511
- title: ( localize(8008, 'Clear All Inline Values')),
511
+ title: ( localize(8236, 'Clear All Inline Values')),
512
512
  });
513
513
  }
514
514
  runWithContext(accessor, context) {
@@ -11,8 +11,8 @@ import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/w
11
11
  import { VIEWLET_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
12
12
  import { NOTEBOOK_VARIABLE_VIEW_ENABLED } from './notebookVariableContextKeys.js';
13
13
  import { NotebookVariablesView } from './notebookVariablesView.js';
14
- import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
15
- import { variablesViewIcon } from '@codingame/monaco-vscode-fab30422-b487-5f4e-8d30-8b4d266e3fcd-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
14
+ import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
15
+ import { variablesViewIcon } from '@codingame/monaco-vscode-1cb11a73-359e-5a2f-9e95-6989cc9858ee-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
16
16
  import { NotebookSetting } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
17
17
  import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
18
18
  import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
@@ -63,7 +63,7 @@ let NotebookVariables = class NotebookVariables extends Disposable {
63
63
  if (debugViewContainer) {
64
64
  const viewsRegistry = ( Registry.as(Extensions.ViewsRegistry));
65
65
  const viewDescriptor = {
66
- id: 'workbench.notebook.variables', name: ( localize2(8011, "Notebook Variables")),
66
+ id: 'workbench.notebook.variables', name: ( localize2(8239, "Notebook Variables")),
67
67
  containerIcon: variablesViewIcon, ctorDescriptor: ( new SyncDescriptor(NotebookVariablesView)),
68
68
  order: 50, weight: 5, canToggleVisibility: true, canMoveView: true, collapsed: false, when: NOTEBOOK_VARIABLE_VIEW_ENABLED
69
69
  };
@@ -78,7 +78,7 @@ class NotebookVariableDataSource {
78
78
  notebook: parent.notebook,
79
79
  id: parent.id + `${last + 1}`,
80
80
  extHostId: parent.extHostId,
81
- name: ( localize(8012, "Display limit reached")),
81
+ name: ( localize(8240, "Display limit reached")),
82
82
  value: '',
83
83
  indexedChildrenCount: 0,
84
84
  hasNamedChildren: false
@@ -25,7 +25,7 @@ export declare class NotebookVariableRenderer implements ITreeRenderer<INotebook
25
25
  constructor(instantiationService: IInstantiationService);
26
26
  renderTemplate(container: HTMLElement): IVariableTemplateData;
27
27
  renderElement(element: ITreeNode<INotebookVariableElement, FuzzyScore>, _index: number, data: IVariableTemplateData): void;
28
- disposeElement(element: ITreeNode<INotebookVariableElement, FuzzyScore>, index: number, templateData: IVariableTemplateData, height: number | undefined): void;
28
+ disposeElement(element: ITreeNode<INotebookVariableElement, FuzzyScore>, index: number, templateData: IVariableTemplateData): void;
29
29
  disposeTemplate(templateData: IVariableTemplateData): void;
30
30
  }
31
31
  export declare class NotebookVariableAccessibilityProvider implements IListAccessibilityProvider<INotebookVariableElement> {
@@ -44,7 +44,7 @@ let NotebookVariableRenderer = class NotebookVariableRenderer {
44
44
  session: undefined,
45
45
  }));
46
46
  }
47
- disposeElement(element, index, templateData, height) {
47
+ disposeElement(element, index, templateData) {
48
48
  templateData.elementDisposables.clear();
49
49
  }
50
50
  disposeTemplate(templateData) {
@@ -56,10 +56,10 @@ NotebookVariableRenderer = NotebookVariableRenderer_1 = ( __decorate([
56
56
  ], NotebookVariableRenderer));
57
57
  class NotebookVariableAccessibilityProvider {
58
58
  getWidgetAriaLabel() {
59
- return localize(8013, "Notebook Variables");
59
+ return localize(8241, "Notebook Variables");
60
60
  }
61
61
  getAriaLabel(element) {
62
- return localize(8014, "Variable {0}, value {1}", element.name, element.value);
62
+ return localize(8242, "Variable {0}, value {1}", element.name, element.value);
63
63
  }
64
64
  }
65
65
 
@@ -10,7 +10,7 @@ import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platf
10
10
  import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
11
11
  import { IQuickInputService } from "@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service";
12
12
  import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service";
13
- import { IViewPaneOptions, ViewPane } from "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane";
13
+ import { IViewPaneOptions, ViewPane } from "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane";
14
14
  import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service";
15
15
  import { INotebookExecutionStateService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
16
16
  import { INotebookKernelService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service";
@@ -16,23 +16,23 @@ import { WorkbenchAsyncDataTree } from '@codingame/monaco-vscode-api/vscode/vs/p
16
16
  import { IOpenerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service';
17
17
  import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
18
18
  import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
19
- import { ViewPane } from '@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane';
19
+ import { ViewPane } from '@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common/vscode/vs/workbench/browser/parts/views/viewPane';
20
20
  import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
21
21
  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';
22
22
  import { NotebookVariableDataSource } from './notebookVariablesDataSource.js';
23
23
  import { NotebookVariablesDelegate, NotebookVariableRenderer, NotebookVariableAccessibilityProvider } from './notebookVariablesTree.js';
24
- import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
24
+ import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
25
25
  import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
26
26
  import { INotebookKernelService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookKernelService.service';
27
27
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
28
- import { isCompositeNotebookEditorInput } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
28
+ import { isCompositeNotebookEditorInput } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
29
29
 
30
30
  var NotebookVariablesView_1;
31
31
  let NotebookVariablesView = class NotebookVariablesView extends ViewPane {
32
32
  static { NotebookVariablesView_1 = this; }
33
33
  static { this.ID = 'notebookVariablesView'; }
34
- static { this.NOTEBOOK_TITLE = ( localize2(8015, "Notebook Variables")); }
35
- static { this.REPL_TITLE = ( localize2(8016, "REPL Variables")); }
34
+ static { this.NOTEBOOK_TITLE = ( localize2(8243, "Notebook Variables")); }
35
+ static { this.REPL_TITLE = ( localize2(8244, "REPL Variables")); }
36
36
  constructor(options, editorService, notebookKernelService, notebookExecutionStateService, keybindingService, contextMenuService, contextKeyService, configurationService, instantiationService, viewDescriptorService, openerService, quickInputService, commandService, themeService, hoverService, menuService) {
37
37
  super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, hoverService);
38
38
  this.editorService = editorService;
@@ -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-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
11
- import { NotebookEditor } from "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor";
10
+ import { CellFoldingState, INotebookEditorPane } from "@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
11
+ import { NotebookEditor } from "@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-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-0f262ee3-cace-5644-818e-eba5fe007685-common/vscode/vs/workbench/services/outline/browser/outline";
15
+ import { IBreadcrumbsDataSource, IOutline, IOutlineCreator, IOutlineListConfig, IQuickPickDataSource, IQuickPickOutlineElement, OutlineChangeEvent, OutlineTarget } from "@codingame/monaco-vscode-0094ae09-a688-53e7-bacc-93e26f7f49db-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";
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
4
- import { clearNode, WindowIdleValue } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
4
+ import { clearNode } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/dom';
5
5
  import { ToolBar } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/toolbar/toolbar';
6
6
  import { IconLabel } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/iconLabel/iconLabel';
7
7
  import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
@@ -27,17 +27,16 @@ 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-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
31
- import { NotebookEditor } from '@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor';
30
+ import { CellFoldingState, CellRevealType } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
31
+ import { NotebookEditor } from '@codingame/monaco-vscode-bc8c28cd-7a80-54a9-af1a-e6b1e7a7f34a-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-0f262ee3-cace-5644-818e-eba5fe007685-common/vscode/vs/workbench/services/outline/browser/outline';
36
+ import { OutlineConfigKeys, OutlineTarget, OutlineConfigCollapseItemsValues } from '@codingame/monaco-vscode-0094ae09-a688-53e7-bacc-93e26f7f49db-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';
40
- import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/window';
41
40
  import { IContextMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service';
42
41
  import { MenuItemAction, MenuId, MenuRegistry, registerAction2, Action2 } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
43
42
  import { IMenuService } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions.service';
@@ -47,12 +46,13 @@ import { MenuEntryActionViewItem, getActionBarActions } from '@codingame/monaco-
47
46
  import { disposableTimeout, Delayer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
48
47
  import { IOutlinePane } from '@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common/vscode/vs/workbench/contrib/outline/browser/outline';
49
48
  import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
50
- import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-51fed910-d648-5620-9b80-9232cd79d116-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
49
+ import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-c87fff3a-2aa9-52ab-ba4d-17e8d1e5e185-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
51
50
  import { NotebookOutlineConstants } from '../../viewModel/notebookOutlineEntryFactory.js';
52
51
  import { INotebookCellOutlineDataSourceFactory } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service';
53
- import { NotebookExecutionType } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
52
+ import { NotebookExecutionType } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
54
53
  import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
55
54
  import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service';
55
+ import { safeIntl } from '@codingame/monaco-vscode-api/vscode/vs/base/common/date';
56
56
 
57
57
  class NotebookOutlineTemplate {
58
58
  static { this.templateId = 'NotebookOutlineRenderer'; }
@@ -98,7 +98,7 @@ let NotebookOutlineRenderer = class NotebookOutlineRenderer {
98
98
  elementDisposables
99
99
  ));
100
100
  }
101
- renderElement(node, _index, template, _height) {
101
+ renderElement(node, _index, template) {
102
102
  const extraClasses = [];
103
103
  const options = {
104
104
  matches: createMatches(node.filterData),
@@ -184,7 +184,7 @@ let NotebookOutlineRenderer = class NotebookOutlineRenderer {
184
184
  templateData.iconLabel.dispose();
185
185
  templateData.elementDisposables.dispose();
186
186
  }
187
- disposeElement(element, index, templateData, height) {
187
+ disposeElement(element, index, templateData) {
188
188
  templateData.elementDisposables.clear();
189
189
  clearNode(templateData.actionMenu);
190
190
  }
@@ -424,7 +424,7 @@ NotebookBreadcrumbsProvider = ( __decorate([
424
424
  ], NotebookBreadcrumbsProvider));
425
425
  class NotebookComparator {
426
426
  constructor() {
427
- this._collator = new WindowIdleValue(mainWindow, () => new Intl.Collator(undefined, { numeric: true }));
427
+ this._collator = safeIntl.Collator(undefined, { numeric: true });
428
428
  }
429
429
  compareByPosition(a, b) {
430
430
  return a.index - b.index;
@@ -728,33 +728,33 @@ const NotebookOutlineContext = {
728
728
  type: 'boolean',
729
729
  default: true,
730
730
  markdownDescription: ( localize(
731
- 8017,
731
+ 8245,
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(8018, "When enabled, notebook outline shows code cells."))
738
+ markdownDescription: ( localize(8246, "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
- 8019,
744
+ 8247,
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(8020, "When enabled, notebook breadcrumbs contain code cells."))
751
+ markdownDescription: ( localize(8248, "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
- 8021,
757
+ 8249,
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(8022, "Filter Entries")),
765
+ title: ( localize(8250, "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(8023, "Markdown Headers Only")),
775
+ title: ( localize(8251, "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(8024, "Code Cells")),
796
+ title: ( localize(8252, "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(8025, "Code Cell Symbols")),
818
+ title: ( localize(8253, "Code Cell Symbols")),
819
819
  f1: false,
820
820
  toggled: {
821
821
  condition: ( ContextKeyExpr.equals('config.notebook.outline.showCodeCellSymbols', true))
@@ -53,7 +53,7 @@ registerAction2(class extends Action2 {
53
53
  constructor() {
54
54
  super({
55
55
  id: 'notebook.setProfile',
56
- title: ( localize(8026, "Set Profile"))
56
+ title: ( localize(8254, "Set Profile"))
57
57
  });
58
58
  }
59
59
  async run(accessor, args) {
@@ -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-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
27
+ import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-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-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-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(8027, "Formatting")) });
68
+ progress.report({ message: ( localize(8255, "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(8028, "Format Notebook")), code: 'undoredo.formatNotebook', });
86
+ await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(8256, "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(8029, "Notebook Trim Trailing Whitespace")), code: 'undoredo.notebookTrimTrailingWhitespace' });
155
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(8257, "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(8030, "Trim Final New Lines")), code: 'undoredo.trimFinalNewLines' });
232
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(8258, "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(8031, "Insert Final New Line")), code: 'undoredo.insertFinalNewLine' });
286
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(8259, "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(8032, "Running 'Notebook' code actions")) });
342
+ progress.report({ message: ( localize(8260, "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(8033, "Running 'Cell' code actions")) });
374
+ progress.report({ message: ( localize(8261, "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(8034, "Running 'Format' code actions")) });
414
+ progress.report({ message: ( localize(8262, "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
- 8035,
443
+ 8263,
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(8036, "Applying code action '{0}'.", action.action.title)) });
483
+ progress.report({ message: ( localize(8264, "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
- 8035,
508
+ 8263,
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(8036, "Applying code action '{0}'.", action.action.title)) });
535
+ progress.report({ message: ( localize(8264, "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,5 +1,5 @@
1
1
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
- import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
2
+ import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-4372ad43-a220-5e78-83e6-95a9cfd64384-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;
@@ -7,10 +7,17 @@ export declare class TroubleshootController extends Disposable implements INoteb
7
7
  private _cellStateListeners;
8
8
  private _enabled;
9
9
  private _cellStatusItems;
10
+ private _cellOverlayIds;
11
+ private _notebookOverlayDomNode;
10
12
  constructor(_notebookEditor: INotebookEditor);
11
13
  toggle(): void;
12
14
  private _update;
13
15
  private _log;
16
+ private _createCellOverlays;
17
+ private _createNotebookOverlay;
18
+ private _createCellOverlay;
19
+ private _removeCellOverlays;
20
+ private _removeNotebookOverlay;
14
21
  private _updateListener;
15
22
  private _getItemsForCells;
16
23
  dispose(): void;