{ "comments": { "lineComment": "//", "blockComment": ["/*", "*/"] }, "brackets": [ ["{", "}"], ["[", "]"], ["(", ")"], ["<", ">"] ], "autoClosingPairs": [ { "open": "{", "close": "}" }, { "open": "[", "close": "]" }, { "open": "(", "close": ")" }, { "open": "<", "close": ">", "notIn": ["string"] }, { "open": "\"", "close": "\"", "notIn": ["string"] }, { "open": "'", "close": "'", "notIn": ["string", "comment"] } ], "surroundingPairs": [ { "open": "{", "close": "}" }, { "open": "[", "close": "]" }, { "open": "(", "close": ")" }, { "open": "<", "close": ">" }, { "open": "\"", "close": "\"" }, { "open": "'", "close": "'" } ], "folding": { "markers": { "start": "^\\s*//\\s*#?region\\b", "end": "^\\s*//\\s*#?endregion\\b" } }, "wordPattern": "[a-zA-Z_][a-zA-Z0-9_]*", "indentationRules": { "increaseIndentPattern": "^.*\\{[^}]*$|^.*\\([^)]*$|^.*\\[[^\\]]*$|^\\s*(fn|type|effect|handler|trait|impl|match|if|else)\\b.*$", "decreaseIndentPattern": "^\\s*[}\\])]" }, "onEnterRules": [ { "beforeText": "^\\s*///.*$", "action": { "indent": "none", "appendText": "/// " } }, { "beforeText": ".*\\{\\s*$", "action": { "indent": "indent" } }, { "beforeText": "^\\s*\\}\\s*$", "action": { "indent": "outdent" } } ] }