GhostDoc Equivalent for Eclipse(Java)


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?




AssertionFailedException while creating CellEditor in Eclipse

1:



How to search for carriage return in eclipse
It is basically the equivalent of Javadoc, which can be generating in eclipse with the shortcut:.
Eclipse: Copying over new files while diffing
ALT+Shift+J.
java.lang.NoClassDefFoundError: org/apache/juli/logging/LogFactory
(when you are within the Java function you wish to add javadoc for).
In an Eclipse plugin, how can I make a DirectoryFieldEditor start with a particular path?
From there, if you really want XML format, you can try and use a JELDoclet.
How can I set up the “Working Directory:” from the “External Tools Configuration…” in Eclipse?


VEditor (Verilog Editor for Eclipse) in Eclipse Galileo


How can I compare two revisions in git in Eclipse?

2:


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..


3:


GhostDoc has a nice extra feature that infers a description of what the method does by parsing the method name and providing this as skeletal documentation.

For example, using GhostDoc on a method named GetDocumentName() might return the phrase "Gets the document name".

While this is hardly more information than provided by the method name, it adds method documentation where previously none existed.

Some might argue that this is barely useful.

I argue to the contrary because it supports generating documentation from the source code (e.g., for tools like NDoc or SandCastle).. In my opinion the greatest benefit of GhostDoc over eclipse's "Generate Element Comment" is that it encourages programmers to begin adding documentation comments by adding an extremely fast and reliable way create this.

The programmer can accept the inferred text, (suitable in 50 - 80% of cases), or expand on this for more complex methods.

For the junior programmer who is not as familiar with how documentation comments are used, this can quickly shorten the learning curve and encourage good programming practices..


4:


Javadoc is not like GhostDoc my friend.

Javadoc only creates the structure so one can write the documentation from scratch.

GhostDoc actually fills up the information according to the Method/Property name.. Example:.
/// <summary> /// Gets the user from id. 

/// </summary> /// <param name="id">The id.</param> /// <returns></returns> private string GetUserFromId(string id);
JAutoDoc is the closest I've found so far but it's not as magical as GhostDoc..


5:


Never used GhostDoc, so not sure what extra functionality it gives, but if it's about generating type and method comments based on the name, parameters, return type etc.

then eclipse has it built in, so no extensions needed..



84 out of 100 based on 64 user ratings 414 reviews

@