自动生成eclipse CDT中的函数的注释(文档) [英] Auto generate comments (documentation) for functions in eclipse CDT
问题描述
/ **
*
*
如解释这里,我甚至配置使用Doxygen支持。转到C / C ++ - >编辑器 - >文档工具注释:Doxygen。
我仍然得到如上所述。如何配置eclipse以添加自己的样式的评论?
即使在代码模板中,我也改变了评论。转到C / C ++ - >代码样式 - >代码模板 - >评论。我改变了类型,字段,方法。对于我来说,仍然没有运气。
有人可以帮我吗?
谢谢
Ravi
如果要自动填充参数等,像Eclipse for Java一样。
打开项目属性。然后C ++一般。然后选择Doxygen作为您的文档工具。 / **与您完成填写的评论一样。
I am using eclipse Juno with CDT. I have written a function in a cpp file and I want to add comments for the function. Does CDT supports Auto generate comments by "typing /** then press enter"? In my case the auto generated comments are only as follows.
/**
*
*/
As explained here, I even configured to use Doxygen support.Go to C/C++ -> Editors -> Documentation Tool Comments: Doxygen.
I still get the comments as mentioned above. How can I configure eclipse to add comments of my own style?
I changed comments even in Code templates. Go to C/C++ -> Code Style -> Code templates -> Comments. I changed Types, Fields, Methods. Still there is no luck for me.
Can someone assist me on this?
Thanks, Ravi
If you want the automated filling in of parameters etc, like Eclipse for Java does.
Open your project properties. Then C++ General. Then select Doxygen as your documentation tool. The type /** as you did to get the fully filled comment.
这篇关于自动生成eclipse CDT中的函数的注释(文档)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!