Community
Participate
Working Groups
When trying to use a GNU-style or (Pascal-style) with the formatter, the opening braces have an additional indent that avoids the alignment of braces. Instead of getting something like this: if (condition) { something(); something(); } what you get is: if (condition) { <---- additional indent : no alignment of braces something(); something(); } I don't know whether this style (ala Pascal but without alignment) exists, but at least I would like to be able to choose in the preferences whether to use the additional indent or not.
Could you please specify which build you are using? Without that information, it is difficult to reproduce.
I suspect this problem to be seen in a 1.0 build. In 2.0 this problem is fixed. Wait for the build number and the formatter options to close it.
More information: I have the R1.0 version and build 0.137; the formatter options in the "Newline" tab are all checked.
This bug is fixed in the 2.0 builds. This is a duplicate of 1GIRC23 which is referenced in the build notes of jdtcore. Move to close.
Closed.