问题描述
我正在寻找一个用于doxygen代码文档的eclipse插件。我发现了eclox-plugIn() 。我想知道如何自动生成一个空的doxygen注释,可以稍后填写,或者是什么是更好的选择文档eclipse插件?例如对于函数:void f(int p1,int p2,...),它应该生成:
*! \brief ...
\param p1 ...
..
* /
PS
我主要用于c / c ++语言
。
旧答案:
在eclipse helios在window->首选项中可以做:
c / c ++ - >代码样式 - >代码模板 - >评论
+
自动添加新方法和类的注释
您可以在此配置注释样式,但它不如它应该是聪明的。如果你找到更好的东西,我会很开心...
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 ...
..
*/
PSI'm using for mainly the c/c++ languages
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...
这篇关于一个doxygen eclipse插件自动生成存根文档?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!