Todo tasks not appearing in the Task List in visual studio 2012
C#Visual StudioVisual Studio-2012CommentsTodoC# Problem Overview
I've recently upgraded to Visual Studio 2012 and haven't have any problems except for the fact that comments beginning with "//todo" no longer show up in the task list. I have absolutely no idea on where to start looking for a solution to this problem as all of the keywords are too general.
I came across other similar questions where the answer was that the file wasn't open containing the //todo comment, but that is not the case for me. My todo comments do not show up even when the file is open in front of me.
C# Solutions
Solution 1 - C#
Actually there is a dropdown control at the top of the "Task List" window and if you use the Visual Studio 2012 Dark Theme the dropdown looks like a label. If you click the "User Tasks" text, you will see "Comments" selection which lists your comments that contain "//todo".
Solution 2 - C#
** For Visual Studio 2012 **
- Select View -> Other Windows -> Task List.
-
Select the option "Comments" in the Task List window.
For Visual Studio 2008.
In the Task List window select the option "Comments".
Solution 3 - C#
You can view what you have set for tokens in Tools/Options under the Environment/Task List item in the left tree. You should have "TODO" in there which should detect //todo
.
Solution 4 - C#
Well, I was Having the same problem working in Windows-7 and Visual Studio 2012. All I had to do is change from:
// TODO
to
// TODO: do not forget the colon
Solution 5 - C#
Chalk this up to a stupid mistake, if it is not showing for you make sure your code doesn't look like this:
//int justfakecode=1; // TODO: FIX ME LATER
with the token as part of a commented out line. I herped the derp on this one.
Solution 6 - C#
Task list comments just shows current files TODO comments. This may be a bug of Visual Studio.