adding pattern for if for and while

This commit is contained in:
Aiday Marlen Kyzy
2024-03-21 11:04:24 +01:00
parent 8fe4497ec3
commit 32aaeac3d6
3 changed files with 19 additions and 8 deletions

View File

@@ -137,6 +137,9 @@
// e.g. * ...| or */| or *-----*/|
"unIndentedLinePattern": {
"pattern": "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*\\*([ ]([^\\*]|\\*(?!/))*)?$"
},
"indentNextLinePattern": {
"pattern": "^.*[if|while|for]\\s*\\(.*\\)\\s*"
}
},
"onEnterRules": [