@codingame/monaco-vscode-base-service-override 13.1.4 → 13.1.5

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-base-service-override",
3
- "version": "13.1.4",
3
+ "version": "13.1.5",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - base service-override",
6
6
  "keywords": [],
@@ -15,15 +15,15 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-039b5553-0838-562a-97c2-30d6e54a7b42-common": "13.1.4",
19
- "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "13.1.4",
20
- "@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common": "13.1.4",
21
- "@codingame/monaco-vscode-82e231ca-6ed7-5920-b2b8-1874ccc0be07-common": "13.1.4",
22
- "@codingame/monaco-vscode-9a1a5840-af83-5d07-a156-ba32a36c5c4b-common": "13.1.4",
23
- "@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.4",
24
- "@codingame/monaco-vscode-api": "13.1.4",
25
- "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.4",
26
- "@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common": "13.1.4"
18
+ "@codingame/monaco-vscode-039b5553-0838-562a-97c2-30d6e54a7b42-common": "13.1.5",
19
+ "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "13.1.5",
20
+ "@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common": "13.1.5",
21
+ "@codingame/monaco-vscode-82e231ca-6ed7-5920-b2b8-1874ccc0be07-common": "13.1.5",
22
+ "@codingame/monaco-vscode-9a1a5840-af83-5d07-a156-ba32a36c5c4b-common": "13.1.5",
23
+ "@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.5",
24
+ "@codingame/monaco-vscode-api": "13.1.5",
25
+ "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.5",
26
+ "@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common": "13.1.5"
27
27
  },
28
28
  "main": "index.js",
29
29
  "module": "index.js",
@@ -33,7 +33,7 @@ async function request(options, token, isOnline) {
33
33
  };
34
34
  }
35
35
  catch (err) {
36
- if (!isOnline()) {
36
+ if (isOnline && !isOnline()) {
37
37
  throw ( new OfflineError());
38
38
  }
39
39
  if (err?.name === 'AbortError') {
@@ -108,7 +108,7 @@ let JSONEditingService = class JSONEditingService {
108
108
  switch (error) {
109
109
  case JSONEditingErrorCode.ERROR_INVALID_FILE: {
110
110
  return localize(
111
- 11322,
111
+ 11320,
112
112
  "Unable to write into the file. Please open the file to correct errors/warnings in the file and try again."
113
113
  );
114
114
  }
@@ -161,7 +161,7 @@ class DecorationStyles {
161
161
  const strikethrough = ( data.some(d => d.strikethrough));
162
162
  if (onlyChildren) {
163
163
  badgeClassName = rule.bubbleBadgeClassName;
164
- tooltip = ( localize(11360, "Contains emphasized items"));
164
+ tooltip = ( localize(11358, "Contains emphasized items"));
165
165
  }
166
166
  return {
167
167
  labelClassName,
@@ -31,7 +31,7 @@ import { Memento } from '@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047
31
31
  const resourceLabelFormattersExtPoint = ExtensionsRegistry.registerExtensionPoint({
32
32
  extensionPoint: 'resourceLabelFormatters',
33
33
  jsonSchema: {
34
- description: ( localize(11633, 'Contributes resource label formatting rules.')),
34
+ description: ( localize(11631, 'Contributes resource label formatting rules.')),
35
35
  type: 'array',
36
36
  items: {
37
37
  type: 'object',
@@ -40,52 +40,52 @@ const resourceLabelFormattersExtPoint = ExtensionsRegistry.registerExtensionPoin
40
40
  scheme: {
41
41
  type: 'string',
42
42
  description: ( localize(
43
- 11634,
43
+ 11632,
44
44
  'URI scheme on which to match the formatter on. For example "file". Simple glob patterns are supported.'
45
45
  )),
46
46
  },
47
47
  authority: {
48
48
  type: 'string',
49
49
  description: ( localize(
50
- 11635,
50
+ 11633,
51
51
  'URI authority on which to match the formatter on. Simple glob patterns are supported.'
52
52
  )),
53
53
  },
54
54
  formatting: {
55
- description: ( localize(11636, "Rules for formatting uri resource labels.")),
55
+ description: ( localize(11634, "Rules for formatting uri resource labels.")),
56
56
  type: 'object',
57
57
  properties: {
58
58
  label: {
59
59
  type: 'string',
60
60
  description: ( localize(
61
- 11637,
61
+ 11635,
62
62
  "Label rules to display. For example: myLabel:/${path}. ${path}, ${scheme}, ${authority} and ${authoritySuffix} are supported as variables."
63
63
  ))
64
64
  },
65
65
  separator: {
66
66
  type: 'string',
67
67
  description: ( localize(
68
- 11638,
68
+ 11636,
69
69
  "Separator to be used in the uri label display. '/' or '\' as an example."
70
70
  ))
71
71
  },
72
72
  stripPathStartingSeparator: {
73
73
  type: 'boolean',
74
74
  description: ( localize(
75
- 11639,
75
+ 11637,
76
76
  "Controls whether `${path}` substitutions should have starting separator characters stripped."
77
77
  ))
78
78
  },
79
79
  tildify: {
80
80
  type: 'boolean',
81
81
  description: ( localize(
82
- 11640,
82
+ 11638,
83
83
  "Controls if the start of the uri label should be tildified when possible."
84
84
  ))
85
85
  },
86
86
  workspaceSuffix: {
87
87
  type: 'string',
88
- description: ( localize(11641, "Suffix appended to the workspace label."))
88
+ description: ( localize(11639, "Suffix appended to the workspace label."))
89
89
  }
90
90
  }
91
91
  }
@@ -264,10 +264,10 @@ let LabelService = class LabelService extends Disposable {
264
264
  }
265
265
  doGetWorkspaceLabel(workspaceUri, options) {
266
266
  if (isUntitledWorkspace(workspaceUri, this.environmentService)) {
267
- return localize(11642, "Untitled (Workspace)");
267
+ return localize(11640, "Untitled (Workspace)");
268
268
  }
269
269
  if (isTemporaryWorkspace(workspaceUri)) {
270
- return localize(11643, "Workspace");
270
+ return localize(11641, "Workspace");
271
271
  }
272
272
  let filename = basename(workspaceUri);
273
273
  if (filename.endsWith(WORKSPACE_EXTENSION)) {
@@ -280,14 +280,14 @@ let LabelService = class LabelService extends Disposable {
280
280
  break;
281
281
  case Verbosity.LONG:
282
282
  label = ( localize(
283
- 11644,
283
+ 11642,
284
284
  "{0} (Workspace)",
285
285
  this.getUriLabel(joinPath(dirname(workspaceUri), filename))
286
286
  ));
287
287
  break;
288
288
  case Verbosity.MEDIUM:
289
289
  default:
290
- label = ( localize(11645, "{0} (Workspace)", filename));
290
+ label = ( localize(11643, "{0} (Workspace)", filename));
291
291
  break;
292
292
  }
293
293
  if (options?.verbose === Verbosity.SHORT) {
@@ -27,13 +27,13 @@ let StoredFileWorkingCopySaveParticipant = class StoredFileWorkingCopySavePartic
27
27
  const cts = ( new CancellationTokenSource(token));
28
28
  workingCopy.model?.pushStackElement();
29
29
  progress.report({
30
- message: ( localize(12126, "Running Code Actions and Formatters..."))
30
+ message: ( localize(12124, "Running Code Actions and Formatters..."))
31
31
  });
32
32
  let bubbleCancel = false;
33
33
  await this.progressService.withProgress({
34
34
  priority: NotificationPriority.URGENT,
35
35
  location: ProgressLocation.Notification,
36
- cancellable: ( localize(12127, "Skip")),
36
+ cancellable: ( localize(12125, "Skip")),
37
37
  delay: workingCopy.isDirty() ? 5000 : 3000
38
38
  }, async (progress) => {
39
39
  for (const saveParticipant of this.saveParticipants) {