Tutorial :Auto comment all public members in a file



Question:

I have turned on warnings as errors and now i need to XML comment all of my public methods.

just to get my program compiling, i just want to put placeholders for now.

Is there anyway to automatically add XML comments to all of the public members in a class or a file.

I see ghost doc which gives you good autogenerated XML comments but it still looks like it only does one member at a time.


Solution:1

You could turn off the specific warning for the lack of comments with /nowarn.


Solution:2

Turn off the Xml comments until you have completed adding them in.

Or you could write an app to generate them for you. Or use a code snippet.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »