mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
parent
b7dcf277a7
commit
b3b2ba104a
|
@ -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": "JavaScript (with React support)",
|
||||
"scopeName": "source.js",
|
||||
"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.js"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.label.js"
|
||||
}
|
||||
},
|
||||
"end": "(?<=\\{)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#decl-block"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"match": "([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.js"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.label.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"expression": {
|
||||
"patterns": [
|
||||
{
|
||||
|
@ -1390,9 +1425,6 @@
|
|||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#string"
|
||||
},
|
||||
{
|
||||
"include": "#comment"
|
||||
},
|
||||
|
@ -1408,6 +1440,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": "JavaScript (with React support)",
|
||||
"scopeName": "source.js.jsx",
|
||||
"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.js.jsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.label.js.jsx"
|
||||
}
|
||||
},
|
||||
"end": "(?<=\\{)",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#decl-block"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"match": "([_$[:alpha:]][_$[:alnum:]]*)\\s*(:)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.label.js.jsx"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.label.js.jsx"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"expression": {
|
||||
"patterns": [
|
||||
{
|
||||
|
@ -1390,9 +1425,6 @@
|
|||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#string"
|
||||
},
|
||||
{
|
||||
"include": "#comment"
|
||||
},
|
||||
|
@ -1408,6 +1440,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": "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"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue