find class associated by button id
) I want to see all references of the button id in all the class's of an android project..
How can i do it开发者_如何学C? using something like find? iam using eclipse..
Highlight the object in Code, than
Press control shift g
which is the project shortcut for this path
Menu > Search > References > Project... (or workplace, ..)
Go to the Search -> Search
Select File Search
Tab
Enter your search text.
and Enter File Name Patter as *
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
精彩评论