Task List comments in Visual Studio

Here’s a quick Visual Studio tip. You can embed useful notes and reminders in code using Task List comments like this:

// TODO: fix catastrophic memory leak

These notes will automatically appear in the Visual Studio Task List, which you can open with the shortcut Ctrl+W, T or by selecting View – Task List from the main menu bar.

Visual Studio Task List

Visual Studio also supports two other comment tokens, HACK and UNDONE. You can even add your own custom comment tokens in:

Options – Environment – Task List.

4 Responses to “Task List comments in Visual Studio”

  1. Will Asrari Says:

    KLUDGE or KLUGE are good ones for custom comments. Pretty much the same as HACK.

  2. vaughany Says:

    That’s a damn good tip for a n00b like myself.

  3. theanti9 Says:

    i agree with vaughany, that is quite useful

  4. Ivan Says:

    I just wish you didn’t have to actually OPEN the file to view the comments in the task list. I wish I could have an option to view all.


Leave a Reply