Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / programming

Visual Studio Tasks List

5.00/5 (22 votes)
5 Jul 2010CPOL 40.9K  
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)