@codingame/monaco-vscode-notebook-service-override 22.1.9 → 23.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 (93) hide show
  1. package/package.json +25 -24
  2. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +7 -7
  3. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +24 -24
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticEditorContrib.d.ts +1 -1
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +9 -7
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.d.ts +1 -1
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +1 -1
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/contributedStatusBarItemController.d.ts +1 -1
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +4 -4
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.d.ts +1 -1
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +7 -7
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookBreakpoints.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.d.ts +1 -1
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/debug/notebookDebugDecorations.js +1 -1
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorHint/emptyCellEditorHint.js +1 -1
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +11 -11
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/execute/executionEditorProgress.d.ts +1 -1
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +103 -12
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +5 -5
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +2 -2
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +1 -1
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/marker/markerProvider.js +1 -1
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.d.ts +1 -1
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/multicursor/notebookMulticursor.js +6 -6
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +22 -30
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.d.ts +1 -1
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookInlineVariables.js +1 -1
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +9 -10
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -3
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +2 -2
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.d.ts +2 -2
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +11 -11
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +1 -1
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.d.ts +1 -1
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +14 -14
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.d.ts +1 -1
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +4 -4
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/undoRedo/notebookUndoRedo.js +1 -1
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/viewportWarmup/viewportWarmup.js +2 -2
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +18 -388
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.d.ts +1 -1
  43. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +16 -14
  44. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.d.ts +2 -0
  45. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatContext.js +7 -0
  46. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +29 -29
  47. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +26 -39
  48. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +26 -27
  49. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +18 -19
  50. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.d.ts +5 -5
  51. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +8 -8
  52. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.d.ts +1 -1
  53. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +14 -14
  54. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/variablesActions.js +1 -1
  55. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +21 -21
  56. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +69 -69
  57. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +10 -10
  58. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +1 -1
  59. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +33 -33
  60. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.d.ts +1 -1
  61. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditor.js +6 -6
  62. package/vscode/src/vs/workbench/contrib/notebook/browser/outputEditor/notebookOutputEditorInput.js +1 -1
  63. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.d.ts +3 -1
  64. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookEditorServiceImpl.js +11 -1
  65. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +1 -1
  66. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +1 -1
  67. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +3 -3
  68. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.d.ts +1 -0
  69. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +4 -1
  70. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.d.ts +3 -3
  71. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +3 -3
  72. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/OutlineEntry.d.ts +1 -1
  73. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource.d.ts +2 -2
  74. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSource.js +1 -1
  75. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineDataSourceFactory.d.ts +1 -1
  76. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.d.ts +1 -1
  77. package/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookOutlineEntryFactory.js +1 -1
  78. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.d.ts +3 -2
  79. package/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.js +28 -31
  80. package/vscode/src/vs/workbench/contrib/notebook/common/notebookEditorModelResolverServiceImpl.js +1 -1
  81. package/vscode/src/vs/workbench/contrib/notebook/common/notebookOutputRenderer.js +1 -1
  82. package/vscode/src/vs/workbench/contrib/notebook/common/notebookProvider.js +5 -10
  83. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWebWorker.d.ts +1 -1
  84. package/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWebWorker.js +2 -1
  85. package/vscode/src/vs/workbench/contrib/replNotebook/browser/repl.contribution.js +5 -5
  86. package/vscode/src/vs/workbench/contrib/replNotebook/browser/replEditorAccessibilityHelp.js +14 -14
  87. package/vscode/src/vs/workbench/services/workingCopy/common/abstractFileWorkingCopyManager.d.ts +1 -1
  88. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.d.ts +2 -2
  89. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +15 -15
  90. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.d.ts +1 -1
  91. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +3 -3
  92. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.d.ts +2 -2
  93. package/vscode/src/vs/workbench/services/workingCopy/common/untitledFileWorkingCopy.js +2 -2
@@ -17,9 +17,10 @@ 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-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
21
- import { CellUri, NotebookCellsChangeType, NotebookCellExecutionState, CellEditType, CellKind, diff } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
20
+ import { SnapshotContext } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
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
+ import { INotebookLoggingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookLoggingService.service';
23
24
  import { SpliceCellsEdit, CellMetadataEdit, MoveCellEdit } from './cellEdit.js';
24
25
  import { NotebookCellOutputTextModel } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellOutputTextModel';
25
26
  import { NotebookCellTextModel } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/common/model/notebookCellTextModel';
@@ -178,7 +179,7 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
178
179
  get notebookType() {
179
180
  return this.viewType;
180
181
  }
181
- constructor(viewType, uri, cells, metadata, options, _undoService, _modelService, _languageService, _languageDetectionService, _notebookExecutionStateService) {
182
+ constructor(viewType, uri, cells, metadata, options, _undoService, _modelService, _languageService, _languageDetectionService, _notebookExecutionStateService, _notebookLoggingService) {
182
183
  super();
183
184
  this.viewType = viewType;
184
185
  this.uri = uri;
@@ -187,6 +188,7 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
187
188
  this._languageService = _languageService;
188
189
  this._languageDetectionService = _languageDetectionService;
189
190
  this._notebookExecutionStateService = _notebookExecutionStateService;
191
+ this._notebookLoggingService = _notebookLoggingService;
190
192
  this._isDisposed = false;
191
193
  this._onWillDispose = this._register(( new Emitter()));
192
194
  this._onWillAddRemoveCells = this._register(( new Emitter()));
@@ -221,7 +223,7 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
221
223
  }
222
224
  };
223
225
  this._register(_modelService.onModelAdded(e => maybeUpdateCellTextModel(e)));
224
- this._pauseableEmitter = ( new NotebookEventEmitter({
226
+ this._pauseableEmitter = this._register(( new NotebookEventEmitter({
225
227
  merge: (events) => {
226
228
  const first = events[0];
227
229
  const rawEvents = first.rawEvents;
@@ -236,7 +238,7 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
236
238
  }
237
239
  return { rawEvents, versionId, endSelectionState, synchronous };
238
240
  }
239
- }));
241
+ })));
240
242
  this._register(this._pauseableEmitter.event(e => {
241
243
  if (e.rawEvents.length) {
242
244
  this._onDidChangeContent.fire(e);
@@ -251,6 +253,7 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
251
253
  this._overwriteAlternativeVersionId(alternativeVersionId);
252
254
  }
253
255
  ));
256
+ this._notebookLoggingService.trace('notebookTextModel', `Initialized notebook text model for ${( uri.toString())}`);
254
257
  }
255
258
  setCellCollapseDefault(collapseConfig) {
256
259
  this._defaultCollapseConfig = collapseConfig;
@@ -262,22 +265,16 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
262
265
  const mainCells = ( cells.map(cell => {
263
266
  const cellHandle = this._cellhandlePool++;
264
267
  const cellUri = CellUri.generate(this.uri, cellHandle);
265
- const collapseState = this._getDefaultCollapseState(cell);
266
268
  return ( new NotebookCellTextModel(
267
269
  cellUri,
268
270
  cellHandle,
269
- cell.source,
270
- cell.language,
271
- cell.mime,
272
- cell.cellKind,
273
- cell.outputs,
274
- cell.metadata,
275
- cell.internalMetadata,
276
- collapseState,
271
+ cell,
277
272
  this.transientOptions,
278
273
  this._languageService,
279
274
  this._modelService.getCreationOptions(cell.language, cellUri, false).defaultEOL,
280
- this._languageDetectionService
275
+ this._defaultCollapseConfig,
276
+ this._languageDetectionService,
277
+ this._notebookLoggingService
281
278
  ));
282
279
  }));
283
280
  for (let i = 0; i < mainCells.length; i++) {
@@ -514,6 +511,7 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
514
511
  return true;
515
512
  }
516
513
  applyEdits(rawEdits, synchronous, beginSelectionState, endSelectionsComputer, undoRedoGroup, computeUndoRedo) {
514
+ this._notebookLoggingService.trace('textModelEdits', `Begin applying ${rawEdits.length} raw edits`);
517
515
  this._pauseableEmitter.pause();
518
516
  try {
519
517
  this._operationManager.pushStackElement(this._alternativeVersionId, undefined);
@@ -529,12 +527,17 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
529
527
  this._doApplyEdits(rawEdits, synchronous, computeUndoRedo, beginSelectionState, undoRedoGroup);
530
528
  return true;
531
529
  }
530
+ catch (err) {
531
+ this._notebookLoggingService.error('textModelEdits', `Error while applying edits: ${err}`);
532
+ throw err;
533
+ }
532
534
  finally {
533
535
  if (!this._pauseableEmitter.isEmpty) {
534
536
  const endSelections = endSelectionsComputer();
535
537
  this._increaseVersionId(this._operationManager.isUndoStackEmpty() && !this._pauseableEmitter.isDirtyEvent());
536
538
  this._operationManager.pushStackElement(this._alternativeVersionId, endSelections);
537
539
  this._pauseableEmitter.fire({ rawEvents: [], versionId: this.versionId, synchronous: synchronous, endSelectionState: endSelections });
540
+ this._notebookLoggingService.trace('textModelEdits', `End applying ${rawEdits.length} raw edits`);
538
541
  }
539
542
  }
540
543
  }
@@ -562,7 +565,7 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
562
565
  }
563
566
  }
564
567
  else if (edit.editType !== CellEditType.DocumentMetadata) {
565
- throw ( new Error('Invalid cell edit'));
568
+ throw ( new Error('Invalid cell edit: ' + JSON.stringify(edit)));
566
569
  }
567
570
  return {
568
571
  edit,
@@ -695,10 +698,6 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
695
698
  });
696
699
  return mergedEdits;
697
700
  }
698
- _getDefaultCollapseState(cellDto) {
699
- const defaultConfig = cellDto.cellKind === CellKind.Code ? this._defaultCollapseConfig?.codeCell : this._defaultCollapseConfig?.markupCell;
700
- return cellDto.collapseState ?? (defaultConfig ?? undefined);
701
- }
702
701
  _replaceCells(index, count, cellDtos, synchronous, computeUndoRedo, beginSelectionState, undoRedoGroup) {
703
702
  if (count === 0 && cellDtos.length === 0) {
704
703
  return;
@@ -716,22 +715,19 @@ let NotebookTextModel = NotebookTextModel_1 = class NotebookTextModel extends Di
716
715
  const cells = ( cellDtos.map(cellDto => {
717
716
  const cellHandle = this._cellhandlePool++;
718
717
  const cellUri = CellUri.generate(this.uri, cellHandle);
719
- const collapseState = this._getDefaultCollapseState(cellDto);
718
+ if (!cellDto.outputs) {
719
+ cellDto.outputs = [];
720
+ }
720
721
  const cell = ( new NotebookCellTextModel(
721
722
  cellUri,
722
723
  cellHandle,
723
- cellDto.source,
724
- cellDto.language,
725
- cellDto.mime,
726
- cellDto.cellKind,
727
- cellDto.outputs || [],
728
- cellDto.metadata,
729
- cellDto.internalMetadata,
730
- collapseState,
724
+ cellDto,
731
725
  this.transientOptions,
732
726
  this._languageService,
733
727
  this._modelService.getCreationOptions(cellDto.language, cellUri, false).defaultEOL,
734
- this._languageDetectionService
728
+ this._defaultCollapseConfig,
729
+ this._languageDetectionService,
730
+ this._notebookLoggingService
735
731
  ));
736
732
  const textModel = this._modelService.getModel(cellUri);
737
733
  if (textModel && textModel instanceof TextModel) {
@@ -1165,7 +1161,8 @@ NotebookTextModel = NotebookTextModel_1 = ( __decorate([
1165
1161
  ( __param(6, IModelService)),
1166
1162
  ( __param(7, ILanguageService)),
1167
1163
  ( __param(8, ILanguageDetectionService)),
1168
- ( __param(9, INotebookExecutionStateService))
1164
+ ( __param(9, INotebookExecutionStateService)),
1165
+ ( __param(10, INotebookLoggingService))
1169
1166
  ], NotebookTextModel));
1170
1167
  class OutputSequence {
1171
1168
  constructor(outputs) {
@@ -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-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/contrib/notebook/common/notebookEditorModel';
6
+ import { NotebookFileWorkingCopyModelFactory, SimpleNotebookEditorModel } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/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';
@@ -33,7 +33,7 @@ class NotebookOutputRendererInfo {
33
33
  }
34
34
  this.displayName = descriptor.displayName;
35
35
  this.mimeTypes = descriptor.mimeTypes;
36
- this.mimeTypeGlobs = ( this.mimeTypes.map(pattern => parse(pattern)));
36
+ this.mimeTypeGlobs = ( this.mimeTypes.map(pattern => parse(pattern, { ignoreCase: true })));
37
37
  this.hardDependencies = ( new DependencyList(descriptor.dependencies ?? Iterable.empty()));
38
38
  this.optionalDependencies = ( new DependencyList(descriptor.optionalDependencies ?? Iterable.empty()));
39
39
  this.messaging = descriptor.requiresMessaging ?? RendererMessagingSpec.Never;
@@ -1,5 +1,5 @@
1
1
 
2
- import { match, isRelativePattern } from '@codingame/monaco-vscode-api/vscode/vs/base/common/glob';
2
+ import { isRelativePattern, match } from '@codingame/monaco-vscode-api/vscode/vs/base/common/glob';
3
3
  import { basename } from '@codingame/monaco-vscode-api/vscode/vs/base/common/path';
4
4
  import { isDocumentExcludePattern } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/notebook/common/notebookCommon';
5
5
 
@@ -41,13 +41,8 @@ class NotebookProviderInfo {
41
41
  return this.selectors?.some(selector => NotebookProviderInfo.selectorMatches(selector, resource));
42
42
  }
43
43
  static selectorMatches(selector, resource) {
44
- if (typeof selector === 'string') {
45
- if (match(selector.toLowerCase(), basename(resource.fsPath).toLowerCase())) {
46
- return true;
47
- }
48
- }
49
- if (isRelativePattern(selector)) {
50
- if (match(selector, basename(resource.fsPath).toLowerCase())) {
44
+ if (typeof selector === 'string' || isRelativePattern(selector)) {
45
+ if (match(selector, basename(resource.fsPath), { ignoreCase: true })) {
51
46
  return true;
52
47
  }
53
48
  }
@@ -56,9 +51,9 @@ class NotebookProviderInfo {
56
51
  }
57
52
  const filenamePattern = selector.include;
58
53
  const excludeFilenamePattern = selector.exclude;
59
- if (match(filenamePattern, basename(resource.fsPath).toLowerCase())) {
54
+ if (match(filenamePattern, basename(resource.fsPath), { ignoreCase: true })) {
60
55
  if (excludeFilenamePattern) {
61
- if (match(excludeFilenamePattern, basename(resource.fsPath).toLowerCase())) {
56
+ if (match(excludeFilenamePattern, basename(resource.fsPath), { ignoreCase: true })) {
62
57
  return false;
63
58
  }
64
59
  }
@@ -33,7 +33,7 @@ declare class MirrorNotebookDocument {
33
33
  _spliceNotebookCells(splices: NotebookCellTextModelSplice<IMainCellDto>[]): void;
34
34
  }
35
35
  export declare class NotebookWorker implements IWebWorkerServerRequestHandler, IDisposable {
36
- _requestHandlerBrand: any;
36
+ _requestHandlerBrand: void;
37
37
  private _models;
38
38
  constructor();
39
39
  dispose(): void;
@@ -141,6 +141,7 @@ class CellSequence {
141
141
  }
142
142
  class NotebookWorker {
143
143
  constructor() {
144
+ this._requestHandlerBrand = undefined;
144
145
  this._models = Object.create(null);
145
146
  }
146
147
  dispose() {
@@ -178,7 +179,7 @@ class NotebookWorker {
178
179
  };
179
180
  }
180
181
  const cellMapping = computeDiff(originalModel, modifiedModel, { cellsDiff: { changes: originalDiff.changes, quitEarly: false }}).cellDiffInfo;
181
- if (cellMapping.every(c => c.type === 'modified')) {
182
+ if (cellMapping.every(c => c.type === 'modified' || c.type === 'unchanged')) {
182
183
  return {
183
184
  metadataChanged,
184
185
  cellsDiff: originalDiff
@@ -30,10 +30,10 @@ 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-670aae94-7f88-54d7-90ea-6fcbef423557-common/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits';
33
+ import { ResourceNotebookCellEdit } from '@codingame/monaco-vscode-9d2c06d1-1f89-51a5-9964-aa01fe50c198-common/vscode/vs/workbench/contrib/bulkEdit/browser/bulkCellEdits';
34
34
  import { getReplView } from '@codingame/monaco-vscode-88aa9a78-75f5-5aaa-89e9-bbdd580b3b5c-common/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-ef4149eb-cc74-500f-a75b-c54539f01afa-common/vscode/vs/workbench/contrib/inlineChat/browser/inlineChatController';
36
+ import { InlineChatController } from '@codingame/monaco-vscode-a793b3ee-7ba9-5176-a019-30ec806fdd95-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
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
39
  import { executeIcon } from '@codingame/monaco-vscode-e28ac690-06d5-5ee9-92d1-02df70296354-common/vscode/vs/workbench/contrib/notebook/browser/notebookIcons';
@@ -186,7 +186,7 @@ registerAction2(class extends Action2 {
186
186
  constructor() {
187
187
  super({
188
188
  id: 'repl.focusLastItemExecuted',
189
- title: ( localize2(9979, 'Focus Most Recent REPL Execution')),
189
+ title: ( localize2(10228, '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(9980, 'Focus Input Editor')),
240
+ title: ( localize2(10229, '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(9981, 'Execute REPL input')),
281
+ title: ( localize2(10230, '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()))),
@@ -20,34 +20,34 @@ class ReplEditorInputAccessibilityHelp {
20
20
  function getAccessibilityInputHelpText() {
21
21
  return [
22
22
  ( localize(
23
- 9983,
23
+ 10232,
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
- 9984,
27
+ 10233,
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
- 9985,
32
+ 10234,
33
33
  'The setting `accessibility.replEditor.readLastExecutionOutput` controls if output will be automatically read when execution completes.'
34
34
  )),
35
35
  ( localize(
36
- 9986,
36
+ 10235,
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
- 9987,
40
+ 10236,
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
- 9988,
45
+ 10237,
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
- 9989,
50
+ 10238,
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
- 9990,
70
+ 10239,
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
- 9991,
74
+ 10240,
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
- 9992,
79
+ 10241,
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
- 9993,
84
+ 10242,
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
- 9994,
89
+ 10243,
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
- 9995,
94
+ 10244,
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
- 9987,
99
+ 10236,
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-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
7
+ import { IFileWorkingCopy, IFileWorkingCopyModel } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/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-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
11
+ import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel, IStoredFileWorkingCopyModelFactory, IStoredFileWorkingCopyResolveOptions } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/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-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
17
+ import { IFileWorkingCopy } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/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";
@@ -13,12 +13,12 @@ import { SaveSourceRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workb
13
13
  import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
14
14
  import { IPathService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service';
15
15
  import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
16
- import { StoredFileWorkingCopyState } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
16
+ import { StoredFileWorkingCopyState } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
17
17
  import { StoredFileWorkingCopyManager } from './storedFileWorkingCopyManager.js';
18
18
  import { UntitledFileWorkingCopy } from './untitledFileWorkingCopy.js';
19
19
  import { UntitledFileWorkingCopyManager } from './untitledFileWorkingCopyManager.js';
20
20
  import { IWorkingCopyFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service';
21
- import { SnapshotContext } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
21
+ import { SnapshotContext } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
22
22
  import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
23
23
  import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
24
24
  import { INotificationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service';
@@ -48,8 +48,8 @@ import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platfor
48
48
  var FileWorkingCopyManager_1;
49
49
  let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
50
50
  static { FileWorkingCopyManager_1 = this; }
51
- static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localize(14103, "File Created"))); }
52
- static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localize(14104, "File Replaced"))); }
51
+ static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localize(14401, "File Created"))); }
52
+ static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localize(14402, "File Replaced"))); }
53
53
  constructor(workingCopyTypeId, storedWorkingCopyModelFactory, untitledWorkingCopyModelFactory, fileService, lifecycleService, labelService, logService, workingCopyFileService, workingCopyBackupService, uriIdentityService, fileDialogService, filesConfigurationService, workingCopyService, notificationService, workingCopyEditorService, editorService, elevatedFileService, pathService, environmentService, dialogService, decorationsService, progressService) {
54
54
  super();
55
55
  this.workingCopyTypeId = workingCopyTypeId;
@@ -88,7 +88,7 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
88
88
  this.untitledWorkingCopyModelFactory,
89
89
  async (workingCopy, options) => {
90
90
  const result = await this.saveAs(workingCopy.resource, undefined, options);
91
- return result ? true : false;
91
+ return !!result;
92
92
  },
93
93
  fileService,
94
94
  labelService,
@@ -104,7 +104,7 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
104
104
  constructor(stored) {
105
105
  super();
106
106
  this.stored = stored;
107
- this.label = ( localize(14105, "File Working Copy Decorations"));
107
+ this.label = ( localize(14403, "File Working Copy Decorations"));
108
108
  this._onDidChange = this._register(( new Emitter()));
109
109
  this.onDidChange = this._onDidChange.event;
110
110
  this.registerListeners();
@@ -131,20 +131,20 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
131
131
  color: listErrorForeground,
132
132
  letter: Codicon.lockSmall,
133
133
  strikethrough: true,
134
- tooltip: ( localize(14106, "Deleted, Read-only")),
134
+ tooltip: ( localize(14404, "Deleted, Read-only")),
135
135
  };
136
136
  }
137
137
  else if (isReadonly) {
138
138
  return {
139
139
  letter: Codicon.lockSmall,
140
- tooltip: ( localize(14107, "Read-only")),
140
+ tooltip: ( localize(14405, "Read-only")),
141
141
  };
142
142
  }
143
143
  else if (isOrphaned) {
144
144
  return {
145
145
  color: listErrorForeground,
146
146
  strikethrough: true,
147
- tooltip: ( localize(14108, "Deleted")),
147
+ tooltip: ( localize(14406, "Deleted")),
148
148
  };
149
149
  }
150
150
  return undefined;
@@ -279,17 +279,17 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
279
279
  const { confirmed } = await this.dialogService.confirm({
280
280
  type: 'warning',
281
281
  message: ( localize(
282
- 14109,
282
+ 14407,
283
283
  "'{0}' already exists. Do you want to replace it?",
284
284
  basename(resource)
285
285
  )),
286
286
  detail: ( localize(
287
- 14110,
287
+ 14408,
288
288
  "A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.",
289
289
  basename(resource),
290
290
  basename(dirname(resource))
291
291
  )),
292
- primaryButton: ( localize(14111, "&&Replace"))
292
+ primaryButton: ( localize(14409, "&&Replace"))
293
293
  });
294
294
  return confirmed;
295
295
  }
@@ -297,12 +297,12 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
297
297
  const { confirmed } = await this.dialogService.confirm({
298
298
  type: 'warning',
299
299
  message: ( localize(
300
- 14112,
300
+ 14410,
301
301
  "'{0}' is marked as read-only. Do you want to save anyway?",
302
302
  basename(resource)
303
303
  )),
304
- detail: ( localize(14113, "Paths can be configured as read-only via settings.")),
305
- primaryButton: ( localize(14114, "&&Save Anyway"))
304
+ detail: ( localize(14411, "Paths can be configured as read-only via settings.")),
305
+ primaryButton: ( localize(14412, "&&Save Anyway"))
306
306
  });
307
307
  return confirmed;
308
308
  }
@@ -1,5 +1,5 @@
1
1
  import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
2
- import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel, IStoredFileWorkingCopyModelFactory, IStoredFileWorkingCopyResolveOptions, IStoredFileWorkingCopySaveEvent as IBaseStoredFileWorkingCopySaveEvent } from "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
2
+ import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel, IStoredFileWorkingCopyModelFactory, IStoredFileWorkingCopyResolveOptions, IStoredFileWorkingCopySaveEvent as IBaseStoredFileWorkingCopySaveEvent } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
3
3
  import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
4
4
  import { ILifecycleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
5
5
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
@@ -3,7 +3,7 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
3
3
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
4
4
  import { DisposableStore, dispose } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
5
5
  import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
6
- import { StoredFileWorkingCopyState, StoredFileWorkingCopy } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
6
+ import { StoredFileWorkingCopyState, StoredFileWorkingCopy } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
7
7
  import { ResourceMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/map';
8
8
  import { ResourceQueue, Promises } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
9
9
  import { FileChangeType, FileOperation } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
@@ -26,7 +26,7 @@ import { IWorkingCopyEditorService } from '@codingame/monaco-vscode-api/vscode/v
26
26
  import { IWorkingCopyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
27
27
  import { isWeb } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
28
28
  import { onUnexpectedError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
29
- import { SnapshotContext } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
29
+ import { SnapshotContext } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
30
30
  import { IProgressService } from '@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service';
31
31
 
32
32
  let StoredFileWorkingCopyManager = class StoredFileWorkingCopyManager extends BaseFileWorkingCopyManager {
@@ -78,7 +78,7 @@ let StoredFileWorkingCopyManager = class StoredFileWorkingCopyManager extends Ba
78
78
  this._register(this.lifecycleService.onBeforeShutdown(event => event.veto(this.onBeforeShutdownWeb(), 'veto.fileWorkingCopyManager')));
79
79
  }
80
80
  else {
81
- this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localize(14132, "Saving working copies")) })));
81
+ this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localize(14430, "Saving working copies")) })));
82
82
  }
83
83
  }
84
84
  onBeforeShutdownWeb() {
@@ -1,7 +1,7 @@
1
1
  import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event";
2
2
  import { VSBufferReadableStream } from "@codingame/monaco-vscode-api/vscode/vs/base/common/buffer";
3
- import { IWorkingCopyBackup, IWorkingCopySaveEvent, WorkingCopyCapabilities } from "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
4
- import { IFileWorkingCopy, IFileWorkingCopyModel, IFileWorkingCopyModelFactory } from "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
3
+ import { IWorkingCopyBackup, IWorkingCopySaveEvent, WorkingCopyCapabilities } from "@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
4
+ import { IFileWorkingCopy, IFileWorkingCopyModel, IFileWorkingCopyModelFactory } from "@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy";
5
5
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
6
6
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
7
7
  import { IWorkingCopyService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
@@ -1,8 +1,8 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
4
- import { WorkingCopyCapabilities } from '@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common/vscode/vs/workbench/services/workingCopy/common/workingCopy';
5
- import { SnapshotContext } from '@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
4
+ import { WorkingCopyCapabilities } from '@codingame/monaco-vscode-d392702e-4ad7-5904-a915-f6063284cf14-common/vscode/vs/workbench/services/workingCopy/common/workingCopy';
5
+ import { SnapshotContext } from '@codingame/monaco-vscode-6f931a91-88ea-5232-897f-a17ec3929ba5-common/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
6
6
  import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
7
7
  import { IWorkingCopyService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service';
8
8
  import { CancellationToken } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';