First of all thx for this plugins, it's very usefull.
I have a problem with default template for Exceptions, i change the message for this template but there is no change when i apply the javadoc comment (ctrl + alt + j over the method), always prints the default template.
/**
* @throws ${e} the ${e.sfl()}
*/
To edit the default template for Exceptions, i did the next steps:
- Go to Window->Preferences->Java->JAutodoc->Templates
- Select Default template into Exception kind and clic edit
- Then I typed something like this:
/**
* @throws blalbalbablabla ${e}
*/
Can anyone help me?
Thanks a lot.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
First of all thx for this plugins, it's very usefull.
I have a problem with default template for Exceptions, i change the message for this template but there is no change when i apply the javadoc comment (ctrl + alt + j over the method), always prints the default template.
/**
* @throws ${e} the ${e.sfl()}
*/
To edit the default template for Exceptions, i did the next steps:
- Go to Window->Preferences->Java->JAutodoc->Templates
- Select Default template into Exception kind and clic edit
- Then I typed something like this:
/**
* @throws blalbalbablabla ${e}
*/
Can anyone help me?
Thanks a lot.
Hi,
you are right so far, but you have to switch the arguments of the throws-tag:
/**
* @throws ${e} blalbalbablabla
*/
Otherwise it's not a valid Javadoc comment.