Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » javadoc generation and ${tags}(javadoc generation and ${tags})
icon3.gif  javadoc generation and ${tags} [message #832532] Fri, 30 March 2012 08:50
christophe seguinot is currently offline christophe seguinotFriend
Messages: 2
Registered: January 2012
Junior Member

In the javadoc template of a method (java -> Code Style -> Code Template : Comments -> Methods) we can have :
* ${tags}

Take the following example :

private String generateJavaDoc(String exemple) {
return "javadoc";

By clicking on ctrl + shift + j, we get :

* @param exemple
* @return
private String generateJavaDoc(String exemple) {
return "javadoc";

Extract form the eclipse documentation :
"Comment templates can contain the variable ${tags} that will be substituted by the standard Javadoc tags (@param, @return..) for the commented element."

I would like to customize the template associated to @{tags} in order to add the @link tags.
* @param exemple {@link String}
* @return {@link String}
private String generateJavaDoc(String exemple) {
return "javadoc";

Does anyone know how to do this or at least if it's possible ?

Best regards,
Previous Topic:eclipse Views that are dragged outside not display on perspective switching
Next Topic:Eclipse crash on startup
Goto Forum:

Current Time: Tue May 22 08:34:31 GMT 2018

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

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

Back to the top