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

后端 未结 2 1495
眼角桃花
眼角桃花 2020-12-30 04:22

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 th

2条回答
  •  囚心锁ツ
    2020-12-30 05:17

    This is off by default 'for performance reasons'. Tools + Options, Text Editor, C/C++, Formatting, Miscellaneous, Enumerate Comment Tasks = True. Feedback article is here.

    Also note the comment in the MSDN article about task list comments:

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

提交回复
热议问题