Finding all references to an Object in Idea

烂漫一生 提交于 2019-12-22 09:07:53

问题


Is there a shortcut key or an option for Intellij-IDEA IDE to find all references to a Class in a particular project? For example, I have created my own Class to hold a String and an int and I have made references through the project. The project is quite large and I don't want to have to search through each file manually.

Thanks in advance.


回答1:


Looks like all you need to do is Right-click on the Class and select Find usages, or Alt+F7. Here is a more detailed description http://www.jetbrains.com/idea/webhelp/finding-usages-in-project.html.



来源:https://stackoverflow.com/questions/17622519/finding-all-references-to-an-object-in-idea

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!