Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...How do I customize the auto commenting text to add the <histroy> tags?How do I customize the auto commenting text to add the <histroy> tags?
Previous
 
Next
New Post
2/28/2012 1:02 AM
 

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

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?


Vineet Belani
Director of Technologies
Amazing Computer Solutions Pty Limited
www.amazingsolutions.com.au
www.hospitalmanagementsoftware.com
www.seriousaboutshaadi.com
 
New Post
2/28/2012 4:37 AM
 

In my opinion this information does *not* belong in the source code.  This is what the source control system is for.

The code should concentrate on what it does now.  I am only interested in when it got that way, when hunting down a recently introduced bug. 

Most of the time those kind of comments are just irritating.


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
2/28/2012 12:05 PM
 
you can do so via the VBXMLDoc.xml file for vb.net (http://blogs.msdn.com/b/lisa/archive/2010/05/25/how-to-customize-the-xml-comments-that-are-inserted-by-the-visual-basic-code-editor.aspx) but i'm not aware of the equivalent for c#

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...How do I customize the auto commenting text to add the <histroy> tags?How do I customize the auto commenting text to add the <histroy> tags?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out