Is it possible to put TODO comments from xml files included in project to Task list in Visual Studio 2013?
We are using a lot of XML files and it would be handy to use TODO, HACK or other keywords for Task list.
Is it possible to put TODO comments from xml files included in project to Task list in Visual Studio 2013?
We are using a lot of XML files and it would be handy to use TODO, HACK or other keywords for Task list.
Resharper has a To-do Explorer window which will pick up any ToDos in your XML files. You can configure it to report 'HACK' or any other pattern in the Resharper > Options > Tools > To-do Explorer. The pattern is a Reg-Ex so for example the Todo pattern is:
(?<=\W|^)(?<TAG>TODO)(\W|$)(.*)
AFAIK, there's no built-in tool to view comments from XML files in Task list window of Visual Studio 2013.
But there are several 3-d party tools. For example, VS10x Comments Extender, which has a shareware version to download. I've never tried such tools myself but you can take a look at description on Visual studio gallery.
There's also a post about aspx/ascx and cshtml files.