65.9K
CodeProject is changing. Read more.
Home

Visual Studio Tasks List

starIconstarIconstarIconstarIconstarIcon

5.00/5 (21 votes)

Jul 5, 2010

CPOL
viewsIcon

40936

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"