Hope this is not a duplicate... It should not since I tried the usual provided fixes.
I'm facing problems with the automated generation of comments for Classes
and Methods
using Elipse CDT (Juno/3.8, Linux) configured with Doxygen
as default Documentation Tool
.
I still get empty comments area for methods parameters while typing /** + ENTER
:
/**
*
*/
Here is what I already tried without success :
- Setting : Windows > Preferences > C/C++ > Editor > Documentation Tool Comments > Doxygen
- Setting : Project > Preferences > Enable Project Specific Settings > Doxygen
Both lead to the same result.
Note : not sure about what happened with Eclipse configuration (it used to work fine before). Is that possible that I erased the Doxygen presets (maybe by pressing Windows > Preferences > C/C++ > Code Style > Code Templates > Restore Defaults
). In that case how to get it back to Doxygen style ?
EDIT: I've got some new on the subject...
Basically, it was a global change in my project (which actually is a shared library
). For some cross-platform portability reasons, I had to add a MACRO
before all my classes, like follows :
class LIB_CLASS LabOneOfMyClasses {
public:
...
}
Unfortunately, doing this seems to break CDT's ability to generate smart functions headers (@param
, @return
, ...). So removing temporarily the MACRO, allows to get ride of this disagreeable behavior. It is annoying and is something I should report to CDT's staff...
Note : In the end, it is handled properly in Doxygen, anyway.
If someone has a brilliant idea, something I missed, about that ?