@codingame/monaco-vscode-base-service-override 10.0.2 → 10.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-base-service-override",
3
- "version": "10.0.2",
3
+ "version": "10.1.0",
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@10.0.2"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.0"
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
- 870,
109
+ 1041,
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
  }
@@ -158,7 +158,7 @@ class DecorationStyles {
158
158
  const strikethrough = ( (data.some(d => d.strikethrough)));
159
159
  if (onlyChildren) {
160
160
  badgeClassName = rule.bubbleBadgeClassName;
161
- tooltip = ( localize(871, "Contains emphasized items"));
161
+ tooltip = ( localize(1042, "Contains emphasized items"));
162
162
  }
163
163
  return {
164
164
  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(872, 'Contributes resource label formatting rules.')),
29
+ description: ( localize(1043, '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
- 873,
38
+ 1044,
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
- 874,
45
+ 1045,
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(875, "Rules for formatting uri resource labels.")),
50
+ description: ( localize(1046, "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
- 876,
56
+ 1047,
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
- 877,
63
+ 1048,
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
- 878,
70
+ 1049,
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
- 879,
77
+ 1050,
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(880, "Suffix appended to the workspace label."))
83
+ description: ( localize(1051, "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(881, "Untitled (Workspace)"));
262
+ return ( localize(1052, "Untitled (Workspace)"));
263
263
  }
264
264
  if (isTemporaryWorkspace(workspaceUri)) {
265
- return ( localize(882, "Workspace"));
265
+ return ( localize(1053, "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
- 883,
278
+ 1054,
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(884, "{0} (Workspace)", filename));
285
+ label = ( localize(1055, "{0} (Workspace)", filename));
286
286
  break;
287
287
  }
288
288
  if (options?.verbose === 0 ) {