Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GhostDoc Equivalent for Eclipse(Java)

I'm a big fan of GhostDoc's automatic comment generation in Visual Studio so am looking for an plugin that does the same job with my Java code in Eclipse. Any recommendations?

like image 348
Duncan Avatar asked Jul 15 '09 09:07

Duncan


2 Answers

You can check JAutodoc (http://jautodoc.sourceforge.net/)
From the author:

JAutodoc is an Eclipse Plugin for automatically adding Javadoc and file headers to your source code. It optionally generates initial comments from element name by using Velocity templates for Javadoc and file headers.

This one is the one I've found closest to GhostDoc.

like image 72
julio.g Avatar answered Oct 30 '22 18:10

julio.g


It is basically the equivalent of Javadoc, which can be generating in eclipse with the shortcut:

ALT+Shift+J

(when you are within the Java function you wish to add javadoc for)

From there, if you really want XML format, you can try and use a JELDoclet

like image 37
VonC Avatar answered Oct 30 '22 18:10

VonC