Community
Participate
Working Groups
I believe this to be a regression. In the code formatter, you can specify Line Wrapping rules. I have a problem with the Constructor and Method Declarations|Paramters setting - and you can see the problem in the Preview... If you set the Line wrapping policy to "Wrap all elements, except first...", and the Indentation policy to "Indent on column", the formatter attempts to align all parameters. This formatting is *ignoring* the "space after open parenthesis" selection from the White Space tab - but correctly reacts to "space before open parenthesis" This gives you the badly formatted preview of: void foo( int arg1, int arg2, int arg3, int arg4, int arg5, int arg6 ) This applies to Method and Constructor declarations - but the Function Calls equivalents seem to get it right
This won't be fixed for 3.1
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests.test592
Reopen to close as duplicate of bug 72402.
*** This bug has been marked as a duplicate of 72402 ***