Click here to Skip to main content
15,868,016 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

 
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 

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.