在Idea中查找对象的所有引用 [英] Finding all references to an Object in Idea

查看:2745
本文介绍了在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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆