David

David

  • NA
  • 1
  • 0

Creating a Keyboard Shortcut to add a Comment: .NET Commenting Macro

Jul 20 2009 4:12 PM
Hi all,
Have you ever had the need to enter comments which include your initials and a timestamp so you can easily identify why a code change was needed? 

I've had to do this on a number of occausions, and I found it tedious to manually enter comments in this format, which would look something like "// DWS 2009-07-17 - ".

I've documented a simple process you can follow to create a macro that will automate this process so you can add your own keyboard shortcut with your initials and date that is much eaiser to follow than the MSDN articles on creating a macro. Please check it out here:

http://www.dmcinfo.com/Blog/articleType/ArticleView/articleId/62/NET-Commenting-Macro.aspx

Please let me know if you find it useful!
Thanks,
David

Answers (1)