@codingame/monaco-vscode-notebook-service-override 16.1.0 → 17.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 (87) hide show
  1. package/index.js +2 -2
  2. package/package.json +26 -24
  3. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.d.ts +7 -24
  4. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +88 -166
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +27 -27
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -1
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.js +10 -3
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +9 -9
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +1 -1
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +4 -4
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +1 -1
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.js +2 -2
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +4 -4
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +2 -2
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +10 -10
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -1
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +1 -1
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +4 -4
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.d.ts +4 -11
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +11 -26
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +12 -12
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +1 -1
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.js +1 -1
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +7 -7
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +7 -7
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +4 -4
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -2
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +1 -1
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +12 -12
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookSelectionHighlight.js +1 -1
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +18 -18
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +1 -1
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +4 -4
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +3 -3
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +2 -2
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +4 -4
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +4 -4
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +14 -14
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +14 -14
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +1 -1
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +5 -5
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +1 -1
  46. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +4 -4
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +34 -34
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +23 -52
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +31 -31
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +30 -30
  51. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +2 -2
  52. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +28 -28
  53. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +20 -20
  54. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +8 -8
  55. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +2 -2
  56. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +17 -17
  57. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +4 -4
  58. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +26 -26
  59. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.d.ts +6 -0
  60. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +111 -84
  61. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +11 -11
  62. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +3 -3
  63. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  64. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts +89 -0
  65. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +292 -0
  66. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.d.ts +39 -0
  67. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +93 -0
  68. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +2 -2
  69. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +4 -4
  70. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.d.ts +1 -1
  71. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +2 -2
  72. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.d.ts +1 -1
  73. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +1 -1
  74. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  75. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +4 -4
  76. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  77. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +2 -2
  78. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +7 -7
  79. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +3 -3
  80. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +1 -1
  81. package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.d.ts +1 -1
  82. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.d.ts +1 -1
  83. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +2 -2
  84. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +1 -1
  85. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWebWorker.js +1 -1
  86. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +12 -12
  87. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +1 -1
@@ -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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
15
- import { variablesViewIcon } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
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';
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(7916, "Notebook Variables")),
66
+ id: 'workbench.notebook.variables', name: ( localize2(8011, "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(7917, "Display limit reached")),
81
+ name: ( localize(8012, "Display limit reached")),
82
82
  value: '',
83
83
  indexedChildrenCount: 0,
84
84
  hasNamedChildren: false
@@ -56,10 +56,10 @@ NotebookVariableRenderer = NotebookVariableRenderer_1 = ( __decorate([
56
56
  ], NotebookVariableRenderer));
57
57
  class NotebookVariableAccessibilityProvider {
58
58
  getWidgetAriaLabel() {
59
- return localize(7918, "Notebook Variables");
59
+ return localize(8013, "Notebook Variables");
60
60
  }
61
61
  getAriaLabel(element) {
62
- return localize(7919, "Variable {0}, value {1}", element.name, element.value);
62
+ return localize(8014, "Variable {0}, value {1}", element.name, element.value);
63
63
  }
64
64
  }
65
65
 
@@ -21,18 +21,18 @@ import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/w
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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
24
+ import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-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-9b5a5e82-d649-5455-b4bf-ef90d6afd294-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
28
+ import { isCompositeNotebookEditorInput } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-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(7920, "Notebook Variables")); }
35
- static { this.REPL_TITLE = ( localize2(7921, "REPL Variables")); }
34
+ static { this.NOTEBOOK_TITLE = ( localize2(8015, "Notebook Variables")); }
35
+ static { this.REPL_TITLE = ( localize2(8016, "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,14 +7,14 @@ 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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
10
+ import { CellFoldingState, INotebookEditorPane } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
11
11
  import { NotebookEditor } from "@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditor";
12
- import { INotebookCellOutlineDataSource } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource";
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-2bd6777a-3bff-5b83-ad25-0e029e81ffe9-common/vscode/vs/workbench/services/outline/browser/outline";
15
+ import { IBreadcrumbsDataSource, IOutline, IOutlineCreator, IOutlineListConfig, IQuickPickDataSource, IQuickPickOutlineElement, OutlineChangeEvent, OutlineTarget } from "@codingame/monaco-vscode-bed2b49f-41ae-5ed2-b61a-1105500a3f8a-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
- import { OutlineEntry } from "@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry";
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";
19
19
  import { RawContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey";
20
20
  import { INotebookExecutionStateService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
@@ -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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
30
+ import { CellFoldingState, CellRevealType } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
31
31
  import { NotebookEditor } from '@codingame/monaco-vscode-6f9bc782-77e0-5716-93bd-b05210c768c5-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-2bd6777a-3bff-5b83-ad25-0e029e81ffe9-common/vscode/vs/workbench/services/outline/browser/outline';
36
+ import { OutlineConfigKeys, OutlineTarget, OutlineConfigCollapseItemsValues } from '@codingame/monaco-vscode-bed2b49f-41ae-5ed2-b61a-1105500a3f8a-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';
@@ -47,10 +47,10 @@ import { MenuEntryActionViewItem, getActionBarActions } from '@codingame/monaco-
47
47
  import { disposableTimeout, Delayer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
48
48
  import { IOutlinePane } from '@codingame/monaco-vscode-0cd5242b-7b61-5f66-ac25-ffa40baf8e8f-common/vscode/vs/workbench/contrib/outline/browser/outline';
49
49
  import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
50
- import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-a1eb43d5-da63-5f76-8ad4-acf0d6c3b749-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
50
+ import { NOTEBOOK_IS_ACTIVE_EDITOR } from '@codingame/monaco-vscode-51fed910-d648-5620-9b80-9232cd79d116-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
51
51
  import { NotebookOutlineConstants } from '../../viewModel/notebookOutlineEntryFactory.js';
52
- import { INotebookCellOutlineDataSourceFactory } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service';
53
- import { NotebookExecutionType } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService';
52
+ 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';
54
54
  import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
55
55
  import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service';
56
56
 
@@ -728,33 +728,33 @@ const NotebookOutlineContext = {
728
728
  type: 'boolean',
729
729
  default: true,
730
730
  markdownDescription: ( localize(
731
- 7922,
731
+ 8017,
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(7923, "When enabled, notebook outline shows code cells."))
738
+ markdownDescription: ( localize(8018, "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
- 7924,
744
+ 8019,
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(7925, "When enabled, notebook breadcrumbs contain code cells."))
751
+ markdownDescription: ( localize(8020, "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
- 7926,
757
+ 8021,
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(7927, "Filter Entries")),
765
+ title: ( localize(8022, "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(7928, "Markdown Headers Only")),
775
+ title: ( localize(8023, "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(7929, "Code Cells")),
796
+ title: ( localize(8024, "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(7930, "Code Cell Symbols")),
818
+ title: ( localize(8025, "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(7931, "Set Profile"))
56
+ title: ( localize(8026, "Set Profile"))
57
57
  });
58
58
  }
59
59
  async run(accessor, args) {
@@ -24,9 +24,9 @@ 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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
27
+ import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-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
- import { NotebookFileWorkingCopyModel } from '@codingame/monaco-vscode-897bebad-39df-57cb-8a57-36a271d038be-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorModel';
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';
31
31
  import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle';
32
32
  import { IWorkingCopyFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
@@ -65,7 +65,7 @@ let FormatOnSaveParticipant = class FormatOnSaveParticipant {
65
65
  if (!enabled) {
66
66
  return undefined;
67
67
  }
68
- progress.report({ message: ( localize(7932, "Formatting")) });
68
+ progress.report({ message: ( localize(8027, "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(7933, "Format Notebook")), code: 'undoredo.formatNotebook', });
86
+ await this.bulkEditService.apply( allCellEdits.flat(), { label: ( localize(8028, "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(7934, "Notebook Trim Trailing Whitespace")), code: 'undoredo.notebookTrimTrailingWhitespace' });
155
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(8029, "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(7935, "Trim Final New Lines")), code: 'undoredo.trimFinalNewLines' });
232
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(8030, "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(7936, "Insert Final New Line")), code: 'undoredo.insertFinalNewLine' });
286
+ await this.bulkEditService.apply(filteredEdits, { label: ( localize(8031, "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(7937, "Running 'Notebook' code actions")) });
342
+ progress.report({ message: ( localize(8032, "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(7938, "Running 'Cell' code actions")) });
374
+ progress.report({ message: ( localize(8033, "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(7939, "Running 'Format' code actions")) });
414
+ progress.report({ message: ( localize(8034, "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
- 7940,
443
+ 8035,
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(7941, "Applying code action '{0}'.", action.action.title)) });
483
+ progress.report({ message: ( localize(8036, "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
- 7940,
508
+ 8035,
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(7941, "Applying code action '{0}'.", action.action.title)) });
535
+ progress.report({ message: ( localize(8036, "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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
2
+ import { INotebookEditor, INotebookEditorContribution } from "@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-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;
@@ -3,8 +3,8 @@ import { Disposable, DisposableStore, dispose } from '@codingame/monaco-vscode-a
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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
7
- import { registerNotebookContribution } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
6
+ import { getNotebookEditorFromEditorPane } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
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';
10
10
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
@@ -95,7 +95,7 @@ registerAction2(class extends Action2 {
95
95
  constructor() {
96
96
  super({
97
97
  id: 'notebook.toggleLayoutTroubleshoot',
98
- title: ( localize2(7942, "Toggle Layout Troubleshoot")),
98
+ title: ( localize2(8037, "Toggle Layout Troubleshoot")),
99
99
  category: Categories.Developer,
100
100
  f1: true
101
101
  });
@@ -114,7 +114,7 @@ registerAction2(class extends Action2 {
114
114
  constructor() {
115
115
  super({
116
116
  id: 'notebook.inspectLayout',
117
- title: ( localize2(7943, "Inspect Notebook Layout")),
117
+ title: ( localize2(8038, "Inspect Notebook Layout")),
118
118
  category: Categories.Developer,
119
119
  f1: true
120
120
  });
@@ -135,7 +135,7 @@ registerAction2(class extends Action2 {
135
135
  constructor() {
136
136
  super({
137
137
  id: 'notebook.clearNotebookEdtitorTypeCache',
138
- title: ( localize2(7944, "Clear Notebook Editor Type Cache")),
138
+ title: ( localize2(8039, "Clear Notebook Editor Type Cache")),
139
139
  category: Categories.Developer,
140
140
  f1: true
141
141
  });
@@ -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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
7
+ import { getNotebookEditorFromEditorPane, CellEditState } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-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 {
@@ -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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
7
- import { registerNotebookContribution } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
8
- import { outputDisplayLimit } from '@codingame/monaco-vscode-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/codeCellViewModel';
6
+ import { CellEditState, RenderOutputType } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser';
7
+ import { registerNotebookContribution } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookEditorExtensions';
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-9a6d8b6c-ad4c-5ea3-9558-f43d6dc4c0ad-common/vscode/vs/workbench/contrib/notebook/common/notebookRange';
10
+ import { cellRangesToIndexes } from '@codingame/monaco-vscode-324f9a6e-6231-5bfc-af17-e147abd2dfd2-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 {