Reputation:
Is it possible to search some phrase not only in project files ?
I mean: I choose some jar, and force Intellij
to search in this and decompilate if it is needed.
Any ideas ?
Upvotes: 1
Views: 2335
Reputation: 5000
Yes, it is possible, if you have the sources of the libraries as jars or in zip files (libraries from JDK).
Press CTRLSHIFTF , type in the string to search and select the option below:
Obtaining the sources is very easy if you're using maven. My example shows the searchfor the constructor of the class HttpGet
in Apache HttpClient.
Upvotes: 1