Add built-in language grammar extensions for C#, F#, HTML, and Javascript. (#18216)

This commit is contained in:
Cory Rivera
2022-02-04 16:44:47 -08:00
committed by GitHub
parent 6c8e2bf8f3
commit 7bd5968faa
39 changed files with 22564 additions and 3 deletions

View File

@@ -0,0 +1,32 @@
{
"comments": {
"lineComment": "//",
"blockComment": ["/*", "*/"]
},
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
"autoClosingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] }
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"],
["<", ">"],
["'", "'"],
["\"", "\""]
],
"folding": {
"markers": {
"start": "^\\s*#region\\b",
"end": "^\\s*#endregion\\b"
}
}
}