• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 338
  • Last Modified:

Search all files in an Eclipse project/package

Hi, I'm new to Eclipse. I tried searching the help files, but didn't see what I was looking for.

Is there a way to search for text in all the files of a project or a package? I'd like to find all occurances of "BoxLayout" in a package I'm working with (which was started by others, so I don't know where everything is).

Thanks in advance.
1 Solution

In Eclipse at the top menu

Go to --> Search --> File

then write the text you are searching in the "containing text" text box. You can also select other options like in the selected resource OR in workspace etc.
You can also filter upon the types of file to be searched for ex: *.jsp etc...

For java seach, you can also find a tab named java search in the same panel.


Search|Project (from memory)

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now