Eclipse: quick search on filename

Aleksandr Kravets picture Aleksandr Kravets · May 17, 2012 · Viewed 59.7k times · Source

Very often while working in Eclipse I realize that I remember class name, but forgot in which package this class is. Using Search is not very convenient. Too many clicks and key presses. I wonder, is there a plugin to simplify this process? For example, would be great if there was text-edit box in the top of package explorer which could filter showing packages and .java files depending of entered text. Anyone knows something like that?

Answer

Rangi Lin picture Rangi Lin · May 17, 2012

Eclipse does provide similar functions:

Open Resource Shift+Ctrl+R for all resource files (including Java files)

Open Type Shift+Ctrl+T for all Java classes in classpath.

They also filter the list as you type.

Note that they search all files of all opened projects in current workspace.