在Idea中查找对象的所有引用 [英] Finding all references to an Object in Idea
问题描述
Intellij-IDEA IDE是否有快捷键或选项可以在特定项目中查找对类
的所有引用?例如,我创建了自己的 Class
来保存 String
和 int
我已通过该项目进行了参考。该项目非常庞大,我不想手动搜索每个文件。
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.
提前致谢。
推荐答案
看起来您需要做的就是右键单击类
并选择查找用法,或Alt + F7。以下是 http://www.jetbrains.com/idea/webhelp/的更详细说明find-usages-in-project.html 。
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.
这篇关于在Idea中查找对象的所有引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!