如何使eclipse“文件搜索”还要在源文件中搜索包含一些文本? [英] How to make eclipse "File Search" to also search inside source jars containing some text?

查看:147
本文介绍了如何使eclipse“文件搜索”还要在源文件中搜索包含一些文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



有没有办法做这个日食文件搜索搜索这些源文件夹中的一些字符串文字(和txt,xml等),而不仅仅是在项目文件夹中?



还是有任何可以实现的插件?

解决方案

最近发现以下插件具有用于搜索链接源的beta支持罐子: https://github.com/ajermakovics/eclipse-instasearch



您必须启用在首选项中搜索源代码,因为它默认关闭。根据你有多少来源,索引过程非常慢,但搜索速度非常快。我有一个具有企业版Alfresco(Explore,Share和SOLR)和Alfresco Workdesk(Vanilla,Office and Mobile)的Eclipse工作空间。索引在我的2011年初MacBook Pro上花了大约8分钟。搜索几乎是很实际的。


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 Java files (and txt, xml etc. for that matter) containing some string literal inside these source jars, not just in the project folder?

Or is there any plugin by which this can be achieved?

解决方案

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.

这篇关于如何使eclipse“文件搜索”还要在源文件中搜索包含一些文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆