Reputation: 1183
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?
Upvotes: 17
Views: 21006
Reputation: 10115
It works in Visual Studio 2015
Only issue is that, that particular page is needed to be opened to view the tasks.
Add Task as in normal C#
//TODO: this is javascript task
Upvotes: 1
Reputation: 73
<% //TODO: page side task %>
i.e. escape to code and then use that language's tasking comment.
So, then alternatively:
<% 'TODO: page side task for VB %>
Note Arun's caveat about it only showing with the page open, which might be why "NO" is the top answer, because it doesn't fully accomplish what was asked.
(In fact this really just expands his answer, but I didn't yet have the points to make it a comment.)
Upvotes: 4
Reputation: 884
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.
Upvotes: 5
Reputation: 8400
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.
Upvotes: 8