In Eclipse you can add a comment using Task Tags like // TODO <task> or // FIXME. This should add that comment as a task to the Tasks. By default the Task Tags are disabled. Enable them as follows:
- Window > Preferences
- Type Task Tags
- Select that Task Tags under General > Editors > Structured Text Editors
- Check Enable searching for Task Tags