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

Watermark Studios picture Watermark Studios · Oct 6, 2011 · Viewed 13.6k times · Source

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?

Answer

kroonwijk picture kroonwijk · Oct 6, 2011

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.