View all TODO items in Visual Studio using GhostDoc
I'm also using GhostDoc i开发者_JAVA技巧n 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)?
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().
ReSharper has a nice ToDo explorer to get an overview of all todos -or custom keywords- comments.
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.
精彩评论