Find TODO tags in Eclipse

239

When I used Eclipse to add unimplemented methods to a Java class to fix an error, methods were auto-generated and include // TODO Auto-generated method stub

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

This question is tagged with java eclipse todo

~ Asked on 2013-06-03 18:08:26

The Best Answer is


361

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.)

~ Answered on 2013-06-03 18:10:26


40

Go TO Window>Show View >Markers

than you will get java task .

java task have all TODOs of your project

~ Answered on 2013-06-03 18:22:04


Most Viewed Questions: