macro to add code documentation
Is there a macro or an add-in out there that will allow you to hi-lite the blue part and automatically generate the template for the red part? I think I had something like this for VBA at one time, wondering if its possible for c#.
Code:
/// <summary>
/// a function for doing stuff
/// </summary>
/// <param name="param1">The first parameter</param>
/// <param name="param2">The second parameter</param>
public void MyFunc( object param1, object param2)
{
...
}
Re: macro to add code documentation
I am not sure of any add-on, but why search for one when you can do it with three key-strokes. Just type /// on the line before function declaration and press enter, it will automatically generate the templte for you. It works in Visual Studio.
Re: macro to add code documentation
Try GhostDoc (http://www.roland-weigelt.de/ghostdoc/). I was very satisfied with it.
Re: macro to add code documentation
Quote:
Originally Posted by Shuja Ali
I am not sure of any add-on, but why search for one when you can do it with three key-strokes. Just type /// on the line before function declaration and press enter, it will automatically generate the templte for you. It works in Visual Studio.
I knew there must be something simple... Thanks!