Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get TODO comments in HTML files to show up in Task List in Visual Studio?

So, I have TODO comments showing up in my task list as long as the TODO comment is in a C# file. The TODO comments in HTML, CSS, or JScript aren't showing up in my Task List. Is there a way to enable this in Visual Studio 2010 Pro?

like image 792
Watermark Studios Avatar asked Oct 06 '11 16:10

Watermark Studios


2 Answers

Simple answer: NO.

From: How to: Create Task List Comments

The Task List displays comments in your code that begin with the comment marker for your development language. Next to the comments, the Task List also displays a default task token, such as TODO, HACK, or UNDONE, or a custom comment token. The number of comments that appear in the Task List may change, depending on the type of project you are working on. With Visual Basic and Visual C#, the Task List displays all the comments in the solution. With Visual C++ projects, the Task List displays only the comments that are found in the file that is currently active in the editor.

So it is only supported in VB, C# and C++ projects.

like image 194
kroonwijk Avatar answered Sep 21 '22 21:09

kroonwijk


With Resharper, which you should have if you don't, has the todo list window your looking for. It parses all the those files (js, css, html, c#, etc.). You can dock that window with all your other windows.

like image 43
rkever Avatar answered Sep 17 '22 21:09

rkever