@codingame/monaco-vscode-bulk-edit-service-override 37.3.11 → 37.5.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-bulk-edit-service-override",
3
- "version": "37.3.11",
3
+ "version": "37.5.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - bulk-edit service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "37.3.11"
18
+ "@codingame/monaco-vscode-api": "37.5.0"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -83,21 +83,21 @@ let BulkEdit = class BulkEdit {
83
83
  }
84
84
  }
85
85
  if (this._edits.length === 0) {
86
- return localize(7453, "Made no edits");
86
+ return localize(7454, "Made no edits");
87
87
  } else if (otherResources.size === 0) {
88
88
  if (textEditCount > 1 && textEditResources.size > 1) {
89
89
  return localize(
90
- 7454,
90
+ 7455,
91
91
  "Made {0} text edits in {1} files",
92
92
  textEditCount,
93
93
  textEditResources.size
94
94
  );
95
95
  } else {
96
- return localize(7455, "Made {0} text edits in one file", textEditCount);
96
+ return localize(7456, "Made {0} text edits in one file", textEditCount);
97
97
  }
98
98
  } else {
99
99
  return localize(
100
- 7456,
100
+ 7457,
101
101
  "Made {0} text edits in {1} files, also created or deleted {2} files",
102
102
  textEditCount,
103
103
  textEditResources.size,
@@ -163,12 +163,12 @@ let BulkEdit = class BulkEdit {
163
163
  }
164
164
  async _performFileEdits(edits, undoRedoGroup, undoRedoSource, confirmBeforeUndo, progress) {
165
165
  this._logService.debug("_performFileEdits", JSON.stringify(edits));
166
- const model = this._instaService.createInstance(BulkFileEdits, this._label || ( localize(7457, "Workspace Edit")), this._code || "undoredo.workspaceEdit", undoRedoGroup, undoRedoSource, confirmBeforeUndo, progress, this._token, edits);
166
+ const model = this._instaService.createInstance(BulkFileEdits, this._label || ( localize(7458, "Workspace Edit")), this._code || "undoredo.workspaceEdit", undoRedoGroup, undoRedoSource, confirmBeforeUndo, progress, this._token, edits);
167
167
  return await model.apply();
168
168
  }
169
169
  async _performTextEdits(edits, undoRedoGroup, undoRedoSource, progress, reason) {
170
170
  this._logService.debug("_performTextEdits", JSON.stringify(edits));
171
- const model = this._instaService.createInstance(BulkTextEdits, this._label || ( localize(7457, "Workspace Edit")), this._code || "undoredo.workspaceEdit", this._editor, undoRedoGroup, undoRedoSource, progress, this._token, edits);
171
+ const model = this._instaService.createInstance(BulkTextEdits, this._label || ( localize(7458, "Workspace Edit")), this._code || "undoredo.workspaceEdit", this._editor, undoRedoGroup, undoRedoSource, progress, this._token, edits);
172
172
  return await model.apply(reason);
173
173
  }
174
174
  async _performCellEdits(edits, undoRedoGroup, undoRedoSource, progress) {
@@ -217,7 +217,7 @@ let BulkEditService = class BulkEditService {
217
217
  let edits = liftEdits(Array.isArray(editsIn) ? editsIn : editsIn.edits);
218
218
  if (edits.length === 0) {
219
219
  return {
220
- ariaSummary: ( localize(7458, "Made no edits")),
220
+ ariaSummary: ( localize(7459, "Made no edits")),
221
221
  isApplied: false
222
222
  };
223
223
  }
@@ -300,24 +300,24 @@ let BulkEditService = class BulkEditService {
300
300
  let message;
301
301
  switch (reason) {
302
302
  case ShutdownReason.CLOSE:
303
- message = ( localize(7459, "Are you sure you want to close the window?"));
303
+ message = ( localize(7460, "Are you sure you want to close the window?"));
304
304
  break;
305
305
  case ShutdownReason.LOAD:
306
- message = ( localize(7460, "Are you sure you want to change the workspace?"));
306
+ message = ( localize(7461, "Are you sure you want to change the workspace?"));
307
307
  break;
308
308
  case ShutdownReason.RELOAD:
309
- message = ( localize(7461, "Are you sure you want to reload the window?"));
309
+ message = ( localize(7462, "Are you sure you want to reload the window?"));
310
310
  break;
311
311
  default:
312
- message = isMacintosh ? ( localize(7462, "Are you sure you want to quit?")) : ( localize(7463, "Are you sure you want to exit?"));
312
+ message = isMacintosh ? ( localize(7463, "Are you sure you want to quit?")) : ( localize(7464, "Are you sure you want to exit?"));
313
313
  break;
314
314
  }
315
315
  const result = await this._dialogService.confirm({
316
316
  message,
317
317
  detail: ( localize(
318
- 7464,
318
+ 7465,
319
319
  "'{0}' is in progress.",
320
- label || ( localize(7465, "File operation"))
320
+ label || ( localize(7466, "File operation"))
321
321
  ))
322
322
  });
323
323
  return !result.confirmed;
@@ -330,7 +330,7 @@ const autoSaveSetting = "files.refactoring.autoSave";
330
330
  properties: {
331
331
  [autoSaveSetting]: {
332
332
  description: ( localize(
333
- 7466,
333
+ 7467,
334
334
  "Controls if files that were part of a refactoring are saved automatically"
335
335
  )),
336
336
  default: true,