How do I make TODO comments show up in the task list for C++ projects in Visual Studio 2010?

This is off by default 'for performance reasons'. Tools + Options, Text Editor, C/C++, Formatting, Miscellaneous, Enumerate Comment Tasks = True. Feedback article is here.

Also note the comment in the MSDN article about task list comments:

With Visual C++ projects, the Task List displays only the comments that are found in the file that is currently active in the editor.


This is what I got from MSDN:

Hi,

The ‘comments tasks’ in the Task List window is turned off by default due to performance reasons. You can turn this feature on from

Tools->Options->Text Editor->C/C++->Formatting-> Miscellaneous->Enumerate Comment Tasks.

We apologize for the inconvenience.

Thanks Sumit Kumar Visual C++ Team