firen
firen

Reputation: 1424

Eclipse: search for folders and resources in Project Explorer

I am looking for a way to search easly anything which is shown Project Explorer. Using Open Resource dialog allows me only to search for resources. I found this question How to find Eclipse projects & folders by name? but the plugins described there looks like do not work in Eclipse Juno properly.

Upvotes: 7

Views: 8690

Answers (2)

dbrank0
dbrank0

Reputation: 9476

Not exactly it, but better than nothing:

Expand everything you want to search (try using shift+numpad *). Once it's actually visible, you can start typing keyword, and it will be located.

Plugins like eclipse glance allow for highlighting, moving, wildcards, regular expressions.

You can also use Ctrl + Shift + R, which allows you to locate resource(s) directly, without even browsing through project explorer.

Upvotes: 7

VonC
VonC

Reputation: 1329542

With Eclipse 4.14 (part of the Eclipse 2019-12 simultaneous release, available December 18, 2019), you can use Find Actions

See "Find Actions lists workspace files"

Find Actions can now list matching file names from the workspace (similar to the Open Resource dialog). Upon selection the file is opened in the editor.

https://www.eclipse.org/eclipse/news/4.14/images/find-actions-resources.png

Note: the name "Find Actions" (and Quick Access) are debated in issue 547755.

Upvotes: 0

Related Questions