How to make eclipse “File Search” to also search inside source jars containing some text?

后端 未结 8 1570
眼角桃花
眼角桃花 2020-12-04 23:16

I am working on a (Java) project in which I have many jars which have a source-jar file attached.

Is there any way to make the eclipse \"File Search\" search for Jav

8条回答
  •  旧巷少年郎
    2020-12-05 00:03

    Recently discovered the following plugin has beta support for searching into linked source jars: https://github.com/ajermakovics/eclipse-instasearch

    You have to enable searching source jars in the preferences as it is turned off by default. Depending on how much source you have, the indexing process is very slow, but then search is very fast.

    I have an Eclipse workspace with the enterprise versions of Alfresco (Explore, Share and SOLR) and Alfresco Workdesk (Vanilla, Office and Mobile). Indexing took about 8 minutes on my Early 2011 MacBook Pro. Search is almost instantanious.

提交回复
热议问题