haxe-formatter
haxe-formatter copied to clipboard
How to control wrapping of long types?
For example defaults produce this in my code:
private var chatStateHandlers:Array<(String, String, Null<String>,
UserState) -> Void> = [];
This is pretty gross looking, just splitting a part of the lambda arguments to a new line, and double indenting it for some reason also.
Ideally this would format as:
private var chatStateHandlers:
Array<(String, String, Null<String>, UserState) -> Void> = [];
or similar