Community
Participate
Working Groups
In the array initialise line-wrapping configuration that I have, I have configured for each element to be on its own line, and to "force split" If I then do a class-level array declaration like this: int[] x = { 1,//a 2,//b 3,//c 4,//d }; and then format it, I get this: int[] x = { 1, //a 2, //b 3, //c 4, //d }; The end-of-line comments should get let on, er, the end of the lines! PS This may have some connection to issue 58999 - which is to do with code formatter handling of //$NON-NLS-x$ tags, which are also end-of-line comments
which build?
A line comment shouldn't be treated as a different element...
Sorry - this is in M8, with no third-party plugins
Fixed and released in HEAD. Regression tests added.
Verified for 3.0M9