Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8441475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:34:09+00:00 2026-06-10T08:34:09+00:00

Is there a way to search inside one particular source attachment in Eclipse? Currently

  • 0

Is there a way to search inside one particular source attachment in Eclipse?

Currently what I am doing is:

  1. In Eclipse, right-clicking on the binary jar that I’m interested in the source code of, in Package Explorer, and choosing Properties
  2. Copying and pasting the source attachment filename from the dialog box
  3. Making a new directory
  4. Unzipping the sources jar to that directory
  5. Searching that directory in Emacs (yes, Emacs – this means I don’t have to add it as a new project in Eclipse)

There must be an easier way!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:34:11+00:00Added an answer on June 10, 2026 at 8:34 am

    Is there a way to search inside one particular source attachment in Eclipse?

    The answer to your question is: no, not directly. See Eclipse bugs #199994 and #23341.

    I hope the bounty is meant to be for the correct answer, even though it might not be the answer you had hoped for.

    A workaround you can always use if at least you want to avoid using two tools (Eclipse vs. Emacs) is to

    • create a dummy project, e.g. “JDK6 (dummy)”,
    • deactivate the Java builder in its project properties so as to avoid an automatic build you do not want and which might fail due to missing dependencies anyway,
    • unzip the source attachment (e.g. source.zip) into the dummy project’s src folder,
    • select the project or one of its packages in package explorer and
    • search happily via Ctrl-H using text or Java search, maybe using the search option “Scope: Selected resources” (attention: initial indexing for big sources like JDK during the very first search action can take a while, the next time it will be much faster).

    I just tested this, and it works nicely. 🙂

    Optionally you may even select the dummy project’s src folder as the source location for your library. This could speed up things like “Open declaration” via F3 in comparison with unzipping a source JAR/ZIP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Maybe I am missing something, but is there a way to search inside some
Is there a way to search for one value (in my case it is
Is there a way to search on www.qantas.com.au or other sites that don't use
Is there a way to search for a file in a subversion repository? Something
Is there a way to search and eventually search and replace text in Visual
Is there a way to search, from a string, a line containing another string
Is there a way to search an XDocument without knowing the namespace? I have
Is there any way to search on a stream/feed for an item without authentication?
Is there a way to search in a database a custom string and replace
Is there a way to search through an associative array with an unknown number

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.