mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
Merge pull request #208291 from microsoft/aiday/addingIndentationForIfForWhile
Indent next line for if/for/while statement followed by whitespace
This commit is contained in:
@@ -139,7 +139,7 @@
|
||||
"pattern": "^(\\t|[ ])*[ ]\\*[^/]*\\*/\\s*$|^(\\t|[ ])*[ ]\\*/\\s*$|^(\\t|[ ])*\\*([ ]([^\\*]|\\*(?!/))*)?$"
|
||||
},
|
||||
"indentNextLinePattern": {
|
||||
"pattern": "^.*=>\\s*$"
|
||||
"pattern": "^((.*=>\\s*)|((.*[^\\w]+|\\s*)(if|while|for)\\s*\\(.*\\)\\s*))$"
|
||||
}
|
||||
},
|
||||
"onEnterRules": [
|
||||
|
||||
Reference in New Issue
Block a user