@codingame/monaco-vscode-base-service-override 11.0.0 → 11.0.2

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": "11.0.0",
3
+ "version": "11.0.2",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,6 +26,6 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@11.0.0"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@11.0.2"
30
30
  }
31
31
  }
@@ -106,7 +106,7 @@ let JSONEditingService = class JSONEditingService {
106
106
  switch (error) {
107
107
  case 0 : {
108
108
  return ( localize(
109
- 1036,
109
+ 866,
110
110
  "Unable to write into the file. Please open the file to correct errors/warnings in the file and try again."
111
111
  ));
112
112
  }
@@ -159,7 +159,7 @@ class DecorationStyles {
159
159
  const strikethrough = ( (data.some(d => d.strikethrough)));
160
160
  if (onlyChildren) {
161
161
  badgeClassName = rule.bubbleBadgeClassName;
162
- tooltip = ( localize(1037, "Contains emphasized items"));
162
+ tooltip = ( localize(867, "Contains emphasized items"));
163
163
  }
164
164
  return {
165
165
  labelClassName,
@@ -26,7 +26,7 @@ import { Memento } from 'vscode/vscode/vs/workbench/common/memento';
26
26
  const resourceLabelFormattersExtPoint = ExtensionsRegistry.registerExtensionPoint({
27
27
  extensionPoint: 'resourceLabelFormatters',
28
28
  jsonSchema: {
29
- description: ( localize(1038, 'Contributes resource label formatting rules.')),
29
+ description: ( localize(868, 'Contributes resource label formatting rules.')),
30
30
  type: 'array',
31
31
  items: {
32
32
  type: 'object',
@@ -35,52 +35,52 @@ const resourceLabelFormattersExtPoint = ExtensionsRegistry.registerExtensionPoin
35
35
  scheme: {
36
36
  type: 'string',
37
37
  description: ( localize(
38
- 1039,
38
+ 869,
39
39
  'URI scheme on which to match the formatter on. For example "file". Simple glob patterns are supported.'
40
40
  )),
41
41
  },
42
42
  authority: {
43
43
  type: 'string',
44
44
  description: ( localize(
45
- 1040,
45
+ 870,
46
46
  'URI authority on which to match the formatter on. Simple glob patterns are supported.'
47
47
  )),
48
48
  },
49
49
  formatting: {
50
- description: ( localize(1041, "Rules for formatting uri resource labels.")),
50
+ description: ( localize(871, "Rules for formatting uri resource labels.")),
51
51
  type: 'object',
52
52
  properties: {
53
53
  label: {
54
54
  type: 'string',
55
55
  description: ( localize(
56
- 1042,
56
+ 872,
57
57
  "Label rules to display. For example: myLabel:/${path}. ${path}, ${scheme}, ${authority} and ${authoritySuffix} are supported as variables."
58
58
  ))
59
59
  },
60
60
  separator: {
61
61
  type: 'string',
62
62
  description: ( localize(
63
- 1043,
63
+ 873,
64
64
  "Separator to be used in the uri label display. '/' or '\' as an example."
65
65
  ))
66
66
  },
67
67
  stripPathStartingSeparator: {
68
68
  type: 'boolean',
69
69
  description: ( localize(
70
- 1044,
70
+ 874,
71
71
  "Controls whether `${path}` substitutions should have starting separator characters stripped."
72
72
  ))
73
73
  },
74
74
  tildify: {
75
75
  type: 'boolean',
76
76
  description: ( localize(
77
- 1045,
77
+ 875,
78
78
  "Controls if the start of the uri label should be tildified when possible."
79
79
  ))
80
80
  },
81
81
  workspaceSuffix: {
82
82
  type: 'string',
83
- description: ( localize(1046, "Suffix appended to the workspace label."))
83
+ description: ( localize(876, "Suffix appended to the workspace label."))
84
84
  }
85
85
  }
86
86
  }
@@ -259,10 +259,10 @@ let LabelService = class LabelService extends Disposable {
259
259
  }
260
260
  doGetWorkspaceLabel(workspaceUri, options) {
261
261
  if (isUntitledWorkspace(workspaceUri, this.environmentService)) {
262
- return ( localize(1047, "Untitled (Workspace)"));
262
+ return ( localize(877, "Untitled (Workspace)"));
263
263
  }
264
264
  if (isTemporaryWorkspace(workspaceUri)) {
265
- return ( localize(1048, "Workspace"));
265
+ return ( localize(878, "Workspace"));
266
266
  }
267
267
  let filename = basename(workspaceUri);
268
268
  if (filename.endsWith(WORKSPACE_EXTENSION)) {
@@ -275,14 +275,14 @@ let LabelService = class LabelService extends Disposable {
275
275
  break;
276
276
  case 2 :
277
277
  label = ( localize(
278
- 1049,
278
+ 879,
279
279
  "{0} (Workspace)",
280
280
  this.getUriLabel(joinPath(dirname(workspaceUri), filename))
281
281
  ));
282
282
  break;
283
283
  case 1 :
284
284
  default:
285
- label = ( localize(1050, "{0} (Workspace)", filename));
285
+ label = ( localize(880, "{0} (Workspace)", filename));
286
286
  break;
287
287
  }
288
288
  if (options?.verbose === 0 ) {
@@ -25,13 +25,13 @@ let StoredFileWorkingCopySaveParticipant = class StoredFileWorkingCopySavePartic
25
25
  const cts = ( (new CancellationTokenSource(token)));
26
26
  workingCopy.model?.pushStackElement();
27
27
  progress.report({
28
- message: ( localize(4685, "Running Code Actions and Formatters..."))
28
+ message: ( localize(4599, "Running Code Actions and Formatters..."))
29
29
  });
30
30
  let bubbleCancel = false;
31
31
  await this.progressService.withProgress({
32
32
  priority: NotificationPriority.URGENT,
33
33
  location: 15 ,
34
- cancellable: ( localize(4686, "Skip")),
34
+ cancellable: ( localize(4600, "Skip")),
35
35
  delay: workingCopy.isDirty() ? 5000 : 3000
36
36
  }, async (progress) => {
37
37
  for (const saveParticipant of this.saveParticipants) {