Locked VS2011 Task List seems not to work

  • Thursday, April 12, 2012 4:21 AM
     
     

    Hi,

    Not sure, but it seems like VC++ 2011 task list wondow doesnt work. I have several comments in my code like "// TODO ...". But when I open the Task List Window and switch to comments, nothing being displayed.

    Tools -> Options -> Environment -> Task List: "TODO" is on a tokens list.

    Maybe there is some other options to turn TODO comments detection on, but didn't find one.

    Regards

All Replies

  • Thursday, April 12, 2012 9:23 AM
     
     

    You can go through this link for your knowledge

    http://msdn.microsoft.com/en-us/library/170k1bbs.aspx

  • Thursday, April 12, 2012 9:31 AM
     
     
    Yeah, thanks, but I saw it, and Task Comments worked fine in previous studio versions.
  • Wednesday, April 18, 2012 8:41 AM
    Moderator
     
     

    Hi Maxim,

    I cannot reproduce this issue.

    You can refer to this https://skydrive.live.com/#cid=475F7E3EBE2EEF90&id=475F7E3EBE2EEF90%21166

    You can try to use “devenv.exe /resetsettings” to restore Visual Studio default settings. Or use Visual Studio Setup Wizard (via Control Panel) to repair Visual Studio.


    Lucy Liu [MSFT]
    MSDN Community Support | Feedback to us

  • Wednesday, April 18, 2012 3:58 PM
     
     

    devenv /resetsettings probably won't make any difference here.  Maxim, can you try a different language to see if the issue is language-specific?  Also, when you switched to the task list, were you viewing the C++ file that contained the comments?

    Thanks,

    -Josh Stevens

    VS Shell team

  • Wednesday, April 18, 2012 5:00 PM
     
     
    Bellow is a screenshot. Can't try different language, 'cause I didn't install it.
  • Wednesday, April 18, 2012 5:11 PM
     
     

    Ah, I think I found it.  Please try switching on the option "Enumerate Comment Tasks" in Tools -> Options under Text Editor -> C/C++ -> Formatting -> Miscellaneous.

    This feature has been turned back on by default in more recent builds of the product.

    -Josh Stevens

    VS Shell team

  • Thursday, April 19, 2012 3:25 AM
     
     

    No, it's on. Please take a look at the screenshot. I looked through some of these options previously, because I also had to spend some time to switch it on in VC2010.

    What else can I do to help solving this issue?

  • Thursday, April 19, 2012 5:22 PM
     
     

    Does it help if you type "TODO:" instead of just "TODO"?

    -Josh Stevens

    VS Shell team

  • Friday, April 20, 2012 4:15 AM
     
      Has Code

    None of these works:

    // TODO: task
    // TODO task
    //TODO task
    //TODO: task

  • Friday, April 20, 2012 4:18 PM
     
     

    Thanks for checking.  I'm going to loop in someone from the C++ team to see if they have any ideas.

    -Josh Stevens

    VS Shell team

  • Friday, April 20, 2012 9:10 PM
     
     Answered

    Apparently there are some known bugs in this area -- they recommend you wait for the RC release and try again at that point.  Sorry I don't have a better answer than that.

    -Josh Stevens

    VS Shell team