views:

193

answers:

7

Hello,

In eclipse, if you write a comment such as //TODO something-or-other, you are able to track and navigate back to all of your TODOs via a Task Pane. Is there any similar device in VS?

Thanks, brian

A: 

TODO will work. Here is a link

Cody C
10. Track things you have to do with Task ListThe Task List window (Ctrl+Alt+K) allows you to keep track of the things you have to do. Right click on the Task List window and choose Show Tasks|All to see a list of tasks. Ctrl+Shift+F12 to cycle through your list of tasks.By default, comments marked with a TODO will appear in the task list.
Cody C
A: 

Yes. Check out this post.

Enrico Campidoglio
+5  A: 

Menu => View => Task List
In the combo box select "Comments"

The comments keywords being used to build the task list can actually be configured via Tools->Options->Environment->Task List
0xA3
A: 

Yes, it's also

//TODO: My task

You can look up what tasks you have todo'd by looking at the "Task List"

Nathan Koop
A: 

In Visual Studio, click on the View menu then Task List. Use the drop down on the upper left corner of the Task List to view "Comments".

Bonus info: HACK and UNDONE are also keywords that show up in the list.

To add your own custom keywords, view the Tools->Options menu, selected Environment node, then Task List node.

Greg
A: 
//todo: whatever
//TODO: work on blah blah
//Todo new screenshot

All work (at least in 2008 and probably previous versions as well).

MDStephens
A: 

Try the following

  • Click on View -> Other Windows -> Task List (occasionally it's directly under View)
  • Switch the ComboBox to Comments

This will now display all TODO comments found in your code base that appear inside comments.

JaredPar