I am using eclipse 3.4.I often keep searching for files in my project.I wanted to create a file search with filter.Like i should be able to configure the filter in preferences.later when i press ctrl+shift+ F (Assuming this is what i give the shortcut) it should display only those files. Why i came up with this is bcos i might want to avoid java files while searching.So life becomes little easier.
You can open the "Search" dialog and select the "File Search" tab.
In File name patterns, you can fill this field by "choose" button without *.java,
such as:
*.ant, *.class, *.cmof, *.confluence, *.css, *.dtd, *.ecore, *.ecore2xml, *.eimperativeocl, *.emof, *.ent, *.exsd, *.genmodel, *.gmfgen, *.gmfgraph, *.gmfmap, *.gmftool, *.htm, *.html, *.htpl, *.jardesc, *.jpage, *.log, *.macrodef, *.mediawiki, *.mod, *.oclecore, *.ocluml, *.oclxmi, *.pom, *.prefs, *.product, *.properties, *.shtm, *.shtml, *.target, *.textile, *.tracwiki, *.twiki, *.txt, *.uml, *.uml2, *.umlact, *.umlactivity_diagram, *.umlclass, *.umlclass_diagram, *.umlcomp, *.umlcomponent_diagram, *.umlcompositestructures_diagram, *.umlcsd, *.umldepl, *.umldeployment_diagram, *.umlprofile, *.umlprofile_diagram, *.umlseq, *.umlsequence_diagram, *.umlstatemachine_diagram, *.umlstm, *.umlusc, *.umlusecase_diagram, *.wml, *.wsdl, *.xhtml, *.xmi, *.xml, *.xpt, *.xsd, *.xsl, *.xslt
I use the open resource dialog, it's bound to Ctrl + Shift + R by default. It doesn't filter resources by type, but you can search by a sort of regular expression (so you can search for *test*.xml). It's really fast as well, powered by a lucene search index.