Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

A doxygen eclipse plugIn automatically generating stub documentation? [closed]

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

like image 553
LonliLokli Avatar asked Aug 21 '10 12:08

LonliLokli


2 Answers

See updated solution.


Old answer:
In eclipse helios in window->preferences you can do: c/c++->Code Style->Code Templates->Comments + Automatically add comments for new methods and classes

You can configure the comment style here, but it is not as smart as it should be. If you find something better, I would be very happy...

like image 184
tauran Avatar answered Oct 16 '22 10:10

tauran


For Project specific settings
In Project->Properties->C/C++ General:

  • Tick Enable project specific Settings
  • Select Doxygen as Documentation tool

Then typing /** above the function/method and hitting enter will work. See here.

like image 7
Antonio Avatar answered Oct 16 '22 11:10

Antonio