在Eclipse的工作空间中快速查找一个字段或方法 [英] Quick find a field or method in Eclipse's workspace

查看:350
本文介绍了在Eclipse的工作空间中快速查找一个字段或方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现在Eclipse上使用 Ctrl(cmd) + o 快捷键非常有用,可以在类中查找成员字段或方法(并再次使用它)从超级班获得)。



但是,我想知道是否有类似的方法来快速搜索项目和/或工作区中的字段或方法,您知道名称但不是(类似于如何找到类型 Ctrl(cmd) + Shift + T 或资源 Ctrl (cmd) + Shift + R )。



如果我不能在哪里请求我最了解的是Java搜索,它允许您指定搜索方法,字段,方法,类等等。如果您使用Java或Java浏览视角, Ctrl + H 将使用Java搜索打开搜索对话框作为所选类型。



如果要请求功能或增强功能,请将其输入 Eclipse的Bugzilla 。请记住,积压的功能请求是巨大,所以最有效的方式是让您注意到是主动提交补丁。


I find it extremely useful to use the Ctrl(cmd)+o shortcut on Eclipse to find a member field or method in a class (and use it again to get the ones from the super class).

However, I would like to know if there is a similar way to quickly search in the project and/or workspace for a field or method you know the name of but not where it is (similarly to how it is done to find a type Ctrl(cmd)+Shift+T or a resource Ctrl(cmd)+Shift+R).

If is not available where can I request it?

解决方案

The closest thing I know of is the Java Search, which allows you to specify searching for a method, field, class, etc. If you're in the Java or Java Browsing perspective, Ctrl+H will open the Search dialog with Java Search as the selected type.

If you want to request a feature or enhancement, enter it into Eclipse's Bugzilla. Keep in mind that the backlog of feature requests is HUGE, so the most effective way to get yours noticed is to take initiative and submit a patch.

这篇关于在Eclipse的工作空间中快速查找一个字段或方法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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