mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 12:19:20 +00:00
Add support for angle bracket matching and colorization in Typescript
This commit is contained in:
@@ -99,6 +99,24 @@
|
||||
">"
|
||||
]
|
||||
],
|
||||
"colorizedBracketPairs": [
|
||||
[
|
||||
"(",
|
||||
")"
|
||||
],
|
||||
[
|
||||
"[",
|
||||
"]"
|
||||
],
|
||||
[
|
||||
"{",
|
||||
"}"
|
||||
],
|
||||
[
|
||||
"<",
|
||||
">"
|
||||
]
|
||||
],
|
||||
"autoCloseBefore": ";:.,=}])>` \n\t",
|
||||
"folding": {
|
||||
"markers": {
|
||||
|
||||
@@ -64,6 +64,13 @@
|
||||
"language": "typescript",
|
||||
"scopeName": "source.ts",
|
||||
"path": "./syntaxes/TypeScript.tmLanguage.json",
|
||||
"unbalancedBracketScopes": [
|
||||
"keyword.operator.relational",
|
||||
"storage.type.function.arrow",
|
||||
"keyword.operator.bitwise.shift",
|
||||
"meta.brace.angle",
|
||||
"punctuation.definition.tag"
|
||||
],
|
||||
"tokenTypes": {
|
||||
"meta.template.expression": "other",
|
||||
"meta.template.expression string": "string",
|
||||
@@ -78,6 +85,12 @@
|
||||
"language": "typescriptreact",
|
||||
"scopeName": "source.tsx",
|
||||
"path": "./syntaxes/TypeScriptReact.tmLanguage.json",
|
||||
"unbalancedBracketScopes": [
|
||||
"keyword.operator.relational",
|
||||
"storage.type.function.arrow",
|
||||
"keyword.operator.bitwise.shift",
|
||||
"punctuation.definition.tag"
|
||||
],
|
||||
"embeddedLanguages": {
|
||||
"meta.tag.tsx": "jsx-tags",
|
||||
"meta.tag.without-attributes.tsx": "jsx-tags",
|
||||
|
||||
Reference in New Issue
Block a user