Community
Participate
Working Groups
This problem can be found when writing non-javadoc comments using the following settings: * Everything disabled but comment formatting. The following comment /* * Conceptually, all viewers perform two primary tasks: * * - They help adapt your domain objects into viewable entities * * - They provide notifications when the viewable entities are selected or * changed through the UI */ is formatted into (upon CTRL+SHIFT+F) /* * Conceptually, all viewers perform two primary tasks: * - They help adapt your domain objects into viewable entities * - They provide notifications when the viewable entities are selected or * changed through the UI */ which is formatted into (upon CTRL+SHIFT+F) /* * Conceptually, all viewers perform two primary tasks: - They help adapt your * domain objects into viewable entities - They provide notifications when the * viewable entities are selected or changed through the UI */ ---- The expected behavior can be seen when replacing the - with an o: /* * Conceptually, all viewers perform two primary tasks: * * o They help adapt your domain objects into viewable entities * * o They provide notifications when the viewable entities are selected or * changed through the UI */ Stays without being changed. Thanks for your great work, Eclipse Team!
Is it just that case or would you rather see that you can disable formatting for traditional and single line comments?
I think the formatter is very useful to break at 80 characters, that is why I leave it enabled. Using something like a bullet point * or - in a kind of Wiki-syntax is more readable in source code than <li> <ul> <p>.
.
Ownership changed.
Block comment formatting can now be disabled. Is this good enough?
Hi Olivier, I would prefer, if instead of just switching comment formatting for non-javadoc comments on and off, one could specify more precisely whether the formatter should... a.) ...just indent but preserve newlines b.) ...break at 80 characters. Thanks, Christopher
*** This bug has been marked as a duplicate of bug 239130 ***
Verified for 3.5M4 using I20081209-0100