Click here to Skip to main content
15,867,704 members
Articles / General Programming
Tip/Trick

Visual Studio Tasks List

Rate me:
Please Sign up or sign in to vote.
5.00/5 (22 votes)
5 Jul 2010CPOL 38K   13   11
Marking code you need to return to later
If you develop in any way like I do, then you are probably always writing place fillers and temporary bits that show a message box rather than doing the full action - "I'll write that later".

Did you know that Visual Studio can help you keep track of these? Go to the View menu, Task List. Now the task list is displayed along with the error list, bookmarks and output window. Select "Comments" rather than "User Tasks" and edit your code.

Write a comment "//TODO this is not done yet." Wait a few seconds.
See how it appears in the Task List window? TODO can be upper, lower or a mixture of cases, just so long as it is the first word in the comment.

By default, VS supports "TODO", "HACK" and "UNDONE", but you can create your own and assign priorities with "Tools...Options...Environment...Task List"

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
CEO
Wales Wales
Born at an early age, he grew older. At the same time, his hair grew longer, and was tied up behind his head.
Has problems spelling the word "the".
Invented the portable cat-flap.
Currently, has not died yet. Or has he?

Comments and Discussions

 
GeneralMy vote of 5 Pin
Pravin Patil, Mumbai5-Jul-12 0:53
Pravin Patil, Mumbai5-Jul-12 0:53 
GeneralRe: Hello! Google Translate is bad translater for Russian, use P... Pin
krukovis28-Feb-12 1:13
krukovis28-Feb-12 1:13 
GeneralReason for my vote of 5 ??????? :) Pin
krukovis27-Feb-12 20:34
krukovis27-Feb-12 20:34 
GeneralRe: ???????????? ???! (? ???????, - ? ?????? ??? ???????????? Go... Pin
OriginalGriff27-Feb-12 21:55
mveOriginalGriff27-Feb-12 21:55 
GeneralReason for my vote of 5 Thanks.. Really helpful Pin
Pranit Kothari1-Jan-12 2:43
Pranit Kothari1-Jan-12 2:43 
GeneralThank you OriginalGriff for sharing it. It is really helpful... Pin
That's Aragon6-Dec-11 0:08
That's Aragon6-Dec-11 0:08 
GeneralSo has VS - I've used it since VS2002 Pin
Johnny J.5-Jul-10 21:23
professionalJohnny J.5-Jul-10 21:23 
GeneralRe: I am so dumb then. I am using .NET since version 1.1 and don... Pin
That's Aragon6-Dec-11 0:07
That's Aragon6-Dec-11 0:07 
GeneralReason for my vote of 3 A Good feature, Eclipse has this fea... Pin
mossey5-Jul-10 20:07
mossey5-Jul-10 20:07 
GeneralSweet! Pin
PSU Steve6-Jul-10 3:20
professionalPSU Steve6-Jul-10 3:20 
GeneralReally great tip! I use it with FIXME Pin
Jochen Baier5-Jul-10 19:12
Jochen Baier5-Jul-10 19:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.