mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 13:29:44 +00:00
Indent Rules for C and CPP
This commit is contained in:
parent
c4ba1165da
commit
1813139e6e
|
@ -21,5 +21,9 @@
|
|||
["(", ")"],
|
||||
["\"", "\""],
|
||||
["'", "'"]
|
||||
]
|
||||
],
|
||||
"indentationRules": {
|
||||
"increaseIndentPattern": "^.*\\{[^}\"\\']*$|^.*\\([^\\)\"\\']*$|^\\s*(public|private|protected):\\s*$|^\\s*@(public|private|protected)\\s*$|^\\s*\\{\\}$",
|
||||
"decreaseIndentPattern": "^\\s*(\\s*/[*].*[*]/\\s*)*\\}|^\\s*(\\s*/[*].*[*]/\\s*)*\\)|^\\s*(public|private|protected):\\s*$|^\\s*@(public|private|protected)\\s*$"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue