Todo tasks not appearing in the Task List in visual studio 2012
Solution 1
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
** 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
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 4
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 5
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.
SamuelDavis
Updated on July 05, 2022Comments
-
SamuelDavis almost 2 years
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.
-
SamuelDavis over 11 yearsThis was not the correct answer, but it was very, very useful. The cause was a dropdown box containing the items 'comments' and 'user tasks'. As this new dark theme tucks away the dropdown icon, I believed it was simply a title and not a dropdown box. 'user tasks' was selected while what was needed was 'comments'.
-
Jonathan Wood almost 11 yearsDang! I looked and looked and couldn't see that.
-
McLan almost 11 years@Furkan Elkinici, I did what you said but nothing happen in my case. it it the same blank Task List
-
McLan almost 11 years@RckLN: I have the same problem but in windows-7 and VS2012. I followed your short and very-useful tutorial but the problem stands still and I can't see my "//TODO" comment in the Task List
-
Furkan Ekinci almost 11 years@Rania-Boy do you use Visual Studio 2012 and Dark Theme?
-
McLan almost 11 years@FurkanEkinci: yes, but even if it is light or blue, the theme does not matter. Anyhow, now it is working. check my answer below ..
-
SamuelDavis almost 11 yearsThe colon really should not affect the todo's appearing unless you have messed up your settings under tools-> options-> environment-> Task List
-
McLan almost 11 years@SamuelDavis: the colon made all the difference for me. My settings were and still fine as after installing VS-2012 (fresh installation) I haven't touched them. In fact, I was able to add two more tokens but again I have to put the colon in order to be identified as "Task List"
-
McLan almost 11 years@RckLN: I have figured it out, see my answer below. i was just missing the colon after the token.
-
Aleksander Lidtke over 10 years@Rania-Boy yup, made all the difference for me, the lil bugg(...)
-
McLan over 10 years@Irfan: for some of us the use of the colon is vital while it's not with others.I guess we are missing a very tiny small setting-detail, we need to find it out because it may be affecting other things as well ..
-
JosephHatfield over 9 yearsThanks, that worked for me! Note that you have to have a space after the colon as well.
-
Jean Davy almost 9 years@Suda.nese Thanks ! Works for me but need exactly "// TODO:", case and space.
-
Whiplash over 8 yearsI cannot believe I didn't see that xD @MrX, Thank you !!