find class associated by button id

2019-09-06 09:49发布

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

3条回答
可以哭但决不认输i
2楼-- · 2019-09-06 10:20

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

查看更多
狗以群分
3楼-- · 2019-09-06 10:22

Go to the Search -> Search

Select File Search Tab

Enter your search text.

and Enter File Name Patter as * 
查看更多
做自己的国王
4楼-- · 2019-09-06 10:37

Highlight the object in Code, than

Press control shift g

which is the project shortcut for this path

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

查看更多
登录 后发表回答