@codingame/monaco-vscode-base-service-override 31.0.1 → 32.0.1

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": "31.0.1",
3
+ "version": "32.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - base service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "31.0.1"
18
+ "@codingame/monaco-vscode-api": "32.0.1"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -137,7 +137,7 @@ let JSONEditingService = class JSONEditingService {
137
137
  case JSONEditingErrorCode.ERROR_INVALID_FILE:
138
138
  {
139
139
  return localize(
140
- 16103,
140
+ 16435,
141
141
  "Unable to write into the file. Please open the file to correct errors/warnings in the file and try again."
142
142
  );
143
143
  }
@@ -181,7 +181,7 @@ class DecorationStyles {
181
181
  const strikethrough = ( data.some(d => d.strikethrough));
182
182
  if (onlyChildren) {
183
183
  badgeClassName = rule.bubbleBadgeClassName;
184
- tooltip = ( localize(16142, "Contains emphasized items"));
184
+ tooltip = ( localize(16474, "Contains emphasized items"));
185
185
  }
186
186
  return {
187
187
  labelClassName,
@@ -31,7 +31,7 @@ import { Memento } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common
31
31
  const resourceLabelFormattersExtPoint = ExtensionsRegistry.registerExtensionPoint({
32
32
  extensionPoint: "resourceLabelFormatters",
33
33
  jsonSchema: {
34
- description: ( localize(16447, "Contributes resource label formatting rules.")),
34
+ description: ( localize(16780, "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
- 16448,
43
+ 16781,
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
- 16449,
50
+ 16782,
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(16450, "Rules for formatting uri resource labels.")),
55
+ description: ( localize(16783, "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
- 16451,
61
+ 16784,
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
- 16452,
68
+ 16785,
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
- 16453,
75
+ 16786,
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
- 16454,
82
+ 16787,
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(16455, "Suffix appended to the workspace label."))
88
+ description: ( localize(16788, "Suffix appended to the workspace label."))
89
89
  }
90
90
  }
91
91
  }
@@ -146,7 +146,8 @@ let LabelService = class LabelService extends Disposable {
146
146
  this.pathService = pathService;
147
147
  this.remoteAgentService = remoteAgentService;
148
148
  this._onDidChangeFormatters = this._register(( new Emitter({
149
- leakWarningThreshold: 400
149
+ leakWarningThreshold: 400,
150
+ leakWarningName: "LabelService._onDidChangeFormatters"
150
151
  })));
151
152
  this.onDidChangeFormatters = this._onDidChangeFormatters.event;
152
153
  this.os = OS;
@@ -281,10 +282,10 @@ let LabelService = class LabelService extends Disposable {
281
282
  }
282
283
  doGetWorkspaceLabel(workspaceUri, options) {
283
284
  if (isUntitledWorkspace(workspaceUri, this.environmentService)) {
284
- return localize(16456, "Untitled (Workspace)");
285
+ return localize(16789, "Untitled (Workspace)");
285
286
  }
286
287
  if (isTemporaryWorkspace(workspaceUri)) {
287
- return localize(16457, "Workspace");
288
+ return localize(16790, "Workspace");
288
289
  }
289
290
  let filename = basename(workspaceUri);
290
291
  if (filename.endsWith(WORKSPACE_EXTENSION)) {
@@ -297,14 +298,14 @@ let LabelService = class LabelService extends Disposable {
297
298
  break;
298
299
  case Verbosity.LONG:
299
300
  label = ( localize(
300
- 16458,
301
+ 16791,
301
302
  "{0} (Workspace)",
302
303
  this.getUriLabel(joinPath(dirname(workspaceUri), filename))
303
304
  ));
304
305
  break;
305
306
  case Verbosity.MEDIUM:
306
307
  default:
307
- label = ( localize(16459, "{0} (Workspace)", filename));
308
+ label = ( localize(16792, "{0} (Workspace)", filename));
308
309
  break;
309
310
  }
310
311
  if (options?.verbose === Verbosity.SHORT) {
@@ -15,7 +15,7 @@ import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/
15
15
  let BrowserRequestService = class BrowserRequestService extends AbstractRequestService {
16
16
  constructor(remoteAgentService, configurationService, loggerService) {
17
17
  const logger = loggerService.createLogger(`network`, {
18
- name: ( localize(16566, "Network")),
18
+ name: ( localize(16900, "Network")),
19
19
  group: windowLogGroup
20
20
  });
21
21
  const logService = ( new LogService(logger));
@@ -29,13 +29,13 @@ let StoredFileWorkingCopySaveParticipant = class StoredFileWorkingCopySavePartic
29
29
  const cts = ( new CancellationTokenSource(token));
30
30
  workingCopy.model?.pushStackElement();
31
31
  progress.report({
32
- message: ( localize(16968, "Running Code Actions and Formatters..."))
32
+ message: ( localize(17302, "Running Code Actions and Formatters..."))
33
33
  });
34
34
  let bubbleCancel = false;
35
35
  await this.progressService.withProgress({
36
36
  priority: NotificationPriority.URGENT,
37
37
  location: ProgressLocation.Notification,
38
- cancellable: ( localize(16969, "Skip")),
38
+ cancellable: ( localize(17303, "Skip")),
39
39
  delay: workingCopy.isDirty() ? 5000 : 3000
40
40
  }, async progress => {
41
41
  const participants = Array.from(this.saveParticipants).sort((a, b) => {