Ignore a folder/directory in eclipse

by jenny on 20 June 2011 - 12:19pm in

The Open Resource dialog in eclipse (Ctrl-X Ctrl-F with emacs bindings) is very useful for locating a file no matter where it is in the current project; however, it also lists a lot of garbage files. I find myself having to visually sift through a long list of deployment files, automatically generated files, and files located in the .git directory before getting to the file I actually wanted... and/or having to type out nearly the entire filename to have the resource dialog at least partially sift the list for me.

This problem can be avoided by right-clicking on directories containing garbage files and editing their properties. Simply check the Derived checkbox and the contents will no longer be included in the resource list. Thanks to Rob Mayhew for this tip.