简体   繁体   中英

Automatically generate XML-Documentation

I'm not quite sure if this is possible, but I was wondering if Visual Studio 10 (2010) or 11 (2012) allows you to automatically generate an XML compliant documentation?

For example, in visual studio, if you are using the programming language C#, when you create a method, and type 3 forward slashes / - it generates a comment above the method with a place to fill in a summary, and descriptions for all parameters.

Example:

/// <summary>
/// 
/// </summary>
/// <param name="value1"></param>
/// <param name="value2"></param>
/// <returns></returns>
public int GetSum(int value1, int value2);

If not, is there an extension/tool that allows for doing so?

是的,它被称为doxygen ,这种评论风格实际上被称为“doxygen-comments”。

I know this is a old thread. But if someone is still looking for this, ghostdoc is what you need http://submain.com/products/ghostdoc.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM