Community
Participate
Working Groups
Code Formatter doesn't obey "Insert new line before an opening brace" option. Steps: 1. activate "Insert new line before an opening brace" in preferences.Java.CodeFormatter 2. invoke Edit:Format on a class with static initializer. Result: class Foo { static { ... } .... }
Will consider post 2.0.
Created attachment 1003 [details] Proposal for pst 2.0
Created attachment 1004 [details] Zipped file containing a proposal for post 2.0
Sorry the first attachement is completely useless. Bugzilla lost all the formatting of the source file.
Resurrecting formatter issues in 2.1 stream.
Clearing resolution
*** Bug 22336 has been marked as a duplicate of this bug. ***
We need to clear 2.1 bug reports that won't be addressed before 2.1. The new implementation is still in the works. Therefore we cannot include it for 2.1. Not enough testing and we need to polish the preferences. This will be address for 2.2 as stated in the JDT/Core plan.
*** Bug 37422 has been marked as a duplicate of this bug. ***
Resurrecting for 3.0
Reopen for 3.0 consideration.
This is addressed in the new formatter. Fixed and released in HEAD. Regression test added.
Verified.
*** Bug 47597 has been marked as a duplicate of this bug. ***