在Visual Studio 2010中使用doxygen [英] Using doxygen with Visual Studio 2010

查看:740
本文介绍了在Visual Studio 2010中使用doxygen的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



与un / comment lines相比,没有其他功能可以进行评论。例如生成注释存根,在新行之后添加///。



另外,我想知道在VS2010的IntelliSense功能中显示这些注释需要什么?

解决方案

根据 MSDN文档,任何使用 // / * 分隔符的注释将显示在智能感知成员列表中的关联成员旁边。 / p>

您可以使用doxygen的XML输出或



/ doc 文档解释了如何使用IntelliSense的XML文档:


要使用IntelliSense生成的.xml文件,请使用.xml文件的文件名与要支持的程序集相同,并将.xml文件放在与程序集相同的目录中。在Visual Studio项目中引用程序集时,也会找到.xml文件。


AtomineerUtils 是doxygen / javadoc / DocXML文档中最好的Visual Studio加载项之一。这不是免费的,但 doxygen帮助工具列表中没有任何内容在Visual Studio 2010。


I have difficulties using efficiently doxygen with Visual Studio 2010 and C++.

It seems like there is no other function for commenting than "un/comment lines". For example generating comment stubs, adding /// after a new line.

Also, I wonder what is needed to display those Comments within the IntelliSense feature in VS2010?

解决方案

According to the MSDN Documentation, any comments using // or /* delimiters will be displayed next to the associated member in the IntelliSense Members list.

You can use doxygen's XML output or the XML documentation generated by Visual Studio as IntelliSense input.

The /doc documentation explains how to use XML documentation with IntelliSense:

To use the generated .xml file with IntelliSense, make the file name of the .xml file the same as the assembly that you want to support and put the .xml file is in the same directory as the assembly. When the assembly is referenced in the Visual Studio project, the .xml file is also found.

AtomineerUtils is one of the best Visual Studio add-ins for doxygen/javadoc/DocXML documentation. It's not free, but nothing on the list of doxygen helper tools is targeted at Visual Studio 2010.

这篇关于在Visual Studio 2010中使用doxygen的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆