How do I customize the auto commenting text in Visual Studio?

Dillie-O picture Dillie-O · Jan 8, 2009 · Viewed 9k times · Source

When I type the trigger the auto comment feature in Visual Studio (by typing "'''" or "///"), most of the XML commenting details show up that I like. However, I typically add the history tag to the documentation so I can track and changes that are made to the method over time.

Is there any way I can customize the auto commenting feature so that it will add the history tag, and potentially some generic Name - Date - Change placeholder text?

Answer

DavGarcia picture DavGarcia · Jan 8, 2009

I'd suggest using GhostDoc. It generates very smart comments using /// based on your method names and parameters. Also, it is fully customizable.