I prefer formatting assignments like this:
$foo = $bar;
$long_foo = $bar;
instead of this:
$foo = $bar;
$long_foo = $bar;
However the latter is being used by Netbeans when using auto format. Anyone knows how to fix that?
It's been 3 years since this question has been posted but I think it is very useful, so I should answer this question. I've found one website that it seems right to your question.
In Alignment category there are new properties for Group Multiline Alignment - Assignment and Array Initializer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With