Accepted answer

is there an easy way to view all methods which contain this comment? some sort of menu option?

yes, choose one of the following:

  1. go to window → show view → tasks (not tasklist). the new view will show up where the "console" and "problems" tabs are by default.

  2. as mentioned elsewhere, you can see them next to the scroll bar as little blue rectangles if you have the source file in question open.

  3. if you just want the // todo auto-generated method stub messages (rather than all // todo messages) you should use the search function (ctrl-f for ones in this file search → java search → search string for the ability to specify this workspace, that file, this project, etc.)


  1. push ctrl+h
  2. got to file search tab
  3. enter "// todo auto-generated method stub" in containing text field
  4. enter "*.java" in filename patterns field
  5. select proper scope


in adition to the other answers mentioning the tasks view:

it is also possible to filter the tasks that are listed to only show the todos that contain the text // todo auto-generated method stub.

to achieve this you can click on the filters... button in the top right of the tasks view and define custom filters like this:

enter image description here

this way it's a bit easier and faster to find only some of the todos in the project in the tasks view, and you don't have to search for the text in all files using the eclipse search tool (which can take quite some time).


sometimes window → show view does not show the tasks. just go to window → show view -> others and type tasks in the dialog box.


tasks view, under window -> show view -> tasks


go to window>show view >markers

than you will get java task .

java task have all todos of your project

Related Query

More Query from same tag