@codingame/monaco-vscode-notebook-service-override 23.2.2 → 24.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 (103) hide show
  1. package/index.js +3 -3
  2. package/package.json +3 -24
  3. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +8 -8
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +27 -27
  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 +3 -3
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +11 -14
  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 +4 -4
  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 +2 -2
  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 +2 -2
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +10 -10
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +3 -2
  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 +6 -6
  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/execute/executionEditorProgress.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +9 -9
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +7 -7
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +4 -4
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -2
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +2 -2
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +1 -1
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +13 -13
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookSelectionHighlight.js +1 -1
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +17 -17
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +1 -1
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +5 -5
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +3 -3
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +1 -1
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +4 -4
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.d.ts +1 -1
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +3 -3
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +3 -3
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +15 -15
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.d.ts +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 +14 -14
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +19 -31
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +1 -1
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +32 -32
  51. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +30 -30
  52. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.d.ts +2 -2
  53. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +27 -27
  54. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +20 -20
  55. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +8 -8
  56. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +1 -1
  57. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +17 -17
  58. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +4 -4
  59. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +26 -26
  60. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +86 -86
  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 +3 -3
  65. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +11 -11
  66. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.d.ts +1 -1
  67. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
  68. package/vscode/src/vs/workbench/contrib/notebook/browser/replEditorAccessibleView.js +3 -3
  69. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +2 -2
  70. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +5 -6
  71. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.d.ts +1 -1
  72. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +2 -2
  73. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.d.ts +1 -1
  74. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionStateServiceImpl.js +1 -1
  75. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  76. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.d.ts +1 -1
  77. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +5 -5
  78. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +1 -1
  79. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +3 -3
  80. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +8 -8
  81. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.d.ts +2 -1
  82. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookWorkerServiceImpl.js +15 -8
  83. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.d.ts +1 -1
  84. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.js +1 -1
  85. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource.d.ts +2 -2
  86. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource.js +1 -1
  87. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.d.ts +1 -1
  88. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +1 -1
  89. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +2 -2
  90. package/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.d.ts +1 -1
  91. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.d.ts +1 -1
  92. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +12 -12
  93. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +1 -1
  94. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWebWorker.js +1 -1
  95. package/vscode/src/vs/workbench/contrib/replNotebook/browser/repl.contribution.js +12 -12
  96. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.js +15 -15
  97. package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +1 -1
  98. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +2 -2
  99. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +14 -14
  100. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.d.ts +1 -1
  101. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +3 -3
  102. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +2 -2
  103. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +2 -2
@@ -10,7 +10,7 @@ let NotebookLoggingService = class NotebookLoggingService extends Disposable {
10
10
  static { this.ID = 'notebook'; }
11
11
  constructor(loggerService) {
12
12
  super();
13
- this._logger = this._register(loggerService.createLogger(logChannelId, { name: ( localize(9526, "Notebook")), group: windowLogGroup }));
13
+ this._logger = this._register(loggerService.createLogger(logChannelId, { name: ( localize(9661, "Notebook")), group: windowLogGroup }));
14
14
  }
15
15
  trace(category, output) {
16
16
  this._logger.trace(`[${category}] ${output}`);
@@ -7,13 +7,13 @@ import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/pl
7
7
  import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
8
8
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
9
9
  import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
10
- import { NotebookCellTextModel } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
10
+ import { NotebookCellTextModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
11
11
  import { NotebookTextModel } from "../../common/model/notebookTextModel.js";
12
12
  import { INotebookContributionData, INotebookRendererInfo, IOrderedMimeType, IOutputDto, NotebookExtensionDescription, INotebookStaticPreloadInfo } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
13
13
  import { INotebookEditorModelResolverService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service";
14
14
  import { NotebookOutputRendererInfo } from "../../common/notebookOutputRenderer.js";
15
15
  import { NotebookProviderInfo } from "../../common/notebookProvider.js";
16
- import { INotebookSerializer, SimpleNotebookProviderInfo } from "@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/notebook/common/notebookService";
16
+ import { INotebookSerializer, SimpleNotebookProviderInfo } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService";
17
17
  import { INotebookService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service";
18
18
  import { IEditorType } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService";
19
19
  import { IEditorResolverService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService.service";
@@ -21,7 +21,7 @@ import { IExtensionService } from "@codingame/monaco-vscode-api/vscode/vs/workbe
21
21
  import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
22
22
  import { INotebookDocumentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/notebook/common/notebookDocumentService.service";
23
23
  import { VSBufferReadableStream } from "@codingame/monaco-vscode-api/vscode/vs/base/common/buffer";
24
- import { SnapshotContext } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
24
+ import { SnapshotContext } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
25
25
  import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
26
26
  export declare class NotebookProviderInfoStore extends Disposable {
27
27
  private readonly _editorResolverService;
@@ -18,26 +18,26 @@ import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/fi
18
18
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
19
19
  import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
20
20
  import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
21
- import { Memento } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/common/memento';
21
+ import { Memento } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/memento';
22
22
  import { notebooksExtensionPoint, notebookRendererExtensionPoint, notebookPreloadExtensionPoint } from '../notebookExtensionPoint.js';
23
- import { NotebookDiffEditorInput } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput';
23
+ import { NotebookDiffEditorInput } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/notebookDiffEditorInput';
24
24
  import { NotebookTextModel } from '../../common/model/notebookTextModel.js';
25
25
  import { NotebookEditorPriority, NotebookSetting, CellUri, NotebookRendererMatch, RENDERER_EQUIVALENT_EXTENSIONS, RENDERER_NOT_AVAILABLE, MimeTypeDisplayOrder, ACCESSIBLE_NOTEBOOK_DISPLAY_ORDER, NOTEBOOK_DISPLAY_ORDER } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
26
- import { NotebookEditorInput } from '@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
26
+ import { NotebookEditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorInput';
27
27
  import { INotebookEditorModelResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service';
28
28
  import { NotebookOutputRendererInfo, NotebookStaticPreloadInfo } from '../../common/notebookOutputRenderer.js';
29
29
  import { NotebookProviderInfo } from '../../common/notebookProvider.js';
30
- import { SimpleNotebookProviderInfo } from '@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/notebook/common/notebookService';
30
+ import { SimpleNotebookProviderInfo } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService';
31
31
  import { RegisteredEditorPriority } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService';
32
32
  import { IEditorResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService.service';
33
33
  import { isProposedApiEnabled } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions';
34
34
  import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
35
- import { InstallRecommendedExtensionAction } from '@codingame/monaco-vscode-9ed6fe06-a052-57c2-a234-5d9b94d2e7e0-common/vscode/vs/workbench/contrib/extensions/browser/extensionsActions';
35
+ import { InstallRecommendedExtensionAction } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/extensions/browser/extensionsActions';
36
36
  import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
37
37
  import { INotebookDocumentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/notebook/common/notebookDocumentService.service';
38
- import { MergeEditorInput } from '@codingame/monaco-vscode-8ccb7637-50ea-5359-97bf-00015d7fe567-common/vscode/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput';
38
+ import { MergeEditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mergeEditor/browser/mergeEditorInput';
39
39
  import { streamToBuffer, VSBuffer, bufferToStream } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buffer';
40
- import { NotebookMultiDiffEditorInput } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput';
40
+ import { NotebookMultiDiffEditorInput } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/browser/diff/notebookMultiDiffEditorInput';
41
41
  import { CancellationError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
42
42
 
43
43
  var NotebookProviderInfoStore_1, NotebookService_1;
@@ -590,7 +590,7 @@ let NotebookService = class NotebookService extends Disposable {
590
590
  const knownProvider = this.getViewTypeProvider(viewType);
591
591
  const actions = knownProvider ? [
592
592
  toAction({
593
- id: 'workbench.notebook.action.installMissingViewType', label: ( localize(9527, "Install extension for '{0}'", viewType)), run: async () => {
593
+ id: 'workbench.notebook.action.installMissingViewType', label: ( localize(9662, "Install extension for '{0}'", viewType)), run: async () => {
594
594
  await this._instantiationService.createInstance(InstallRecommendedExtensionAction, knownProvider).run();
595
595
  }
596
596
  })
@@ -1,5 +1,6 @@
1
1
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
2
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
3
+ import { IWebWorkerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/webWorker/browser/webWorkerService.service";
3
4
  import { INotebookDiffResult } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
4
5
  import { INotebookService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service";
5
6
  import { INotebookEditorWorkerService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/services/notebookWorkerService.service";
@@ -7,7 +8,7 @@ import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/com
7
8
  export declare class NotebookEditorWorkerServiceImpl extends Disposable implements INotebookEditorWorkerService {
8
9
  readonly _serviceBrand: undefined;
9
10
  private readonly _workerManager;
10
- constructor(notebookService: INotebookService, modelService: IModelService);
11
+ constructor(notebookService: INotebookService, modelService: IModelService, webWorkerService: IWebWorkerService);
11
12
  canComputeDiff(original: URI, modified: URI): boolean;
12
13
  computeDiff(original: URI, modified: URI): Promise<INotebookDiffResult>;
13
14
  canPromptRecommendation(model: URI): Promise<boolean>;
@@ -1,7 +1,8 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import { Disposable, DisposableStore, toDisposable, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
4
- import { createWebWorker } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/webWorkerFactory';
4
+ import { WebWorkerDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/webWorker/browser/webWorkerDescriptor';
5
+ import { IWebWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/webWorker/browser/webWorkerService.service';
5
6
  import { CellUri, NotebookCellsChangeType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
6
7
  import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
7
8
  import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
@@ -10,9 +11,9 @@ import { Schemas, FileAccess } from '@codingame/monaco-vscode-api/vscode/vs/base
10
11
  import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
11
12
 
12
13
  let NotebookEditorWorkerServiceImpl = class NotebookEditorWorkerServiceImpl extends Disposable {
13
- constructor(notebookService, modelService) {
14
+ constructor(notebookService, modelService, webWorkerService) {
14
15
  super();
15
- this._workerManager = this._register(( new WorkerManager(notebookService, modelService)));
16
+ this._workerManager = this._register(( new WorkerManager(notebookService, modelService, webWorkerService)));
16
17
  }
17
18
  canComputeDiff(original, modified) {
18
19
  throw ( new Error('Method not implemented.'));
@@ -30,18 +31,20 @@ let NotebookEditorWorkerServiceImpl = class NotebookEditorWorkerServiceImpl exte
30
31
  };
31
32
  NotebookEditorWorkerServiceImpl = ( __decorate([
32
33
  ( __param(0, INotebookService)),
33
- ( __param(1, IModelService))
34
+ ( __param(1, IModelService)),
35
+ ( __param(2, IWebWorkerService))
34
36
  ], NotebookEditorWorkerServiceImpl));
35
37
  class WorkerManager extends Disposable {
36
- constructor(_notebookService, _modelService) {
38
+ constructor(_notebookService, _modelService, _webWorkerService) {
37
39
  super();
38
40
  this._notebookService = _notebookService;
39
41
  this._modelService = _modelService;
42
+ this._webWorkerService = _webWorkerService;
40
43
  this._editorWorkerClient = null;
41
44
  }
42
45
  withWorker() {
43
46
  if (!this._editorWorkerClient) {
44
- this._editorWorkerClient = ( new NotebookWorkerClient(this._notebookService, this._modelService));
47
+ this._editorWorkerClient = ( new NotebookWorkerClient(this._notebookService, this._modelService, this._webWorkerService));
45
48
  this._register(this._editorWorkerClient);
46
49
  }
47
50
  return Promise.resolve(this._editorWorkerClient);
@@ -186,10 +189,11 @@ class NotebookEditorModelManager extends Disposable {
186
189
  }
187
190
  }
188
191
  class NotebookWorkerClient extends Disposable {
189
- constructor(_notebookService, _modelService) {
192
+ constructor(_notebookService, _modelService, _webWorkerService) {
190
193
  super();
191
194
  this._notebookService = _notebookService;
192
195
  this._modelService = _modelService;
196
+ this._webWorkerService = _webWorkerService;
193
197
  this._worker = null;
194
198
  this._modelManager = null;
195
199
  }
@@ -215,7 +219,10 @@ class NotebookWorkerClient extends Disposable {
215
219
  _getOrCreateWorker() {
216
220
  if (!this._worker) {
217
221
  try {
218
- this._worker = this._register(createWebWorker(( FileAccess.asBrowserUri('vs/workbench/contrib/notebook/common/services/notebookWebWorkerMain.js')), 'NotebookEditorWorker'));
222
+ this._worker = this._register(this._webWorkerService.createWorkerClient(( new WebWorkerDescriptor({
223
+ esmModuleLocation: ( FileAccess.asBrowserUri('vs/workbench/contrib/notebook/common/services/notebookWebWorkerMain.js')),
224
+ label: 'NotebookEditorWorker'
225
+ }))));
219
226
  }
220
227
  catch (err) {
221
228
  throw (err);
@@ -1,7 +1,7 @@
1
1
  import { ThemeIcon } from "@codingame/monaco-vscode-api/vscode/vs/base/common/themables";
2
2
  import { MarkerSeverity } from "@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers";
3
3
  import { IMarkerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service";
4
- import { ICellViewModel } from "@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
4
+ import { ICellViewModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
5
5
  import { IRange } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range";
6
6
  import { SymbolKind } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages";
7
7
  export interface IOutlineMarkerInfo {
@@ -2,7 +2,7 @@
2
2
  import { Codicon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/codicons';
3
3
  import { ThemeIcon } from '@codingame/monaco-vscode-api/vscode/vs/base/common/themables';
4
4
  import { MarkerSeverity } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers';
5
- import { executingStateIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
5
+ import { executingStateIcon } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
6
6
  import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
7
7
  import { SymbolKinds } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages';
8
8
 
@@ -2,8 +2,8 @@ import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"
2
2
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
3
3
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
4
4
  import { IMarkerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service";
5
- import { INotebookEditor } from "@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
6
- import { OutlineChangeEvent } from "@codingame/monaco-vscode-1f37b5fb-f500-54d2-b98a-d12d100cafca-common/vscode/vs/workbench/services/outline/browser/outline";
5
+ import { INotebookEditor } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
6
+ import { OutlineChangeEvent } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/outline/browser/outline";
7
7
  import { OutlineEntry } from "./OutlineEntry.js";
8
8
  import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
9
9
  import { NotebookOutlineEntryFactory } from "./notebookOutlineEntryFactory.js";
@@ -6,7 +6,7 @@ import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/reso
6
6
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
7
7
  import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
8
8
  import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
9
- import { OutlineConfigKeys } from '@codingame/monaco-vscode-1f37b5fb-f500-54d2-b98a-d12d100cafca-common/vscode/vs/workbench/services/outline/browser/outline';
9
+ import { OutlineConfigKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/outline/browser/outline';
10
10
  import { INotebookOutlineEntryFactory } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.service';
11
11
 
12
12
  let NotebookCellOutlineDataSource = class NotebookCellOutlineDataSource {
@@ -1,6 +1,6 @@
1
1
  import { type IReference } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
2
2
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
3
- import type { INotebookEditor } from "@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
3
+ import type { INotebookEditor } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
4
4
  import { NotebookCellOutlineDataSource } from "./notebookOutlineDataSource.js";
5
5
  import { INotebookCellOutlineDataSourceFactory } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.service";
6
6
  export declare class NotebookCellOutlineDataSourceFactory implements INotebookCellOutlineDataSourceFactory {
@@ -1,6 +1,6 @@
1
1
  import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
2
2
  import { IOutlineModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/contrib/documentSymbols/browser/outlineModel.service";
3
- import { ICellViewModel } from "@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
3
+ import { ICellViewModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookBrowser";
4
4
  import { OutlineEntry } from "./OutlineEntry.js";
5
5
  import { INotebookExecutionStateService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
6
6
  import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service";
@@ -3,7 +3,7 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
3
3
  import { renderAsPlaintext } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/markdownRenderer';
4
4
  import { IOutlineModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/documentSymbols/browser/outlineModel.service';
5
5
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
6
- import { getMarkdownHeadersInCell } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/viewModel/foldingModel';
6
+ import { getMarkdownHeadersInCell } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/viewModel/foldingModel';
7
7
  import { OutlineEntry } from './OutlineEntry.js';
8
8
  import { CellKind } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
9
9
  import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
@@ -82,7 +82,7 @@ let NotebookOutlineEntryFactory = class NotebookOutlineEntryFactory {
82
82
  }
83
83
  if (entries.length === 0) {
84
84
  if (preview.length === 0) {
85
- preview = ( localize(9559, "empty cell"));
85
+ preview = ( localize(9694, "empty cell"));
86
86
  }
87
87
  entries.push(( new OutlineEntry(
88
88
  index++,
@@ -1,6 +1,6 @@
1
1
  import { IResourceUndoRedoElement, UndoRedoElementType } from "@codingame/monaco-vscode-api/vscode/vs/platform/undoRedo/common/undoRedo";
2
2
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
3
- import { NotebookCellTextModel } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
3
+ import { NotebookCellTextModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
4
4
  import { ISelectionState, NotebookCellMetadata } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
5
5
  /**
6
6
  * It should not modify Undo/Redo stack
@@ -11,7 +11,7 @@ import { ILanguageDetectionService } from "@codingame/monaco-vscode-api/vscode/v
11
11
  import { ICellDto2, ICellEditOperation, INotebookSnapshotOptions, INotebookTextModel, ISelectionState, NotebookCellDefaultCollapseConfig, NotebookData, NotebookDocumentMetadata, NotebookTextModelChangedEvent, NotebookTextModelWillAddRemoveEvent, TransientOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon";
12
12
  import { INotebookExecutionStateService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service";
13
13
  import { INotebookLoggingService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookLoggingService.service";
14
- import { NotebookCellTextModel } from "@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
14
+ import { NotebookCellTextModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel";
15
15
  export declare class NotebookTextModel extends Disposable implements INotebookTextModel {
16
16
  readonly viewType: string;
17
17
  readonly uri: URI;
@@ -7,7 +7,7 @@ import { Disposable, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base
7
7
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
8
8
  import { filter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objects';
9
9
  import { isEqual } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
10
- import { isDefined } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
10
+ import { hasKey, isDefined } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
11
11
  import { Position } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position';
12
12
  import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
13
13
  import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
@@ -17,13 +17,13 @@ import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/com
17
17
  import { UndoRedoElementType } from '@codingame/monaco-vscode-api/vscode/vs/platform/undoRedo/common/undoRedo';
18
18
  import { IUndoRedoService } from '@codingame/monaco-vscode-api/vscode/vs/platform/undoRedo/common/undoRedo.service';
19
19
  import { ILanguageDetectionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/languageDetection/common/languageDetectionWorkerService.service';
20
- import { SnapshotContext } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
20
+ import { SnapshotContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
21
21
  import { CellUri, NotebookCellsChangeType, NotebookCellExecutionState, CellEditType, diff } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
22
22
  import { INotebookExecutionStateService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookExecutionStateService.service';
23
23
  import { INotebookLoggingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookLoggingService.service';
24
24
  import { SpliceCellsEdit, CellMetadataEdit, MoveCellEdit } from './cellEdit.js';
25
- import { NotebookCellOutputTextModel } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel';
26
- import { NotebookCellTextModel } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
25
+ import { NotebookCellOutputTextModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel';
26
+ import { NotebookCellTextModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
27
27
 
28
28
  var NotebookTextModel_1;
29
29
  class StackOperation {
@@ -356,12 +356,12 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
356
356
  return this.cells.findIndex(c => c.handle === handle);
357
357
  }
358
358
  _getCellIndexWithOutputIdHandleFromEdits(outputId, rawEdits) {
359
- const edit = rawEdits.find(e => 'outputs' in e && ( e.outputs.some(o => o.outputId === outputId)));
359
+ const edit = rawEdits.find(e => hasKey(e, { outputs: true }) && ( e.outputs.some(o => o.outputId === outputId)));
360
360
  if (edit) {
361
- if ('index' in edit) {
361
+ if (hasKey(edit, { index: true })) {
362
362
  return edit.index;
363
363
  }
364
- else if ('handle' in edit) {
364
+ else if (hasKey(edit, { handle: true })) {
365
365
  const cellIndex = this._getCellIndexByHandle(edit.handle);
366
366
  this._assertIndex(cellIndex);
367
367
  return cellIndex;
@@ -501,10 +501,10 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
501
501
  if (edit.editType !== CellEditType.Metadata && edit.editType !== CellEditType.PartialMetadata) {
502
502
  return false;
503
503
  }
504
- if (('index' in edit) && !( this.newCellsFromLastEdit.has(this.cells[edit.index].handle))) {
504
+ if (hasKey(edit, { index: true }) && !( this.newCellsFromLastEdit.has(this.cells[edit.index].handle))) {
505
505
  return false;
506
506
  }
507
- if ('handle' in edit && !( this.newCellsFromLastEdit.has(edit.handle))) {
507
+ if (hasKey(edit, { handle: true }) && !( this.newCellsFromLastEdit.has(edit.handle))) {
508
508
  return false;
509
509
  }
510
510
  }
@@ -548,14 +548,14 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
548
548
  _doApplyEdits(rawEdits, synchronous, computeUndoRedo, beginSelectionState, undoRedoGroup) {
549
549
  const editsWithDetails = ( rawEdits.map((edit, index) => {
550
550
  let cellIndex = -1;
551
- if ('index' in edit) {
551
+ if (hasKey(edit, { index: true })) {
552
552
  cellIndex = edit.index;
553
553
  }
554
- else if ('handle' in edit) {
554
+ else if (hasKey(edit, { handle: true })) {
555
555
  cellIndex = this._getCellIndexByHandle(edit.handle);
556
556
  this._assertIndex(cellIndex);
557
557
  }
558
- else if ('outputId' in edit) {
558
+ else if (hasKey(edit, { outputId: true })) {
559
559
  cellIndex = this._getCellIndexWithOutputIdHandle(edit.outputId);
560
560
  if (this._indexIsInvalid(cellIndex)) {
561
561
  cellIndex = this._getCellIndexWithOutputIdHandleFromEdits(edit.outputId, rawEdits.slice(0, index));
@@ -3,7 +3,7 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
3
3
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
4
4
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
5
5
  import { NotebookWorkingCopyTypeIdentifier, NotebookSetting, CellUri } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
6
- import { NotebookFileWorkingCopyModelFactory, SimpleNotebookEditorModel } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorModel';
6
+ import { NotebookFileWorkingCopyModelFactory, SimpleNotebookEditorModel } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorModel';
7
7
  import { ReferenceCollection, DisposableStore, dispose, combinedDisposable, toDisposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
8
8
  import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
9
9
  import { Emitter, AsyncEmitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
@@ -12,7 +12,7 @@ import { filter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/objec
12
12
  import { matchCellBasedOnSimilarties } from './notebookCellMatching.js';
13
13
  import '@codingame/monaco-vscode-api/vscode/vs/base/common/uuid';
14
14
  import { DiffChange } from '@codingame/monaco-vscode-api/vscode/vs/base/common/diff/diffChange';
15
- import { computeDiff } from '@codingame/monaco-vscode-e4d0fd26-1b26-5583-b3f7-582e08d7b389-common/vscode/vs/workbench/contrib/notebook/common/notebookDiff';
15
+ import { computeDiff } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/notebook/common/notebookDiff';
16
16
 
17
17
  const PREFIX_FOR_UNMATCHED_ORIGINAL_CELLS = `unmatchedOriginalCell`;
18
18
  class MirrorCell {
@@ -21,7 +21,7 @@ import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/
21
21
  import { IInstantiationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
22
22
  import { KeybindingWeight, KeybindingsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybindingsRegistry';
23
23
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
24
- import { EditorPaneDescriptor } from '@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common/vscode/vs/workbench/browser/editor';
24
+ import { EditorPaneDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/editor';
25
25
  import { registerWorkbenchContribution2, WorkbenchPhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contributions';
26
26
  import { EditorExtensions } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
27
27
  import { RegisteredEditorPriority } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorResolverService';
@@ -30,22 +30,22 @@ import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench
30
30
  import { IExtensionService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensions.service';
31
31
  import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
32
32
  import { IWorkingCopyEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyEditorService.service';
33
- import { ResourceNotebookCellEdit } from '@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits';
34
- import { getReplView } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/vscode/vs/workbench/contrib/debug/browser/repl';
33
+ import { ResourceNotebookCellEdit } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits';
34
+ import { getReplView } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/browser/repl';
35
35
  import { REPL_VIEW_ID } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/debug/common/debug';
36
- import { InlineChatController } from '@codingame/monaco-vscode-a793b3ee-7ba9-5176-a019-30ec806fdd95-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
36
+ import { InlineChatController } from '@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
37
37
  import { IInteractiveHistoryService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/interactive/browser/interactiveHistoryService.service';
38
- import { NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
39
- import { executeIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
38
+ import { NOTEBOOK_EDITOR_WIDGET_ACTION_WEIGHT } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/controller/coreActions';
39
+ import { executeIcon } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
40
40
  import { ReplEditorAccessibleView } from '../../notebook/browser/replEditorAccessibleView.js';
41
41
  import { INotebookEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/browser/services/notebookEditorService.service';
42
42
  import { REPL_EDITOR_ID, NotebookSetting, NotebookWorkingCopyTypeIdentifier, CellKind, CellEditType } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
43
- import { MOST_RECENT_REPL_EDITOR, IS_COMPOSITE_NOTEBOOK, NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_EDITOR_FOCUSED } from '@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
43
+ import { MOST_RECENT_REPL_EDITOR, IS_COMPOSITE_NOTEBOOK, NOTEBOOK_CELL_LIST_FOCUSED, NOTEBOOK_EDITOR_FOCUSED } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
44
44
  import { INotebookEditorModelResolverService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookEditorModelResolverService.service';
45
45
  import { INotebookService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookService.service';
46
- import { ReplEditor, isReplEditorControl } from '@codingame/monaco-vscode-fc28fb90-97de-5e74-89a9-4cfe44128227-common/vscode/vs/workbench/contrib/replNotebook/browser/replEditor';
46
+ import { ReplEditor, isReplEditorControl } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/replNotebook/browser/replEditor';
47
47
  import { ReplEditorInputAccessibilityHelp, ReplEditorHistoryAccessibilityHelp } from './replEditorAccessibilityHelp.js';
48
- import { ReplEditorInput } from '@codingame/monaco-vscode-fc28fb90-97de-5e74-89a9-4cfe44128227-common/vscode/vs/workbench/contrib/replNotebook/browser/replEditorInput';
48
+ import { ReplEditorInput } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/replNotebook/browser/replEditorInput';
49
49
 
50
50
  class ReplEditorSerializer {
51
51
  canSerialize(input) {
@@ -186,7 +186,7 @@ registerAction2(class extends Action2 {
186
186
  constructor() {
187
187
  super({
188
188
  id: 'repl.focusLastItemExecuted',
189
- title: ( localize2(10251, 'Focus Most Recent REPL Execution')),
189
+ title: ( localize2(10386, 'Focus Most Recent REPL Execution')),
190
190
  category: 'REPL',
191
191
  menu: {
192
192
  id: MenuId.CommandPalette,
@@ -237,7 +237,7 @@ registerAction2(class extends Action2 {
237
237
  constructor() {
238
238
  super({
239
239
  id: 'repl.input.focus',
240
- title: ( localize2(10252, 'Focus Input Editor')),
240
+ title: ( localize2(10387, 'Focus Input Editor')),
241
241
  category: 'REPL',
242
242
  menu: {
243
243
  id: MenuId.CommandPalette,
@@ -278,7 +278,7 @@ registerAction2(class extends Action2 {
278
278
  constructor() {
279
279
  super({
280
280
  id: 'repl.execute',
281
- title: ( localize2(10253, 'Execute REPL input')),
281
+ title: ( localize2(10388, 'Execute REPL input')),
282
282
  category: 'REPL',
283
283
  keybinding: [{
284
284
  when: ( ContextKeyExpr.and(IS_COMPOSITE_NOTEBOOK, ( ContextKeyExpr.equals('activeEditor', 'workbench.editor.repl')), ( NOTEBOOK_CELL_LIST_FOCUSED.negate()))),
@@ -4,7 +4,7 @@ import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
4
4
  import { AccessibleViewType, AccessibleContentProvider, AccessibleViewProviderId } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
5
5
  import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
6
6
  import { ICodeEditorService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/codeEditorService.service';
7
- import { IS_COMPOSITE_NOTEBOOK, NOTEBOOK_CELL_LIST_FOCUSED } from '@codingame/monaco-vscode-eda30bac-0984-5b42-9362-c68996b85232-common/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
7
+ import { IS_COMPOSITE_NOTEBOOK, NOTEBOOK_CELL_LIST_FOCUSED } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookContextKeys';
8
8
 
9
9
  class ReplEditorInputAccessibilityHelp {
10
10
  constructor() {
@@ -20,34 +20,34 @@ class ReplEditorInputAccessibilityHelp {
20
20
  function getAccessibilityInputHelpText() {
21
21
  return [
22
22
  ( localize(
23
- 10255,
23
+ 10390,
24
24
  'You are in a REPL Editor Input box which will accept code to be executed in the REPL.'
25
25
  )),
26
26
  ( localize(
27
- 10256,
27
+ 10391,
28
28
  'The Execute command{0} will evaluate the expression in the input box.',
29
29
  '<keybinding:repl.execute>'
30
30
  )),
31
31
  ( localize(
32
- 10257,
32
+ 10392,
33
33
  'The setting `accessibility.replEditor.readLastExecutionOutput` controls if output will be automatically read when execution completes.'
34
34
  )),
35
35
  ( localize(
36
- 10258,
36
+ 10393,
37
37
  'The setting `accessibility.replEditor.autoFocusReplExecution` controls if focus will automatically move to the REPL after executing code.'
38
38
  )),
39
39
  ( localize(
40
- 10259,
40
+ 10394,
41
41
  'The Focus Last executed command{0} will move focus to the last executed item in the REPL history.',
42
42
  '<keybinding:repl.focusLastItemExecuted>'
43
43
  )),
44
44
  ( localize(
45
- 10260,
45
+ 10395,
46
46
  'When you run the Open Accessbility View command{0} from this input box, the output from the last execution will be shown in the accessibility view.',
47
47
  '<keybinding:editor.action.accessibleView>'
48
48
  )),
49
49
  ( localize(
50
- 10261,
50
+ 10396,
51
51
  'The Focus Input Editor command{0} will bring the focus back to this editor.',
52
52
  '<keybinding:repl.input.focus>'
53
53
  )),
@@ -67,36 +67,36 @@ class ReplEditorHistoryAccessibilityHelp {
67
67
  function getAccessibilityHistoryHelpText() {
68
68
  return [
69
69
  ( localize(
70
- 10262,
70
+ 10397,
71
71
  'You are in a REPL History which is a list of cells that have been executed in the REPL. Each cell has an input, an output, and the cell container.'
72
72
  )),
73
73
  ( localize(
74
- 10263,
74
+ 10398,
75
75
  'The Edit Cell command{0} will move focus to the read-only editor for the input of the cell.',
76
76
  '<keybinding:notebook.cell.edit>'
77
77
  )),
78
78
  ( localize(
79
- 10264,
79
+ 10399,
80
80
  'The Quit Edit command{0} will move focus to the cell container, where the up and down arrows will also move focus between cells in the history.',
81
81
  '<keybinding:notebook.cell.quitEdit>'
82
82
  )),
83
83
  ( localize(
84
- 10265,
84
+ 10400,
85
85
  'Run the Open Accessbility View command{0} while navigating the history for an accessible view of the item\'s output.',
86
86
  '<keybinding:editor.action.accessibleView>'
87
87
  )),
88
88
  ( localize(
89
- 10266,
89
+ 10401,
90
90
  'The Focus Output command{0} will set focus on the output when focused on a previously executed item.',
91
91
  '<keybinding:notebook.cell.focusInOutput>'
92
92
  )),
93
93
  ( localize(
94
- 10267,
94
+ 10402,
95
95
  'The Focus Input Editor command{0} will move focus to the REPL input box.',
96
96
  '<keybinding:repl.input.focus>'
97
97
  )),
98
98
  ( localize(
99
- 10259,
99
+ 10394,
100
100
  'The Focus Last executed command{0} will move focus to the last executed item in the REPL history.',
101
101
  '<keybinding:repl.focusLastItemExecuted>'
102
102
  )),
@@ -4,7 +4,7 @@ import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/fi
4
4
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
5
5
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
6
6
  import { IWorkingCopyBackupService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyBackup.service";
7
- import { IFileWorkingCopy, IFileWorkingCopyModel } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
7
+ import { IFileWorkingCopy, IFileWorkingCopyModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
8
8
  export interface IBaseFileWorkingCopyManager<M extends IFileWorkingCopyModel, W extends IFileWorkingCopy<M>> extends IDisposable {
9
9
  /**
10
10
  * An event for when a file working copy was created.
@@ -8,13 +8,13 @@ import { ISaveOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/c
8
8
  import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
9
9
  import { IPathService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service";
10
10
  import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
11
- import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel, IStoredFileWorkingCopyModelFactory, IStoredFileWorkingCopyResolveOptions } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
11
+ import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel, IStoredFileWorkingCopyModelFactory, IStoredFileWorkingCopyResolveOptions } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
12
12
  import { IStoredFileWorkingCopyManager, IStoredFileWorkingCopyManagerResolveOptions } from "./storedFileWorkingCopyManager.js";
13
13
  import { IUntitledFileWorkingCopy, IUntitledFileWorkingCopyModel, IUntitledFileWorkingCopyModelFactory } from "./untitledFileWorkingCopy.js";
14
14
  import { INewOrExistingUntitledFileWorkingCopyOptions, INewUntitledFileWorkingCopyOptions, INewUntitledFileWorkingCopyWithAssociatedResourceOptions, IUntitledFileWorkingCopyManager } from "./untitledFileWorkingCopyManager.js";
15
15
  import { IWorkingCopyFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
16
16
  import { IBaseFileWorkingCopyManager } from "./abstractFileWorkingCopyManager.js";
17
- import { IFileWorkingCopy } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
17
+ import { IFileWorkingCopy } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
18
18
  import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
19
19
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
20
20
  import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";