Community
Participate
Working Groups
I20070427-0010. In order to format the following snippet you need to call the formatter twice. 1. paste this code (include the two empty lines): ---------------------------- public class Test { } ---------------------------- 2. Format ==> ---------------------------- public class Test { } ---------------------------- 3. Format ==> ---------------------------- public class Test { } ----------------------------
What are your compiler settings? How many empty lines to do preserve ?
forgot step 0.: start with fresh workspace
What do you expect? step2 and 3 to return the same result ?
I would expect that either the first format directly gives the result that I get after the second one or that the second one does nothing.
Ownership has changed for the formatter, but I surely will not have enough time to fix your bug during the 3.5 development process, hence set its priority to P5. Please provide a patch if you definitely need the bug to be fixed in this version and I'll have a look at it... TIA
Looks like some inconsistency in the formatter. Any chance to put this back on the 3.5 radar?
Except big regressions introduced by the the comments formatter rewriting, we will unfortunately not have enough time to look at formatter bugs and enhancements during 3.5 plan... Is there any strong needs for JDT/Text or JDT/UI to have this issue fixed?
>Is there any strong needs for JDT/Text or JDT/UI to have this issue fixed? My guess/hope is that this simple test case might help to fix other similar related bugs.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.