PhaZ90771
PhaZ90771

Reputation: 391

TODO items not showing up in Visual Studio Express 2012

The TODO list items aren't showing up in Visual Studio Express 2012 for C++.

Why are the TODO list items not showing up?

This question has been asked before, but none of the answers have resolved my issue. I have done the following:


What I have already tried:


Solution:

Upvotes: 4

Views: 1224

Answers (1)

JBentley
JBentley

Reputation: 6260

Try adding a colon:

//TODO: text
//   ^^^
//  colon

This worked for me (with Enumerate Comment Tasks set to True, as you mentioned) in Visual Studio 2012 Ultimate.

Caveat: the file needs to be open AND active for it to appear in the task list in C++, according to the Visual Studio 2008 documentation:

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

I couldn't find the equivalent documentation for any later versions, but the behaviour seems to be unmodified in Visual Studio 2012 which is a shame because it makes the feature rather limited in usefulness.

Upvotes: 2

Related Questions