find class associated by button id

2019-09-06 10:30发布

问题:

) I want to see all references of the button id in all the class's of an android project..

How can i do it? using something like find? iam using eclipse..

回答1:

Highlight the object in Code, than

Press control shift g

which is the project shortcut for this path

Menu > Search > References > Project... (or workplace, ..)



回答2:

Go to the Search -> Search

Select File Search Tab

Enter your search text.

and Enter File Name Patter as * 


回答3:

Comment out your button and Eclipse will generate error's on all the references to that button :-)

Of course you can also
search with Crtl+F
Or by
Menu -> Search -> References