@codingame/monaco-editor-wrapper 1.14.5 → 1.14.8
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/dist/JavaScript.tmLanguage.js +64 -10
- package/dist/JavaScriptReact.tmLanguage.js +64 -10
- package/dist/Scala.tmLanguage.js +8 -4
- package/dist/TypeScript.tmLanguage.js +64 -10
- package/dist/TypeScriptReact.tmLanguage.js +64 -10
- package/dist/angular.js +7 -1
- package/dist/c.tmLanguage.js +650 -432
- package/dist/cpp.tmLanguage.js +72 -84
- package/dist/cpptools.js +81 -5
- package/dist/css.tmLanguage.js +5 -5
- package/dist/css.worker.js +1 -1
- package/dist/dart3.js +40 -21
- package/dist/fsharp.tmLanguage.js +2 -2
- package/dist/html.worker.js +1 -1
- package/dist/index.js +4 -3
- package/dist/java.js +1 -1
- package/dist/java2.js +35 -11
- package/dist/javascript-javascript.code-snippets.js +9 -0
- package/dist/javascript.js +1 -1
- package/dist/javascriptreact.js +1 -1
- package/dist/json.js +1 -3
- package/dist/json.worker.js +1 -1
- package/dist/jsonc.js +1 -3
- package/dist/lua2.js +184 -63
- package/dist/main.js +10625 -10607
- package/dist/markdown.tmLanguage.js +56 -17
- package/dist/objective-c.tmLanguage.js +276 -131
- package/dist/omnisharp-csharp.js +11 -11
- package/dist/omnisharp.js +24 -49
- package/dist/php.tmLanguage.js +280 -128
- package/dist/scalameta.js +19 -2
- package/dist/scss.js +12 -2
- package/dist/solidity2.js +1 -1
- package/dist/theme-defaults~dark_vs.js +1 -1
- package/dist/theme-defaults~hc_light.js +36 -36
- package/dist/ts.worker.js +1 -1
- package/dist/typescript-language-features.js +17 -2
- package/dist/typescript.js +1 -1
- package/dist/typescriptreact.js +1 -1
- package/dist/vscode-R-rmarkdown.js +3 -3
- package/dist/vscode-R.js +9 -9
- package/dist/vscode-python.js +16 -6
- package/dist/worker.js +1 -1
- package/dist/xml.js +1 -2
- package/dist/xsl.js +1 -2
- package/package.json +22 -24
- package/stats.html +1 -1
|
@@ -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/microsoft/TypeScript-TmLanguage/commit/
|
|
6
|
+
var version = "https://github.com/microsoft/TypeScript-TmLanguage/commit/0dfae8cc4807fecfbf8f1add095d9817df824c95";
|
|
7
7
|
var name = "JavaScript (with React support)";
|
|
8
8
|
var scopeName = "source.js";
|
|
9
9
|
var patterns = [
|
|
@@ -2270,11 +2270,47 @@ var repository = {
|
|
|
2270
2270
|
name: "keyword.control.from.js",
|
|
2271
2271
|
match: "\\bfrom\\b"
|
|
2272
2272
|
},
|
|
2273
|
+
{
|
|
2274
|
+
include: "#import-export-assert-clause"
|
|
2275
|
+
},
|
|
2273
2276
|
{
|
|
2274
2277
|
include: "#import-export-clause"
|
|
2275
2278
|
}
|
|
2276
2279
|
]
|
|
2277
2280
|
},
|
|
2281
|
+
"import-export-assert-clause": {
|
|
2282
|
+
begin: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(assert)\\s*(\\{)",
|
|
2283
|
+
beginCaptures: {
|
|
2284
|
+
"1": {
|
|
2285
|
+
name: "keyword.control.assert.js"
|
|
2286
|
+
},
|
|
2287
|
+
"2": {
|
|
2288
|
+
name: "punctuation.definition.block.js"
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
end: "\\}",
|
|
2292
|
+
endCaptures: {
|
|
2293
|
+
"0": {
|
|
2294
|
+
name: "punctuation.definition.block.js"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
patterns: [
|
|
2298
|
+
{
|
|
2299
|
+
include: "#comment"
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
include: "#string"
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
name: "meta.object-literal.key.js",
|
|
2306
|
+
match: "(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)"
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
name: "punctuation.separator.key-value.js",
|
|
2310
|
+
match: ":"
|
|
2311
|
+
}
|
|
2312
|
+
]
|
|
2313
|
+
},
|
|
2278
2314
|
"import-export-block": {
|
|
2279
2315
|
name: "meta.block.js",
|
|
2280
2316
|
begin: "\\{",
|
|
@@ -3913,7 +3949,7 @@ var repository = {
|
|
|
3913
3949
|
},
|
|
3914
3950
|
{
|
|
3915
3951
|
name: "storage.modifier.js",
|
|
3916
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
|
|
3952
|
+
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
|
|
3917
3953
|
},
|
|
3918
3954
|
{
|
|
3919
3955
|
include: "#type"
|
|
@@ -3992,10 +4028,10 @@ var repository = {
|
|
|
3992
4028
|
include: "#type-object"
|
|
3993
4029
|
},
|
|
3994
4030
|
{
|
|
3995
|
-
include: "#type-
|
|
4031
|
+
include: "#type-operators"
|
|
3996
4032
|
},
|
|
3997
4033
|
{
|
|
3998
|
-
include: "#type-
|
|
4034
|
+
include: "#type-conditional"
|
|
3999
4035
|
},
|
|
4000
4036
|
{
|
|
4001
4037
|
include: "#type-fn-type-parameters"
|
|
@@ -4343,6 +4379,9 @@ var repository = {
|
|
|
4343
4379
|
{
|
|
4344
4380
|
include: "#typeof-operator"
|
|
4345
4381
|
},
|
|
4382
|
+
{
|
|
4383
|
+
include: "#type-infer"
|
|
4384
|
+
},
|
|
4346
4385
|
{
|
|
4347
4386
|
begin: "([&|])(?=\\s*\\{)",
|
|
4348
4387
|
beginCaptures: {
|
|
@@ -4374,16 +4413,31 @@ var repository = {
|
|
|
4374
4413
|
name: "keyword.operator.ternary.js",
|
|
4375
4414
|
match: "(\\?|\\:)"
|
|
4376
4415
|
},
|
|
4377
|
-
{
|
|
4378
|
-
name: "keyword.operator.expression.infer.js",
|
|
4379
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
|
|
4380
|
-
},
|
|
4381
4416
|
{
|
|
4382
4417
|
name: "keyword.operator.expression.import.js",
|
|
4383
4418
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
|
|
4384
4419
|
}
|
|
4385
4420
|
]
|
|
4386
4421
|
},
|
|
4422
|
+
"type-infer": {
|
|
4423
|
+
patterns: [
|
|
4424
|
+
{
|
|
4425
|
+
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",
|
|
4426
|
+
name: "meta.type.infer.js",
|
|
4427
|
+
captures: {
|
|
4428
|
+
"1": {
|
|
4429
|
+
name: "keyword.operator.expression.infer.js"
|
|
4430
|
+
},
|
|
4431
|
+
"2": {
|
|
4432
|
+
name: "entity.name.type.js"
|
|
4433
|
+
},
|
|
4434
|
+
"3": {
|
|
4435
|
+
name: "keyword.operator.expression.extends.js"
|
|
4436
|
+
}
|
|
4437
|
+
}
|
|
4438
|
+
}
|
|
4439
|
+
]
|
|
4440
|
+
},
|
|
4387
4441
|
"type-predicate-operator": {
|
|
4388
4442
|
patterns: [
|
|
4389
4443
|
{
|
|
@@ -5045,7 +5099,7 @@ var repository = {
|
|
|
5045
5099
|
},
|
|
5046
5100
|
directives: {
|
|
5047
5101
|
name: "comment.line.triple-slash.directive.js",
|
|
5048
|
-
begin: "^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",
|
|
5102
|
+
begin: "^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",
|
|
5049
5103
|
beginCaptures: {
|
|
5050
5104
|
"1": {
|
|
5051
5105
|
name: "punctuation.definition.comment.js"
|
|
@@ -5073,7 +5127,7 @@ var repository = {
|
|
|
5073
5127
|
patterns: [
|
|
5074
5128
|
{
|
|
5075
5129
|
name: "entity.other.attribute-name.directive.js",
|
|
5076
|
-
match: "path|types|no-default-lib|lib|name"
|
|
5130
|
+
match: "path|types|no-default-lib|lib|name|resolution-mode"
|
|
5077
5131
|
},
|
|
5078
5132
|
{
|
|
5079
5133
|
name: "keyword.operator.assignment.js",
|
|
@@ -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/microsoft/TypeScript-TmLanguage/commit/
|
|
6
|
+
var version = "https://github.com/microsoft/TypeScript-TmLanguage/commit/0dfae8cc4807fecfbf8f1add095d9817df824c95";
|
|
7
7
|
var name = "JavaScript (with React support)";
|
|
8
8
|
var scopeName = "source.js.jsx";
|
|
9
9
|
var patterns = [
|
|
@@ -2270,11 +2270,47 @@ var repository = {
|
|
|
2270
2270
|
name: "keyword.control.from.js.jsx",
|
|
2271
2271
|
match: "\\bfrom\\b"
|
|
2272
2272
|
},
|
|
2273
|
+
{
|
|
2274
|
+
include: "#import-export-assert-clause"
|
|
2275
|
+
},
|
|
2273
2276
|
{
|
|
2274
2277
|
include: "#import-export-clause"
|
|
2275
2278
|
}
|
|
2276
2279
|
]
|
|
2277
2280
|
},
|
|
2281
|
+
"import-export-assert-clause": {
|
|
2282
|
+
begin: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(assert)\\s*(\\{)",
|
|
2283
|
+
beginCaptures: {
|
|
2284
|
+
"1": {
|
|
2285
|
+
name: "keyword.control.assert.js.jsx"
|
|
2286
|
+
},
|
|
2287
|
+
"2": {
|
|
2288
|
+
name: "punctuation.definition.block.js.jsx"
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
end: "\\}",
|
|
2292
|
+
endCaptures: {
|
|
2293
|
+
"0": {
|
|
2294
|
+
name: "punctuation.definition.block.js.jsx"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
patterns: [
|
|
2298
|
+
{
|
|
2299
|
+
include: "#comment"
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
include: "#string"
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
name: "meta.object-literal.key.js.jsx",
|
|
2306
|
+
match: "(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)"
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
name: "punctuation.separator.key-value.js.jsx",
|
|
2310
|
+
match: ":"
|
|
2311
|
+
}
|
|
2312
|
+
]
|
|
2313
|
+
},
|
|
2278
2314
|
"import-export-block": {
|
|
2279
2315
|
name: "meta.block.js.jsx",
|
|
2280
2316
|
begin: "\\{",
|
|
@@ -3913,7 +3949,7 @@ var repository = {
|
|
|
3913
3949
|
},
|
|
3914
3950
|
{
|
|
3915
3951
|
name: "storage.modifier.js.jsx",
|
|
3916
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
|
|
3952
|
+
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
|
|
3917
3953
|
},
|
|
3918
3954
|
{
|
|
3919
3955
|
include: "#type"
|
|
@@ -3992,10 +4028,10 @@ var repository = {
|
|
|
3992
4028
|
include: "#type-object"
|
|
3993
4029
|
},
|
|
3994
4030
|
{
|
|
3995
|
-
include: "#type-
|
|
4031
|
+
include: "#type-operators"
|
|
3996
4032
|
},
|
|
3997
4033
|
{
|
|
3998
|
-
include: "#type-
|
|
4034
|
+
include: "#type-conditional"
|
|
3999
4035
|
},
|
|
4000
4036
|
{
|
|
4001
4037
|
include: "#type-fn-type-parameters"
|
|
@@ -4343,6 +4379,9 @@ var repository = {
|
|
|
4343
4379
|
{
|
|
4344
4380
|
include: "#typeof-operator"
|
|
4345
4381
|
},
|
|
4382
|
+
{
|
|
4383
|
+
include: "#type-infer"
|
|
4384
|
+
},
|
|
4346
4385
|
{
|
|
4347
4386
|
begin: "([&|])(?=\\s*\\{)",
|
|
4348
4387
|
beginCaptures: {
|
|
@@ -4374,16 +4413,31 @@ var repository = {
|
|
|
4374
4413
|
name: "keyword.operator.ternary.js.jsx",
|
|
4375
4414
|
match: "(\\?|\\:)"
|
|
4376
4415
|
},
|
|
4377
|
-
{
|
|
4378
|
-
name: "keyword.operator.expression.infer.js.jsx",
|
|
4379
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
|
|
4380
|
-
},
|
|
4381
4416
|
{
|
|
4382
4417
|
name: "keyword.operator.expression.import.js.jsx",
|
|
4383
4418
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
|
|
4384
4419
|
}
|
|
4385
4420
|
]
|
|
4386
4421
|
},
|
|
4422
|
+
"type-infer": {
|
|
4423
|
+
patterns: [
|
|
4424
|
+
{
|
|
4425
|
+
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",
|
|
4426
|
+
name: "meta.type.infer.js.jsx",
|
|
4427
|
+
captures: {
|
|
4428
|
+
"1": {
|
|
4429
|
+
name: "keyword.operator.expression.infer.js.jsx"
|
|
4430
|
+
},
|
|
4431
|
+
"2": {
|
|
4432
|
+
name: "entity.name.type.js.jsx"
|
|
4433
|
+
},
|
|
4434
|
+
"3": {
|
|
4435
|
+
name: "keyword.operator.expression.extends.js.jsx"
|
|
4436
|
+
}
|
|
4437
|
+
}
|
|
4438
|
+
}
|
|
4439
|
+
]
|
|
4440
|
+
},
|
|
4387
4441
|
"type-predicate-operator": {
|
|
4388
4442
|
patterns: [
|
|
4389
4443
|
{
|
|
@@ -5045,7 +5099,7 @@ var repository = {
|
|
|
5045
5099
|
},
|
|
5046
5100
|
directives: {
|
|
5047
5101
|
name: "comment.line.triple-slash.directive.js.jsx",
|
|
5048
|
-
begin: "^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",
|
|
5102
|
+
begin: "^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",
|
|
5049
5103
|
beginCaptures: {
|
|
5050
5104
|
"1": {
|
|
5051
5105
|
name: "punctuation.definition.comment.js.jsx"
|
|
@@ -5073,7 +5127,7 @@ var repository = {
|
|
|
5073
5127
|
patterns: [
|
|
5074
5128
|
{
|
|
5075
5129
|
name: "entity.other.attribute-name.directive.js.jsx",
|
|
5076
|
-
match: "path|types|no-default-lib|lib|name"
|
|
5130
|
+
match: "path|types|no-default-lib|lib|name|resolution-mode"
|
|
5077
5131
|
},
|
|
5078
5132
|
{
|
|
5079
5133
|
name: "keyword.operator.assignment.js.jsx",
|
package/dist/Scala.tmLanguage.js
CHANGED
|
@@ -604,6 +604,14 @@ var repository = {
|
|
|
604
604
|
}
|
|
605
605
|
}
|
|
606
606
|
},
|
|
607
|
+
{
|
|
608
|
+
match: "\\b(catch|finally|try)\\b",
|
|
609
|
+
name: "keyword.control.exception.scala"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
match: "^\\s*(end)\\s+(try)(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)",
|
|
613
|
+
name: "keyword.control.exception.end.scala"
|
|
614
|
+
},
|
|
607
615
|
{
|
|
608
616
|
match: "^\\s*(end)\\s+(`[^`]+`|(?:[A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}][A-Z\\p{Lt}\\p{Lu}_a-z\\$\\p{Lo}\\p{Nl}\\p{Ll}0-9]*(?:(?<=_)[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+)?|[!#%&*+\\-\\/:<>=?@^|~\\p{Sm}\\p{So}]+))?(?=\\s*(//.*|/\\*(?!.*\\*/\\s*\\S.*).*)?$)",
|
|
609
617
|
captures: {
|
|
@@ -615,10 +623,6 @@ var repository = {
|
|
|
615
623
|
}
|
|
616
624
|
}
|
|
617
625
|
},
|
|
618
|
-
{
|
|
619
|
-
match: "\\b(catch|finally|try)\\b",
|
|
620
|
-
name: "keyword.control.exception.scala"
|
|
621
|
-
},
|
|
622
626
|
{
|
|
623
627
|
match: "(==?|!=|<=|>=|<>|<|>)",
|
|
624
628
|
name: "keyword.operator.comparison.scala"
|
|
@@ -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/microsoft/TypeScript-TmLanguage/commit/
|
|
6
|
+
var version = "https://github.com/microsoft/TypeScript-TmLanguage/commit/0dfae8cc4807fecfbf8f1add095d9817df824c95";
|
|
7
7
|
var name = "TypeScript";
|
|
8
8
|
var scopeName = "source.ts";
|
|
9
9
|
var patterns = [
|
|
@@ -2267,11 +2267,47 @@ var repository = {
|
|
|
2267
2267
|
name: "keyword.control.from.ts",
|
|
2268
2268
|
match: "\\bfrom\\b"
|
|
2269
2269
|
},
|
|
2270
|
+
{
|
|
2271
|
+
include: "#import-export-assert-clause"
|
|
2272
|
+
},
|
|
2270
2273
|
{
|
|
2271
2274
|
include: "#import-export-clause"
|
|
2272
2275
|
}
|
|
2273
2276
|
]
|
|
2274
2277
|
},
|
|
2278
|
+
"import-export-assert-clause": {
|
|
2279
|
+
begin: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(assert)\\s*(\\{)",
|
|
2280
|
+
beginCaptures: {
|
|
2281
|
+
"1": {
|
|
2282
|
+
name: "keyword.control.assert.ts"
|
|
2283
|
+
},
|
|
2284
|
+
"2": {
|
|
2285
|
+
name: "punctuation.definition.block.ts"
|
|
2286
|
+
}
|
|
2287
|
+
},
|
|
2288
|
+
end: "\\}",
|
|
2289
|
+
endCaptures: {
|
|
2290
|
+
"0": {
|
|
2291
|
+
name: "punctuation.definition.block.ts"
|
|
2292
|
+
}
|
|
2293
|
+
},
|
|
2294
|
+
patterns: [
|
|
2295
|
+
{
|
|
2296
|
+
include: "#comment"
|
|
2297
|
+
},
|
|
2298
|
+
{
|
|
2299
|
+
include: "#string"
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
name: "meta.object-literal.key.ts",
|
|
2303
|
+
match: "(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)"
|
|
2304
|
+
},
|
|
2305
|
+
{
|
|
2306
|
+
name: "punctuation.separator.key-value.ts",
|
|
2307
|
+
match: ":"
|
|
2308
|
+
}
|
|
2309
|
+
]
|
|
2310
|
+
},
|
|
2275
2311
|
"import-export-block": {
|
|
2276
2312
|
name: "meta.block.ts",
|
|
2277
2313
|
begin: "\\{",
|
|
@@ -3962,7 +3998,7 @@ var repository = {
|
|
|
3962
3998
|
},
|
|
3963
3999
|
{
|
|
3964
4000
|
name: "storage.modifier.ts",
|
|
3965
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
|
|
4001
|
+
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
|
|
3966
4002
|
},
|
|
3967
4003
|
{
|
|
3968
4004
|
include: "#type"
|
|
@@ -4041,10 +4077,10 @@ var repository = {
|
|
|
4041
4077
|
include: "#type-object"
|
|
4042
4078
|
},
|
|
4043
4079
|
{
|
|
4044
|
-
include: "#type-
|
|
4080
|
+
include: "#type-operators"
|
|
4045
4081
|
},
|
|
4046
4082
|
{
|
|
4047
|
-
include: "#type-
|
|
4083
|
+
include: "#type-conditional"
|
|
4048
4084
|
},
|
|
4049
4085
|
{
|
|
4050
4086
|
include: "#type-fn-type-parameters"
|
|
@@ -4392,6 +4428,9 @@ var repository = {
|
|
|
4392
4428
|
{
|
|
4393
4429
|
include: "#typeof-operator"
|
|
4394
4430
|
},
|
|
4431
|
+
{
|
|
4432
|
+
include: "#type-infer"
|
|
4433
|
+
},
|
|
4395
4434
|
{
|
|
4396
4435
|
begin: "([&|])(?=\\s*\\{)",
|
|
4397
4436
|
beginCaptures: {
|
|
@@ -4423,16 +4462,31 @@ var repository = {
|
|
|
4423
4462
|
name: "keyword.operator.ternary.ts",
|
|
4424
4463
|
match: "(\\?|\\:)"
|
|
4425
4464
|
},
|
|
4426
|
-
{
|
|
4427
|
-
name: "keyword.operator.expression.infer.ts",
|
|
4428
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
|
|
4429
|
-
},
|
|
4430
4465
|
{
|
|
4431
4466
|
name: "keyword.operator.expression.import.ts",
|
|
4432
4467
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
|
|
4433
4468
|
}
|
|
4434
4469
|
]
|
|
4435
4470
|
},
|
|
4471
|
+
"type-infer": {
|
|
4472
|
+
patterns: [
|
|
4473
|
+
{
|
|
4474
|
+
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",
|
|
4475
|
+
name: "meta.type.infer.ts",
|
|
4476
|
+
captures: {
|
|
4477
|
+
"1": {
|
|
4478
|
+
name: "keyword.operator.expression.infer.ts"
|
|
4479
|
+
},
|
|
4480
|
+
"2": {
|
|
4481
|
+
name: "entity.name.type.ts"
|
|
4482
|
+
},
|
|
4483
|
+
"3": {
|
|
4484
|
+
name: "keyword.operator.expression.extends.ts"
|
|
4485
|
+
}
|
|
4486
|
+
}
|
|
4487
|
+
}
|
|
4488
|
+
]
|
|
4489
|
+
},
|
|
4436
4490
|
"type-predicate-operator": {
|
|
4437
4491
|
patterns: [
|
|
4438
4492
|
{
|
|
@@ -5094,7 +5148,7 @@ var repository = {
|
|
|
5094
5148
|
},
|
|
5095
5149
|
directives: {
|
|
5096
5150
|
name: "comment.line.triple-slash.directive.ts",
|
|
5097
|
-
begin: "^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",
|
|
5151
|
+
begin: "^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",
|
|
5098
5152
|
beginCaptures: {
|
|
5099
5153
|
"1": {
|
|
5100
5154
|
name: "punctuation.definition.comment.ts"
|
|
@@ -5122,7 +5176,7 @@ var repository = {
|
|
|
5122
5176
|
patterns: [
|
|
5123
5177
|
{
|
|
5124
5178
|
name: "entity.other.attribute-name.directive.ts",
|
|
5125
|
-
match: "path|types|no-default-lib|lib|name"
|
|
5179
|
+
match: "path|types|no-default-lib|lib|name|resolution-mode"
|
|
5126
5180
|
},
|
|
5127
5181
|
{
|
|
5128
5182
|
name: "keyword.operator.assignment.ts",
|
|
@@ -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/microsoft/TypeScript-TmLanguage/commit/
|
|
6
|
+
var version = "https://github.com/microsoft/TypeScript-TmLanguage/commit/0dfae8cc4807fecfbf8f1add095d9817df824c95";
|
|
7
7
|
var name = "TypeScriptReact";
|
|
8
8
|
var scopeName = "source.tsx";
|
|
9
9
|
var patterns = [
|
|
@@ -2270,11 +2270,47 @@ var repository = {
|
|
|
2270
2270
|
name: "keyword.control.from.tsx",
|
|
2271
2271
|
match: "\\bfrom\\b"
|
|
2272
2272
|
},
|
|
2273
|
+
{
|
|
2274
|
+
include: "#import-export-assert-clause"
|
|
2275
|
+
},
|
|
2273
2276
|
{
|
|
2274
2277
|
include: "#import-export-clause"
|
|
2275
2278
|
}
|
|
2276
2279
|
]
|
|
2277
2280
|
},
|
|
2281
|
+
"import-export-assert-clause": {
|
|
2282
|
+
begin: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(assert)\\s*(\\{)",
|
|
2283
|
+
beginCaptures: {
|
|
2284
|
+
"1": {
|
|
2285
|
+
name: "keyword.control.assert.tsx"
|
|
2286
|
+
},
|
|
2287
|
+
"2": {
|
|
2288
|
+
name: "punctuation.definition.block.tsx"
|
|
2289
|
+
}
|
|
2290
|
+
},
|
|
2291
|
+
end: "\\}",
|
|
2292
|
+
endCaptures: {
|
|
2293
|
+
"0": {
|
|
2294
|
+
name: "punctuation.definition.block.tsx"
|
|
2295
|
+
}
|
|
2296
|
+
},
|
|
2297
|
+
patterns: [
|
|
2298
|
+
{
|
|
2299
|
+
include: "#comment"
|
|
2300
|
+
},
|
|
2301
|
+
{
|
|
2302
|
+
include: "#string"
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
name: "meta.object-literal.key.tsx",
|
|
2306
|
+
match: "(?:[_$[:alpha:]][_$[:alnum:]]*)\\s*(?=(\\/\\*([^\\*]|(\\*[^\\/]))*\\*\\/\\s*)*:)"
|
|
2307
|
+
},
|
|
2308
|
+
{
|
|
2309
|
+
name: "punctuation.separator.key-value.tsx",
|
|
2310
|
+
match: ":"
|
|
2311
|
+
}
|
|
2312
|
+
]
|
|
2313
|
+
},
|
|
2278
2314
|
"import-export-block": {
|
|
2279
2315
|
name: "meta.block.tsx",
|
|
2280
2316
|
begin: "\\{",
|
|
@@ -3913,7 +3949,7 @@ var repository = {
|
|
|
3913
3949
|
},
|
|
3914
3950
|
{
|
|
3915
3951
|
name: "storage.modifier.tsx",
|
|
3916
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
|
|
3952
|
+
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(extends|in|out)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))"
|
|
3917
3953
|
},
|
|
3918
3954
|
{
|
|
3919
3955
|
include: "#type"
|
|
@@ -3992,10 +4028,10 @@ var repository = {
|
|
|
3992
4028
|
include: "#type-object"
|
|
3993
4029
|
},
|
|
3994
4030
|
{
|
|
3995
|
-
include: "#type-
|
|
4031
|
+
include: "#type-operators"
|
|
3996
4032
|
},
|
|
3997
4033
|
{
|
|
3998
|
-
include: "#type-
|
|
4034
|
+
include: "#type-conditional"
|
|
3999
4035
|
},
|
|
4000
4036
|
{
|
|
4001
4037
|
include: "#type-fn-type-parameters"
|
|
@@ -4343,6 +4379,9 @@ var repository = {
|
|
|
4343
4379
|
{
|
|
4344
4380
|
include: "#typeof-operator"
|
|
4345
4381
|
},
|
|
4382
|
+
{
|
|
4383
|
+
include: "#type-infer"
|
|
4384
|
+
},
|
|
4346
4385
|
{
|
|
4347
4386
|
begin: "([&|])(?=\\s*\\{)",
|
|
4348
4387
|
beginCaptures: {
|
|
@@ -4374,16 +4413,31 @@ var repository = {
|
|
|
4374
4413
|
name: "keyword.operator.ternary.tsx",
|
|
4375
4414
|
match: "(\\?|\\:)"
|
|
4376
4415
|
},
|
|
4377
|
-
{
|
|
4378
|
-
name: "keyword.operator.expression.infer.tsx",
|
|
4379
|
-
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))infer(?=\\s+[_$[:alpha:]])"
|
|
4380
|
-
},
|
|
4381
4416
|
{
|
|
4382
4417
|
name: "keyword.operator.expression.import.tsx",
|
|
4383
4418
|
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))import(?=\\s*\\()"
|
|
4384
4419
|
}
|
|
4385
4420
|
]
|
|
4386
4421
|
},
|
|
4422
|
+
"type-infer": {
|
|
4423
|
+
patterns: [
|
|
4424
|
+
{
|
|
4425
|
+
match: "(?<![_$[:alnum:]])(?:(?<=\\.\\.\\.)|(?<!\\.))(infer)\\s+([_$[:alpha:]][_$[:alnum:]]*)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.))(?:\\s+(extends)(?![_$[:alnum:]])(?:(?=\\.\\.\\.)|(?!\\.)))?",
|
|
4426
|
+
name: "meta.type.infer.tsx",
|
|
4427
|
+
captures: {
|
|
4428
|
+
"1": {
|
|
4429
|
+
name: "keyword.operator.expression.infer.tsx"
|
|
4430
|
+
},
|
|
4431
|
+
"2": {
|
|
4432
|
+
name: "entity.name.type.tsx"
|
|
4433
|
+
},
|
|
4434
|
+
"3": {
|
|
4435
|
+
name: "keyword.operator.expression.extends.tsx"
|
|
4436
|
+
}
|
|
4437
|
+
}
|
|
4438
|
+
}
|
|
4439
|
+
]
|
|
4440
|
+
},
|
|
4387
4441
|
"type-predicate-operator": {
|
|
4388
4442
|
patterns: [
|
|
4389
4443
|
{
|
|
@@ -5045,7 +5099,7 @@ var repository = {
|
|
|
5045
5099
|
},
|
|
5046
5100
|
directives: {
|
|
5047
5101
|
name: "comment.line.triple-slash.directive.tsx",
|
|
5048
|
-
begin: "^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",
|
|
5102
|
+
begin: "^(///)\\s*(?=<(reference|amd-dependency|amd-module)(\\s+(path|types|no-default-lib|lib|name|resolution-mode)\\s*=\\s*((\\'([^\\'\\\\]|\\\\.)*\\')|(\\\"([^\\\"\\\\]|\\\\.)*\\\")|(\\`([^\\`\\\\]|\\\\.)*\\`)))+\\s*/>\\s*$)",
|
|
5049
5103
|
beginCaptures: {
|
|
5050
5104
|
"1": {
|
|
5051
5105
|
name: "punctuation.definition.comment.tsx"
|
|
@@ -5073,7 +5127,7 @@ var repository = {
|
|
|
5073
5127
|
patterns: [
|
|
5074
5128
|
{
|
|
5075
5129
|
name: "entity.other.attribute-name.directive.tsx",
|
|
5076
|
-
match: "path|types|no-default-lib|lib|name"
|
|
5130
|
+
match: "path|types|no-default-lib|lib|name|resolution-mode"
|
|
5077
5131
|
},
|
|
5078
5132
|
{
|
|
5079
5133
|
name: "keyword.operator.assignment.tsx",
|
package/dist/angular.js
CHANGED
|
@@ -52,7 +52,13 @@ var angular = [
|
|
|
52
52
|
"angular.disableAutomaticNgcc": {
|
|
53
53
|
"type": "boolean",
|
|
54
54
|
"default": false,
|
|
55
|
-
"markdownDescription": "Disable the step to automatically run ngcc. [ngcc](https://github.com/angular/angular/blob/
|
|
55
|
+
"markdownDescription": "Disable the step to automatically run ngcc. [ngcc](https://github.com/angular/angular/blob/main/packages/compiler/design/architecture.md#high-level-proposal) is required to run and gather metadata from libraries not published with Ivy instructions. This can be run outside of VSCode instead (for example, as part of the build/rebuild in the CLI). Note that ngcc needs to run not only at startup, but also whenever the dependencies change. Failing to run ngcc when required can result in incomplete information and spurious errors reported by the language service.",
|
|
56
|
+
"scope": 3
|
|
57
|
+
},
|
|
58
|
+
"angular.forceStrictTemplates": {
|
|
59
|
+
"type": "boolean",
|
|
60
|
+
"default": false,
|
|
61
|
+
"markdownDescription": "Enabling this option will force the language service to use [strictTemplates](https://angular.io/guide/angular-compiler-options#stricttemplates) and ignore the user settings in the `tsconfig.json`.",
|
|
56
62
|
"scope": 3
|
|
57
63
|
}
|
|
58
64
|
}
|