-->

View all TODO items in Visual Studio using GhostDo

2019-01-31 10:46发布

问题:

I'm also using GhostDoc in Visual Studio 2008. How do I view all to-do items and if that's a function already in Visual Studio or in GhostDoc (the documentation tool that I use)?

回答1:

If you are referring to TODOs that are defined with the // TODO comments, open the Task List and set it to the Comments filter.

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().



回答2:

ReSharper has a nice ToDo explorer to get an overview of all todos -or custom keywords- comments.



回答3:

Note that in Express versions like Visual Web Developer 2010 Express and Visual C# Express 2010, you need to be in Expert mode to enable the task list. Expert mode is at menu ToolsSettingsExpert Mode.

Then the option to open the list is in menu ViewTask List.