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?
CTRL + H , You can see Search For box, select Method.
The Eclipse search dialog box allows you to search for files that contain a literal or a character pattern in the entire workspace, a set of projects, a specific project or folders selects in the package explorer view. Clicking on the Search menu and selecting Search or File or Java. Clicking Ctrl + H.
Press Ctrl + H , should bring up the search that will include options to search via project, directory, etc. Ctrl + Alt + G can be used to find selected text across a workspace in eclipse.
ctrl+o
(cmd+o
) opens the quick outline where you can search for a method within the current class. Pressing ctrl+o
again extends the search scope to the complete class hierarchy.
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.
With the ctrl+h
you will have some more options to search.
Under java search option you may find search for type
, method
, package
, constuctor
, field
.
Also you may find "Limit To" option to narrow your search result and get precise search result!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With