Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » javadoc formatter with {@code ...}
javadoc formatter with {@code ...} [message #257976] Thu, 08 January 2009 04:28 Go to next message
Eclipse UserFriend
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.
Re: javadoc formatter with {@code ...} [message #257980 is a reply to message #257976] Thu, 08 January 2009 05:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mauro.molinari.cardinis.com

Philippe Maseres ha scritto:
> Does anybody has an idea about that ?

Check out Eclipse Bugzilla: many bugs against the new formatter have
been filed and many of them have already been fixed.
If you don't find one for your particular case, please open a new one.

Mauro.
Re: javadoc formatter with {@code ...} [message #257984 is a reply to message #257980] Thu, 08 January 2009 07:28 Go to previous message
Eclipse UserFriend
I've been looking before for reported bugs for this kind of problem, but
I've not found any... I'll report this case...

Thanks for your answer.
Previous Topic:How to show the logical structure in package explorer
Next Topic:Finding packages with same name in different source folders
Goto Forum:
  


Current Time: Thu Apr 17 11:17:21 EDT 2025

Powered by FUDForum. Page generated in 0.03876 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top