- Right click on the project and select Properties
- Expand Resource and click on Resource Filters
- Click on Add Filter... to create a new filter
- On the dialog box that opens
- Select the Exclude all and Files radio buttons
- Under File and Folder Attributes enter
*.class
- Click OK
To exclude an entire directory hierarchy, e.g. the target
directory, select the Files and folders radio button and the All children (recursive) checkbox.
Edit
Exclude the following for a complete cleanup of Open Resource
dialog
- Files *.class
- Folder bin
- Folder build
- Folder target
Without excluding all 4 it does not work.