@codingame/monaco-vscode-files-service-override 29.1.0 → 30.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-files-service-override",
3
- "version": "29.1.0",
3
+ "version": "30.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - files service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "29.1.0"
18
+ "@codingame/monaco-vscode-api": "30.0.0"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -56,10 +56,10 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
56
56
  AbstractTextFileService_1 = this;
57
57
  }
58
58
  static {
59
- this.TEXTFILE_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource("textFileCreate.source", ( localize(16301, "File Created")));
59
+ this.TEXTFILE_SAVE_CREATE_SOURCE = SaveSourceRegistry.registerSource("textFileCreate.source", ( localize(16387, "File Created")));
60
60
  }
61
61
  static {
62
- this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource("textFileOverwrite.source", ( localize(16302, "File Replaced")));
62
+ this.TEXTFILE_SAVE_REPLACE_SOURCE = SaveSourceRegistry.registerSource("textFileOverwrite.source", ( localize(16388, "File Replaced")));
63
63
  }
64
64
  constructor(
65
65
  fileService,
@@ -108,7 +108,7 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
108
108
  constructor(files) {
109
109
  super();
110
110
  this.files = files;
111
- this.label = ( localize(16303, "Text File Model Decorations"));
111
+ this.label = ( localize(16389, "Text File Model Decorations"));
112
112
  this._onDidChange = this._register(( new Emitter()));
113
113
  this.onDidChange = this._onDidChange.event;
114
114
  this.registerListeners();
@@ -143,20 +143,20 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
143
143
  color: listErrorForeground,
144
144
  letter: Codicon.lockSmall,
145
145
  strikethrough: true,
146
- tooltip: ( localize(16304, "Deleted, Read-only"))
146
+ tooltip: ( localize(16390, "Deleted, Read-only"))
147
147
  };
148
148
  }
149
149
  else if (isReadonly) {
150
150
  return {
151
151
  letter: Codicon.lockSmall,
152
- tooltip: ( localize(16305, "Read-only"))
152
+ tooltip: ( localize(16391, "Read-only"))
153
153
  };
154
154
  }
155
155
  else if (isOrphaned) {
156
156
  return {
157
157
  color: listErrorForeground,
158
158
  strikethrough: true,
159
- tooltip: ( localize(16306, "Deleted"))
159
+ tooltip: ( localize(16392, "Deleted"))
160
160
  };
161
161
  }
162
162
  return undefined;
@@ -207,7 +207,7 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
207
207
  } catch (error) {
208
208
  cts.dispose(true);
209
209
  if (error.decodeStreamErrorKind === DecodeStreamErrorKind.STREAM_IS_BINARY) {
210
- throw ( new TextFileOperationError(( localize(16307, "File seems to be binary and cannot be opened as text")), TextFileOperationResult.FILE_IS_BINARY, options));
210
+ throw ( new TextFileOperationError(( localize(16393, "File seems to be binary and cannot be opened as text")), TextFileOperationResult.FILE_IS_BINARY, options));
211
211
  }
212
212
  else {
213
213
  throw error;
@@ -481,17 +481,17 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
481
481
  } = await this.dialogService.confirm({
482
482
  type: "warning",
483
483
  message: ( localize(
484
- 16308,
484
+ 16394,
485
485
  "'{0}' already exists. Do you want to replace it?",
486
486
  basename(resource)
487
487
  )),
488
488
  detail: ( localize(
489
- 16309,
489
+ 16395,
490
490
  "A file or folder with the name '{0}' already exists in the folder '{1}'. Replacing it will overwrite its current contents.",
491
491
  basename(resource),
492
492
  basename(dirname(resource))
493
493
  )),
494
- primaryButton: ( localize(16310, "&&Replace"))
494
+ primaryButton: ( localize(16396, "&&Replace"))
495
495
  });
496
496
  return confirmed;
497
497
  }
@@ -501,12 +501,12 @@ let AbstractTextFileService = class AbstractTextFileService extends Disposable {
501
501
  } = await this.dialogService.confirm({
502
502
  type: "warning",
503
503
  message: ( localize(
504
- 16311,
504
+ 16397,
505
505
  "'{0}' is marked as read-only. Do you want to save anyway?",
506
506
  basename(resource)
507
507
  )),
508
- detail: ( localize(16312, "Paths can be configured as read-only via settings.")),
509
- primaryButton: ( localize(16313, "&&Save Anyway"))
508
+ detail: ( localize(16398, "Paths can be configured as read-only via settings.")),
509
+ primaryButton: ( localize(16399, "&&Save Anyway"))
510
510
  });
511
511
  return confirmed;
512
512
  }
@@ -69,7 +69,7 @@ let TextFileEditorModelManager = class TextFileEditorModelManager extends Dispos
69
69
  return {
70
70
  onSaveError(error, model) {
71
71
  notificationService.error(( localize(
72
- 16317,
72
+ 16403,
73
73
  "Failed to save '{0}': {1}",
74
74
  model.name,
75
75
  toErrorMessage(error, false)
@@ -26,13 +26,13 @@ let TextFileSaveParticipant = class TextFileSaveParticipant extends Disposable {
26
26
  const cts = ( new CancellationTokenSource(token));
27
27
  model.textEditorModel?.pushStackElement();
28
28
  progress.report({
29
- message: ( localize(16318, "Running Code Actions and Formatters..."))
29
+ message: ( localize(16404, "Running Code Actions and Formatters..."))
30
30
  });
31
31
  let bubbleCancel = false;
32
32
  await this.progressService.withProgress({
33
33
  priority: NotificationPriority.URGENT,
34
34
  location: ProgressLocation.Notification,
35
- cancellable: ( localize(16319, "Skip")),
35
+ cancellable: ( localize(16405, "Skip")),
36
36
  delay: model.isDirty() ? 5000 : 3000
37
37
  }, async progress => {
38
38
  const participants = Array.from(this.saveParticipants).sort((a, b) => {