You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* added indentation.indentComplexValueExpressions
allows extra indentation for complex value expressions
(e.g. wrapped `return if`, `var for =` expressions)
Copy file name to clipboardExpand all lines: resources/hxformat-schema.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1004,6 +1004,11 @@
1004
1004
"description": "adds trailing whitespace to empty lines by copying indentation from preceeding line",
1005
1005
"type": "boolean",
1006
1006
"default": false
1007
+
},
1008
+
"indentComplexValueExpressions": {
1009
+
"description": "indent complex value expressions: (true)\t\t\t\t\t\t(false) var a = if (true)\t\t\tvar a = if (true) 10;\t\t\t\t\t\t10; else\t\t\t\t\telse 20;\t\t\tvs.\t\t\t20; return if (true)\t\t\treturn if (true) 10;\t\t\t\t\t\t10; else\t\t\t\t\telse 20;\t\t\t\t\t\t20;",
0 commit comments