Visual Studio Tips: Task List Comments
I don't know about a lot of you but when I code sometimes I will leave this on a page to come back and do later, or I have some hack that I am using temporarily that I am going to need to come back and change. I am a bit scatter brained and sometimes I forget to come back and fix these.That is why when I'm working through these I leave myself notes, in the Visual Studio task list. You can manually type things in there or you get things in there directly from your code comments by using comment tokens.
There are a few built in (TODO, HACK, and UNDONE) that I use all the time, but you can add your own, or just use the built in ones by just adding the prefix in front of your comment. ex:
'TODO: find more elegant solution
'HACK: hardcoded
These will show up for you to come back to in your task list so you don't have to go searching around double click the task and away you go. A big time saver.
Labels: Visual Studio
posted by Tom Becker at
12/16/2008
![]()

0 Comments:
Post a Comment
<< Home