Community
Participate
Working Groups
I have following anonymous class (using an indent of 2): public class ... { public static void main(...) { ActionListener al = new ActionListener() { public void actionPerformed(ActionEvent arg0) { // do something } }; } } After applying Code Format (Ctrl-Shift-F), the closing bracket of the actionPerfomed method is replaced as follows: public class ... { public static void main(...) { ActionListener al = new ActionListener() { public void actionPerformed(ActionEvent arg0) { // do something } }; } } Using Eclipse Version: 2.1.0 Build id: 200303272130
formatter is jdt core
This will be fixed with the new formatter.
This is addressed in the new formatter. Fixed and released in HEAD. Regression test added.
Verified.