Visual C++ TODO Task List not showing elements

2019-06-20 06:37发布

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.

2条回答
乱世女痞
2楼-- · 2019-06-20 06:49

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 ?

查看更多
We Are One
3楼-- · 2019-06-20 06:53

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.

查看更多
登录 后发表回答