2016-07-21 17:57:02 +00:00
|
|
|
{
|
|
|
|
"comments": {
|
|
|
|
"lineComment": "//", // "#"
|
|
|
|
"blockComment": [ "/*", "*/" ]
|
|
|
|
},
|
|
|
|
"brackets": [
|
|
|
|
["{", "}"],
|
|
|
|
["[", "]"],
|
|
|
|
["(", ")"]
|
|
|
|
],
|
|
|
|
"autoClosingPairs": [
|
|
|
|
{ "open": "{", "close": "}", "notIn": ["string"] },
|
|
|
|
{ "open": "[", "close": "]", "notIn": ["string"] },
|
|
|
|
{ "open": "(", "close": ")", "notIn": ["string"] },
|
2017-07-14 18:41:45 +00:00
|
|
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"] },
|
2016-12-19 11:43:44 +00:00
|
|
|
{ "open": "\"", "close": "\"", "notIn": ["string", "comment"] },
|
|
|
|
{ "open": "/**", "close": " */", "notIn": ["string"] }
|
|
|
|
],
|
|
|
|
"surroundingPairs": [
|
|
|
|
["{", "}"],
|
|
|
|
["[", "]"],
|
|
|
|
["(", ")"],
|
|
|
|
["'", "'"],
|
2018-05-04 08:39:28 +00:00
|
|
|
["\"", "\""],
|
|
|
|
["`", "`"]
|
2017-09-04 05:38:55 +00:00
|
|
|
],
|
|
|
|
"indentationRules": {
|
|
|
|
"increaseIndentPattern": "({(?!.+}).*|\\(|\\[|((else(\\s)?)?if|else|for(each)?|while|switch).*:)\\s*(/[/*].*)?$",
|
|
|
|
"decreaseIndentPattern": "^(.*\\*\\/)?\\s*((\\})|(\\)+[;,])|(\\][;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"
|
2017-10-22 06:32:43 +00:00
|
|
|
},
|
|
|
|
"folding": {
|
|
|
|
"markers": {
|
|
|
|
"start": "^\\s*(#|\/\/)region\\b",
|
|
|
|
"end": "^\\s*(#|\/\/)endregion\\b"
|
|
|
|
}
|
2017-09-04 05:38:55 +00:00
|
|
|
}
|
2016-07-21 17:57:02 +00:00
|
|
|
}
|