问题
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 Tools → Settings → Expert Mode.
Then the option to open the list is in menu View → Task List.
来源:https://stackoverflow.com/questions/2165120/view-all-todo-items-in-visual-studio-using-ghostdoc