@codingame/monaco-vscode-notebook-service-override 7.1.0 → 7.1.1

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 (44) hide show
  1. package/package.json +2 -2
  2. package/vscode/src/vs/workbench/contrib/codeEditor/browser/emptyTextEditorHint/emptyTextEditorHint.js +14 -20
  3. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellCommands/cellCommands.js +22 -23
  4. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/cellDiagnosticsActions.js +3 -4
  5. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellDiagnostics/diagnosticCellStatusBarContrib.js +2 -3
  6. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/cellStatusBar/statusBarProviders.js +5 -7
  7. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/clipboard/notebookClipboard.js +7 -8
  8. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/editorStatusBar/editorStatusBar.js +12 -13
  9. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/find/notebookFind.js +3 -4
  10. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/format/formatting.js +5 -6
  11. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/gettingStarted/notebookGettingStarted.js +2 -3
  12. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/layout/layoutActions.js +2 -3
  13. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/navigation/arrow.js +16 -19
  14. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariables.js +2 -3
  15. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesDataSource.js +2 -3
  16. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesTree.js +3 -4
  17. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/notebookVariables/notebookVariablesView.js +4 -6
  18. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/outline/notebookOutline.js +13 -17
  19. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/profile/notebookProfile.js +2 -3
  20. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/saveParticipants/saveParticipants.js +15 -18
  21. package/vscode/src/vs/workbench/contrib/notebook/browser/contrib/troubleshoot/layout.js +4 -5
  22. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/cellChatActions.js +25 -26
  23. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/chat/notebook.chat.contribution.js +3 -20
  24. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/editActions.js +629 -0
  25. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/executeActions.js +23 -24
  26. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/insertCellActions.js +25 -26
  27. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/layoutActions.js +18 -19
  28. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/notebookIndentationActions.js +208 -0
  29. package/vscode/src/vs/workbench/contrib/notebook/browser/controller/sectionActions.js +13 -14
  30. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffComponents.js +2 -3
  31. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/diffElementOutputs.js +11 -15
  32. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffActions.js +12 -13
  33. package/vscode/src/vs/workbench/contrib/notebook/browser/diff/notebookDiffEditor.js +2 -3
  34. package/vscode/src/vs/workbench/contrib/notebook/browser/notebook.contribution.js +95 -163
  35. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.js +38 -50
  36. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookAccessibleView.js +11 -12
  37. package/vscode/src/vs/workbench/contrib/notebook/browser/notebookExtensionPoint.js +43 -53
  38. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookExecutionServiceImpl.js +2 -7
  39. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKernelHistoryServiceImpl.js +2 -3
  40. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookKeymapServiceImpl.js +5 -7
  41. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookLoggingServiceImpl.js +2 -3
  42. package/vscode/src/vs/workbench/contrib/notebook/browser/services/notebookServiceImpl.js +2 -3
  43. package/vscode/src/vs/workbench/services/workingCopy/common/fileWorkingCopyManager.js +16 -20
  44. package/vscode/src/vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager.js +2 -3
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
2
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
2
+ import { localize } from 'vscode/vscode/vs/nls';
3
3
  import { Event, Emitter } from 'vscode/vscode/vs/base/common/event';
4
4
  import { Promises } from 'vscode/vscode/vs/base/common/async';
5
5
  import { CancellationToken } from 'vscode/vscode/vs/base/common/cancellation';
@@ -45,11 +45,10 @@ import 'vscode/vscode/vs/platform/theme/common/colors/searchColors';
45
45
  import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress.service';
46
46
 
47
47
  var FileWorkingCopyManager_1;
48
- const _moduleId = "vs/workbench/services/workingCopy/common/fileWorkingCopyManager";
49
48
  let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
50
49
  static { FileWorkingCopyManager_1 = this; }
51
- static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localizeWithPath(_moduleId, 0, "File Created"))); }
52
- static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localizeWithPath(_moduleId, 1, "File Replaced"))); }
50
+ static { this.FILE_WORKING_COPY_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyCreate.source', ( localize(7806, "File Created"))); }
51
+ static { this.FILE_WORKING_COPY_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource('fileWorkingCopyReplace.source', ( localize(7807, "File Replaced"))); }
53
52
  constructor(workingCopyTypeId, storedWorkingCopyModelFactory, untitledWorkingCopyModelFactory, fileService, lifecycleService, labelService, logService, workingCopyFileService, workingCopyBackupService, uriIdentityService, fileDialogService, filesConfigurationService, workingCopyService, notificationService, workingCopyEditorService, editorService, elevatedFileService, pathService, environmentService, dialogService, decorationsService, progressService) {
54
53
  super();
55
54
  this.workingCopyTypeId = workingCopyTypeId;
@@ -104,7 +103,7 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
104
103
  constructor(stored) {
105
104
  super();
106
105
  this.stored = stored;
107
- this.label = ( localizeWithPath(_moduleId, 2, "File Working Copy Decorations"));
106
+ this.label = ( localize(7808, "File Working Copy Decorations"));
108
107
  this._onDidChange = this._register(( (new Emitter())));
109
108
  this.onDidChange = this._onDidChange.event;
110
109
  this.registerListeners();
@@ -131,20 +130,20 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
131
130
  color: listErrorForeground,
132
131
  letter: Codicon.lockSmall,
133
132
  strikethrough: true,
134
- tooltip: ( localizeWithPath(_moduleId, 3, "Deleted, Read-only")),
133
+ tooltip: ( localize(7809, "Deleted, Read-only")),
135
134
  };
136
135
  }
137
136
  else if (isReadonly) {
138
137
  return {
139
138
  letter: Codicon.lockSmall,
140
- tooltip: ( localizeWithPath(_moduleId, 4, "Read-only")),
139
+ tooltip: ( localize(7810, "Read-only")),
141
140
  };
142
141
  }
143
142
  else if (isOrphaned) {
144
143
  return {
145
144
  color: listErrorForeground,
146
145
  strikethrough: true,
147
- tooltip: ( localizeWithPath(_moduleId, 5, "Deleted")),
146
+ tooltip: ( localize(7811, "Deleted")),
148
147
  };
149
148
  }
150
149
  return undefined;
@@ -275,34 +274,31 @@ let FileWorkingCopyManager = class FileWorkingCopyManager extends Disposable {
275
274
  async confirmOverwrite(resource) {
276
275
  const { confirmed } = await this.dialogService.confirm({
277
276
  type: 'warning',
278
- message: ( localizeWithPath(
279
- _moduleId,
280
- 6,
277
+ message: ( localize(
278
+ 7812,
281
279
  "'{0}' already exists. Do you want to replace it?",
282
280
  basename(resource)
283
281
  )),
284
- detail: ( localizeWithPath(
285
- _moduleId,
286
- 7,
282
+ detail: ( localize(
283
+ 7813,
287
284
  "A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.",
288
285
  basename(resource),
289
286
  basename(dirname(resource))
290
287
  )),
291
- primaryButton: ( localizeWithPath(_moduleId, 8, "&&Replace"))
288
+ primaryButton: ( localize(7814, "&&Replace"))
292
289
  });
293
290
  return confirmed;
294
291
  }
295
292
  async confirmMakeWriteable(resource) {
296
293
  const { confirmed } = await this.dialogService.confirm({
297
294
  type: 'warning',
298
- message: ( localizeWithPath(
299
- _moduleId,
300
- 9,
295
+ message: ( localize(
296
+ 7815,
301
297
  "'{0}' is marked as read-only. Do you want to save anyway?",
302
298
  basename(resource)
303
299
  )),
304
- detail: ( localizeWithPath(_moduleId, 10, "Paths can be configured as read-only via settings.")),
305
- primaryButton: ( localizeWithPath(_moduleId, 11, "&&Save Anyway"))
300
+ detail: ( localize(7816, "Paths can be configured as read-only via settings.")),
301
+ primaryButton: ( localize(7817, "&&Save Anyway"))
306
302
  });
307
303
  return confirmed;
308
304
  }
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
2
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
2
+ import { localize } from 'vscode/vscode/vs/nls';
3
3
  import { DisposableStore, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
4
4
  import { Emitter, Event } from 'vscode/vscode/vs/base/common/event';
5
5
  import { StoredFileWorkingCopyState, StoredFileWorkingCopy } from 'vscode/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy';
@@ -28,7 +28,6 @@ import { onUnexpectedError } from 'vscode/vscode/vs/base/common/errors';
28
28
  import { SnapshotContext } from 'vscode/vscode/vs/workbench/services/workingCopy/common/fileWorkingCopy';
29
29
  import { IProgressService } from 'vscode/vscode/vs/platform/progress/common/progress.service';
30
30
 
31
- const _moduleId = "vs/workbench/services/workingCopy/common/storedFileWorkingCopyManager";
32
31
  let StoredFileWorkingCopyManager = class StoredFileWorkingCopyManager extends BaseFileWorkingCopyManager {
33
32
  constructor(workingCopyTypeId, modelFactory, fileService, lifecycleService, labelService, logService, workingCopyFileService, workingCopyBackupService, uriIdentityService, filesConfigurationService, workingCopyService, notificationService, workingCopyEditorService, editorService, elevatedFileService, progressService) {
34
33
  super(fileService, logService, workingCopyBackupService);
@@ -78,7 +77,7 @@ let StoredFileWorkingCopyManager = class StoredFileWorkingCopyManager extends Ba
78
77
  this._register(this.lifecycleService.onBeforeShutdown(event => event.veto(this.onBeforeShutdownWeb(), 'veto.fileWorkingCopyManager')));
79
78
  }
80
79
  else {
81
- this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localizeWithPath(_moduleId, 0, "Saving working copies")) })));
80
+ this._register(this.lifecycleService.onWillShutdown(event => event.join(this.onWillShutdownDesktop(), { id: 'join.fileWorkingCopyManager', label: ( localize(10676, "Saving working copies")) })));
82
81
  }
83
82
  }
84
83
  onBeforeShutdownWeb() {