Partager via


Did you know... You can show Hack, Undone, and custom Tokens in the Task List? - #176

Todo’s are not the only thing you can display under "Comments" in the Task List.  If you go to Tools – Options – Environment – Task List you’ll see a Token List.  By default, Visual Studio comes with Hack, Undone, and Comment, but you can create your own.

Task List Tokens List

Now in the editor i can type in a comment, using the ‘TipOfTheDay token format…

Tip of the Day token comment

the ‘TipOfTheDay comment now appears in the task list.

Tip of the Day comments now in Task List

Technorati Tags: VS2005Tip,VS2008Tip

Comments

  • Anonymous
    March 19, 2008
    PingBack from http://msdnrss.thecoderblogs.com/2008/03/20/

  • Anonymous
    March 20, 2008
    My Studio does not save the custom entries in the List. If I close my VS2005 and reopen it, the custom tags are no longer in the task list.

  • Anonymous
    March 20, 2008
    The comment has been removed

  • Anonymous
    March 20, 2008
    This is the best thing I read about task list. I never gave it a try, because I'm working alone and never found time to wait for it to come out and then type. But if it is able to read comments starting with some token that is great!

  • Anonymous
    March 23, 2008
    The only problem with that feature is that entries appear in Task List only when a file with respective tokens is opened. I'd like to see all my TODOs when I open my project.

  • Anonymous
    March 27, 2008
    The comment has been removed

  • Anonymous
    March 27, 2008
    The comment has been removed

  • Anonymous
    March 27, 2008
    The comment has been removed

  • Anonymous
    March 27, 2008
    As Kostya Ly said the entries only appear when you have files open that you've added tokens to. I feel it's pretty much a pointless feature without a global filter. I'm not going to open every file to be able to see my 5 Todo:

  • Anonymous
    March 28, 2008
    I used this feature extensively in VS2003 but abandoned it in VS2005 because (as mentioned previously) it now only operates on open files, which makes it next to useless.

  • Anonymous
    March 28, 2008
    It is my understanding that "the entries only appear when you have files open that you've added tokens to" applies only to C#; in VB.Net this is apparently not the case. Check out http://predicatet.blogspot.com/2006/12/show-all-tasks-in-visual-studion-2005-c.html

  • Anonymous
    March 28, 2008
    【原文地址】 March 28th Links: ASP.NET, ASP.NET AJAX, ASP.NET MVC, Visual Studio, Silverlight, .NET 【原文发表日期

  • Anonymous
    April 02, 2008
    I'd love to use this more, but as many have observed, it only works for open files (VB files OR C# files).

  • Anonymous
    April 06, 2008
    BTW, Resharper show all tasks in project even if files are closed