Skip to content

Commit 510359a

Browse files
authored
Enable angle bracket colorization for C# (microsoft#247665)
1 parent 03548f6 commit 510359a

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
lines changed

extensions/csharp/language-configuration.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,24 @@
7676
"\""
7777
]
7878
],
79+
"colorizedBracketPairs": [
80+
[
81+
"{",
82+
"}"
83+
],
84+
[
85+
"[",
86+
"]"
87+
],
88+
[
89+
"(",
90+
")"
91+
],
92+
[
93+
"<",
94+
">"
95+
]
96+
],
7997
"folding": {
8098
"markers": {
8199
"start": "^\\s*#region\\b",

extensions/csharp/package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,14 @@
4040
"path": "./syntaxes/csharp.tmLanguage.json",
4141
"tokenTypes": {
4242
"meta.interpolation": "other"
43-
}
43+
},
44+
"unbalancedBracketScopes": [
45+
"keyword.operator.relational.cs",
46+
"keyword.operator.arrow.cs",
47+
"punctuation.accessor.pointer.cs",
48+
"keyword.operator.bitwise.shift.cs",
49+
"keyword.operator.assignment.compound.bitwise.cs"
50+
]
4451
}
4552
],
4653
"snippets": [

0 commit comments

Comments
 (0)