Scanning for TODOs in Source Code
See Also
The To Do window scans your code and lists all TODO tasks. By default, the
IDE recognizes all of the following as TODO tasks:
- Javadoc comments that contain the @todo keyword
- Comments that contain the TODO, XXX, or FIXME
keywords
- Comments that contain any custom keywords you have registered with the Task
List
 |
You can register custom task keywords and set
the priority for each type of task keyword. Choose Tools
Options from the main window. Then expand the Editing node, select To Do
Settings, and open the property editor for Task Tags. |
To open the To Do window:
- Choose Windows
To
Do from the main window (Ctrl-6). The To Do window opens at the bottom of
the IDE. You can scan:
- Current File. Scan the selected file in the Source Editor. The To
Do window scans each file as you open it in the Source Editor.
- Selected Directory. Specify a directory to scan for TODO tasks.
You have to refresh the list manually using the Refresh button (
).
To jump to a TODO task in the Source Editor:
- Double-click the task in the To Do window.
To set filters on the TODO tasks that are displayed:
- If you have not set up a filter, click the Filters button (
)
and choose Edit Filter.
- Use the More and Fewer buttons to set conditions for the filter.
- Click the Filters button and choose Activate Filter.
To specify what information is listed for each task:
- Click the columns button (
)
in the top right corner of the Task List window.
- Check the checkbox for each type of information you want to be listed.
Legal Notices