07.05 TODO Comments in the Task List

VERSIONS

2005, 2008, 2010

CODE

vstipTool0029

Have you ever written some code and want to leave a reminder to yourself to do something? Did you know about the “To Do” comment feature? It is a great feature, and because the comment goes directly in the source, everyone can have access to the information when you check in code.

So here’s how it works.

VB

In VB, you just put any comment in that begins with “todo” (case doesn’t matter):

image with no caption

C#

In C#, it’s the same thing (again, case doesn’t matter):

image with no caption

C++

The C++ version looks just ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.