@codingame/monaco-editor-wrapper 1.14.4 → 1.14.7

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.
Files changed (48) hide show
  1. package/dist/JavaScript.tmLanguage.js +64 -10
  2. package/dist/JavaScriptReact.tmLanguage.js +64 -10
  3. package/dist/Scala.tmLanguage.js +8 -4
  4. package/dist/TypeScript.tmLanguage.js +64 -10
  5. package/dist/TypeScriptReact.tmLanguage.js +64 -10
  6. package/dist/angular.js +7 -1
  7. package/dist/c.tmLanguage.js +650 -432
  8. package/dist/cpp.tmLanguage.js +72 -84
  9. package/dist/cpptools.js +81 -5
  10. package/dist/css.tmLanguage.js +5 -5
  11. package/dist/css.worker.js +1 -1
  12. package/dist/dart3.js +40 -21
  13. package/dist/fsharp.tmLanguage.js +2 -2
  14. package/dist/html.worker.js +1 -1
  15. package/dist/index.js +4 -3
  16. package/dist/java.js +1 -1
  17. package/dist/java2.js +35 -11
  18. package/dist/javascript-javascript.code-snippets.js +9 -0
  19. package/dist/javascript.js +1 -1
  20. package/dist/javascriptreact.js +1 -1
  21. package/dist/json.js +1 -3
  22. package/dist/json.worker.js +1 -1
  23. package/dist/jsonc.js +1 -3
  24. package/dist/lua2.js +184 -63
  25. package/dist/main.js +10626 -10608
  26. package/dist/markdown.tmLanguage.js +56 -17
  27. package/dist/objective-c.tmLanguage.js +276 -131
  28. package/dist/omnisharp-csharp.js +11 -11
  29. package/dist/omnisharp.js +24 -49
  30. package/dist/php.tmLanguage.js +280 -128
  31. package/dist/scalameta.js +19 -2
  32. package/dist/scss.js +12 -2
  33. package/dist/services/MultiEditorStandaloneCodeEditorService.d.ts +2 -2
  34. package/dist/solidity2.js +1 -1
  35. package/dist/theme-defaults~dark_vs.js +1 -1
  36. package/dist/theme-defaults~hc_light.js +36 -36
  37. package/dist/ts.worker.js +1 -1
  38. package/dist/typescript-language-features.js +17 -2
  39. package/dist/typescript.js +1 -1
  40. package/dist/typescriptreact.js +1 -1
  41. package/dist/vscode-R-rmarkdown.js +3 -3
  42. package/dist/vscode-R.js +9 -9
  43. package/dist/vscode-python.js +16 -6
  44. package/dist/worker.js +1 -1
  45. package/dist/xml.js +1 -2
  46. package/dist/xsl.js +1 -2
  47. package/package.json +22 -25
  48. package/stats.html +1 -1
package/dist/omnisharp.js CHANGED
@@ -361,52 +361,40 @@ var omnisharp = [
361
361
  "scope": 3
362
362
  },
363
363
  "omnisharp.path": {
364
- "type": [
365
- "string",
366
- "null"
367
- ],
368
- "default": null,
364
+ "type": "string",
369
365
  "scope": 2,
370
366
  "description": "Specifies the path to OmniSharp. When left empty the OmniSharp version pinned to the C# Extension is used. This can be the absolute path to an OmniSharp executable, a specific version number, or \"latest\". If a version number or \"latest\" is specified, the appropriate version of OmniSharp will be downloaded on your behalf. Setting \"latest\" is an opt-in into latest beta releases of OmniSharp."
371
367
  },
372
368
  "omnisharp.useModernNet": {
373
369
  "type": "boolean",
374
- "default": false,
370
+ "default": true,
375
371
  "scope": 3,
376
- "title": "Use .NET 6 build of OmniSharp (experimental)",
377
- "description": "Use OmniSharp build for .NET 6. This version _does not_ support non-SDK-style .NET Framework projects, including Unity. SDK-style Framework, .NET Core, and .NET 5+ projects should see significant performance improvements, but there may still be bugs. Please open issues if you find any bugs."
372
+ "title": "Use .NET 6 build of OmniSharp",
373
+ "description": "Use OmniSharp build for .NET 6. This version _does not_ support non-SDK-style .NET Framework projects, including Unity. SDK-style Framework, .NET Core, and .NET 5+ projects should see significant performance improvements."
378
374
  },
379
- "omnisharp.useGlobalMono": {
375
+ "omnisharp.sdkPath": {
380
376
  "type": "string",
381
- "default": "auto",
382
- "enum": [
383
- "auto",
384
- "always",
385
- "never"
386
- ],
387
- "enumDescriptions": [
388
- "Automatically launch OmniSharp with internal \"mono\", since \"mono\" 6.12.0 does not support .NET Core 3.1.40x or .NET 5 SDKs.",
389
- "Always launch OmniSharp with \"mono\". If version 6.4.0 or greater is not available on the PATH, an error will be printed.",
390
- "Never launch OmniSharp on a globally-installed Mono."
391
- ],
392
- "description": "Launch OmniSharp with the globally-installed Mono. If set to \"always\", \"mono\" version 6.4.0 or greater must be available on the PATH. If set to \"auto\", OmniSharp will be launched with \"mono\" if version 6.4.0 or greater is available on the PATH.",
393
- "scope": 3
377
+ "scope": 3,
378
+ "description": "Specifies the path to a .NET SDK installation to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example: \"/home/username/dotnet/sdks/6.0.300\"."
379
+ },
380
+ "omnisharp.sdkVersion": {
381
+ "type": "string",
382
+ "scope": 3,
383
+ "description": "Specifies the version of the .NET SDK to use for project loading instead of the highest version installed. Applies when \"useModernNet\" is set to true. Example: \"6.0.300\"."
384
+ },
385
+ "omnisharp.sdkIncludePrereleases": {
386
+ "type": "boolean",
387
+ "scope": 3,
388
+ "default": true,
389
+ "description": "Specifies whether to include preview versions of the .NET SDK when determining which version to use for project loading. Applies when \"useModernNet\" is set to true."
394
390
  },
395
391
  "omnisharp.monoPath": {
396
- "type": [
397
- "string",
398
- "null"
399
- ],
400
- "default": null,
392
+ "type": "string",
401
393
  "scope": 2,
402
- "description": "Specifies the path to a mono installation to use when \"useGlobalMono\" is set to \"always\", instead of the default system one. Example: \"/Library/Frameworks/Mono.framework/Versions/Current\""
394
+ "description": "Specifies the path to a mono installation to use when \"useModernNet\" is set to false, instead of the default system one. Example: \"/Library/Frameworks/Mono.framework/Versions/Current\""
403
395
  },
404
396
  "omnisharp.dotnetPath": {
405
- "type": [
406
- "string",
407
- "null"
408
- ],
409
- "default": null,
397
+ "type": "string",
410
398
  "scope": 3,
411
399
  "description": "Specified the path to a dotnet installation to use when \"useModernNet\" is set to true, instead of the default system one. Example: \"/home/username/mycustomdotnetdirectory\"."
412
400
  },
@@ -450,7 +438,6 @@ var omnisharp = [
450
438
  },
451
439
  "omnisharp.defaultLaunchSolution": {
452
440
  "type": "string",
453
- "default": null,
454
441
  "description": "The name of the default solution used at start up if the repo has multiple solutions. e.g.'MyAwesomeSolution.sln'. Default value is `null` which will cause the first in alphabetical order to be chosen.",
455
442
  "scope": 3
456
443
  },
@@ -527,20 +514,12 @@ var omnisharp = [
527
514
  "scope": 3
528
515
  },
529
516
  "omnisharp.testRunSettings": {
530
- "type": [
531
- "string",
532
- "null"
533
- ],
534
- "default": null,
517
+ "type": "string",
535
518
  "description": "Path to the .runsettings file which should be used when running unit tests.",
536
519
  "scope": 3
537
520
  },
538
521
  "razor.plugin.path": {
539
- "type": [
540
- "string",
541
- "null"
542
- ],
543
- "default": null,
522
+ "type": "string",
544
523
  "scope": 2,
545
524
  "description": "Overrides the path to the Razor plugin dll."
546
525
  },
@@ -557,11 +536,7 @@ var omnisharp = [
557
536
  "scope": 3
558
537
  },
559
538
  "razor.languageServer.directory": {
560
- "type": [
561
- "string",
562
- "null"
563
- ],
564
- "default": null,
539
+ "type": "string",
565
540
  "scope": 2,
566
541
  "description": "Overrides the path to the Razor Language Server directory."
567
542
  },
@@ -3,7 +3,7 @@ var information_for_contributors = [
3
3
  "If you want to provide a fix or improvement, please create a pull request against the original repository.",
4
4
  "Once accepted there, we are happy to receive an update request."
5
5
  ];
6
- var version = "https://github.com/atom/language-php/commit/ff64523c94c014d68f5dec189b05557649c5872a";
6
+ var version = "https://github.com/atom/language-php/commit/eb28b8aea1214dcbc732f3d9b9ed20c089c648bd";
7
7
  var scopeName = "source.php";
8
8
  var patterns = [
9
9
  {
@@ -12,62 +12,6 @@ var patterns = [
12
12
  {
13
13
  include: "#comments"
14
14
  },
15
- {
16
- begin: "(?i)^\\s*(interface)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*(extends)?\\s*",
17
- beginCaptures: {
18
- "1": {
19
- name: "storage.type.interface.php"
20
- },
21
- "2": {
22
- name: "entity.name.type.interface.php"
23
- },
24
- "3": {
25
- name: "storage.modifier.extends.php"
26
- }
27
- },
28
- end: "(?i)((?:[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\s*,\\s*)*)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?\\s*(?:(?={)|$)",
29
- endCaptures: {
30
- "1": {
31
- patterns: [
32
- {
33
- match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
34
- name: "entity.other.inherited-class.php"
35
- },
36
- {
37
- match: ",",
38
- name: "punctuation.separator.classes.php"
39
- }
40
- ]
41
- },
42
- "2": {
43
- name: "entity.other.inherited-class.php"
44
- }
45
- },
46
- name: "meta.interface.php",
47
- patterns: [
48
- {
49
- include: "#namespace"
50
- }
51
- ]
52
- },
53
- {
54
- begin: "(?i)^\\s*(trait)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)",
55
- beginCaptures: {
56
- "1": {
57
- name: "storage.type.trait.php"
58
- },
59
- "2": {
60
- name: "entity.name.type.trait.php"
61
- }
62
- },
63
- end: "(?={)",
64
- name: "meta.trait.php",
65
- patterns: [
66
- {
67
- include: "#comments"
68
- }
69
- ]
70
- },
71
15
  {
72
16
  match: "(?i)(?:^|(?<=<\\?php))\\s*(namespace)\\s+([a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)(?=\\s*;)",
73
17
  name: "meta.namespace.php",
@@ -232,123 +176,214 @@ var patterns = [
232
176
  ]
233
177
  },
234
178
  {
235
- begin: "(?ix)\n(?:\n \\b(?:(abstract|final)\\s+)?(class)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n |\\b(new)\\b\\s*(\\#\\[.*\\])?\\s*\\b(class)\\b # anonymous class\n)",
179
+ begin: "(?ix)\n\\b(trait)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)",
236
180
  beginCaptures: {
237
181
  "1": {
238
- name: "storage.modifier.${1:/downcase}.php"
182
+ name: "storage.type.trait.php"
239
183
  },
240
184
  "2": {
241
- name: "storage.type.class.php"
185
+ name: "entity.name.type.trait.php"
186
+ }
187
+ },
188
+ end: "}|(?=\\?>)",
189
+ endCaptures: {
190
+ "0": {
191
+ name: "punctuation.definition.trait.end.bracket.curly.php"
192
+ }
193
+ },
194
+ name: "meta.trait.php",
195
+ patterns: [
196
+ {
197
+ include: "#comments"
242
198
  },
243
- "3": {
244
- name: "entity.name.type.class.php"
199
+ {
200
+ begin: "{",
201
+ beginCaptures: {
202
+ "0": {
203
+ name: "punctuation.definition.trait.begin.bracket.curly.php"
204
+ }
205
+ },
206
+ end: "(?=}|\\?>)",
207
+ contentName: "meta.trait.body.php",
208
+ patterns: [
209
+ {
210
+ include: "$self"
211
+ }
212
+ ]
213
+ }
214
+ ]
215
+ },
216
+ {
217
+ begin: "(?ix)\n\\b(interface)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)",
218
+ beginCaptures: {
219
+ "1": {
220
+ name: "storage.type.interface.php"
245
221
  },
246
- "4": {
247
- name: "keyword.other.new.php"
222
+ "2": {
223
+ name: "entity.name.type.interface.php"
224
+ }
225
+ },
226
+ end: "}|(?=\\?>)",
227
+ endCaptures: {
228
+ "0": {
229
+ name: "punctuation.definition.interface.end.bracket.curly.php"
230
+ }
231
+ },
232
+ name: "meta.interface.php",
233
+ patterns: [
234
+ {
235
+ include: "#comments"
248
236
  },
249
- "5": {
237
+ {
238
+ include: "#interface-extends"
239
+ },
240
+ {
241
+ begin: "{",
242
+ beginCaptures: {
243
+ "0": {
244
+ name: "punctuation.definition.interface.begin.bracket.curly.php"
245
+ }
246
+ },
247
+ end: "(?=}|\\?>)",
248
+ contentName: "meta.interface.body.php",
250
249
  patterns: [
251
250
  {
252
- include: "#attribute"
251
+ include: "#class-constant"
252
+ },
253
+ {
254
+ include: "$self"
253
255
  }
254
256
  ]
257
+ }
258
+ ]
259
+ },
260
+ {
261
+ begin: "(?ix)\n\\b(enum)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n(?: \\s* (:) \\s* (int | string) \\b )?",
262
+ beginCaptures: {
263
+ "1": {
264
+ name: "storage.type.enum.php"
255
265
  },
256
- "6": {
257
- name: "storage.type.class.php"
266
+ "2": {
267
+ name: "entity.name.type.enum.php"
268
+ },
269
+ "3": {
270
+ name: "keyword.operator.return-value.php"
271
+ },
272
+ "4": {
273
+ name: "keyword.other.type.php"
258
274
  }
259
275
  },
260
276
  end: "}|(?=\\?>)",
261
277
  endCaptures: {
262
278
  "0": {
263
- name: "punctuation.definition.class.end.bracket.curly.php"
279
+ name: "punctuation.definition.enum.end.bracket.curly.php"
264
280
  }
265
281
  },
266
- name: "meta.class.php",
282
+ name: "meta.enum.php",
267
283
  patterns: [
268
284
  {
269
285
  include: "#comments"
270
286
  },
271
287
  {
272
- begin: "(?i)(extends)\\s+",
288
+ include: "#class-implements"
289
+ },
290
+ {
291
+ begin: "{",
273
292
  beginCaptures: {
274
- "1": {
275
- name: "storage.modifier.extends.php"
293
+ "0": {
294
+ name: "punctuation.definition.enum.begin.bracket.curly.php"
276
295
  }
277
296
  },
278
- contentName: "meta.other.inherited-class.php",
279
- end: "(?i)(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
297
+ end: "(?=}|\\?>)",
298
+ contentName: "meta.enum.body.php",
280
299
  patterns: [
281
300
  {
282
- begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)",
283
- end: "(?i)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
284
- endCaptures: {
301
+ match: "(?i)\\b(case)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)",
302
+ captures: {
285
303
  "1": {
286
- name: "entity.other.inherited-class.php"
287
- }
288
- },
289
- patterns: [
290
- {
291
- include: "#namespace"
304
+ name: "storage.modifier.php"
305
+ },
306
+ "2": {
307
+ name: "constant.enum.php"
292
308
  }
293
- ]
309
+ }
294
310
  },
295
311
  {
296
- include: "#class-builtin"
312
+ include: "#class-constant"
297
313
  },
298
314
  {
299
- include: "#namespace"
300
- },
315
+ include: "$self"
316
+ }
317
+ ]
318
+ }
319
+ ]
320
+ },
321
+ {
322
+ begin: "(?ix)\n(?:\n \\b(?:(abstract|final)\\s+)?(class)\\s+([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\n |\\b(new)\\b\\s*(\\#\\[.*\\])?\\s*\\b(class)\\b # anonymous class\n)",
323
+ beginCaptures: {
324
+ "1": {
325
+ name: "storage.modifier.${1:/downcase}.php"
326
+ },
327
+ "2": {
328
+ name: "storage.type.class.php"
329
+ },
330
+ "3": {
331
+ name: "entity.name.type.class.php"
332
+ },
333
+ "4": {
334
+ name: "keyword.other.new.php"
335
+ },
336
+ "5": {
337
+ patterns: [
301
338
  {
302
- match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
303
- name: "entity.other.inherited-class.php"
339
+ include: "#attribute"
304
340
  }
305
341
  ]
306
342
  },
343
+ "6": {
344
+ name: "storage.type.class.php"
345
+ }
346
+ },
347
+ end: "}|(?=\\?>)",
348
+ endCaptures: {
349
+ "0": {
350
+ name: "punctuation.definition.class.end.bracket.curly.php"
351
+ }
352
+ },
353
+ name: "meta.class.php",
354
+ patterns: [
307
355
  {
308
- begin: "(?i)(implements)\\s+",
356
+ begin: "(?<=class)\\s*(\\()",
309
357
  beginCaptures: {
310
358
  "1": {
311
- name: "storage.modifier.implements.php"
359
+ name: "punctuation.definition.arguments.begin.bracket.round.php"
312
360
  }
313
361
  },
314
- end: "(?i)(?=[;{])",
362
+ end: "\\)|(?=\\?>)",
363
+ endCaptures: {
364
+ "0": {
365
+ name: "punctuation.definition.arguments.end.bracket.round.php"
366
+ }
367
+ },
368
+ name: "meta.function-call.php",
315
369
  patterns: [
316
370
  {
317
- include: "#comments"
371
+ include: "#named-arguments"
318
372
  },
319
373
  {
320
- begin: "(?i)(?=[a-z0-9_\\x{7f}-\\x{10ffff}\\\\]+)",
321
- contentName: "meta.other.inherited-class.php",
322
- end: "(?i)(?:\\s*(?:,|(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\\\s]))\\s*)",
323
- patterns: [
324
- {
325
- begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)",
326
- end: "(?i)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
327
- endCaptures: {
328
- "1": {
329
- name: "entity.other.inherited-class.php"
330
- }
331
- },
332
- patterns: [
333
- {
334
- include: "#namespace"
335
- }
336
- ]
337
- },
338
- {
339
- include: "#class-builtin"
340
- },
341
- {
342
- include: "#namespace"
343
- },
344
- {
345
- match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
346
- name: "entity.other.inherited-class.php"
347
- }
348
- ]
374
+ include: "$self"
349
375
  }
350
376
  ]
351
377
  },
378
+ {
379
+ include: "#comments"
380
+ },
381
+ {
382
+ include: "#class-extends"
383
+ },
384
+ {
385
+ include: "#class-implements"
386
+ },
352
387
  {
353
388
  begin: "{",
354
389
  beginCaptures: {
@@ -359,6 +394,9 @@ var patterns = [
359
394
  end: "(?=}|\\?>)",
360
395
  contentName: "meta.class.body.php",
361
396
  patterns: [
397
+ {
398
+ include: "#class-constant"
399
+ },
362
400
  {
363
401
  include: "$self"
364
402
  }
@@ -381,7 +419,7 @@ var patterns = [
381
419
  }
382
420
  },
383
421
  {
384
- match: "(?x)\n\\s* # FIXME: Removing this causes specs to fail. Investigate.\n\\b(\n break|case|continue|declare|default|die|do|\n else(if)?|end(declare|for(each)?|if|switch|while)|exit|\n for(each)?|if|return|switch|use|while|yield\n)\\b",
422
+ match: "(?x)\n\\b(\n break|case|continue|declare|default|die|do|\n else(if)?|end(declare|for(each)?|if|switch|while)|exit|\n for(each)?|if|return|switch|use|while|yield\n)\\b",
385
423
  captures: {
386
424
  "1": {
387
425
  name: "keyword.control.${1:/downcase}.php"
@@ -852,7 +890,7 @@ var patterns = [
852
890
  name: "storage.type.php"
853
891
  },
854
892
  {
855
- match: "(?i)\\b(global|abstract|const|extends|implements|final|private|protected|public|static)\\b",
893
+ match: "(?i)\\b(global|abstract|const|final|private|protected|public|static)\\b",
856
894
  name: "storage.modifier.php"
857
895
  },
858
896
  {
@@ -974,7 +1012,7 @@ var patterns = [
974
1012
  name: "entity.name.goto-label.php"
975
1013
  }
976
1014
  },
977
- match: "(?i)^\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*:(?!:)"
1015
+ match: "(?i)^\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*(?<!default))\\s*:(?!:)"
978
1016
  },
979
1017
  {
980
1018
  include: "#string-backtick"
@@ -1186,6 +1224,120 @@ var repository = {
1186
1224
  }
1187
1225
  ]
1188
1226
  },
1227
+ "inheritance-single": {
1228
+ patterns: [
1229
+ {
1230
+ begin: "(?i)(?=\\\\?[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*\\\\)",
1231
+ end: "(?i)([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)?(?=[^a-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
1232
+ endCaptures: {
1233
+ "1": {
1234
+ name: "entity.other.inherited-class.php"
1235
+ }
1236
+ },
1237
+ patterns: [
1238
+ {
1239
+ include: "#namespace"
1240
+ }
1241
+ ]
1242
+ },
1243
+ {
1244
+ include: "#class-builtin"
1245
+ },
1246
+ {
1247
+ include: "#namespace"
1248
+ },
1249
+ {
1250
+ match: "(?i)[a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*",
1251
+ name: "entity.other.inherited-class.php"
1252
+ }
1253
+ ]
1254
+ },
1255
+ "class-extends": {
1256
+ patterns: [
1257
+ {
1258
+ begin: "(?i)(extends)\\s+",
1259
+ beginCaptures: {
1260
+ "1": {
1261
+ name: "storage.modifier.extends.php"
1262
+ }
1263
+ },
1264
+ end: "(?i)(?=[^A-Za-z0-9_\\x{7f}-\\x{10ffff}\\\\])",
1265
+ patterns: [
1266
+ {
1267
+ include: "#comments"
1268
+ },
1269
+ {
1270
+ include: "#inheritance-single"
1271
+ }
1272
+ ]
1273
+ }
1274
+ ]
1275
+ },
1276
+ "interface-extends": {
1277
+ patterns: [
1278
+ {
1279
+ begin: "(?i)(extends)\\s+",
1280
+ beginCaptures: {
1281
+ "1": {
1282
+ name: "storage.modifier.extends.php"
1283
+ }
1284
+ },
1285
+ end: "(?i)(?={)",
1286
+ patterns: [
1287
+ {
1288
+ include: "#comments"
1289
+ },
1290
+ {
1291
+ match: ",",
1292
+ name: "punctuation.separator.classes.php"
1293
+ },
1294
+ {
1295
+ include: "#inheritance-single"
1296
+ }
1297
+ ]
1298
+ }
1299
+ ]
1300
+ },
1301
+ "class-implements": {
1302
+ patterns: [
1303
+ {
1304
+ begin: "(?i)(implements)\\s+",
1305
+ beginCaptures: {
1306
+ "1": {
1307
+ name: "storage.modifier.implements.php"
1308
+ }
1309
+ },
1310
+ end: "(?i)(?={)",
1311
+ patterns: [
1312
+ {
1313
+ include: "#comments"
1314
+ },
1315
+ {
1316
+ match: ",",
1317
+ name: "punctuation.separator.classes.php"
1318
+ },
1319
+ {
1320
+ include: "#inheritance-single"
1321
+ }
1322
+ ]
1323
+ }
1324
+ ]
1325
+ },
1326
+ "class-constant": {
1327
+ patterns: [
1328
+ {
1329
+ match: "(?i)\\b(const)\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)",
1330
+ captures: {
1331
+ "1": {
1332
+ name: "storage.modifier.php"
1333
+ },
1334
+ "2": {
1335
+ name: "constant.other.php"
1336
+ }
1337
+ }
1338
+ }
1339
+ ]
1340
+ },
1189
1341
  comments: {
1190
1342
  patterns: [
1191
1343
  {
@@ -1620,7 +1772,7 @@ var repository = {
1620
1772
  ]
1621
1773
  },
1622
1774
  {
1623
- begin: "(<<<)\\s*(\"?)(SQL)(\\2)(\\s*)$",
1775
+ begin: "(<<<)\\s*(\"?)([DS]QL)(\\2)(\\s*)$",
1624
1776
  beginCaptures: {
1625
1777
  "0": {
1626
1778
  name: "punctuation.section.embedded.begin.php"
@@ -1975,7 +2127,7 @@ var repository = {
1975
2127
  ]
1976
2128
  },
1977
2129
  {
1978
- begin: "(<<<)\\s*'(SQL)'(\\s*)$",
2130
+ begin: "(<<<)\\s*'([DS]QL)'(\\s*)$",
1979
2131
  beginCaptures: {
1980
2132
  "0": {
1981
2133
  name: "punctuation.section.embedded.begin.php"
package/dist/scalameta.js CHANGED
@@ -4,7 +4,7 @@ var scalameta = [
4
4
  "properties": {
5
5
  "metals.serverVersion": {
6
6
  "type": "string",
7
- "default": "0.11.2+125-ed5fb2f2-SNAPSHOT",
7
+ "default": "0.11.6+67-926ec9a3-SNAPSHOT",
8
8
  "markdownDescription": "The version of the Metals server artifact. Requires reloading the window. \n\n**VS Code extension version is guaranteed to work only with the default version, change if you know what you're doing**",
9
9
  "scope": 3
10
10
  },
@@ -88,11 +88,27 @@ var scalameta = [
88
88
  "markdownDescription": "Optional custom path to the .scalafix.conf file.\n\nShould be an absolute path and use forward slashes `/` for file separators (even on Windows).",
89
89
  "scope": 3
90
90
  },
91
+ "metals.scalafixRulesDependencies": {
92
+ "type": "array",
93
+ "scope": 2,
94
+ "items": {
95
+ "type": "string"
96
+ },
97
+ "markdownDescription": "List of Scalafix rules dependencies in case they are not available by default in Metals and running scalafix fails due to 'rule not found' exception. For example: `com.github.liancheng::organize-imports:0.6.0` which follows the [coursier](https://get-coursier.io/) convention."
98
+ },
91
99
  "metals.bloopVersion": {
92
100
  "type": "string",
93
101
  "markdownDescription": "This version will be used for the Bloop build tool plugin, for any supported build tool,while importing in Metals as well as for running the embedded server",
94
102
  "scope": 3
95
103
  },
104
+ "metals.bloopJvmProperties": {
105
+ "type": "array",
106
+ "scope": 6,
107
+ "items": {
108
+ "type": "string"
109
+ },
110
+ "markdownDescription": "Optional list of JVM properties to pass along to the Bloop server. Each property needs to be a separate item.\n\nExample: `-Xmx1G` or `-Xms100M`"
111
+ },
96
112
  "metals.bloopSbtAlreadyInstalled": {
97
113
  "type": "boolean",
98
114
  "markdownDescription": "If true, Metals will not generate a `project/metals.sbt` file under the assumption that sbt-bloop is already manually installed in the sbt build. Build import will fail with a 'not valid command bloopInstall' error in case Bloop is not manually installed in the build when using this option.",
@@ -156,7 +172,8 @@ var scalameta = [
156
172
  "2.12.9",
157
173
  "2.12.8",
158
174
  "2.11.12",
159
- "3.1.2-RC2",
175
+ "3.1.3-RC2",
176
+ "3.1.2",
160
177
  "3.1.1",
161
178
  "3.1.0",
162
179
  "3.0.2",