javadoc generation and ${tags} [message #832532] |
Fri, 30 March 2012 04:50 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03451 seconds