tm-grammars 1.18.4 → 1.18.6
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/NOTICE +1 -1
- package/README.md +7 -7
- package/grammars/angular-ts.json +24 -15
- package/grammars/css.json +1 -1
- package/grammars/gdscript.json +1 -1
- package/grammars/javascript.json +24 -15
- package/grammars/jsx.json +24 -15
- package/grammars/tsx.json +24 -15
- package/grammars/typescript.json +24 -15
- package/index.js +35 -35
- package/package.json +1 -1
package/NOTICE
CHANGED
|
@@ -5012,7 +5012,7 @@ SPDX: MIT
|
|
|
5012
5012
|
---------------------------------------------------------------------------------------------------------
|
|
5013
5013
|
(The MIT License)
|
|
5014
5014
|
|
|
5015
|
-
Copyright (c)
|
|
5015
|
+
Copyright (c) Titus Wormer <tituswormer@gmail.com>
|
|
5016
5016
|
|
|
5017
5017
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
5018
5018
|
a copy of this software and associated documentation files (the
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ import { grammars } from 'tm-grammars'
|
|
|
24
24
|
| `actionscript-3` | | [BowlerHatLLC/vscode-as3mxml](https://github.com/BowlerHatLLC/vscode-as3mxml/blob/77075cd9a439ecd87815cecb1f1c2bb1ff44a2e5/distribution/src/assembly/syntaxes/AS3.tmLanguage) | [Apache-2.0](https://raw.githubusercontent.com/BowlerHatLLC/vscode-as3mxml/main/LICENSE) | | 13.64 kB |
|
|
25
25
|
| `ada` | | [AdaCore/ada_language_server](https://github.com/AdaCore/ada_language_server/blob/75c0d0c22b3f3dbf559946331c7aca6fc5b84065/integration/vscode/ada/advanced/ada.tmLanguage.json) | [GPL-3.0](https://raw.githubusercontent.com/AdaCore/ada_language_server/master/LICENSE) | | 45.71 kB |
|
|
26
26
|
| `angular-html` | | [onivim/vscode-exthost](https://github.com/onivim/vscode-exthost/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/onivim/vscode-exthost/master/LICENSE.txt) | `html` `angular-expression` `angular-let-declaration` `angular-template` `angular-template-blocks` | 772.00 B |
|
|
27
|
-
| `angular-ts` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
27
|
+
| `angular-ts` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `angular-expression` `angular-inline-style` `angular-inline-template` `angular-let-declaration` `angular-template` `angular-template-blocks` | 165.40 kB |
|
|
28
28
|
| `apache` | | [colinta/ApacheConf.tmLanguage](https://github.com/colinta/ApacheConf.tmLanguage/blob/1fdb47b6fe2cea20cfedbc522bff3ff1ed656c07/ApacheConf.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/colinta/ApacheConf.tmLanguage/main/LICENSE) | | 12.57 kB |
|
|
29
29
|
| `apex` | | [forcedotcom/apex-tmLanguage](https://github.com/forcedotcom/apex-tmLanguage/blob/1d3c7097c8e50b4f4163c9e27b450fcd45f40a5e/grammars/apex.tmLanguage) | [NOASSERTION](https://raw.githubusercontent.com/forcedotcom/apex-tmLanguage/main/LICENSE) | | 43.78 kB |
|
|
30
30
|
| `apl` | | [kimmolinna/vscode-apl-language](https://github.com/kimmolinna/vscode-apl-language/blob/13541242d9ffae225e89ebba23f9abaa4c60697e/syntaxes/apl.tmLanguage.json) | | `html` `xml` `css` `javascript` `json` | 22.84 kB |
|
|
@@ -55,7 +55,7 @@ import { grammars } from 'tm-grammars'
|
|
|
55
55
|
| `cpp` | `c++` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/6ac83c7c7dda9f27ca1fe9d98675253e010b75d1/extensions/cpp/syntaxes/cpp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp-macro` `regexp` `glsl` `sql` | 408.62 kB |
|
|
56
56
|
| `crystal` | | [crystal-lang-tools/vscode-crystal-lang](https://github.com/crystal-lang-tools/vscode-crystal-lang/blob/c920b0931ec5f05b78447dbff31b172c64f1d734/syntaxes/crystal.json) | [MIT](https://raw.githubusercontent.com/crystal-lang-tools/vscode-crystal-lang/master/LICENSE) | `html` `sql` `css` `c` `javascript` `shellscript` | 31.42 kB |
|
|
57
57
|
| `csharp` | `c#` `cs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/csharp/syntaxes/csharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 80.91 kB |
|
|
58
|
-
| `css` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
58
|
+
| `css` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/css/syntaxes/css.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 47.17 kB |
|
|
59
59
|
| `csv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/3bdafafa12940a75166089b64bdd80b1d3b071db/syntaxes/csv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | 1.07 kB |
|
|
60
60
|
| `cue` | | [cue-sh/vscode-cue](https://github.com/cue-sh/vscode-cue/blob/0734615a2607fe03f5d6c1816f8f7435179659fc/syntaxes/cue.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/cue-lang/vscode-cue/master/LICENSE) | | 15.61 kB |
|
|
61
61
|
| `cypher` | `cql` | [adam-cowley/neo4j-vscode](https://github.com/adam-cowley/neo4j-vscode/blob/ad90d275ac76c740018e78f78722343f730270e0/cypher/cypher.tmLanguage) | [MIT](https://raw.githubusercontent.com/adam-cowley/neo4j-vscode/main/LICENSE) | | 6.34 kB |
|
|
@@ -80,7 +80,7 @@ import { grammars } from 'tm-grammars'
|
|
|
80
80
|
| `fortran-free-form` | `f90` `f95` `f03` `f08` `f18` | [fortran-lang/vscode-fortran-support](https://github.com/fortran-lang/vscode-fortran-support/blob/f7fb41579770a0d8c75b9f295d167b31147b4f33/syntaxes/fortran_free-form.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fortran-lang/vscode-fortran-support/main/LICENSE) | | 92.70 kB |
|
|
81
81
|
| `fsharp` | `f#` `fs` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/e67b1982e1ab318288b8196ad503273dcb168049/extensions/fsharp/syntaxes/fsharp.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `markdown` | 23.97 kB |
|
|
82
82
|
| `gdresource` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | `gdshader` `gdscript` | 4.87 kB |
|
|
83
|
-
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/
|
|
83
|
+
| `gdscript` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/c33982d38e6a1aa454ff5a25019d73ab11e9ccb0/syntaxes/GDScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 17.79 kB |
|
|
84
84
|
| `gdshader` | | [godotengine/godot-vscode-plugin](https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDShader.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE) | | 5.94 kB |
|
|
85
85
|
| `genie` | | [vala-lang/vala-vscode](https://github.com/vala-lang/vala-vscode/blob/8f825e95648326df2572d0522632251cdff4a43b/syntaxes/genie.YAML-tmLanguage) | [MIT](https://raw.githubusercontent.com/vala-lang/vala-vscode/master/LICENSE) | | 3.11 kB |
|
|
86
86
|
| `gherkin` | | [alexkrechik/VSCucumberAutoComplete](https://github.com/alexkrechik/VSCucumberAutoComplete/blob/fbb554addf81e8961b58b1577924af10fecf9694/syntaxes/feature.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/alexkrechik/VSCucumberAutoComplete/master/LICENSE) | | 12.13 kB |
|
|
@@ -110,7 +110,7 @@ import { grammars } from 'tm-grammars'
|
|
|
110
110
|
| `imba` | | [imba/imba](https://github.com/imba/imba/blob/980c223d8da94939499ad8a92c4e31a6edd4fd54/packages/vscode-imba/syntaxes/imba.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/imba/imba/master/LICENSE) | `typescript` | 47.76 kB |
|
|
111
111
|
| `ini` | `properties` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/8fdf170a0850c1cc027382f31650aaf300d3ae2a/extensions/ini/syntaxes/ini.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 1.38 kB |
|
|
112
112
|
| `java` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/3c86ede5f554f6e196c832394e126b291a1de606/extensions/java/syntaxes/java.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 25.84 kB |
|
|
113
|
-
| `javascript` | `js` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
113
|
+
| `javascript` | `js` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/javascript/syntaxes/JavaScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 160.13 kB |
|
|
114
114
|
| `jinja` | | [samuelcolvin/jinjahtml-vscode](https://github.com/samuelcolvin/jinjahtml-vscode/blob/be729c88f723602e7b5df2e9dc5e8c016c31c38f/syntaxes/jinja.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/samuelcolvin/jinjahtml-vscode/main/LICENSE) | `jinja-html` | 4.63 kB |
|
|
115
115
|
| `jison` | | [cdibbs/language-jison](https://github.com/cdibbs/language-jison/blob/9d4cb4b044832320a51fabb6e533fc299425f552/grammars/jison.cson) | [MIT](https://raw.githubusercontent.com/cdibbs/language-jison/master/LICENSE.md) | `javascript` | 9.13 kB |
|
|
116
116
|
| `json` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/d6af4893ed9a3545163a4cb748fa5548bd1e51a5/extensions/json/syntaxes/JSON.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 2.72 kB |
|
|
@@ -119,7 +119,7 @@ import { grammars } from 'tm-grammars'
|
|
|
119
119
|
| `jsonl` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/0adddd82816db666c52038e8277312dc55da2756/extensions/json/syntaxes/JSONL.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 2.90 kB |
|
|
120
120
|
| `jsonnet` | | [heptio/vscode-jsonnet](https://github.com/heptio/vscode-jsonnet/blob/39088f9cde9f483c8e0efeb67a3fd561cd873aad/syntaxes/jsonnet.tmLanguage.json) | [Apache-2.0](https://raw.githubusercontent.com/heptio/vscode-jsonnet/master/LICENSE) | | 3.32 kB |
|
|
121
121
|
| `jssm` | `fsl` | [StoneCypher/sublime-jssm](https://github.com/StoneCypher/sublime-jssm/blob/2be02a59d284229bbbfb3dc6c2bdcec9b2c263ef/jssm.tmLanguage) | [MIT](https://raw.githubusercontent.com/StoneCypher/sublime-jssm/master/LICENSE) | | 2.79 kB |
|
|
122
|
-
| `jsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
122
|
+
| `jsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 163.05 kB |
|
|
123
123
|
| `julia` | `jl` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/9473445f7d3dcb5c579f42ece8b6c18c43c63ed3/extensions/julia/syntaxes/julia.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | `cpp` `python` `javascript` `r` `sql` | 32.62 kB |
|
|
124
124
|
| `kotlin` | `kt` `kts` | [fwcd/vscode-kotlin](https://github.com/fwcd/vscode-kotlin/blob/626e20d5c51a4379c4c0ee293aa89e58b5232aec/syntaxes/kotlin.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/fwcd/vscode-kotlin/main/LICENSE) | | 8.21 kB |
|
|
125
125
|
| `kusto` | `kql` | [rosshamish/kuskus](https://github.com/rosshamish/kuskus/blob/6e6deead4af243432902869e1767df8a612cffe1/kusto-syntax-highlighting/syntaxes/kusto.tmLanguage.json) | | | 19.60 kB |
|
|
@@ -208,10 +208,10 @@ import { grammars } from 'tm-grammars'
|
|
|
208
208
|
| `toml` | | [textmate/toml.tmbundle](https://github.com/textmate/toml.tmbundle/blob/e82b64c1e86396220786846201e9aa3f0a2d9ca2/Syntaxes/TOML.tmLanguage) | | | 6.04 kB |
|
|
209
209
|
| `ts-tags` | `lit` | - | | `typescript` `es-tag-css` `es-tag-glsl` `es-tag-html` `es-tag-sql` `es-tag-xml` | 121.00 B |
|
|
210
210
|
| `tsv` | | [mechatroner/vscode_rainbow_csv](https://github.com/mechatroner/vscode_rainbow_csv/blob/00d4c947f1bbe6a4a73599bd97fb31bdfbe262f3/syntaxes/tsv.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/mechatroner/vscode_rainbow_csv/master/LICENSE) | | 633.00 B |
|
|
211
|
-
| `tsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
211
|
+
| `tsx` | | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 160.85 kB |
|
|
212
212
|
| `turtle` | | [stardog-union/stardog-vsc](https://github.com/stardog-union/stardog-vsc/blob/3f1364b08bdbf4b4d77f123682db7d2b708b2f6e/stardog-rdf-grammars/syntaxes/turtle.tmLanguage.json) | | | 3.50 kB |
|
|
213
213
|
| `twig` | | [mblode/vscode-twig-language-2](https://github.com/mblode/vscode-twig-language-2/blob/82ae07ffe96656181ad8265c1fff008c8d1cdbba/src/syntaxes/twig.tmLanguage) | [MIT](https://raw.githubusercontent.com/mblode/vscode-twig-language-2/master/LICENSE.md) | `css` `javascript` `scss` `php` `python` `ruby` | 20.38 kB |
|
|
214
|
-
| `typescript` | `ts` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/
|
|
214
|
+
| `typescript` | `ts` | [microsoft/vscode](https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt) | | 165.39 kB |
|
|
215
215
|
| `typespec` | `tsp` | [microsoft/typespec](https://github.com/microsoft/typespec/blob/675e6d480db6366c312e4279da0e3bca5b1be04f/grammars/typespec.json) | [MIT](https://raw.githubusercontent.com/microsoft/typespec/main/LICENSE) | | 26.18 kB |
|
|
216
216
|
| `typst` | `typ` | [nvarner/typst-lsp](https://github.com/nvarner/typst-lsp/blob/6972d4b9c2cbcb0551e203067f09ec84ca8f9df3/editors/vscode/typst.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/nvarner/typst-lsp/master/LICENSE-MIT.txt) | | 7.94 kB |
|
|
217
217
|
| `v` | | [vlang/vscode-vlang](https://github.com/vlang/vscode-vlang/blob/b1f529602bc6536ad8967373302e151e77179598/syntaxes/v.tmLanguage.json) | [MIT](https://raw.githubusercontent.com/vlang/vscode-vlang/master/LICENSE) | | 12.64 kB |
|
package/grammars/angular-ts.json
CHANGED
|
@@ -2214,13 +2214,13 @@
|
|
|
2214
2214
|
]
|
|
2215
2215
|
},
|
|
2216
2216
|
{
|
|
2217
|
-
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
2217
|
+
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
2218
2218
|
"beginCaptures": {
|
|
2219
2219
|
"0": {
|
|
2220
2220
|
"name": "punctuation.definition.string.begin.ts"
|
|
2221
2221
|
}
|
|
2222
2222
|
},
|
|
2223
|
-
"end": "(/)([
|
|
2223
|
+
"end": "(/)([dgimsuvy]*)",
|
|
2224
2224
|
"endCaptures": {
|
|
2225
2225
|
"1": {
|
|
2226
2226
|
"name": "punctuation.definition.string.end.ts"
|
|
@@ -2455,6 +2455,18 @@
|
|
|
2455
2455
|
"1": {
|
|
2456
2456
|
"name": "keyword.control.type.ts"
|
|
2457
2457
|
},
|
|
2458
|
+
"12": {
|
|
2459
|
+
"name": "keyword.control.as.ts"
|
|
2460
|
+
},
|
|
2461
|
+
"13": {
|
|
2462
|
+
"name": "keyword.control.default.ts"
|
|
2463
|
+
},
|
|
2464
|
+
"14": {
|
|
2465
|
+
"name": "variable.other.readwrite.alias.ts"
|
|
2466
|
+
},
|
|
2467
|
+
"15": {
|
|
2468
|
+
"name": "string.quoted.alias.ts"
|
|
2469
|
+
},
|
|
2458
2470
|
"2": {
|
|
2459
2471
|
"name": "keyword.control.default.ts"
|
|
2460
2472
|
},
|
|
@@ -2465,16 +2477,10 @@
|
|
|
2465
2477
|
"name": "variable.other.readwrite.ts"
|
|
2466
2478
|
},
|
|
2467
2479
|
"5": {
|
|
2468
|
-
"name": "
|
|
2469
|
-
},
|
|
2470
|
-
"6": {
|
|
2471
|
-
"name": "keyword.control.default.ts"
|
|
2472
|
-
},
|
|
2473
|
-
"7": {
|
|
2474
|
-
"name": "variable.other.readwrite.alias.ts"
|
|
2480
|
+
"name": "string.quoted.alias.ts"
|
|
2475
2481
|
}
|
|
2476
2482
|
},
|
|
2477
|
-
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*))"
|
|
2483
|
+
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2478
2484
|
},
|
|
2479
2485
|
{
|
|
2480
2486
|
"include": "#punctuation-comma"
|
|
@@ -2494,9 +2500,12 @@
|
|
|
2494
2500
|
},
|
|
2495
2501
|
"2": {
|
|
2496
2502
|
"name": "variable.other.readwrite.alias.ts"
|
|
2503
|
+
},
|
|
2504
|
+
"3": {
|
|
2505
|
+
"name": "string.quoted.alias.ts"
|
|
2497
2506
|
}
|
|
2498
2507
|
},
|
|
2499
|
-
"match": "(?:(\\btype)\\s+)?([_$A-Za-z][_$0-9A-Za-z]*)"
|
|
2508
|
+
"match": "(?:(\\btype)\\s+)?(?:([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2500
2509
|
}
|
|
2501
2510
|
]
|
|
2502
2511
|
},
|
|
@@ -3918,13 +3927,13 @@
|
|
|
3918
3927
|
"regex": {
|
|
3919
3928
|
"patterns": [
|
|
3920
3929
|
{
|
|
3921
|
-
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([
|
|
3930
|
+
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
3922
3931
|
"beginCaptures": {
|
|
3923
3932
|
"1": {
|
|
3924
3933
|
"name": "punctuation.definition.string.begin.ts"
|
|
3925
3934
|
}
|
|
3926
3935
|
},
|
|
3927
|
-
"end": "(/)([
|
|
3936
|
+
"end": "(/)([dgimsuvy]*)",
|
|
3928
3937
|
"endCaptures": {
|
|
3929
3938
|
"1": {
|
|
3930
3939
|
"name": "punctuation.definition.string.end.ts"
|
|
@@ -3941,13 +3950,13 @@
|
|
|
3941
3950
|
]
|
|
3942
3951
|
},
|
|
3943
3952
|
{
|
|
3944
|
-
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
3953
|
+
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
3945
3954
|
"beginCaptures": {
|
|
3946
3955
|
"0": {
|
|
3947
3956
|
"name": "punctuation.definition.string.begin.ts"
|
|
3948
3957
|
}
|
|
3949
3958
|
},
|
|
3950
|
-
"end": "(/)([
|
|
3959
|
+
"end": "(/)([dgimsuvy]*)",
|
|
3951
3960
|
"endCaptures": {
|
|
3952
3961
|
"1": {
|
|
3953
3962
|
"name": "punctuation.definition.string.end.ts"
|
package/grammars/css.json
CHANGED
|
@@ -1415,7 +1415,7 @@
|
|
|
1415
1415
|
"property-names": {
|
|
1416
1416
|
"patterns": [
|
|
1417
1417
|
{
|
|
1418
|
-
"match": "(?i)(?<![\\w-])(?:accent-color|additive-symbols|align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backdrop-filter|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-position-[xy]|background-repeat|background-size|bleed|block-size|border|border-block-end|border-block-end-color|border-block-end-style|border-block-end-width|border-block-start|border-block-start-color|border-block-start-style|border-block-start-width|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-end-end-radius|border-end-start-radius|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-inline-end|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-start|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-start-end-radius|border-start-start-radius|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-decoration-break|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side|caret-color|clear|clip|clip-path|clip-rule|color|color-adjust|color-interpolation-filters|color-scheme|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|contain|container|container-name|container-type|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|enable-background|fallback|fill|fill-opacity|fill-rule|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|flood-color|flood-opacity|font|font-display|font-family|font-feature-settings|font-kerning|font-language-override|font-optical-sizing|font-size|font-size-adjust|font-stretch|font-style|font-synthesis|font-variant|font-variant-alternates|font-variant-caps|font-variant-east-asian|font-variant-ligatures|font-variant-numeric|font-variant-position|font-variation-settings|font-weight|gap|glyph-orientation-horizontal|glyph-orientation-vertical|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-gap|grid-column-start|grid-gap|grid-row|grid-row-end|grid-row-gap|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|hanging-punctuation|height|hyphens|image-orientation|image-rendering|image-resolution|ime-mode|initial-letter|initial-letter-align|inline-size|inset|inset-block|inset-block-end|inset-block-start|inset-inline|inset-inline-end|inset-inline-start|isolation|justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-break|line-clamp|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-block|margin-block-end|margin-block-start|margin-bottom|margin-inline|margin-inline-end|margin-inline-start|margin-left|margin-right|margin-top|marker-end|marker-mid|marker-start|marks|mask|mask-border|mask-border-mode|mask-border-outset|mask-border-repeat|mask-border-slice|mask-border-source|mask-border-width|mask-clip|mask-composite|mask-image|mask-mode|mask-origin|mask-position|mask-repeat|mask-size|mask-type|max-block-size|max-height|max-inline-size|max-lines|max-width|max-zoom|min-block-size|min-height|min-inline-size|min-width|min-zoom|mix-blend-mode|negative|object-fit|object-position|offset|offset-anchor|offset-distance|offset-path|offset-position|offset-rotation|opacity|order|orientation|orphans|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-anchor|overflow-block|overflow-inline|overflow-wrap|overflow-[xy]|overscroll-behavior|overscroll-behavior-block|overscroll-behavior-inline|overscroll-behavior-[xy]|pad|padding|padding-block|padding-block-end|padding-block-start|padding-bottom|padding-inline|padding-inline-end|padding-inline-start|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|paint-order|perspective|perspective-origin|place-content|place-items|place-self|pointer-events|position|prefix|quotes|range|resize|right|rotate|row-gap|ruby-align|ruby-merge|ruby-position|scale|scroll-behavior|scroll-margin|scroll-margin-block|scroll-margin-block-end|scroll-margin-block-start|scroll-margin-bottom|scroll-margin-inline|scroll-margin-inline-end|scroll-margin-inline-start|scroll-margin-left|scroll-margin-right|scroll-margin-top|scroll-padding|scroll-padding-block|scroll-padding-block-end|scroll-padding-block-start|scroll-padding-bottom|scroll-padding-inline|scroll-padding-inline-end|scroll-padding-inline-start|scroll-padding-left|scroll-padding-right|scroll-padding-top|scroll-snap-align|scroll-snap-coordinate|scroll-snap-destination|scroll-snap-stop|scroll-snap-type|scrollbar-color|scrollbar-gutter|scrollbar-width|shape-image-threshold|shape-margin|shape-outside|shape-rendering|size|speak-as|src|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|suffix|symbols|system|tab-size|table-layout|text-align|text-align-last|text-anchor|text-combine-upright|text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style|text-decoration-thickness|text-emphasis|text-emphasis-color|text-emphasis-position|text-emphasis-style|text-indent|text-justify|text-orientation|text-overflow|text-rendering|text-shadow|text-size-adjust|text-transform|text-underline-offset|text-underline-position|top|touch-action|transform|transform-box|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|translate|unicode-bidi|unicode-range|user-select|user-zoom|vertical-align|visibility|white-space|widows|width|will-change|word-break|word-spacing|word-wrap|writing-mode|z-index|zoom|alignment-baseline|baseline-shift|clip-rule|color-interpolation|color-interpolation-filters|color-profile|color-rendering|cx|cy|dominant-baseline|enable-background|fill|fill-opacity|fill-rule|flood-color|flood-opacity|glyph-orientation-horizontal|glyph-orientation-vertical|height|kerning|lighting-color|marker-end|marker-mid|marker-start|r|rx|ry|shape-rendering|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|text-anchor|width|x|y|adjust|after|align|align-last|alignment|alignment-adjust|appearance|attachment|azimuth|background-break|balance|baseline|before|bidi|binding|bookmark|bookmark-label|bookmark-level|bookmark-target|border-length|bottom-color|bottom-left-radius|bottom-right-radius|bottom-style|bottom-width|box|box-align|box-direction|box-flex|box-flex-group|box-lines|box-ordinal-group|box-orient|box-pack|break|character|collapse|column|column-break-after|column-break-before|count|counter|crop|cue|cue-after|cue-before|decoration|decoration-break|delay|display-model|display-role|down|drop|drop-initial-after-adjust|drop-initial-after-align|drop-initial-before-adjust|drop-initial-before-align|drop-initial-size|drop-initial-value|duration|elevation|emphasis|family|fit|fit-position|flex-group|float-offset|gap|grid-columns|grid-rows|hanging-punctuation|header|hyphenate|hyphenate-after|hyphenate-before|hyphenate-character|hyphenate-lines|hyphenate-resource|icon|image|increment|indent|index|initial-after-adjust|initial-after-align|initial-before-adjust|initial-before-align|initial-size|initial-value|inline-box-align|iteration-count|justify|label|left-color|left-style|left-width|length|level|line|line-stacking|line-stacking-ruby|line-stacking-shift|line-stacking-strategy|lines|list|mark|mark-after|mark-before|marks|marquee|marquee-direction|marquee-play-count|marquee-speed|marquee-style|max|min|model|move-to|name|nav|nav-down|nav-index|nav-left|nav-right|nav-up|new|numeral|offset|ordinal-group|orient|origin|overflow-style|overhang|pack|page|page-policy|pause|pause-after|pause-before|phonemes|pitch|pitch-range|play-count|play-during|play-state|point|presentation|presentation-level|profile|property|punctuation|punctuation-trim|radius|rate|rendering-intent|repeat|replace|reset|resolution|resource|respond-to|rest|rest-after|rest-before|richness|right-color|right-style|right-width|role|rotation|rotation-point|rows|ruby|ruby-overhang|ruby-span|rule|rule-color|rule-style|rule-width|shadow|size|size-adjust|sizing|space|space-collapse|spacing|span|speak|speak-header|speak-numeral|speak-punctuation|speech|speech-rate|speed|stacking|stacking-ruby|stacking-shift|stacking-strategy|stress|stretch|string-set|style|style-image|style-position|style-type|target|target-name|target-new|target-position|text|text-height|text-justify|text-outline|text-replace|text-wrap|timing-function|top-color|top-left-radius|top-right-radius|top-style|top-width|trim|unicode|up|user-select|variant|voice|voice-balance|voice-duration|voice-family|voice-pitch|voice-pitch-range|voice-rate|voice-stress|voice-volume|volume|weight|white|white-space-collapse|word|wrap)(?![\\w-])",
|
|
1418
|
+
"match": "(?i)(?<![\\w-])(?:accent-color|additive-symbols|align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|aspect-ratio|backdrop-filter|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-position-[xy]|background-repeat|background-size|bleed|block-size|border|border-block-end|border-block-end-color|border-block-end-style|border-block-end-width|border-block-start|border-block-start-color|border-block-start-style|border-block-start-width|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-end-end-radius|border-end-start-radius|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-inline-end|border-inline-end-color|border-inline-end-style|border-inline-end-width|border-inline-start|border-inline-start-color|border-inline-start-style|border-inline-start-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-start-end-radius|border-start-start-radius|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-decoration-break|box-shadow|box-sizing|break-after|break-before|break-inside|caption-side|caret-color|clear|clip|clip-path|clip-rule|color|color-adjust|color-interpolation-filters|color-scheme|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|contain|container|container-name|container-type|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|enable-background|fallback|fill|fill-opacity|fill-rule|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|flood-color|flood-opacity|font|font-display|font-family|font-feature-settings|font-kerning|font-language-override|font-optical-sizing|font-size|font-size-adjust|font-stretch|font-style|font-synthesis|font-variant|font-variant-alternates|font-variant-caps|font-variant-east-asian|font-variant-ligatures|font-variant-numeric|font-variant-position|font-variation-settings|font-weight|gap|glyph-orientation-horizontal|glyph-orientation-vertical|grid|grid-area|grid-auto-columns|grid-auto-flow|grid-auto-rows|grid-column|grid-column-end|grid-column-gap|grid-column-start|grid-gap|grid-row|grid-row-end|grid-row-gap|grid-row-start|grid-template|grid-template-areas|grid-template-columns|grid-template-rows|hanging-punctuation|height|hyphens|image-orientation|image-rendering|image-resolution|ime-mode|initial-letter|initial-letter-align|inline-size|inset|inset-block|inset-block-end|inset-block-start|inset-inline|inset-inline-end|inset-inline-start|isolation|justify-content|justify-items|justify-self|kerning|left|letter-spacing|lighting-color|line-break|line-clamp|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-block|margin-block-end|margin-block-start|margin-bottom|margin-inline|margin-inline-end|margin-inline-start|margin-left|margin-right|margin-top|marker-end|marker-mid|marker-start|marks|mask|mask-border|mask-border-mode|mask-border-outset|mask-border-repeat|mask-border-slice|mask-border-source|mask-border-width|mask-clip|mask-composite|mask-image|mask-mode|mask-origin|mask-position|mask-repeat|mask-size|mask-type|max-block-size|max-height|max-inline-size|max-lines|max-width|max-zoom|min-block-size|min-height|min-inline-size|min-width|min-zoom|mix-blend-mode|negative|object-fit|object-position|offset|offset-anchor|offset-distance|offset-path|offset-position|offset-rotation|opacity|order|orientation|orphans|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-anchor|overflow-block|overflow-inline|overflow-wrap|overflow-[xy]|overscroll-behavior|overscroll-behavior-block|overscroll-behavior-inline|overscroll-behavior-[xy]|pad|padding|padding-block|padding-block-end|padding-block-start|padding-bottom|padding-inline|padding-inline-end|padding-inline-start|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|paint-order|perspective|perspective-origin|place-content|place-items|place-self|pointer-events|position|prefix|quotes|range|resize|right|rotate|row-gap|ruby-align|ruby-merge|ruby-position|scale|scroll-behavior|scroll-margin|scroll-margin-block|scroll-margin-block-end|scroll-margin-block-start|scroll-margin-bottom|scroll-margin-inline|scroll-margin-inline-end|scroll-margin-inline-start|scroll-margin-left|scroll-margin-right|scroll-margin-top|scroll-padding|scroll-padding-block|scroll-padding-block-end|scroll-padding-block-start|scroll-padding-bottom|scroll-padding-inline|scroll-padding-inline-end|scroll-padding-inline-start|scroll-padding-left|scroll-padding-right|scroll-padding-top|scroll-snap-align|scroll-snap-coordinate|scroll-snap-destination|scroll-snap-stop|scroll-snap-type|scrollbar-color|scrollbar-gutter|scrollbar-width|shape-image-threshold|shape-margin|shape-outside|shape-rendering|size|speak-as|src|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|suffix|symbols|system|tab-size|table-layout|text-align|text-align-last|text-anchor|text-combine-upright|text-decoration|text-decoration-color|text-decoration-line|text-decoration-skip|text-decoration-skip-ink|text-decoration-style|text-decoration-thickness|text-emphasis|text-emphasis-color|text-emphasis-position|text-emphasis-style|text-indent|text-justify|text-orientation|text-overflow|text-rendering|text-shadow|text-size-adjust|text-transform|text-underline-offset|text-underline-position|top|touch-action|transform|transform-box|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|translate|unicode-bidi|unicode-range|user-select|user-zoom|vertical-align|visibility|white-space|widows|width|will-change|word-break|word-spacing|word-wrap|writing-mode|z-index|zoom|alignment-baseline|baseline-shift|clip-rule|color-interpolation|color-interpolation-filters|color-profile|color-rendering|cx|cy|dominant-baseline|enable-background|fill|fill-opacity|fill-rule|flood-color|flood-opacity|glyph-orientation-horizontal|glyph-orientation-vertical|height|kerning|lighting-color|marker-end|marker-mid|marker-start|r|rx|ry|shape-rendering|stop-color|stop-opacity|stroke|stroke-dasharray|stroke-dashoffset|stroke-linecap|stroke-linejoin|stroke-miterlimit|stroke-opacity|stroke-width|text-anchor|width|x|y|adjust|after|align|align-last|alignment|alignment-adjust|appearance|attachment|azimuth|background-break|balance|baseline|before|bidi|binding|bookmark|bookmark-label|bookmark-level|bookmark-target|border-length|bottom-color|bottom-left-radius|bottom-right-radius|bottom-style|bottom-width|box|box-align|box-direction|box-flex|box-flex-group|box-lines|box-ordinal-group|box-orient|box-pack|break|character|collapse|column|column-break-after|column-break-before|count|counter|crop|cue|cue-after|cue-before|decoration|decoration-break|delay|display-model|display-role|down|drop|drop-initial-after-adjust|drop-initial-after-align|drop-initial-before-adjust|drop-initial-before-align|drop-initial-size|drop-initial-value|duration|elevation|emphasis|family|fit|fit-position|flex-group|float-offset|gap|grid-columns|grid-rows|hanging-punctuation|header|hyphenate|hyphenate-after|hyphenate-before|hyphenate-character|hyphenate-lines|hyphenate-resource|icon|image|increment|indent|index|initial-after-adjust|initial-after-align|initial-before-adjust|initial-before-align|initial-size|initial-value|inline-box-align|iteration-count|justify|label|left-color|left-style|left-width|length|level|line|line-stacking|line-stacking-ruby|line-stacking-shift|line-stacking-strategy|lines|list|mark|mark-after|mark-before|marks|marquee|marquee-direction|marquee-play-count|marquee-speed|marquee-style|max|min|model|move-to|name|nav|nav-down|nav-index|nav-left|nav-right|nav-up|new|numeral|offset|ordinal-group|orient|origin|overflow-style|overhang|pack|page|page-policy|pause|pause-after|pause-before|phonemes|pitch|pitch-range|play-count|play-during|play-state|point|presentation|presentation-level|profile|property|punctuation|punctuation-trim|radius|rate|rendering-intent|repeat|replace|reset|resolution|resource|respond-to|rest|rest-after|rest-before|richness|right-color|right-style|right-width|role|rotation|rotation-point|rows|ruby|ruby-overhang|ruby-span|rule|rule-color|rule-style|rule-width|shadow|size|size-adjust|sizing|space|space-collapse|spacing|span|speak|speak-header|speak-numeral|speak-punctuation|speech|speech-rate|speed|stacking|stacking-ruby|stacking-shift|stacking-strategy|stress|stretch|string-set|style|style-image|style-position|style-type|target|target-name|target-new|target-position|text|text-height|text-justify|text-outline|text-replace|text-wrap|timing-function|top-color|top-left-radius|top-right-radius|top-style|top-width|trim|unicode|up|user-select|variant|voice|voice-balance|voice-duration|voice-family|voice-pitch|voice-pitch-range|voice-rate|voice-stress|voice-volume|volume|weight|white|white-space-collapse|word|wrap)(?![\\w-])",
|
|
1419
1419
|
"name": "support.type.property-name.css"
|
|
1420
1420
|
},
|
|
1421
1421
|
{
|
package/grammars/gdscript.json
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
"name": "keyword.operator.boolean.gdscript"
|
|
187
187
|
},
|
|
188
188
|
"builtin_classes": {
|
|
189
|
-
"match": "(?<![^.]\\.|:)\\b(
|
|
189
|
+
"match": "(?<![^.]\\.|:)\\b(Vector2|Vector2i|Vector3|Vector3i|Vector4|Vector4i|Color|Rect2|Rect2i|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|Transform3D|AABB|String|Color|NodePath|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray|bool|int|float|Signal|Callable|StringName|Quaternion|Projection|PackedByteArray|PackedInt32Array|PackedInt64Array|PackedFloat32Array|PackedFloat64Array|PackedStringArray|PackedVector2Array|PackedVector2iArray|PackedVector3Array|PackedVector3iArray|PackedVector4Array|PackedColorArray|super)\\b",
|
|
190
190
|
"name": "entity.name.type.class.builtin.gdscript"
|
|
191
191
|
},
|
|
192
192
|
"builtin_get_node_shorthand": {
|
package/grammars/javascript.json
CHANGED
|
@@ -2165,13 +2165,13 @@
|
|
|
2165
2165
|
]
|
|
2166
2166
|
},
|
|
2167
2167
|
{
|
|
2168
|
-
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
2168
|
+
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
2169
2169
|
"beginCaptures": {
|
|
2170
2170
|
"0": {
|
|
2171
2171
|
"name": "punctuation.definition.string.begin.js"
|
|
2172
2172
|
}
|
|
2173
2173
|
},
|
|
2174
|
-
"end": "(/)([
|
|
2174
|
+
"end": "(/)([dgimsuvy]*)",
|
|
2175
2175
|
"endCaptures": {
|
|
2176
2176
|
"1": {
|
|
2177
2177
|
"name": "punctuation.definition.string.end.js"
|
|
@@ -2406,6 +2406,18 @@
|
|
|
2406
2406
|
"1": {
|
|
2407
2407
|
"name": "keyword.control.type.js"
|
|
2408
2408
|
},
|
|
2409
|
+
"12": {
|
|
2410
|
+
"name": "keyword.control.as.js"
|
|
2411
|
+
},
|
|
2412
|
+
"13": {
|
|
2413
|
+
"name": "keyword.control.default.js"
|
|
2414
|
+
},
|
|
2415
|
+
"14": {
|
|
2416
|
+
"name": "variable.other.readwrite.alias.js"
|
|
2417
|
+
},
|
|
2418
|
+
"15": {
|
|
2419
|
+
"name": "string.quoted.alias.js"
|
|
2420
|
+
},
|
|
2409
2421
|
"2": {
|
|
2410
2422
|
"name": "keyword.control.default.js"
|
|
2411
2423
|
},
|
|
@@ -2416,16 +2428,10 @@
|
|
|
2416
2428
|
"name": "variable.other.readwrite.js"
|
|
2417
2429
|
},
|
|
2418
2430
|
"5": {
|
|
2419
|
-
"name": "
|
|
2420
|
-
},
|
|
2421
|
-
"6": {
|
|
2422
|
-
"name": "keyword.control.default.js"
|
|
2423
|
-
},
|
|
2424
|
-
"7": {
|
|
2425
|
-
"name": "variable.other.readwrite.alias.js"
|
|
2431
|
+
"name": "string.quoted.alias.js"
|
|
2426
2432
|
}
|
|
2427
2433
|
},
|
|
2428
|
-
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*))"
|
|
2434
|
+
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2429
2435
|
},
|
|
2430
2436
|
{
|
|
2431
2437
|
"include": "#punctuation-comma"
|
|
@@ -2445,9 +2451,12 @@
|
|
|
2445
2451
|
},
|
|
2446
2452
|
"2": {
|
|
2447
2453
|
"name": "variable.other.readwrite.alias.js"
|
|
2454
|
+
},
|
|
2455
|
+
"3": {
|
|
2456
|
+
"name": "string.quoted.alias.js"
|
|
2448
2457
|
}
|
|
2449
2458
|
},
|
|
2450
|
-
"match": "(?:(\\btype)\\s+)?([_$A-Za-z][_$0-9A-Za-z]*)"
|
|
2459
|
+
"match": "(?:(\\btype)\\s+)?(?:([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2451
2460
|
}
|
|
2452
2461
|
]
|
|
2453
2462
|
},
|
|
@@ -4167,13 +4176,13 @@
|
|
|
4167
4176
|
"regex": {
|
|
4168
4177
|
"patterns": [
|
|
4169
4178
|
{
|
|
4170
|
-
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([
|
|
4179
|
+
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
4171
4180
|
"beginCaptures": {
|
|
4172
4181
|
"1": {
|
|
4173
4182
|
"name": "punctuation.definition.string.begin.js"
|
|
4174
4183
|
}
|
|
4175
4184
|
},
|
|
4176
|
-
"end": "(/)([
|
|
4185
|
+
"end": "(/)([dgimsuvy]*)",
|
|
4177
4186
|
"endCaptures": {
|
|
4178
4187
|
"1": {
|
|
4179
4188
|
"name": "punctuation.definition.string.end.js"
|
|
@@ -4190,13 +4199,13 @@
|
|
|
4190
4199
|
]
|
|
4191
4200
|
},
|
|
4192
4201
|
{
|
|
4193
|
-
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
4202
|
+
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
4194
4203
|
"beginCaptures": {
|
|
4195
4204
|
"0": {
|
|
4196
4205
|
"name": "punctuation.definition.string.begin.js"
|
|
4197
4206
|
}
|
|
4198
4207
|
},
|
|
4199
|
-
"end": "(/)([
|
|
4208
|
+
"end": "(/)([dgimsuvy]*)",
|
|
4200
4209
|
"endCaptures": {
|
|
4201
4210
|
"1": {
|
|
4202
4211
|
"name": "punctuation.definition.string.end.js"
|
package/grammars/jsx.json
CHANGED
|
@@ -2165,13 +2165,13 @@
|
|
|
2165
2165
|
]
|
|
2166
2166
|
},
|
|
2167
2167
|
{
|
|
2168
|
-
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
2168
|
+
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
2169
2169
|
"beginCaptures": {
|
|
2170
2170
|
"0": {
|
|
2171
2171
|
"name": "punctuation.definition.string.begin.js.jsx"
|
|
2172
2172
|
}
|
|
2173
2173
|
},
|
|
2174
|
-
"end": "(/)([
|
|
2174
|
+
"end": "(/)([dgimsuvy]*)",
|
|
2175
2175
|
"endCaptures": {
|
|
2176
2176
|
"1": {
|
|
2177
2177
|
"name": "punctuation.definition.string.end.js.jsx"
|
|
@@ -2406,6 +2406,18 @@
|
|
|
2406
2406
|
"1": {
|
|
2407
2407
|
"name": "keyword.control.type.js.jsx"
|
|
2408
2408
|
},
|
|
2409
|
+
"12": {
|
|
2410
|
+
"name": "keyword.control.as.js.jsx"
|
|
2411
|
+
},
|
|
2412
|
+
"13": {
|
|
2413
|
+
"name": "keyword.control.default.js.jsx"
|
|
2414
|
+
},
|
|
2415
|
+
"14": {
|
|
2416
|
+
"name": "variable.other.readwrite.alias.js.jsx"
|
|
2417
|
+
},
|
|
2418
|
+
"15": {
|
|
2419
|
+
"name": "string.quoted.alias.js.jsx"
|
|
2420
|
+
},
|
|
2409
2421
|
"2": {
|
|
2410
2422
|
"name": "keyword.control.default.js.jsx"
|
|
2411
2423
|
},
|
|
@@ -2416,16 +2428,10 @@
|
|
|
2416
2428
|
"name": "variable.other.readwrite.js.jsx"
|
|
2417
2429
|
},
|
|
2418
2430
|
"5": {
|
|
2419
|
-
"name": "
|
|
2420
|
-
},
|
|
2421
|
-
"6": {
|
|
2422
|
-
"name": "keyword.control.default.js.jsx"
|
|
2423
|
-
},
|
|
2424
|
-
"7": {
|
|
2425
|
-
"name": "variable.other.readwrite.alias.js.jsx"
|
|
2431
|
+
"name": "string.quoted.alias.js.jsx"
|
|
2426
2432
|
}
|
|
2427
2433
|
},
|
|
2428
|
-
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*))"
|
|
2434
|
+
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2429
2435
|
},
|
|
2430
2436
|
{
|
|
2431
2437
|
"include": "#punctuation-comma"
|
|
@@ -2445,9 +2451,12 @@
|
|
|
2445
2451
|
},
|
|
2446
2452
|
"2": {
|
|
2447
2453
|
"name": "variable.other.readwrite.alias.js.jsx"
|
|
2454
|
+
},
|
|
2455
|
+
"3": {
|
|
2456
|
+
"name": "string.quoted.alias.js.jsx"
|
|
2448
2457
|
}
|
|
2449
2458
|
},
|
|
2450
|
-
"match": "(?:(\\btype)\\s+)?([_$A-Za-z][_$0-9A-Za-z]*)"
|
|
2459
|
+
"match": "(?:(\\btype)\\s+)?(?:([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2451
2460
|
}
|
|
2452
2461
|
]
|
|
2453
2462
|
},
|
|
@@ -4167,13 +4176,13 @@
|
|
|
4167
4176
|
"regex": {
|
|
4168
4177
|
"patterns": [
|
|
4169
4178
|
{
|
|
4170
|
-
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([
|
|
4179
|
+
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
4171
4180
|
"beginCaptures": {
|
|
4172
4181
|
"1": {
|
|
4173
4182
|
"name": "punctuation.definition.string.begin.js.jsx"
|
|
4174
4183
|
}
|
|
4175
4184
|
},
|
|
4176
|
-
"end": "(/)([
|
|
4185
|
+
"end": "(/)([dgimsuvy]*)",
|
|
4177
4186
|
"endCaptures": {
|
|
4178
4187
|
"1": {
|
|
4179
4188
|
"name": "punctuation.definition.string.end.js.jsx"
|
|
@@ -4190,13 +4199,13 @@
|
|
|
4190
4199
|
]
|
|
4191
4200
|
},
|
|
4192
4201
|
{
|
|
4193
|
-
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
4202
|
+
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
4194
4203
|
"beginCaptures": {
|
|
4195
4204
|
"0": {
|
|
4196
4205
|
"name": "punctuation.definition.string.begin.js.jsx"
|
|
4197
4206
|
}
|
|
4198
4207
|
},
|
|
4199
|
-
"end": "(/)([
|
|
4208
|
+
"end": "(/)([dgimsuvy]*)",
|
|
4200
4209
|
"endCaptures": {
|
|
4201
4210
|
"1": {
|
|
4202
4211
|
"name": "punctuation.definition.string.end.js.jsx"
|
package/grammars/tsx.json
CHANGED
|
@@ -2165,13 +2165,13 @@
|
|
|
2165
2165
|
]
|
|
2166
2166
|
},
|
|
2167
2167
|
{
|
|
2168
|
-
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
2168
|
+
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
2169
2169
|
"beginCaptures": {
|
|
2170
2170
|
"0": {
|
|
2171
2171
|
"name": "punctuation.definition.string.begin.tsx"
|
|
2172
2172
|
}
|
|
2173
2173
|
},
|
|
2174
|
-
"end": "(/)([
|
|
2174
|
+
"end": "(/)([dgimsuvy]*)",
|
|
2175
2175
|
"endCaptures": {
|
|
2176
2176
|
"1": {
|
|
2177
2177
|
"name": "punctuation.definition.string.end.tsx"
|
|
@@ -2406,6 +2406,18 @@
|
|
|
2406
2406
|
"1": {
|
|
2407
2407
|
"name": "keyword.control.type.tsx"
|
|
2408
2408
|
},
|
|
2409
|
+
"12": {
|
|
2410
|
+
"name": "keyword.control.as.tsx"
|
|
2411
|
+
},
|
|
2412
|
+
"13": {
|
|
2413
|
+
"name": "keyword.control.default.tsx"
|
|
2414
|
+
},
|
|
2415
|
+
"14": {
|
|
2416
|
+
"name": "variable.other.readwrite.alias.tsx"
|
|
2417
|
+
},
|
|
2418
|
+
"15": {
|
|
2419
|
+
"name": "string.quoted.alias.tsx"
|
|
2420
|
+
},
|
|
2409
2421
|
"2": {
|
|
2410
2422
|
"name": "keyword.control.default.tsx"
|
|
2411
2423
|
},
|
|
@@ -2416,16 +2428,10 @@
|
|
|
2416
2428
|
"name": "variable.other.readwrite.tsx"
|
|
2417
2429
|
},
|
|
2418
2430
|
"5": {
|
|
2419
|
-
"name": "
|
|
2420
|
-
},
|
|
2421
|
-
"6": {
|
|
2422
|
-
"name": "keyword.control.default.tsx"
|
|
2423
|
-
},
|
|
2424
|
-
"7": {
|
|
2425
|
-
"name": "variable.other.readwrite.alias.tsx"
|
|
2431
|
+
"name": "string.quoted.alias.tsx"
|
|
2426
2432
|
}
|
|
2427
2433
|
},
|
|
2428
|
-
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*))"
|
|
2434
|
+
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2429
2435
|
},
|
|
2430
2436
|
{
|
|
2431
2437
|
"include": "#punctuation-comma"
|
|
@@ -2445,9 +2451,12 @@
|
|
|
2445
2451
|
},
|
|
2446
2452
|
"2": {
|
|
2447
2453
|
"name": "variable.other.readwrite.alias.tsx"
|
|
2454
|
+
},
|
|
2455
|
+
"3": {
|
|
2456
|
+
"name": "string.quoted.alias.tsx"
|
|
2448
2457
|
}
|
|
2449
2458
|
},
|
|
2450
|
-
"match": "(?:(\\btype)\\s+)?([_$A-Za-z][_$0-9A-Za-z]*)"
|
|
2459
|
+
"match": "(?:(\\btype)\\s+)?(?:([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2451
2460
|
}
|
|
2452
2461
|
]
|
|
2453
2462
|
},
|
|
@@ -4167,13 +4176,13 @@
|
|
|
4167
4176
|
"regex": {
|
|
4168
4177
|
"patterns": [
|
|
4169
4178
|
{
|
|
4170
|
-
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([
|
|
4179
|
+
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
4171
4180
|
"beginCaptures": {
|
|
4172
4181
|
"1": {
|
|
4173
4182
|
"name": "punctuation.definition.string.begin.tsx"
|
|
4174
4183
|
}
|
|
4175
4184
|
},
|
|
4176
|
-
"end": "(/)([
|
|
4185
|
+
"end": "(/)([dgimsuvy]*)",
|
|
4177
4186
|
"endCaptures": {
|
|
4178
4187
|
"1": {
|
|
4179
4188
|
"name": "punctuation.definition.string.end.tsx"
|
|
@@ -4190,13 +4199,13 @@
|
|
|
4190
4199
|
]
|
|
4191
4200
|
},
|
|
4192
4201
|
{
|
|
4193
|
-
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
4202
|
+
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
4194
4203
|
"beginCaptures": {
|
|
4195
4204
|
"0": {
|
|
4196
4205
|
"name": "punctuation.definition.string.begin.tsx"
|
|
4197
4206
|
}
|
|
4198
4207
|
},
|
|
4199
|
-
"end": "(/)([
|
|
4208
|
+
"end": "(/)([dgimsuvy]*)",
|
|
4200
4209
|
"endCaptures": {
|
|
4201
4210
|
"1": {
|
|
4202
4211
|
"name": "punctuation.definition.string.end.tsx"
|
package/grammars/typescript.json
CHANGED
|
@@ -2214,13 +2214,13 @@
|
|
|
2214
2214
|
]
|
|
2215
2215
|
},
|
|
2216
2216
|
{
|
|
2217
|
-
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
2217
|
+
"begin": "(?<=\\))\\s*\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
2218
2218
|
"beginCaptures": {
|
|
2219
2219
|
"0": {
|
|
2220
2220
|
"name": "punctuation.definition.string.begin.ts"
|
|
2221
2221
|
}
|
|
2222
2222
|
},
|
|
2223
|
-
"end": "(/)([
|
|
2223
|
+
"end": "(/)([dgimsuvy]*)",
|
|
2224
2224
|
"endCaptures": {
|
|
2225
2225
|
"1": {
|
|
2226
2226
|
"name": "punctuation.definition.string.end.ts"
|
|
@@ -2455,6 +2455,18 @@
|
|
|
2455
2455
|
"1": {
|
|
2456
2456
|
"name": "keyword.control.type.ts"
|
|
2457
2457
|
},
|
|
2458
|
+
"12": {
|
|
2459
|
+
"name": "keyword.control.as.ts"
|
|
2460
|
+
},
|
|
2461
|
+
"13": {
|
|
2462
|
+
"name": "keyword.control.default.ts"
|
|
2463
|
+
},
|
|
2464
|
+
"14": {
|
|
2465
|
+
"name": "variable.other.readwrite.alias.ts"
|
|
2466
|
+
},
|
|
2467
|
+
"15": {
|
|
2468
|
+
"name": "string.quoted.alias.ts"
|
|
2469
|
+
},
|
|
2458
2470
|
"2": {
|
|
2459
2471
|
"name": "keyword.control.default.ts"
|
|
2460
2472
|
},
|
|
@@ -2465,16 +2477,10 @@
|
|
|
2465
2477
|
"name": "variable.other.readwrite.ts"
|
|
2466
2478
|
},
|
|
2467
2479
|
"5": {
|
|
2468
|
-
"name": "
|
|
2469
|
-
},
|
|
2470
|
-
"6": {
|
|
2471
|
-
"name": "keyword.control.default.ts"
|
|
2472
|
-
},
|
|
2473
|
-
"7": {
|
|
2474
|
-
"name": "variable.other.readwrite.alias.ts"
|
|
2480
|
+
"name": "string.quoted.alias.ts"
|
|
2475
2481
|
}
|
|
2476
2482
|
},
|
|
2477
|
-
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*))"
|
|
2483
|
+
"match": "(?<![_$0-9A-Za-z])(?:(?<=\\.\\.\\.)|(?<!\\.))(?:(?:(\\btype)\\s+)?(?:(\\bdefault)|(\\*)|(\\b[_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`))))\\s+(as)\\s+(?:(default(?![_$0-9A-Za-z])(?:(?=\\.\\.\\.)|(?!\\.)))|([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2478
2484
|
},
|
|
2479
2485
|
{
|
|
2480
2486
|
"include": "#punctuation-comma"
|
|
@@ -2494,9 +2500,12 @@
|
|
|
2494
2500
|
},
|
|
2495
2501
|
"2": {
|
|
2496
2502
|
"name": "variable.other.readwrite.alias.ts"
|
|
2503
|
+
},
|
|
2504
|
+
"3": {
|
|
2505
|
+
"name": "string.quoted.alias.ts"
|
|
2497
2506
|
}
|
|
2498
2507
|
},
|
|
2499
|
-
"match": "(?:(\\btype)\\s+)?([_$A-Za-z][_$0-9A-Za-z]*)"
|
|
2508
|
+
"match": "(?:(\\btype)\\s+)?(?:([_$A-Za-z][_$0-9A-Za-z]*)|((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))"
|
|
2500
2509
|
}
|
|
2501
2510
|
]
|
|
2502
2511
|
},
|
|
@@ -3918,13 +3927,13 @@
|
|
|
3918
3927
|
"regex": {
|
|
3919
3928
|
"patterns": [
|
|
3920
3929
|
{
|
|
3921
|
-
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([
|
|
3930
|
+
"begin": "(?<!\\+\\+|--|})(?<=[=(:,\\[?+!]|^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case|=>|&&|\\|\\||\\*\\/)\\s*(\\/)(?![\\/*])(?=(?:[^\\/\\\\\\[()]|\\\\.|\\[([^\\]\\\\]|\\\\.)+\\]|\\(([^)\\\\]|\\\\.)+\\))+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
3922
3931
|
"beginCaptures": {
|
|
3923
3932
|
"1": {
|
|
3924
3933
|
"name": "punctuation.definition.string.begin.ts"
|
|
3925
3934
|
}
|
|
3926
3935
|
},
|
|
3927
|
-
"end": "(/)([
|
|
3936
|
+
"end": "(/)([dgimsuvy]*)",
|
|
3928
3937
|
"endCaptures": {
|
|
3929
3938
|
"1": {
|
|
3930
3939
|
"name": "punctuation.definition.string.end.ts"
|
|
@@ -3941,13 +3950,13 @@
|
|
|
3941
3950
|
]
|
|
3942
3951
|
},
|
|
3943
3952
|
{
|
|
3944
|
-
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([
|
|
3953
|
+
"begin": "((?<![_$0-9A-Za-z)\\]]|\\+\\+|--|}|\\*\\/)|((?<=^return|[^\\._$0-9A-Za-z]return|^case|[^\\._$0-9A-Za-z]case))\\s*)\\/(?![\\/*])(?=(?:[^\\/\\\\\\[]|\\\\.|\\[([^\\]\\\\]|\\\\.)*\\])+\\/([dgimsuvy]+|(?![\\/\\*])|(?=\\/\\*))(?!\\s*[a-zA-Z0-9_$]))",
|
|
3945
3954
|
"beginCaptures": {
|
|
3946
3955
|
"0": {
|
|
3947
3956
|
"name": "punctuation.definition.string.begin.ts"
|
|
3948
3957
|
}
|
|
3949
3958
|
},
|
|
3950
|
-
"end": "(/)([
|
|
3959
|
+
"end": "(/)([dgimsuvy]*)",
|
|
3951
3960
|
"endCaptures": {
|
|
3952
3961
|
"1": {
|
|
3953
3962
|
"name": "punctuation.definition.string.end.ts"
|
package/index.js
CHANGED
|
@@ -64,7 +64,7 @@ export const grammars = [
|
|
|
64
64
|
source: 'https://github.com/onivim/vscode-exthost/blob/cfc2a2212de9ea10943af58ebd1817a5ad196463/extensions/html/syntaxes/html-derivative.tmLanguage.json',
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
|
-
byteSize:
|
|
67
|
+
byteSize: 169373,
|
|
68
68
|
categories: [
|
|
69
69
|
'web',
|
|
70
70
|
],
|
|
@@ -77,14 +77,14 @@ export const grammars = [
|
|
|
77
77
|
'angular-template',
|
|
78
78
|
'angular-template-blocks',
|
|
79
79
|
],
|
|
80
|
-
hash: '
|
|
81
|
-
lastUpdate: '2024-
|
|
80
|
+
hash: 'ccnxPIUvBq',
|
|
81
|
+
lastUpdate: '2024-10-25T09:35:17Z',
|
|
82
82
|
license: 'MIT',
|
|
83
83
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
84
84
|
name: 'angular-ts',
|
|
85
85
|
scopeName: 'source.ts.ng',
|
|
86
|
-
sha: '
|
|
87
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
86
|
+
sha: '210541906e5a96ab39f9c753f921b1bd35f4138b',
|
|
87
|
+
source: 'https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json',
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
byteSize: 12867,
|
|
@@ -615,19 +615,19 @@ export const grammars = [
|
|
|
615
615
|
source: 'https://github.com/microsoft/vscode/blob/ed4e6eda599f37bac9a11952403a6e63fd4f5a4d/extensions/csharp/syntaxes/csharp.tmLanguage.json',
|
|
616
616
|
},
|
|
617
617
|
{
|
|
618
|
-
byteSize:
|
|
618
|
+
byteSize: 48299,
|
|
619
619
|
categories: [
|
|
620
620
|
'web',
|
|
621
621
|
],
|
|
622
622
|
displayName: 'CSS',
|
|
623
|
-
hash: '
|
|
624
|
-
lastUpdate: '
|
|
623
|
+
hash: 'riiTfuX26y',
|
|
624
|
+
lastUpdate: '2024-10-25T09:35:17Z',
|
|
625
625
|
license: 'MIT',
|
|
626
626
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
627
627
|
name: 'css',
|
|
628
628
|
scopeName: 'source.css',
|
|
629
|
-
sha: '
|
|
630
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
629
|
+
sha: '210541906e5a96ab39f9c753f921b1bd35f4138b',
|
|
630
|
+
source: 'https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/css/syntaxes/css.tmLanguage.json',
|
|
631
631
|
},
|
|
632
632
|
{
|
|
633
633
|
byteSize: 1097,
|
|
@@ -995,16 +995,16 @@ export const grammars = [
|
|
|
995
995
|
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/e7e2d0439dea0fb3a568378554c81e0a17348a84/syntaxes/GDResource.tmLanguage.json',
|
|
996
996
|
},
|
|
997
997
|
{
|
|
998
|
-
byteSize:
|
|
998
|
+
byteSize: 18215,
|
|
999
999
|
displayName: 'GDScript',
|
|
1000
|
-
hash: '
|
|
1001
|
-
lastUpdate: '2024-10-
|
|
1000
|
+
hash: 'kpS05e7WIz',
|
|
1001
|
+
lastUpdate: '2024-10-21T13:03:45Z',
|
|
1002
1002
|
license: 'MIT',
|
|
1003
1003
|
licenseUrl: 'https://raw.githubusercontent.com/godotengine/godot-vscode-plugin/master/LICENSE',
|
|
1004
1004
|
name: 'gdscript',
|
|
1005
1005
|
scopeName: 'source.gdscript',
|
|
1006
|
-
sha: '
|
|
1007
|
-
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/
|
|
1006
|
+
sha: 'c33982d38e6a1aa454ff5a25019d73ab11e9ccb0',
|
|
1007
|
+
source: 'https://github.com/godotengine/godot-vscode-plugin/blob/c33982d38e6a1aa454ff5a25019d73ab11e9ccb0/syntaxes/GDScript.tmLanguage.json',
|
|
1008
1008
|
},
|
|
1009
1009
|
{
|
|
1010
1010
|
byteSize: 6082,
|
|
@@ -1502,21 +1502,21 @@ export const grammars = [
|
|
|
1502
1502
|
aliases: [
|
|
1503
1503
|
'js',
|
|
1504
1504
|
],
|
|
1505
|
-
byteSize:
|
|
1505
|
+
byteSize: 163968,
|
|
1506
1506
|
categories: [
|
|
1507
1507
|
'web',
|
|
1508
1508
|
'scripting',
|
|
1509
1509
|
'general',
|
|
1510
1510
|
],
|
|
1511
1511
|
displayName: 'JavaScript',
|
|
1512
|
-
hash: '
|
|
1513
|
-
lastUpdate: '2024-
|
|
1512
|
+
hash: 'zQuDB9duCh',
|
|
1513
|
+
lastUpdate: '2024-10-25T09:35:17Z',
|
|
1514
1514
|
license: 'MIT',
|
|
1515
1515
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
1516
1516
|
name: 'javascript',
|
|
1517
1517
|
scopeName: 'source.js',
|
|
1518
|
-
sha: '
|
|
1519
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
1518
|
+
sha: '210541906e5a96ab39f9c753f921b1bd35f4138b',
|
|
1519
|
+
source: 'https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/javascript/syntaxes/JavaScript.tmLanguage.json',
|
|
1520
1520
|
},
|
|
1521
1521
|
{
|
|
1522
1522
|
byteSize: 4740,
|
|
@@ -1648,19 +1648,19 @@ export const grammars = [
|
|
|
1648
1648
|
source: 'https://github.com/StoneCypher/sublime-jssm/blob/2be02a59d284229bbbfb3dc6c2bdcec9b2c263ef/jssm.tmLanguage',
|
|
1649
1649
|
},
|
|
1650
1650
|
{
|
|
1651
|
-
byteSize:
|
|
1651
|
+
byteSize: 166962,
|
|
1652
1652
|
categories: [
|
|
1653
1653
|
'web',
|
|
1654
1654
|
],
|
|
1655
1655
|
displayName: 'JSX',
|
|
1656
|
-
hash: '
|
|
1657
|
-
lastUpdate: '2024-
|
|
1656
|
+
hash: 'sCUf8YspzK',
|
|
1657
|
+
lastUpdate: '2024-10-25T09:35:17Z',
|
|
1658
1658
|
license: 'MIT',
|
|
1659
1659
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
1660
1660
|
name: 'jsx',
|
|
1661
1661
|
scopeName: 'source.js.jsx',
|
|
1662
|
-
sha: '
|
|
1663
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
1662
|
+
sha: '210541906e5a96ab39f9c753f921b1bd35f4138b',
|
|
1663
|
+
source: 'https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/javascript/syntaxes/JavaScriptReact.tmLanguage.json',
|
|
1664
1664
|
},
|
|
1665
1665
|
{
|
|
1666
1666
|
aliases: [
|
|
@@ -3198,19 +3198,19 @@ export const grammars = [
|
|
|
3198
3198
|
source: 'https://github.com/mechatroner/vscode_rainbow_csv/blob/00d4c947f1bbe6a4a73599bd97fb31bdfbe262f3/syntaxes/tsv.tmLanguage.json',
|
|
3199
3199
|
},
|
|
3200
3200
|
{
|
|
3201
|
-
byteSize:
|
|
3201
|
+
byteSize: 164706,
|
|
3202
3202
|
categories: [
|
|
3203
3203
|
'web',
|
|
3204
3204
|
],
|
|
3205
3205
|
displayName: 'TSX',
|
|
3206
|
-
hash: '
|
|
3207
|
-
lastUpdate: '2024-
|
|
3206
|
+
hash: 'qyk3VfiysU',
|
|
3207
|
+
lastUpdate: '2024-10-25T09:35:17Z',
|
|
3208
3208
|
license: 'MIT',
|
|
3209
3209
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
3210
3210
|
name: 'tsx',
|
|
3211
3211
|
scopeName: 'source.tsx',
|
|
3212
|
-
sha: '
|
|
3213
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
3212
|
+
sha: '210541906e5a96ab39f9c753f921b1bd35f4138b',
|
|
3213
|
+
source: 'https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/typescript-basics/syntaxes/TypeScriptReact.tmLanguage.json',
|
|
3214
3214
|
},
|
|
3215
3215
|
{
|
|
3216
3216
|
byteSize: 3582,
|
|
@@ -3246,21 +3246,21 @@ export const grammars = [
|
|
|
3246
3246
|
aliases: [
|
|
3247
3247
|
'ts',
|
|
3248
3248
|
],
|
|
3249
|
-
byteSize:
|
|
3249
|
+
byteSize: 169362,
|
|
3250
3250
|
categories: [
|
|
3251
3251
|
'web',
|
|
3252
3252
|
'scripting',
|
|
3253
3253
|
'general',
|
|
3254
3254
|
],
|
|
3255
3255
|
displayName: 'TypeScript',
|
|
3256
|
-
hash: '
|
|
3257
|
-
lastUpdate: '2024-
|
|
3256
|
+
hash: '1uhJNPohnQ',
|
|
3257
|
+
lastUpdate: '2024-10-25T09:35:17Z',
|
|
3258
3258
|
license: 'MIT',
|
|
3259
3259
|
licenseUrl: 'https://raw.githubusercontent.com/microsoft/vscode/main/LICENSE.txt',
|
|
3260
3260
|
name: 'typescript',
|
|
3261
3261
|
scopeName: 'source.ts',
|
|
3262
|
-
sha: '
|
|
3263
|
-
source: 'https://github.com/microsoft/vscode/blob/
|
|
3262
|
+
sha: '210541906e5a96ab39f9c753f921b1bd35f4138b',
|
|
3263
|
+
source: 'https://github.com/microsoft/vscode/blob/210541906e5a96ab39f9c753f921b1bd35f4138b/extensions/typescript-basics/syntaxes/TypeScript.tmLanguage.json',
|
|
3264
3264
|
},
|
|
3265
3265
|
{
|
|
3266
3266
|
aliases: [
|