mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
adding pattern for if for and while
This commit is contained in:
@@ -137,6 +137,9 @@
|
||||
// e.g. * ...| or */| or *-----*/|
|
||||
"unIndentedLinePattern": {
|
||||
"pattern": "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*\\*([ ]([^\\*]|\\*(?!/))*)?$"
|
||||
},
|
||||
"indentNextLinePattern": {
|
||||
"pattern": "^.*[if|while|for]\\s*\\(.*\\)\\s*"
|
||||
}
|
||||
},
|
||||
"onEnterRules": [
|
||||
|
||||
Reference in New Issue
Block a user