Community
Participate
Working Groups
The @formatter:off tag is not respected in block comments: /** * @formatter:off * This line gets moved * @formatter:on */ public static void test() { } gets /** * @formatter:off This line gets moved * @formatter:on */ public static void test() { }
It is not only inside block comments : class Test { // formatter:off /* private void meth() { // this will wrap } */ } Ctrl+shift+F class Test { // formatter:off /* * private void meth() { // this will wrap } */ } Should I fill a new one (as I intended originally) ?
I've checked both cases and they work correctly now (except that Palmer used "formatter:off" instead of "@formatter:off"), probably since the formatter rewrite in Eclipse Mars. *** This bug has been marked as a duplicate of bug 303519 ***