@codingame/monaco-vscode-base-service-override 25.0.1 → 25.1.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": "25.0.1",
3
+ "version": "25.1.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": "25.0.1"
18
+ "@codingame/monaco-vscode-api": "25.1.1"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -118,7 +118,7 @@ let JSONEditingService = class JSONEditingService {
118
118
  switch (error) {
119
119
  case JSONEditingErrorCode.ERROR_INVALID_FILE: {
120
120
  return localize(
121
- 13799,
121
+ 13800,
122
122
  "Unable to write into the file. Please open the file to correct errors/warnings in the file and try again."
123
123
  );
124
124
  }
@@ -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(13838, "Contains emphasized items"));
164
+ tooltip = ( localize(13839, "Contains emphasized items"));
165
165
  }
166
166
  return {
167
167
  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(14141, 'Contributes resource label formatting rules.')),
34
+ description: ( localize(14142, '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
- 14142,
43
+ 14143,
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
- 14143,
50
+ 14144,
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(14144, "Rules for formatting uri resource labels.")),
55
+ description: ( localize(14145, "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
- 14145,
61
+ 14146,
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
- 14146,
68
+ 14147,
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
- 14147,
75
+ 14148,
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
- 14148,
82
+ 14149,
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(14149, "Suffix appended to the workspace label."))
88
+ description: ( localize(14150, "Suffix appended to the workspace label."))
89
89
  }
90
90
  }
91
91
  }
@@ -267,10 +267,10 @@ let LabelService = class LabelService extends Disposable {
267
267
  }
268
268
  doGetWorkspaceLabel(workspaceUri, options) {
269
269
  if (isUntitledWorkspace(workspaceUri, this.environmentService)) {
270
- return localize(14150, "Untitled (Workspace)");
270
+ return localize(14151, "Untitled (Workspace)");
271
271
  }
272
272
  if (isTemporaryWorkspace(workspaceUri)) {
273
- return localize(14151, "Workspace");
273
+ return localize(14152, "Workspace");
274
274
  }
275
275
  let filename = basename(workspaceUri);
276
276
  if (filename.endsWith(WORKSPACE_EXTENSION)) {
@@ -283,14 +283,14 @@ let LabelService = class LabelService extends Disposable {
283
283
  break;
284
284
  case Verbosity.LONG:
285
285
  label = ( localize(
286
- 14152,
286
+ 14153,
287
287
  "{0} (Workspace)",
288
288
  this.getUriLabel(joinPath(dirname(workspaceUri), filename))
289
289
  ));
290
290
  break;
291
291
  case Verbosity.MEDIUM:
292
292
  default:
293
- label = ( localize(14153, "{0} (Workspace)", filename));
293
+ label = ( localize(14154, "{0} (Workspace)", filename));
294
294
  break;
295
295
  }
296
296
  if (options?.verbose === Verbosity.SHORT) {
@@ -14,7 +14,7 @@ import { mainWindow } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/
14
14
 
15
15
  let BrowserRequestService = class BrowserRequestService extends AbstractRequestService {
16
16
  constructor(remoteAgentService, configurationService, loggerService) {
17
- const logger = loggerService.createLogger(`network`, { name: ( localize(14259, "Network")), group: windowLogGroup });
17
+ const logger = loggerService.createLogger(`network`, { name: ( localize(14260, "Network")), group: windowLogGroup });
18
18
  const logService = ( new LogService(logger));
19
19
  super(logService);
20
20
  this.remoteAgentService = remoteAgentService;
@@ -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(14652, "Running Code Actions and Formatters..."))
30
+ message: ( localize(14653, "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(14653, "Skip")),
36
+ cancellable: ( localize(14654, "Skip")),
37
37
  delay: workingCopy.isDirty() ? 5000 : 3000
38
38
  }, async (progress) => {
39
39
  const participants = Array.from(this.saveParticipants).sort((a, b) => {