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

Posted by Chris Simmons on Stack Overflow See other posts from Stack Overflow or by Chris Simmons
Published on 2010-12-26T20:49:06Z Indexed on 2010/12/26 20:54 UTC
Read the original article Hit count: 138

Filed under:

I'm trying to get my TODO comments to show up in the task list in Visual Studio 2010 for a C++ project, but they don't. I looked at this, but see no caveats other than the TODO comments need to be in the currently-open file. For example, creating a new Win32 console app places this:

// TODO: reference additional headers your program requires here

in a new file, stdafx.h. However, there's nothing in the task list.

I have "Comments" chosen from the drop-down in the task list, but it's always empty. And it's not this problem; I can open the file and be looking at the TODO comment in the code editor and no task is shown. This is not a problem for C# projects as TODO comments show up as designed in those projects; this appears to be an issue specific to C++ projects.

What else can I check?

© Stack Overflow or respective owner

Related posts about visual-studio-2010