Visual C++ TODO Task List not showing elements

会有一股神秘感。 提交于 2019-12-23 09:59:26

问题


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.



来源:https://stackoverflow.com/questions/9282626/visual-c-todo-task-list-not-showing-elements

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!