|
-
May 25th, 2006, 04:54 PM
#1
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)
{
...
}
-
May 26th, 2006, 01:33 AM
#2
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.
-
May 26th, 2006, 01:34 AM
#3
Re: macro to add code documentation
Try GhostDoc (http://www.roland-weigelt.de/ghostdoc/). I was very satisfied with it.
- Make it run.
- Make it right.
- Make it fast.
Don't hesitate to rate my post. 
-
May 26th, 2006, 10:28 AM
#4
Re: macro to add code documentation
 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!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|