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