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

后端 未结 8 1581
眼角桃花
眼角桃花 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-04 23:42

    Searching inside a jar or finding the class name which contains a particular text is very easy with WinRar search. Its efficient and always worked for me atleast.

    just open any jar in winrar, click on ".." until you reach the top folder from where you want to start the search(including subfolders).

    Make sure to check the below options:

    1.) Provide '*' in fields 'file names to find', 'Archive types'

    2.) select check boxes 'find in subfolders', 'find in files', 'find in archives'.

提交回复
热议问题