javadoc formatter with {@code ...} [message #257976] |
Thu, 08 January 2009 04:28  |
Eclipse User |
|
|
|
Hello.
I've recently changed my previous eclipse and use now the Ganymede (3.4.1)
version. The java code formatter behavior in this late version seems to
produce different results comparing it with my old 3.3 version. Some of
the them are not really critical, but one of them breaks my old code.
The special javadoc tags {@code ...} and {@litteral ...}, used inside
other javadoc tags in former versions let the text unwrapped, protecting
the integrity of the value...
For example, the frequently used CVS tags can be set in the javadoc
version using something like that :
/**
* Comments that can be formated in several lines...
*
* @author Myself
*
* @version {@code $Revision: 1.2 $ $Date: 2009/01/07 12:27:50 $ $Author:
myself $ $Source: /projects/cvs/module/project/src/com/foo/Main.java,v $}
*/
In the last version, the formatter doesn't take into account the {@code
...} section, and breaks the line such a way that CVS can't update the
value when the source file is committed...
Does anybody has an idea about that ?
Thanks !
Best regards.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03876 seconds