Search all files in an Eclipse project/package

Posted on 2006-03-21
Last Modified: 2010-03-31
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.
Question by:phavardel
    LVL 11

    Accepted 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.


    LVL 86

    Expert Comment

    Search|Project (from memory)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Suggested Solutions

    Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
    Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
    Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
    Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now