Support

Forums

Contact Me

InstaSearch bring Apache Lucene search power to Eclipse

Among the 1246 plugins (!) available for Eclipse, I found this one that I really like to use since it has immediately boost my productivity in Eclipse.

InstaSearch is an Eclipse plug-in for doing fast text search in the workspace. The search is performed instantly as-you-type and resulting files are displayed in an Eclipse view. It is a lightweight plug-in based on Apache Lucene search engine. Each file then can be previewed using few most matching and relevant lines. A double-click on the match leads to the matching line in the file.

It's really instant and it searches through all the files in the workspace, by default it index the following file extensions (but you can add your own)

aj,ant,bat,bookmap,c,cfg,cmd,confluence,cpp,css,dbk,dita,ditamap,ditaval,dtd,ecore,ecore2ecore,
ecore2xml,emof,ent,exsd,fo,genmodel,h,hpp,htm,html,htpl,inc,ini,java,js,jsf,json,jsp,jspf,jspx,jsv,jtpl,log,
macrodef,mathml,mediawiki,meta,mf,mml,mod,ncx,nvdl,opf,php,php3,php4,php5,phps,phtml,pl,pom,prefs,
product,properties,py,rnc,rng,sch,sh,shtm,shtml,sql,sqlj,svg,tag,tagf,tagx,tagxf,target,textile,tld,tracwiki,tsd,twiki,
txt,vxml,wml,wsdd,wsdl,wsil,wsimsg,wssc,wssr,xhtml,xmi,xml,xpl,xproc,xq,xql,xqm,xquery,xqy,xsd,xsl,xslt,xtm,xu

eclipse_instasearch

As it use Apache Lucene internally you can build some nice queries:

  • Searching for icefaces could result in 35 hits (items contain the word icefaces )
  • Searching for web.xml results in 3 hits (items contain the word web.xml or file named web.xml )
  • Searching for icefaces web.xml (without quotes) results in 148 hits (items contain the words icefaces or web.xml or both)
  • Searching for icefaces and web.xml results in 3 hits (results contain both words icefaces and web.xml )
eclipse_instasearch_01
  • To exclude search terms just add a “-” in front of it:  icefaces –application
  • To perform a single character wildcard search use the "?" symbol.
  • To perform a multiple character wildcard search use the "*" symbol (looks for 0 or more characters).
  • Finding words that are within a specific distance away. To do a proximity search use the tilde, "~", symbol at the end of a Phrase. For example to search for "Specifies" and "milliseconds" within 5 words of each other in a document use the search: "Specifies" "milliseconds" ~5

eclipse_instasearch_02

Main Features

  • Instantly shows search results
  • Shows suggestions using auto-completion
  • Shows a preview using relevant lines
  • Matches partial words
  • Opens and highlights matches in files
  • Searches jar source attachments

You can install it from Eclipse Marketplace (Menu Help – then Select Eclipse Marketplace and search for InstaSearch)

You can find a lot more plugin at Eclipse Marketplace

You might also like:
Install PHP support PDT in Eclipse Indigo
601 days ago
Install PHP support PDT in Eclipse Indigo
Developed by Zend and IBM, Eclipse PDT add support for PHP development and allow to focus on the d
Eclipse Indigo/New and Noteworthy
698 days ago
Eclipse Indigo/New and Noteworthy
Eclipse Indigo is the annual release of Eclipse projects on June 22 2011; this year 62 project tea
Eclipse shared install on a Windows Server 2003/2008
1085 days ago
Eclipse shared install on a Windows Server 2003/2008
I did develop this solution at work for our internal purpose at www.innoveo.com. Going away from
Eclipse 3.5 news and noteworthy
1419 days ago
Eclipse 3.5 news and noteworthy
It is always difficult to discover what’s new in every Eclipse release, as the number of featur
Eclipse Galileo aka eclipse 3.5 is here
1420 days ago
Eclipse Galileo aka eclipse 3.5 is here
For the sixth year in a row, the Eclipse community has delivered its annual release train on its
Boost Eclipse speed performances part 2
1516 days ago
Boost Eclipse speed performances part 2
  After the huge success and feedback of my first tips on how to speed eclipse, here are more p
blog comments powered by Disqus

Donations

Thank You for supporting my work