Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Filter out our own types in Eclipse 'open type'?

Tags:

eclipse

I'm wondering if there is a way to configure the Eclipse 'Open Type' search tool to separate the types defined in 'our own' source code (i.e. source code in the project) from types defined in libraries? I very often want to find a project-defined type, but it is drowned in a sea of types from the library.

One solution would be to have all of our types in the same package, using the source package filter; unfortunately that is not possible right now. And it's a bit difficult to turn it on and off, often you do want to search among all types.

EDIT. Yes global text search, but that is slower and a lot clumsier for this purpose.

like image 357
Jonas N Avatar asked Nov 03 '22 18:11

Jonas N


1 Answers

Perhaps you want to check preferences dialog: Java > Appearance > Type filters. There you can set up filter for the types from external libraries.

like image 129
ntalbs Avatar answered Nov 15 '22 06:11

ntalbs