UNPKG

@sap/cds-lsp

Version:

Language server for CDS

43 lines (42 loc) 1.15 kB
{ "comments": { "lineComment": "//", "blockComment": [ "/*", "*/" ] }, "brackets": [ ["{", "}"], ["[", "]"], ["(", ")"] ], "autoClosingPairs": [ { "open": "{", "close": "}" }, { "open": "[", "close": "]" }, { "open": "(", "close": ")" }, { "open": "'", "close": "'", "notIn": ["string", "comment"] }, { "open": "\"", "close": "\"", "notIn": ["string"] }, { "open": "`", "close": "`", "notIn": ["string", "comment"] }, { "open": "/**", "close": " */", "notIn": ["string"] } ], "surroundingPairs": [ ["{", "}"], ["[", "]"], ["(", ")"], ["\"", "\""], ["'", "'"] ], "onEnterRules": [ { "beforeText": "^\\s*\/\\*\\*(?!\/)([^\\*]|\\*(?!\/))*$", "afterText": "^\\s*\\*\/$", "action": { "indent": "indentOutdent", "appendText": " * " } }, { "beforeText": "^\\s*\/\\*\\*(?!\/)([^\\*]|\\*(?!\/))*$", "action": { "indent": "none", "appendText": " * " } }, { "beforeText": "^(\\t|[ ])*[ ]\\*([ ]([^\\*]|\\*(?!\/))*)?$", "action": { "indent": "none", "appendText": "* " } } ] }