How to search all open files in Eclipse?

daveslab picture daveslab · Dec 21, 2009 · Viewed 26.6k times · Source

Simple question: how do I search all the files currently open in Eclipse? Note: I don't wanna search all the files I have in that workspace, just the ones open in tabs. Is there an easy way to do this?

Answer

Boris Pavlović picture Boris Pavlović · Dec 21, 2009

Closest way is selecting several resources in Navigator or Package Explorer view, then press Ctrl+H and choose 'Selected Resources' radio button. It will limit search only to selected files.