A doxygen eclipse plugIn automatically generating stub documentation?

LonliLokli picture LonliLokli · Aug 21, 2010 · Viewed 43.2k times · Source

I'am looking for an eclipse-plugin for doxygen code documentation. I have found the eclox-plugIn ( http://home.gna.org/eclox/ ). I would like find out, how can it automatically generate a "empty" doxygen comment, which could be filled out later or what is the better choice for a documentation eclipse plugIn?

For example for a function: void f(int p1, int p2, ...), it should generate:

/*! \brief ...
    \param p1 ...
    ..
*/ 

PS I'm using for mainly the c/c++ languages

Answer

tauran picture tauran · Sep 28, 2011

A different (better) approach than my previous answer:
In Window->Preferences->C/C++->Editor,
In the right tab look for "Documentation tool comments", and in "Workspace default" set doxygen.

Now you can type /** above a function and press return.

/**
int foo(int bar);

becomes

/**
 * 
 * @param bar
 * @return
 */
int foo(int bar);