Todo tasks not appearing in the Task List in visual studio 2012

C#Visual StudioVisual Studio-2012CommentsTodo

C# 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".

Screenshot

Enlarge Image

Solution 2 - C#

** For Visual Studio 2012 **

  1. Select View -> Other Windows -> Task List.

enter image description here

  1. Select the option "Comments" in the Task List window.

    enter image description here

For Visual Studio 2008.

In the Task List window select the option "Comments".

enter image description here

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.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionSamuelDavisView Question on Stackoverflow
Solution 1 - C#Furkan EkinciView Answer on Stackoverflow
Solution 2 - C#RckLNView Answer on Stackoverflow
Solution 3 - C#Peter RitchieView Answer on Stackoverflow
Solution 4 - C#McLanView Answer on Stackoverflow
Solution 5 - C#peroijaView Answer on Stackoverflow
Solution 6 - C#user5182944View Answer on Stackoverflow