@codingame/monaco-vscode-textmate-service-override 37.3.2 → 37.3.4

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-textmate-service-override",
3
- "version": "37.3.2",
3
+ "version": "37.3.4",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - textmate service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "37.3.2",
19
- "@codingame/monaco-vscode-files-service-override": "37.3.2"
18
+ "@codingame/monaco-vscode-api": "37.3.4",
19
+ "@codingame/monaco-vscode-files-service-override": "37.3.4"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -197,7 +197,7 @@ let TextMateTokenizationFeature = class TextMateTokenizationFeature extends Disp
197
197
  }
198
198
  startDebugMode(printFn, onStop) {
199
199
  if (this._debugMode) {
200
- this._notificationService.error(( localize(22174, "Already Logging.")));
200
+ this._notificationService.error(( localize(22294, "Already Logging.")));
201
201
  return;
202
202
  }
203
203
  this._debugModePrintFunc = printFn;
@@ -205,15 +205,15 @@ let TextMateTokenizationFeature = class TextMateTokenizationFeature extends Disp
205
205
  if (this._debugMode) {
206
206
  this._progressService.withProgress({
207
207
  location: ProgressLocation.Notification,
208
- buttons: [( localize(22175, "Stop"))]
208
+ buttons: [( localize(22295, "Stop"))]
209
209
  }, progress => {
210
210
  progress.report({
211
- message: ( localize(22176, "Preparing to log TM Grammar parsing. Press Stop when finished."))
211
+ message: ( localize(22296, "Preparing to log TM Grammar parsing. Press Stop when finished."))
212
212
  });
213
213
  return this._getVSCodeOniguruma().then(vscodeOniguruma => {
214
214
  vscodeOniguruma.setDefaultDebugCall(true);
215
215
  progress.report({
216
- message: ( localize(22177, "Now logging TM Grammar parsing. Press Stop when finished."))
216
+ message: ( localize(22297, "Now logging TM Grammar parsing. Press Stop when finished."))
217
217
  });
218
218
  return ( new Promise((resolve, reject) => {}));
219
219
  });
@@ -426,7 +426,7 @@ function equalsTokenRules(a, b) {
426
426
  function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _languageService) {
427
427
  if (syntax.language && ((typeof syntax.language !== "string") || !_languageService.isRegisteredLanguageId(syntax.language))) {
428
428
  collector.error(( localize(
429
- 22178,
429
+ 22298,
430
430
  "Unknown language in `contributes.{0}.language`. Provided value: {1}",
431
431
  grammarsExtPoint.name,
432
432
  String(syntax.language)
@@ -435,7 +435,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
435
435
  }
436
436
  if (!syntax.scopeName || (typeof syntax.scopeName !== "string")) {
437
437
  collector.error(( localize(
438
- 22179,
438
+ 22299,
439
439
  "Expected string in `contributes.{0}.scopeName`. Provided value: {1}",
440
440
  grammarsExtPoint.name,
441
441
  String(syntax.scopeName)
@@ -444,7 +444,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
444
444
  }
445
445
  if (!syntax.path || (typeof syntax.path !== "string")) {
446
446
  collector.error(( localize(
447
- 22180,
447
+ 22300,
448
448
  "Expected string in `contributes.{0}.path`. Provided value: {1}",
449
449
  grammarsExtPoint.name,
450
450
  String(syntax.path)
@@ -453,7 +453,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
453
453
  }
454
454
  if (syntax.injectTo && (!Array.isArray(syntax.injectTo) || ( syntax.injectTo.some(scope => typeof scope !== "string")))) {
455
455
  collector.error(( localize(
456
- 22181,
456
+ 22301,
457
457
  "Invalid value in `contributes.{0}.injectTo`. Must be an array of language scope names. Provided value: {1}",
458
458
  grammarsExtPoint.name,
459
459
  JSON.stringify(syntax.injectTo)
@@ -462,7 +462,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
462
462
  }
463
463
  if (syntax.embeddedLanguages && !isObject(syntax.embeddedLanguages)) {
464
464
  collector.error(( localize(
465
- 22182,
465
+ 22302,
466
466
  "Invalid value in `contributes.{0}.embeddedLanguages`. Must be an object map from scope name to language. Provided value: {1}",
467
467
  grammarsExtPoint.name,
468
468
  JSON.stringify(syntax.embeddedLanguages)
@@ -471,7 +471,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
471
471
  }
472
472
  if (syntax.tokenTypes && !isObject(syntax.tokenTypes)) {
473
473
  collector.error(( localize(
474
- 22183,
474
+ 22303,
475
475
  "Invalid value in `contributes.{0}.tokenTypes`. Must be an object map from scope name to token type. Provided value: {1}",
476
476
  grammarsExtPoint.name,
477
477
  JSON.stringify(syntax.tokenTypes)
@@ -481,7 +481,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
481
481
  const grammarLocation = joinPath(extensionLocation, syntax.path);
482
482
  if (!isEqualOrParent(grammarLocation, extensionLocation)) {
483
483
  collector.warn(( localize(
484
- 22184,
484
+ 22304,
485
485
  "Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
486
486
  grammarsExtPoint.name,
487
487
  grammarLocation.path,