views:

403

answers:

3

Hello,

Assume I have 10 Methods and 10 Properties. Is there a way to add the xml comments (///) to all 10 Methods and 10 Properties at once in VS 2008 or do I have to type /// for each one.

+4  A: 

This little tool is very useful Ghost Doc.

John Sonmez
Great I will check this out. Looks good.
Xaisoft
I use this all the time and love it. It's so much easier than the default behavior of VS!
Peter Oehlert
+2  A: 

Well you have to actually type text into each one anyway, so typing /// each time isn't really any extra work. I hope you aren't just inserting the stubs and leaving them there.

Yuliy
No, I was just curious if there was a quick way to add the all the stubs at once.
Xaisoft
I find it easier to just start /// and type the summary right away. It places the cursor in the right spot for that immediately.
Yuliy
A: 

You can create a powershell (scripting language with syntax pretty similar to C#) script to do that for you.

Quaky