-->

Visual C++ TODO Task List not showing elements

2019-06-20 06:15发布

问题:

The // TODO comments and other custom defined are not showing up in task list in Visual Studio 2010 (Ultimate, x64, sp1) even activating the option in configuration, as is told in that post:

Visual Studio TODO / Task List not showing up

I know that only works on opened files that have todo comments, but even with an opened file that have them I get an empty list.

回答1:

If you already changed Tools -> Options -> Text Editor -> C/C++ -> Formatting -> Miscellaneous -> Enumerate Comment Tasks to True...

Did you also change the box in Visual studio's Task List from User Tasks to Comments ?



回答2:

Make sure you have a solution (.sln) open, not just a file or project within a solution. Even a .csproj or .vbproj file won't cut it.