user6023611
user6023611

Reputation:

Intellij IDEA - searching in jars - I require decompilation

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

Answers (1)

JimHawkins
JimHawkins

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:

enter image description here

enter image description here

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

Related Questions