antony.trupe antony.trupe - 1 year ago 132
Java Question

How can I generate Javadoc comments in Eclipse?

Possible Duplicate:

Javadoc template generator

Is there a way to generate Javadoc comments in Eclipse? If so, what is it?

Answer Source

For me the /**<NEWLINE> or Shift-Alt-J approach works best.

I dislike seeing Javadoc comments in source code that have been auto-generated and have not been updated with real content. As far as I am concerned, such javadocs are nothing more than a waste of screen space.

IMO, it is much much better to generate the Javadoc comment skeletons one by one as you are about to fill in the details.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download