Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to simplify code documentation process - visual studio C#

I'm wondering if there is any shortcut in visual studio to generate automatic documentation for a method or class.

For example when I write a method:

public void MyFunction(int d)
{

}

I want generate the following structure:

    /// <summary>
    /// 
    /// </summary>
    /// <param name="d"></param>
like image 774
mack369 Avatar asked Mar 25 '10 12:03

mack369


1 Answers

This is what happens when you type /// above the method signature.

You can also install and use a documentation tool like GhostDoc that also adds some detail to the code documentation that it generates.

like image 142
Oded Avatar answered Oct 04 '22 02:10

Oded