Community
Participate
Working Groups
I have my formatter setup to format parameters on a new line such as public MyClass( int param1, String param2, long param3 ) { } When I execute Generate Constructor using fields ... it generated constructor with parameters on a single line. If I then execute Source -> Format Element if formats the parameters correctly.
We are taking the correct project settings. The bug is a current limitation of ASTRewrite, which does not support forced line splits yet. The problem is the context dependent indentation needed to correctly format such scenarios. To reproduce, set the line wrapping policy for parameters in method declarations to wrap all elements, every element on a new line
fixed > 20060728
Released for 3.3 M1
Verified for 3.3 M1 using build I20060807-0010. However, I was not able to reproduce with 3.2 build...
*** Bug 141500 has been marked as a duplicate of this bug. ***