I want to search for a particular line of code in the compilation unit. So need some input on how to go about the same. thanks
views:
57answers:
2
+2
A:
Do a file search in the whole project (or workspace) and use the file filter *.java
. This will scan all java source files for the given phrase.
Andreas_D
2010-08-24 07:24:23
A:
You can search for the text or you can use the References or Declarations search from Eclipse: select the line of code, right click and then choose References or Declarations.
Very useful to find where you call a certain method or where you used some class.
Torres
2010-08-24 13:09:57