Loading...

August 16, 2008

Show TODO comments in the Task List window of NetBeans

Besides errors we can also display our TODO comments in the Task List window. It is useful to have an overview of these comments, so we can jump right to the source and fix our TODO. The following screenshot shows Java source code with different comments and the Task List window:

We can define which keywords make up a TODO comment. In Tools | Options | Miscellaneous | ToDo Tasks we can define patterns, which make up a TODO comment. If the pattern is found in a source file, it will show up in the Taks List window: