Eclipse: search text in Java class comments, etc.

I want to find text that is written in annotations and comments in my java classes. eg

/** 
 * Object interface mapping for hibernate-handled table: mytable.
 * @author
 */

public interface myInterface{
}

I tried to search mytablein eclipse "java search" and "search for files", but did not look at these texts, and I can see these texts in annotations, etc.

I also use the java search match location and select everything, but it is still not looking for mytable .

Please tell me how to do this in eclipse or RAD 8.0 (if possible).

After searching, how to replace it without opening each file?

+3
source share
4 answers

*.java / mytable, (myInterface.java) . , .

+6

,

eclipse

- > - > :

*.java

java

+1

To search for text from any file, you can use the file search option, it should work

+1
source

for searching in annotations, on the tab “Search in Java” there is an option “Limit” to search only in the text of annotations. however, I could not find a place for comments for the comments that I would need now ...

0
source

All Articles