Search in dependency
Description
I would like to search in project dependencies. I have a maven project and this project has some dependencies. I can browse them because there are sources jar (-sources.jar). Then I select a dependency and press Find (Ctrl+F) and try search some text in this dependency but it returns nothing (Search in Archives and Generated Sources is checked). It searches only in META-INF and totally ignores .class files. I would expect that it would find searched text at least in .class files if it finds it in META-INF. But the best option would be to search in connected -sources.jar instead of a regular jar dependency.
My proposal is:
- If user search in a dependency without Sources it search in
.classfiles - If there is a connected Sources Jar (
-sources.jar) then this archive is used for search text- If dependency is selected directly
- If any package or class is selected
Use case/motivation
I regularly work with Spring Boot and often search for an autoconfiguration and I have to search in its Github repository or clone it. Another workaround is to add a -sources.jar to Favorites and select it for search then the Search works.
Related issues
No response
Are you willing to submit a pull request?
No