How many times did you write a TODO comment in your code? How many times did you forget about this comment and met it again only some months later? It happens a lot to most of the developers who eventually tends to write their TODO missions on some papers, notepad or a ToDoList application. From what I know, most software developers are not aware of the fact that they can view all of their TODO comments in one list. Just go to View->Task List and you will get a window which contain all of the TODO comments:
In fact, the presented comments are the comments which include the following phrases (by default): HACK, TODO and UNDONE. How do I know that? Just go to Tools->Options->Environment->Task List and see the Tokens list. You can also add more tokens of your own by clicking on one of the existing tokens, change its name, click on the Add button and click OK:
Now, my task list will look like that:
Notice that with Visual Basic projects, the Task List displays all of the comments in the project. With C# projects, the Task List displays only the comments that are found in the files currently opened for edit. With C++ projects, the Task List displays only the comments that are found in the file currently active in the editor. I can’t figure out why did they (Microsoft) implemented it like that, what was the problem to let the user choose which comments are presented: those in the current project, in the currently opened files or in the currently active file in the editor…
I am curious to hear if you guys knew about that issue.
Copyright © 2008
This feed is for personal, non-commercial use only.
The use of this feed on other websites breaches copyright. If this content is not in your news reader, it makes the page you are viewing an infringement of the copyright. (Digital Fingerprint:
)