haxe-formatter
haxe-formatter copied to clipboard
Successive parentheses on different lines
Describe the Feature If I have a long expression, which spans several lines, I would like to keep a closing parenthesis on a separate line. It does work if the expression within the parentheses does not end with a close parenthesis itself, but if it does, it wipes out all whitespace between them.
Sample of desired output
if (
abc() &&
def() &&
ghi()
) {}
hxformat.json
:
{"wrapping": {"opBoolChain": {"defaultWrap": "keep"}}}