Extending the xml documentation template

  • Thread starter Thread starter Remco Bosman
  • Start date Start date
R

Remco Bosman

Hi All,

Does anybody know how I can extend the automatically generated xml tags that
are generated when I entre three slashes

/// <summary>
/// My Summary
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>

I want to add a few comments when I put in the three slashes, I know i can
do that manually, but can we automate it?

Regards,

Remco
 
Remco

It is fairly easy to crate a VS.NET add-in that will enable you to add additional comments. I have a tool i use for commenting that generates comments that look like this

/// <separator>------------------------------------------------------------------------------------------------------</separator
/// <author>Richard Stockley</author
/// <project>Demo</project
/// <company>PocketNerd</company
/// <created>01.Feb.2004</created
/// <summary
/// Default constructor used to initialize the clas
/// </summary
/// <return></return
/// <remarks>No Remarks</remarks
/// <separator>------------------------------------------------------------------------------------------------------</separator

I find it useful to know who created a class, method, etc and when. I also add the separator lines to give the same impression that VB does with its code separating line

You can get hold of my tool from

http://www.pocketnerd.net/PocketPro...ocumentID=8D239734-BEBE-44F5-BCB9-E953253BF03

HT

RS
 
Back
Top