7

The Task List in Visual Studio 2010 will show all the TODO comments in a solution, but is there some way to filter it to only show TODOs for files with pending changes or for files that are open? In other words, I don't want to see everyone else's TODOs, only the TODOs in my changeset. If it isn't built in, is there a plug-in that you like that can do that?

4

1 回答 1

2

任务列表窗口列出了所有包含TODO关键字的注释。还有两个默认关键字;破解撤消。VS 不允许更改或删除TODO关键字,但允许添加新关键字。如果您将特殊关键字(如RoToDo)添加到令牌列表(位于Tools/Options/Enviroment/Task List 中)并在您的评论中使用此关键字,如“// RoToDo comment here ”,任务列表窗口也会显示这些评论. 最后; 您可以使用任务列表窗口的排序属性来收集您的特殊评论。

RoToDo在这里评论 1
RoToDo在这里评论 2 RoToDo 在
这里评论 3
RoToDo在这里评论 4
待办事项 :在这里评论 1
待办事项 :在这里评论 2
待办事项 :在这里评论 3

于 2013-02-07T12:33:57.730 回答