C# 使用 GhostDoc 在 Visual Studio 中查看所有 TODO 项
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2165120/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
View all TODO items in Visual Studio using GhostDoc
提问by PositiveGuy
回答by Zyphrax
If you are referring to TODOs that are defined with the // TODOcomments, open the Task List and set it to the Comments filter.
如果您指的是使用// TODO注释定义的TODO,请打开任务列表并将其设置为注释过滤器。
Also be careful with GhostDoc. Always read the comment that was generated. I remember that older versions would generate comments like: "Toes the string" for a method like ToString().
还要小心 GhostDoc。始终阅读生成的评论。我记得旧版本会为像 ToString() 这样的方法生成如下注释:“Toes the string”。
回答by bob
回答by Nenotlep
Note that in Express versions like Visual Web Developer 2010 Expressand Visual C# Express 2010, you need to be in Expert mode to enable the task list. Expert mode is at menu Tools→ Settings→ Expert Mode.
请注意,在Visual Web Developer 2010 Express和Visual C# Express 2010等 Express 版本中,您需要处于专家模式才能启用任务列表。专家模式位于菜单Tools→ Settings→ Expert Mode。
Then the option to open the list is in menu View→ Task List.
然后打开列表的选项在菜单View→ Task List 中。