Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Eclipse 中,当您单击方法名称并按下F3按钮时,它会将您带到该方法。
我该如何做相反的事情?我有一个重载的方法(可能有大约 12 个不同的实例),我想快速找到是否从其他任何地方调用了这个特定的方法。
我知道你可以点击方法,按Ctrl+ H,然后Method在Workspace. 有没有更简单的键盘快捷键?
Method
Workspace
单击方法并按Ctrl++Shift执行G搜索References in Workspace。
References in Workspace
Ctrl+Alt+H opens the Call Hierarchy, which sounds like what you're looking for.