Community
Participate
Working Groups
i20040204 Formatting the class below using the default code formatter settings moves //YYY to the line below. This is undesirable since I cannot use comment-based tags (such as $NON-NLS-X$ tag in the else block. public class XXX { public void foo() { int x = 0, y = 0; if (true) x = 1;//XXX else y = 10;//YYY } } is formatted as: public class XXX { public void foo() { int x = 0, y = 0; if (true) x = 1;//XXX else y = 10; //YYY } }
Fixed and released in HEAD. Regression test added.
Verified in 200402121200.