在Eclipse中查找所有出现的函数 [英] Find all occurrences of a function in Eclipse

查看:648
本文介绍了在Eclipse中查找所有出现的函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Eclipse中,如何在Java应用程序中找到函数的所有用法?这是什么快捷方式?

In Eclipse, how can I find all usages of a function in a Java app? What is the shortcut for that?

我尝试使用 Ctrl + H 按方法搜索,但它返回我所有具有相同名称的方法。

I tried with Ctrl+H to search by method, but it return me all methods with the same name.

推荐答案

您可以在上下文菜单中找到一个菜单项,当右键单击功能。当光标在功能或成员上方时,您也可以按 Ctrl + G 。并非每个项目和文件类型都支持此功能。例如,EPIC Perl只支持查找函数的定义。

You can find a menu entry in the context menu, when right clicking on the function. You can also press Ctrl+G when the cursor is above the function or member. Not every project and file type supports this feature. For example, EPIC Perl only supports finding the definition of a function.

这篇关于在Eclipse中查找所有出现的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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