views:

514

answers:

2

Hi there,

i was looking for a javadoc plugin for eclipse so that i can document for methods etc. I know in eclipse you can do ALT + SHIFT + J but i was wondering if there was a more powerful plugin,

I use GhostDoc in VS 2008 which basically when you say document it enters all the parameters and return values and even starts the paragraph for you.

I was hoping for somehting like that in eclipse because with ALT + SHIFT + J the only this it does is install the

     / ***** /* lines

Any help really appreciated

GhostDoc isn't available for eclipse, its c# only, i use - its great, this is what i am talking about http://submain.com/products/ghostdoc.aspx maybe something exists similar for eclipse?

+1  A: 

If you are on your method declaration with the cursor and press ALT + SHIFT + J (or right click on the method you want to document in the outline, then Source -> Generate Element Comment) Eclipse will insert all the @param and @return tags accordingly and sets the cursor to the comment.

Another nice feature is that you can press CTRL + Space in the JavaDoc comment to create links to other classes.

Daff
Under Window -> Preferences -> Java -> Code Style -> Code Templates you can also change the templates for the comments.
starblue
A: 

http://jautodoc.sourceforge.net/ - Maybe this will satisfy you.

Trick