be3e823608
git-subtree-dir: lib/vscode git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
38 lines
1.0 KiB
JSON
38 lines
1.0 KiB
JSON
{
|
|
"comments": {
|
|
"lineComment": "//", // "#"
|
|
"blockComment": [ "/*", "*/" ]
|
|
},
|
|
"brackets": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"]
|
|
],
|
|
"autoClosingPairs": [
|
|
{ "open": "{", "close": "}", "notIn": ["string"] },
|
|
{ "open": "[", "close": "]", "notIn": ["string"] },
|
|
{ "open": "(", "close": ")", "notIn": ["string"] },
|
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
|
|
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
{ "open": "/**", "close": " */", "notIn": ["string"] }
|
|
],
|
|
"surroundingPairs": [
|
|
["{", "}"],
|
|
["[", "]"],
|
|
["(", ")"],
|
|
["'", "'"],
|
|
["\"", "\""],
|
|
["`", "`"]
|
|
],
|
|
"indentationRules": {
|
|
"increaseIndentPattern": "({(?!.*}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch|case).*:)\\s*((/[/*].*|)?$|\\?>)",
|
|
"decreaseIndentPattern": "^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\][;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch)|break);))"
|
|
},
|
|
"folding": {
|
|
"markers": {
|
|
"start": "^\\s*(#|\/\/)region\\b",
|
|
"end": "^\\s*(#|\/\/)endregion\\b"
|
|
}
|
|
}
|
|
}
|