Sean Patrick Floyd
Sean Patrick Floyd

Reputation: 298898

Eclipse: find resource on classpath

Is there a way in eclipse to search the classpath for arbitrary resource file names (or patterns)?

I know I can use either

Navigate > Open Type

(which will scan the classpath for classes) or

Navigate > Open Resource,

which will search for any resource type, but only in my project folders. Is there any way to achieve a combination ob both, to do a resource search (something like *.xsd) that searches all jars on the classpath?

Upvotes: 4

Views: 8485

Answers (2)

Andreas Dolk
Andreas Dolk

Reputation: 114777

The classpath helper plugin is at least a starting point. Looks like it doesn't provide a search but it seems to list all entries on the classpath.

I don't know if your fit and willing to modify it but it should provide the basic code to add some filename-based search on top.

Upvotes: 1

user357206
user357206

Reputation: 87

Which Version are you using?

Because when I open the search-menu (Java-Search), I could choose, which space should be searched, whether the hole workspace or including all JRE-Libraries. Think, it should work for you.

Upvotes: 0

Related Questions