Skip to main content



      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 04:50
Eclipse UserFriend
Hello,

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 ?

Thanks
Best regards,
Chris
Previous Topic:Help Import website
Next Topic:Maximize/restore a view programmatically
Goto Forum:
  


Current Time: Wed Jul 16 15:21:57 EDT 2025

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

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

Back to the top