Skip to content
This repository has been archived by the owner on Nov 21, 2020. It is now read-only.

Possible to find files (by filename) inside .jar file? #76

Open
timguy opened this issue Mar 23, 2016 · 4 comments
Open

Possible to find files (by filename) inside .jar file? #76

timguy opened this issue Mar 23, 2016 · 4 comments

Comments

@timguy
Copy link

timguy commented Mar 23, 2016

Is it or should it be possible to find e.g. a js file insight a jar file?

  • Jar file is in my build path and in workspace/lib folder.
  • For me it was not possible to search for "name:foofile"
  • In preferences I only see option for "JAR source attachments".
  • tried with eclipse mars
@ajermakovics
Copy link
Owner

It is possible but you need to re-build the index after enabling 'JAR source attachments'

@timguy
Copy link
Author

timguy commented Mar 24, 2016

Thanks, it finds the class file but the .js file is still not found:
searchinjar

@paulvi
Copy link
Contributor

paulvi commented Mar 25, 2016

a name with a hint would help a bit, see #77

ajermakovics added a commit that referenced this issue Mar 25, 2016
close #76 show "requires to re-build
@ajermakovics ajermakovics reopened this Mar 25, 2016
@yanghugh1983
Copy link

I also encountered the same issue. I want to search a xml file which is contained in a jar file by filename. I enabled 'JAR source attachments (beta)' and rebuild the index, however, the xml file still does not show up in the search results.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants