1{ 2 "comments": { 3 "lineComment": "#", 4 "blockComment": [ "\"\"\"", "\"\"\"" ] 5 }, 6 "brackets": [ 7 ["{", "}"], 8 ["[", "]"], 9 ["(", ")"] 10 ], 11 "autoClosingPairs": [ 12 { "open": "{", "close": "}" }, 13 { "open": "[", "close": "]" }, 14 { "open": "(", "close": ")" }, 15 { "open": "\"", "close": "\"", "notIn": ["string"] }, 16 { "open": "r\"", "close": "\"", "notIn": ["string", "comment"] }, 17 { "open": "R\"", "close": "\"", "notIn": ["string", "comment"] }, 18 { "open": "u\"", "close": "\"", "notIn": ["string", "comment"] }, 19 { "open": "U\"", "close": "\"", "notIn": ["string", "comment"] }, 20 { "open": "f\"", "close": "\"", "notIn": ["string", "comment"] }, 21 { "open": "F\"", "close": "\"", "notIn": ["string", "comment"] }, 22 { "open": "b\"", "close": "\"", "notIn": ["string", "comment"] }, 23 { "open": "B\"", "close": "\"", "notIn": ["string", "comment"] }, 24 { "open": "'", "close": "'", "notIn": ["string", "comment"] }, 25 { "open": "r'", "close": "'", "notIn": ["string", "comment"] }, 26 { "open": "R'", "close": "'", "notIn": ["string", "comment"] }, 27 { "open": "u'", "close": "'", "notIn": ["string", "comment"] }, 28 { "open": "U'", "close": "'", "notIn": ["string", "comment"] }, 29 { "open": "f'", "close": "'", "notIn": ["string", "comment"] }, 30 { "open": "F'", "close": "'", "notIn": ["string", "comment"] }, 31 { "open": "b'", "close": "'", "notIn": ["string", "comment"] }, 32 { "open": "B'", "close": "'", "notIn": ["string", "comment"] }, 33 { "open": "`", "close": "`", "notIn": ["string"] } 34 ], 35 "surroundingPairs": [ 36 ["{", "}"], 37 ["[", "]"], 38 ["(", ")"], 39 ["\"", "\""], 40 ["'", "'"], 41 ["`", "`"] 42 ], 43 "folding": { 44 "offSide": true, 45 "markers": { 46 "start": "^\\s*#\\s*region\\b", 47 "end": "^\\s*#\\s*endregion\\b" 48 } 49 }, 50 "onEnterRules": [ 51 { 52 "beforeText": "^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async).*?:\\s*$", 53 "action": { "indent": "indent" } 54 } 55 ] 56} 57