Skip to content

Rich Stokoe

aerospace, cars, finance, leadership, opinion, tech

Menu
  • Learning to Fly
  • Patents
  • Publications
  • Reading List
Menu

Automatic Task List in Visual Studio

Posted on November 9, 2012November 9, 2012 by rich
Uhh… a little help?

The Task List in Visual Studio is apparently very well hidden. But if you’ve ever put a “TODO” comment in some code in Visual Studio, you’ve already started to use it! This is a feature of Visual Studio that has been around since at least VS 2005 and yet I talk to so many developers who have no knowledge if its existence!

 

Enabling the Task List in Visual Studio

Go to View, and click on “Task List”, it is usually about half way down the list.

 

 

You will then be presented with the Tasks window. Pop open the drop down at the top and choose “Comments”:

 

And then you can see all of the TODOs in your code:

 

That’s magic!

 

Behind the Curtain

OK, it’s not really magic. All Visual Studio is doing is hunting through your source for any comments which begin with “TODO”:

  • Case doesn’t matter in Visual Basic and C#
  • Whitespace is ignored

I really is as simple as that. The only minor fly in the ointment is C++, which is case sensitive (use “TODO”) and comes with Comments tasks turned off by default… But don’t worry! They’re easy to turn back on again. Go to Tools and Options, then Text Editor, C/C++, Formatting, Miscellaneous and find “Enumerate Comment Tasks” – set it to true. Then you can join in the fun.

It can often be fun opening up old legacy solutions in Visual Studio and seeing just how many “TODOs” there are.

And by “fun”, I mean morbidly depressing. Especially if you’re the chump who has to maintain it all!!!

 

Category: Code, Software

Pages

  • Learning to Fly
  • Patents
  • Publications
  • Reading List

Categories

Architecture (2) Artificial Intelligence (8) Aviation (25) Bad Company (2) Books (1) Cars (2) Civil Aviation (27) Code (16) Companies (28) Entertainment (1) Featured (18) Film (1) Finance (4) Fitness (2) Gaming (4) General Aviation (26) Internet (28) Leadership (1) Military Aviation and Space (1) Mobile (7) Motoring (2) Open Finance (1) Payments (1) People (11) Places and Events (12) Politics (8) Products (6) Quantum Computing (1) Search (6) Security (1) Social (5) Social Business (3) Social Media (6) Software (22) Sports (2) Technology (48) TV (1) Uncategorized (22)

Recent Posts

  • TOON – The AI Data Format Designed to Save You Money
  • Building a 2nd Brain: Your Personal, AI-Augmented Knowledge Manager
  • State of the AI Nation 5: Walking the Talk
  • Learning to Fly: Lesson 25 (Video)
  • Learning to Fly: Lesson 24
  • Learning to Fly: Lesson 23 (Full Flight Video)
  • State of the AI Nation 4: Open AI Update
  • Learning to Fly: Lesson 22
  • Q-Day and Post-Quantum Cryptography
  • Tabs and Pockets – The Secret to Building Highly Effective Teams
© 2025 Rich Stokoe | Powered by Minimalist Blog WordPress Theme