mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
24 lines
751 B
JSON
24 lines
751 B
JSON
{
|
|
"comments": {
|
|
"lineComment": "//",
|
|
"blockComment": [ "/*", "*/" ]
|
|
},
|
|
"brackets": [
|
|
["{", "}"],
|
|
["[", "]"]
|
|
],
|
|
"autoClosingPairs": [
|
|
{ "open": "{", "close": "}", "notIn": ["string"] },
|
|
{ "open": "[", "close": "]", "notIn": ["string"] },
|
|
{ "open": "(", "close": ")", "notIn": ["string"] },
|
|
{ "open": "'", "close": "'", "notIn": ["string"] },
|
|
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "`", "close": "`", "notIn": ["string", "comment"] }
|
|
],
|
|
"wordPattern": "(\"(?:[^\\\\\\\"]*(?:\\\\.)?)*\"?)|[^\\s{}\\[\\],:]+",
|
|
"indentationRules": {
|
|
"increaseIndentPattern": "({+(?=([^\"]*\"[^\"]*\")*[^\"}]*$))|(\\[+(?=([^\"]*\"[^\"]*\")*[^\"\\]]*$))",
|
|
"decreaseIndentPattern": "^\\s*[}\\]],?\\s*$"
|
|
}
|
|
}
|