{ "comment": "Editor mechanics that are not highlighting and not the language server: comments, bracket pairs, auto-closing, indentation triggers. VS Code reads this file directly; the JetBrains plugin implements the same rules natively; other editors can transcribe it.", "comments": { "lineComment": "#" }, "brackets": [["{", "}"], ["[", "]"], ["(", ")"]], "autoClosingPairs": [ { "open": "{", "close": "}" }, { "open": "[", "close": "]" }, { "open": "(", "close": ")" }, { "open": "\"", "close": "\"", "notIn": ["string", "comment"] } ], "surroundingPairs": [["{", "}"], ["[", "]"], ["(", ")"], ["\"", "\""]], "indentationRules": { "increaseIndentPattern": "^((?!#).)*(\\{[^}\"']*|\\([^)\"']*|\\[[^\\]\"']*)$", "decreaseIndentPattern": "^\\s*[}\\])].*$" }, "onEnterRules": [ { "beforeText": "^\\s*#.*$", "action": { "indent": "none", "appendText": "# " } } ], "wordPattern": "[A-Za-z_][A-Za-z0-9_]*", "folding": { "markers": { "start": "^\\s*#\\s*region\\b", "end": "^\\s*#\\s*endregion\\b" } } }