当前位置: 动力学知识库 > 问答 > 编程问答 >

c# - Comment template in VS2010

问题描述:

I have inherited an API which doesn't have proper comments, and I am working on changing that.

Anyone know if there is some sort of mechanism to add a default XML comments to all the members of a class or an assembly?

(I remember seeing something like that on a webcast and I think he might have used PowerShell script to achieve that.)

This way I can avoid lots of repetitive steps, and have everything in place to go and start writing just the comments.

Anyone has any better suggestions?

网友答案:

GhostDoc is pretty fantastic for XML documentation, although you'll need to purchase a copy to generate automatic documentation for all classes/members. The free version allows you to right click (or use a hotkey) on class or member and it will generate the documentation.

网友答案:

I've found GhostDoc to be pretty good.

Once you've run it over your code you then simply add details where required.

http://submain.com/products/ghostdoc.aspx

分享给朋友:
您可能感兴趣的文章:
随机阅读: