1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- {
- //NOTE: regex case-insensitive option 'i' results in an error
-
- // line and block comments
- "comments": {
- "lineComment": "!!",
- "blockComment": ["!{", "!}"]
- },
- // symbols used as brackets
- "brackets": [
- ["{", "}"],
- ["[", "]"],
- ["(", ")"]
- ],
- // symbols that are auto closed when typing
- "autoClosingPairs": [
- { "open": "{", "close": "}" },
- { "open": "[", "close": "]" },
- { "open": "(", "close": ")" },
- { "open": "'", "close": "'" },
- { "open": "\"", "close": "\"", "notIn": ["string"] }
- ],
- // symbols that that can be used to surround a selection
- "surroundingPairs": [
- ["{", "}"],
- ["[", "]"],
- ["(", ")"],
- ["\"", "\""],
- ["'", "'"],
- ["<<", ">>"]
- ],
- // code folding
- "folding": {
- "markers": {
- "start": "^\\s*([Aa][Cc][Tt]|[Ii][Ff])\\b\\s*.+\\s*[:]\\s*?$\\n?",
- "end": "^\\s*[Ee][Nn][Dd]\\b"
- }
- },
- // automatic indentation
- "indentationRules": {
- "increaseIndentPattern": "^\\s*([Aa][Cc][Tt]|[Ii][Ff])\\b\\s*.+\\s*[:]\\s*?$\\n?",
- "decreaseIndentPattern": "^\\s*[Ee][Nn][Dd]\\b"
- }
- }
|