Jaa


Adding items to the task list

Many times I like to make a note of things that I need to do later or things I haven’t completed yet inline with my code. Using Visual Studio 2005 you have the ability to change or add items that show up in the comments section of the task list. This makes it easier to go back later and find these.

By default these Visual Studio provides a series of these keywords that you can use automatically. They can be found in Tools – Options – Environment – Task List

The task list options are fully extensible. This means you can add your own or even change the priority of the existing items that are listed.

So for example if I wanted to enter a TODO comment in my code I could use the following

Comments

  • Anonymous
    November 29, 2006
    So how come when I enter comments with todo's in them // TODO do some stuff It doesn't automatically show up in my Task List after I compile. Is there some other setting that needs to be set to turn this on?

  • Anonymous
    November 29, 2006
    Unless I am missing something here, this is avaialble in VS 2003 too.

  • Anonymous
    November 30, 2006
    This is in VS2003, but will only show up in your task list if that file is open in VS - I believe. Has this changed for VS2005?

  • Anonymous
    November 30, 2006
    I just did a quick test with C# and //TODO showed up with no issue in my taks list with a default install. Also, within VS 2005 the comment appears whether the file is open or not.

  • Anonymous
    December 07, 2006
    good trick to work  upon

  • Anonymous
    December 15, 2006
    uh, this is BROKEN IMHO on 2005. you can only see it if the file is opened in the IDE.. LOL NOT MUCH USE is it. If i already HAVE the file open, i can do a FIND to locate the todo-- the entire point is to have a centralized place to find my issues....   just one of several small backward steps in 2005

  • Anonymous
    December 17, 2006
    In some quick testing I didn't see this problem. Although, personally if you want to have a centralized location i would look into Team System.