tags:

views:

14

answers:

2

In my Eclipse project, I have a mixture of java files, xml, and various files with different file extensions. I want to perform searches on a regular basis on everything except for the java files, to look for certain settings.

Is there a way to tell Eclipse to search all the files, EXCEPT the one's with a .java extension?

A: 

Yes, in your file search dialog, there is a "Choose" button next to the "file name patterns" textbox. It allows you to filter Select Types. After selection, you should just realize it is just regex of everything except for *.java.

Tao
+1  A: 

The best thing you can do inside the file search dialog is to press the button "Choose" for the "File name patterns", then press "select all" and deselect "*.java".

But beware! This doesn't look for all file extensions in your project and lists them. It's a predefined set of extensions.

tangens