Autogenerate C/C++ function comments in Eclipse

ilya1725 picture ilya1725 · Jan 12, 2012 · Viewed 9.5k times · Source

This is a basically duplication of this question. However, I'm looking for the same answer that will work in C/C++ - some easy way to add comments to the functions with descriptions of all of the parameters. It was really easy to do in SLickEdit - just press Ctrl+SHift+D. All the answers and methods for the aforementioned question were for Java.

Thank you.

Answer

paulsm4 picture paulsm4 · Jan 12, 2012

Try Doxygen.

You can set it up as follows:

Window->Preferences->C/C++ ->Editor->"Documentation tool"

Here are more details:

A doxygen eclipse plugIn automatically generating stub documentation?