mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-22 11:19:32 +00:00
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/bccefcd3facfca34c7821801692472ac1fce61d6",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/2165b3e1139e13880d450ba1bae0801df32b1a01",
|
||||
"name": "TypeScript",
|
||||
"scopeName": "source.ts",
|
||||
"patterns": [
|
||||
@@ -48,6 +48,9 @@
|
||||
{
|
||||
"include": "#decl-block"
|
||||
},
|
||||
{
|
||||
"include": "#label"
|
||||
},
|
||||
{
|
||||
"include": "#expression"
|
||||
},
|
||||
@@ -135,6 +138,38 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"label": {
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)(?=\\s*\\{)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.ts"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.label.ts"
|
||||
}
|
||||
},
|
||||
"end": "(?<=\\{)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#decl-block"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"match": "([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.ts"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.label.ts"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"expression": {
|
||||
"patterns": [
|
||||
{
|
||||
@@ -1387,9 +1422,6 @@
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#string"
|
||||
},
|
||||
{
|
||||
"include": "#comment"
|
||||
},
|
||||
@@ -1405,6 +1437,9 @@
|
||||
{
|
||||
"include": "#field-declaration"
|
||||
},
|
||||
{
|
||||
"include": "#string"
|
||||
},
|
||||
{
|
||||
"include": "#type-annotation"
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/bccefcd3facfca34c7821801692472ac1fce61d6",
|
||||
"version": "https://github.com/Microsoft/TypeScript-TmLanguage/commit/2165b3e1139e13880d450ba1bae0801df32b1a01",
|
||||
"name": "TypeScriptReact",
|
||||
"scopeName": "source.tsx",
|
||||
"patterns": [
|
||||
@@ -48,6 +48,9 @@
|
||||
{
|
||||
"include": "#decl-block"
|
||||
},
|
||||
{
|
||||
"include": "#label"
|
||||
},
|
||||
{
|
||||
"include": "#expression"
|
||||
},
|
||||
@@ -135,6 +138,38 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"label": {
|
||||
"patterns": [
|
||||
{
|
||||
"begin": "([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)(?=\\s*\\{)",
|
||||
"beginCaptures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.tsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.label.tsx"
|
||||
}
|
||||
},
|
||||
"end": "(?<=\\{)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#decl-block"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"match": "([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.tsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.label.tsx"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"expression": {
|
||||
"patterns": [
|
||||
{
|
||||
@@ -1390,9 +1425,6 @@
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#string"
|
||||
},
|
||||
{
|
||||
"include": "#comment"
|
||||
},
|
||||
@@ -1408,6 +1440,9 @@
|
||||
{
|
||||
"include": "#field-declaration"
|
||||
},
|
||||
{
|
||||
"include": "#string"
|
||||
},
|
||||
{
|
||||
"include": "#type-annotation"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user