When enabling the formatting option "align fields in columns" all member fields get aligned, like this:
int member1 = 1;
int member2WithLongName = 2;
int member3 = 3;
String member4 = "asdf";
after switching to the Mars Release (4.5) this changed slightly. Members now get first grouped (by blank lines between them) and then aligned, resulting in an alignment like this for the above example:
int member1 = 1;
int member2WithLongName = 2;
int member3 = 3;
String member4 = "asdf";
aligning is done based on the groups instead of based on all members.
Grouping members sometimes make sense to have a clear separation of static/final members / constants... Aligning based on these groups might make sense, too - but might screw up formatting between team members that use the latest release or older ones.
So the question is whether this can be configured to behave like previous releases. Or is this something only I experience and something went wrong when upgrading?
There is "Blank lines separating independent groups" property in Neon.
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