@codingame/monaco-vscode-extensions-service-override 26.0.1 → 26.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-extensions-service-override",
3
- "version": "26.0.1",
3
+ "version": "26.1.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - extensions service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "26.0.1",
19
- "@codingame/monaco-vscode-files-service-override": "26.0.1"
18
+ "@codingame/monaco-vscode-api": "26.1.0",
19
+ "@codingame/monaco-vscode-files-service-override": "26.1.0"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -169,11 +169,11 @@ let ExtensionBisectUi = class ExtensionBisectUi {
169
169
  }
170
170
  _showBisectPrompt() {
171
171
  const goodPrompt = {
172
- label: ( localize(14280, "I can't reproduce")),
172
+ label: ( localize(14281, "I can't reproduce")),
173
173
  run: () => this._commandService.executeCommand("extension.bisect.next", false)
174
174
  };
175
175
  const badPrompt = {
176
- label: ( localize(14281, "I can reproduce")),
176
+ label: ( localize(14282, "I can reproduce")),
177
177
  run: () => this._commandService.executeCommand("extension.bisect.next", true)
178
178
  };
179
179
  const stop = {
@@ -181,10 +181,10 @@ let ExtensionBisectUi = class ExtensionBisectUi {
181
181
  run: () => this._commandService.executeCommand("extension.bisect.stop")
182
182
  };
183
183
  const message = this._extensionBisectService.disabledCount === 1 ? ( localize(
184
- 14282,
184
+ 14283,
185
185
  "Extension Bisect is active and has disabled 1 extension. Check if you can still reproduce the problem and proceed by selecting from these options."
186
186
  )) : ( localize(
187
- 14283,
187
+ 14284,
188
188
  "Extension Bisect is active and has disabled {0} extensions. Check if you can still reproduce the problem and proceed by selecting from these options.",
189
189
  this._extensionBisectService.disabledCount
190
190
  ));
@@ -200,7 +200,7 @@ registerAction2(class extends Action2 {
200
200
  constructor() {
201
201
  super({
202
202
  id: "extension.bisect.start",
203
- title: ( localize2(14284, "Start Extension Bisect")),
203
+ title: ( localize2(14285, "Start Extension Bisect")),
204
204
  category: Categories.Help,
205
205
  f1: true,
206
206
  precondition: ( ExtensionBisectUi.ctxIsBisectActive.negate()),
@@ -220,13 +220,13 @@ registerAction2(class extends Action2 {
220
220
  const extensionsBisect = accessor.get(IExtensionBisectService);
221
221
  const extensions = (await extensionManagement.getInstalled(ExtensionType.User)).filter(ext => extensionEnablementService.isEnabled(ext));
222
222
  const res = await dialogService.confirm({
223
- message: ( localize(14285, "Extension Bisect")),
223
+ message: ( localize(14286, "Extension Bisect")),
224
224
  detail: ( localize(
225
- 14286,
225
+ 14287,
226
226
  "Extension Bisect will use binary search to find an extension that causes a problem. During the process the window reloads repeatedly (~{0} times). Each time you must confirm if you are still seeing problems.",
227
227
  2 + Math.log2(extensions.length) | 0
228
228
  )),
229
- primaryButton: ( localize(14287, "&&Start Extension Bisect"))
229
+ primaryButton: ( localize(14288, "&&Start Extension Bisect"))
230
230
  });
231
231
  if (res.confirmed) {
232
232
  await extensionsBisect.start(extensions);
@@ -238,7 +238,7 @@ registerAction2(class extends Action2 {
238
238
  constructor() {
239
239
  super({
240
240
  id: "extension.bisect.next",
241
- title: ( localize2(14288, "Continue Extension Bisect")),
241
+ title: ( localize2(14289, "Continue Extension Bisect")),
242
242
  category: Categories.Help,
243
243
  f1: true,
244
244
  precondition: ExtensionBisectUi.ctxIsBisectActive
@@ -272,24 +272,24 @@ registerAction2(class extends Action2 {
272
272
  return;
273
273
  }
274
274
  if (done.bad) {
275
- await dialogService.info(( localize(14289, "Extension Bisect")), ( localize(
276
- 14290,
275
+ await dialogService.info(( localize(14290, "Extension Bisect")), ( localize(
276
+ 14291,
277
277
  "Extension Bisect is done but no extension has been identified. This might be a problem with {0}.",
278
278
  productService.nameShort
279
279
  )));
280
280
  } else {
281
281
  const res = await dialogService.confirm({
282
282
  type: Severity.Info,
283
- message: ( localize(14289, "Extension Bisect")),
284
- primaryButton: ( localize(14291, "&&Report Issue & Continue")),
285
- cancelButton: ( localize(14292, "Continue")),
283
+ message: ( localize(14290, "Extension Bisect")),
284
+ primaryButton: ( localize(14292, "&&Report Issue & Continue")),
285
+ cancelButton: ( localize(14293, "Continue")),
286
286
  detail: ( localize(
287
- 14293,
287
+ 14294,
288
288
  "Extension Bisect is done and has identified {0} as the extension causing the problem.",
289
289
  done.id
290
290
  )),
291
291
  checkbox: {
292
- label: ( localize(14294, "Keep this extension disabled")),
292
+ label: ( localize(14295, "Keep this extension disabled")),
293
293
  checked: true
294
294
  }
295
295
  });
@@ -310,24 +310,24 @@ registerAction2(class extends Action2 {
310
310
  result
311
311
  } = await dialogService.prompt({
312
312
  type: Severity.Info,
313
- message: ( localize(14295, "Extension Bisect")),
313
+ message: ( localize(14296, "Extension Bisect")),
314
314
  detail: ( localize(
315
- 14296,
315
+ 14297,
316
316
  "Extension Bisect is active and has disabled {0} extensions. Check if you can still reproduce the problem and proceed by selecting from these options.",
317
317
  bisectService.disabledCount
318
318
  )),
319
319
  buttons: [{
320
- label: ( localize(14297, "I ca&&n't reproduce")),
320
+ label: ( localize(14298, "I ca&&n't reproduce")),
321
321
  run: () => false
322
322
  }, {
323
- label: ( localize(14298, "I can &&reproduce")),
323
+ label: ( localize(14299, "I can &&reproduce")),
324
324
  run: () => true
325
325
  }, {
326
- label: ( localize(14299, "&&Stop Bisect")),
326
+ label: ( localize(14300, "&&Stop Bisect")),
327
327
  run: () => undefined
328
328
  }],
329
329
  cancelButton: {
330
- label: ( localize(14300, "&&Cancel Bisect")),
330
+ label: ( localize(14301, "&&Cancel Bisect")),
331
331
  run: () => null
332
332
  }
333
333
  });
@@ -338,7 +338,7 @@ registerAction2(class extends Action2 {
338
338
  constructor() {
339
339
  super({
340
340
  id: "extension.bisect.stop",
341
- title: ( localize2(14301, "Stop Extension Bisect")),
341
+ title: ( localize2(14302, "Stop Extension Bisect")),
342
342
  category: Categories.Help,
343
343
  f1: true,
344
344
  precondition: ExtensionBisectUi.ctxIsBisectActive
@@ -768,7 +768,7 @@ let WebExtensionsScannerService = class WebExtensionsScannerService extends Disp
768
768
  }
769
769
  if (!this.extensionManifestPropertiesService.canExecuteOnWeb(manifest)) {
770
770
  throw ( new Error(( localize(
771
- 14316,
771
+ 14317,
772
772
  "Cannot add '{0}' because this extension is not a web extension.",
773
773
  manifest.displayName || manifest.name
774
774
  ))));
@@ -1049,7 +1049,7 @@ if (isWeb) {
1049
1049
  constructor() {
1050
1050
  super({
1051
1051
  id: "workbench.extensions.action.openInstalledWebExtensionsResource",
1052
- title: ( localize2(14317, "Open Installed Web Extensions Resource")),
1052
+ title: ( localize2(14318, "Open Installed Web Extensions Resource")),
1053
1053
  category: Categories.Developer,
1054
1054
  f1: true,
1055
1055
  precondition: IsWebContext
@@ -221,13 +221,13 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
221
221
  }
222
222
  }, {
223
223
  id: "join.disconnectRemote",
224
- label: ( localize(14383, "Disconnect Remote Agent")),
224
+ label: ( localize(14384, "Disconnect Remote Agent")),
225
225
  order: WillShutdownJoinerOrder.Last
226
226
  });
227
227
  } else {
228
228
  event.join(this._doStopExtensionHosts(), {
229
229
  id: "join.stopExtensionHosts",
230
- label: ( localize(14384, "Stopping Extension Hosts"))
230
+ label: ( localize(14385, "Stopping Extension Hosts"))
231
231
  });
232
232
  }
233
233
  }));
@@ -300,7 +300,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
300
300
  this._notificationService.notify({
301
301
  severity: Severity.Error,
302
302
  message: ( localize(
303
- 14385,
303
+ 14386,
304
304
  "The following extensions contain dependency loops and have been disabled: {0}",
305
305
  ( result.removedDueToLooping.map(e => `'${e.identifier.value}'`)).join(", ")
306
306
  ))
@@ -537,7 +537,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
537
537
  this._notificationService.notify({
538
538
  severity: Severity.Error,
539
539
  message: ( localize(
540
- 14385,
540
+ 14386,
541
541
  "The following extensions contain dependency loops and have been disabled: {0}",
542
542
  ( result.removedDueToLooping.map(e => `'${e.identifier.value}'`)).join(", ")
543
543
  ))
@@ -552,7 +552,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
552
552
  const extensionHostManager = this.findTestExtensionHost(this._environmentService.extensionTestsLocationURI);
553
553
  if (!extensionHostManager) {
554
554
  const msg = ( localize(
555
- 14386,
555
+ 14387,
556
556
  "No extension host found that can launch the test runner at {0}.",
557
557
  (this._environmentService.extensionTestsLocationURI.toString())
558
558
  ));
@@ -722,7 +722,7 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
722
722
  vetoReasons.add(reason);
723
723
  }
724
724
  }).catch(error => {
725
- vetoReasons.add(( localize(14387, "{0} (Error: {1})", reason, toErrorMessage(error))));
725
+ vetoReasons.add(( localize(14388, "{0} (Error: {1})", reason, toErrorMessage(error))));
726
726
  });
727
727
  }
728
728
  }
@@ -740,9 +740,9 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
740
740
  confirmed
741
741
  } = await this._dialogService.confirm({
742
742
  type: Severity.Warning,
743
- message: ( localize(14388, "Please confirm restart of extensions.")),
743
+ message: ( localize(14389, "Please confirm restart of extensions.")),
744
744
  detail: vetoReasonsArray.length === 1 ? vetoReasonsArray[0] : vetoReasonsArray.join("\n -"),
745
- primaryButton: ( localize(14389, "Restart Anyway"))
745
+ primaryButton: ( localize(14390, "Restart Anyway"))
746
746
  });
747
747
  if (confirmed) {
748
748
  return true;
@@ -856,16 +856,16 @@ let AbstractExtensionService = AbstractExtensionService_1 = class AbstractExtens
856
856
  this._remoteCrashTracker.registerCrash();
857
857
  if (this._remoteCrashTracker.shouldAutomaticallyRestart()) {
858
858
  this._logService.info(`Automatically restarting the remote extension host.`);
859
- this._notificationService.status(( localize(14390, "The remote extension host terminated unexpectedly. Restarting...")), {
859
+ this._notificationService.status(( localize(14391, "The remote extension host terminated unexpectedly. Restarting...")), {
860
860
  hideAfter: 5000
861
861
  });
862
862
  this._startExtensionHostsIfNecessary(false, Array.from(( this._allRequestedActivateEvents.keys())));
863
863
  } else {
864
864
  this._notificationService.prompt(Severity.Error, ( localize(
865
- 14391,
865
+ 14392,
866
866
  "Remote Extension host terminated unexpectedly 3 times within the last 5 minutes."
867
867
  )), [{
868
- label: ( localize(14392, "Restart Remote Extension Host")),
868
+ label: ( localize(14393, "Restart Remote Extension Host")),
869
869
  run: () => {
870
870
  this._startExtensionHostsIfNecessary(false, Array.from(( this._allRequestedActivateEvents.keys())));
871
871
  }
@@ -1413,7 +1413,7 @@ class ActivationFeatureMarkdowneRenderer extends Disposable {
1413
1413
  }
1414
1414
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
1415
1415
  id: "activationEvents",
1416
- label: ( localize(14393, "Activation Events")),
1416
+ label: ( localize(14394, "Activation Events")),
1417
1417
  access: {
1418
1418
  canToggle: false
1419
1419
  },
@@ -480,7 +480,7 @@ registerAction2(class MeasureExtHostLatencyAction extends Action2 {
480
480
  constructor() {
481
481
  super({
482
482
  id: "editor.action.measureExtHostLatency",
483
- title: ( localize2(14394, "Measure Extension Host Latency")),
483
+ title: ( localize2(14395, "Measure Extension Host Latency")),
484
484
  category: Categories.Developer,
485
485
  f1: true
486
486
  });
@@ -110,7 +110,7 @@ class ApiProposalsMarkdowneRenderer extends Disposable {
110
110
  }
111
111
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
112
112
  id: "enabledApiProposals",
113
- label: ( localize(14395, "API Proposals")),
113
+ label: ( localize(14396, "API Proposals")),
114
114
  access: {
115
115
  canToggle: false
116
116
  },
@@ -9,7 +9,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
9
9
  const extension = result.get(systemExtension.identifier);
10
10
  if (extension) {
11
11
  logService.warn(( localize(
12
- 14484,
12
+ 14485,
13
13
  "Overwriting extension {0} with {1}.",
14
14
  extension.extensionLocation.fsPath,
15
15
  systemExtension.extensionLocation.fsPath
@@ -30,7 +30,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
30
30
  userExtension.isBuiltin = true;
31
31
  } else {
32
32
  logService.warn(( localize(
33
- 14484,
33
+ 14485,
34
34
  "Overwriting extension {0} with {1}.",
35
35
  extension.extensionLocation.fsPath,
36
36
  userExtension.extensionLocation.fsPath
@@ -48,7 +48,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
48
48
  const extension = result.get(workspaceExtension.identifier);
49
49
  if (extension) {
50
50
  logService.warn(( localize(
51
- 14485,
51
+ 14486,
52
52
  "Overwriting {0} with Workspace Extension {1}.",
53
53
  extension.extensionLocation.fsPath,
54
54
  workspaceExtension.extensionLocation.fsPath
@@ -58,7 +58,7 @@ function dedupExtensions(system, user, workspace, development, logService) {
58
58
  });
59
59
  development.forEach(developedExtension => {
60
60
  logService.info(( localize(
61
- 14486,
61
+ 14487,
62
62
  "Loading development extension at {0}",
63
63
  developedExtension.extensionLocation.fsPath
64
64
  )));
@@ -22,14 +22,14 @@ const CSS_CACHE_STORAGE_KEY = "workbench.contrib.css.cache";
22
22
  const cssExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
23
23
  extensionPoint: "css",
24
24
  jsonSchema: {
25
- description: ( localize(14708, "Contributes CSS files to be loaded in the workbench.")),
25
+ description: ( localize(14709, "Contributes CSS files to be loaded in the workbench.")),
26
26
  type: "array",
27
27
  items: {
28
28
  type: "object",
29
29
  properties: {
30
30
  path: {
31
31
  description: ( localize(
32
- 14709,
32
+ 14710,
33
33
  "Path to the CSS file. The path is relative to the extension folder."
34
34
  )),
35
35
  type: "string"
@@ -121,7 +121,7 @@ let CSSExtensionPoint = class CSSExtensionPoint {
121
121
  const extensionValue = extension.value;
122
122
  const collector = extension.collector;
123
123
  if (!extensionValue || !Array.isArray(extensionValue)) {
124
- collector.error(( localize(14710, "'contributes.css' must be an array.")));
124
+ collector.error(( localize(14711, "'contributes.css' must be an array.")));
125
125
  continue;
126
126
  }
127
127
  const extensionId = extension.description.identifier.value;
@@ -162,13 +162,13 @@ let CSSExtensionPoint = class CSSExtensionPoint {
162
162
  const cssLocations = [];
163
163
  for (const cssContribution of extensionValue) {
164
164
  if (!cssContribution.path || typeof cssContribution.path !== "string") {
165
- collector.error(( localize(14711, "'contributes.css.path' must be a string.")));
165
+ collector.error(( localize(14712, "'contributes.css.path' must be a string.")));
166
166
  continue;
167
167
  }
168
168
  const cssLocation = joinPath(extensionLocation, cssContribution.path);
169
169
  if (!isEqualOrParent(cssLocation, extensionLocation)) {
170
170
  collector.warn(( localize(
171
- 14712,
171
+ 14713,
172
172
  "Expected 'contributes.css.path' ({0}) to be included inside extension's folder ({1}).",
173
173
  cssLocation.path,
174
174
  extensionLocation.path