@codingame/monaco-vscode-textmate-service-override 10.0.2 → 10.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-textmate-service-override",
3
- "version": "10.0.2",
3
+ "version": "10.1.1",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -29,9 +29,9 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "vscode": "npm:@codingame/monaco-vscode-api@10.0.2",
32
+ "vscode": "npm:@codingame/monaco-vscode-api@10.1.1",
33
33
  "vscode-oniguruma": "1.7.0",
34
34
  "vscode-textmate": "9.1.0",
35
- "@codingame/monaco-vscode-files-service-override": "10.0.2"
35
+ "@codingame/monaco-vscode-files-service-override": "10.1.1"
36
36
  }
37
37
  }
@@ -165,7 +165,7 @@ let TextMateTokenizationFeature = class TextMateTokenizationFeature extends Disp
165
165
  }
166
166
  startDebugMode(printFn, onStop) {
167
167
  if (this._debugMode) {
168
- this._notificationService.error(( localize(3127, "Already Logging.")));
168
+ this._notificationService.error(( localize(3164, "Already Logging.")));
169
169
  return;
170
170
  }
171
171
  this._debugModePrintFunc = printFn;
@@ -173,15 +173,15 @@ let TextMateTokenizationFeature = class TextMateTokenizationFeature extends Disp
173
173
  if (this._debugMode) {
174
174
  this._progressService.withProgress({
175
175
  location: 15 ,
176
- buttons: [( localize(3128, "Stop"))]
176
+ buttons: [( localize(3165, "Stop"))]
177
177
  }, (progress) => {
178
178
  progress.report({
179
- message: ( localize(3129, "Preparing to log TM Grammar parsing. Press Stop when finished."))
179
+ message: ( localize(3166, "Preparing to log TM Grammar parsing. Press Stop when finished."))
180
180
  });
181
181
  return this._getVSCodeOniguruma().then((vscodeOniguruma) => {
182
182
  vscodeOniguruma.setDefaultDebugCall(true);
183
183
  progress.report({
184
- message: ( localize(3130, "Now logging TM Grammar parsing. Press Stop when finished."))
184
+ message: ( localize(3167, "Now logging TM Grammar parsing. Press Stop when finished."))
185
185
  });
186
186
  return (
187
187
  (new Promise((resolve, reject) => { }))
@@ -389,7 +389,7 @@ function equalsTokenRules(a, b) {
389
389
  function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _languageService) {
390
390
  if (syntax.language && ((typeof syntax.language !== 'string') || !_languageService.isRegisteredLanguageId(syntax.language))) {
391
391
  collector.error(( localize(
392
- 3131,
392
+ 3168,
393
393
  "Unknown language in `contributes.{0}.language`. Provided value: {1}",
394
394
  grammarsExtPoint.name,
395
395
  String(syntax.language)
@@ -398,7 +398,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
398
398
  }
399
399
  if (!syntax.scopeName || (typeof syntax.scopeName !== 'string')) {
400
400
  collector.error(( localize(
401
- 3132,
401
+ 3169,
402
402
  "Expected string in `contributes.{0}.scopeName`. Provided value: {1}",
403
403
  grammarsExtPoint.name,
404
404
  String(syntax.scopeName)
@@ -407,7 +407,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
407
407
  }
408
408
  if (!syntax.path || (typeof syntax.path !== 'string')) {
409
409
  collector.error(( localize(
410
- 3133,
410
+ 3170,
411
411
  "Expected string in `contributes.{0}.path`. Provided value: {1}",
412
412
  grammarsExtPoint.name,
413
413
  String(syntax.path)
@@ -416,7 +416,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
416
416
  }
417
417
  if (syntax.injectTo && (!Array.isArray(syntax.injectTo) || ( (syntax.injectTo.some(scope => typeof scope !== 'string'))))) {
418
418
  collector.error(( localize(
419
- 3134,
419
+ 3171,
420
420
  "Invalid value in `contributes.{0}.injectTo`. Must be an array of language scope names. Provided value: {1}",
421
421
  grammarsExtPoint.name,
422
422
  JSON.stringify(syntax.injectTo)
@@ -425,7 +425,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
425
425
  }
426
426
  if (syntax.embeddedLanguages && !isObject(syntax.embeddedLanguages)) {
427
427
  collector.error(( localize(
428
- 3135,
428
+ 3172,
429
429
  "Invalid value in `contributes.{0}.embeddedLanguages`. Must be an object map from scope name to language. Provided value: {1}",
430
430
  grammarsExtPoint.name,
431
431
  JSON.stringify(syntax.embeddedLanguages)
@@ -434,7 +434,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
434
434
  }
435
435
  if (syntax.tokenTypes && !isObject(syntax.tokenTypes)) {
436
436
  collector.error(( localize(
437
- 3136,
437
+ 3173,
438
438
  "Invalid value in `contributes.{0}.tokenTypes`. Must be an object map from scope name to token type. Provided value: {1}",
439
439
  grammarsExtPoint.name,
440
440
  JSON.stringify(syntax.tokenTypes)
@@ -444,7 +444,7 @@ function validateGrammarExtensionPoint(extensionLocation, syntax, collector, _la
444
444
  const grammarLocation = joinPath(extensionLocation, syntax.path);
445
445
  if (!isEqualOrParent(grammarLocation, extensionLocation)) {
446
446
  collector.warn(( localize(
447
- 3137,
447
+ 3174,
448
448
  "Expected `contributes.{0}.path` ({1}) to be included inside extension's folder ({2}). This might make the extension non-portable.",
449
449
  grammarsExtPoint.name,
450
450
  grammarLocation.path,