2015-11-13 13:39:38 +00:00
|
|
|
{
|
|
|
|
"comments": {
|
|
|
|
"lineComment": "//",
|
|
|
|
"blockComment": [ "/*", "*/" ]
|
|
|
|
},
|
|
|
|
"brackets": [
|
|
|
|
["{", "}"],
|
|
|
|
["[", "]"],
|
|
|
|
["(", ")"]
|
2016-04-21 20:34:15 +00:00
|
|
|
],
|
|
|
|
"autoClosingPairs": [
|
|
|
|
["{", "}"],
|
|
|
|
["[", "]"],
|
|
|
|
["(", ")"],
|
2016-07-25 19:30:33 +00:00
|
|
|
{ "open": "`", "close": "`", "notIn": ["string"]},
|
|
|
|
{ "open": "\"", "close": "\"", "notIn": ["string"]},
|
|
|
|
{ "open": "'", "close": "'", "notIn": ["string", "comment"]}
|
2016-04-21 20:34:15 +00:00
|
|
|
],
|
|
|
|
"surroundingPairs": [
|
|
|
|
["{", "}"],
|
|
|
|
["[", "]"],
|
|
|
|
["(", ")"],
|
|
|
|
["\"", "\""],
|
|
|
|
["'", "'"],
|
|
|
|
["`", "`"]
|
2017-08-03 21:26:27 +00:00
|
|
|
],
|
|
|
|
"indentationRules": {
|
2018-06-04 20:27:18 +00:00
|
|
|
"increaseIndentPattern": "^.*(\\bcase\\b.*:|\\bdefault\\b:|(\\b(func|if|else|switch|select|for|struct)\\b.*)?{[^}\"'`]*|\\([^)\"'`]*)$",
|
2017-12-01 18:20:23 +00:00
|
|
|
"decreaseIndentPattern": "^\\s*(\\bcase\\b.*:|\\bdefault\\b:|}[)}]*[),]?|\\)[,]?)$"
|
2019-03-06 10:50:36 +00:00
|
|
|
},
|
|
|
|
"folding": {
|
|
|
|
"markers": {
|
2019-05-27 13:25:10 +00:00
|
|
|
"start": "^\\s*//\\s*#?region\\b",
|
|
|
|
"end": "^\\s*//\\s*#?endregion\\b"
|
2019-03-06 10:50:36 +00:00
|
|
|
}
|
2017-08-03 21:26:27 +00:00
|
|
|
}
|
2015-11-13 13:39:38 +00:00
|
|
|
}
|