eclipse资源文件搜索如何隐藏不显示class文件。How do I hide .class files from the Open Resource dialog in Eclipse?

https://*.com/questions/2632419/how-do-i-hide-class-files-from-the-open-resource-dialog-in-eclipse

  1. Right click on the project and select Properties 
  2. Expand Resource and click on Resource Filters
  3. Click on Add Filter... to create a new filter 
  4. On the dialog box that opens
    1. Select the Exclude all and Files radio buttons
    2. Under File and Folder Attributes enter *.class
  5. 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.

eclipse资源文件搜索如何隐藏不显示class文件。How do I hide .class files from the Open Resource dialog in Eclipse?

Edit

Exclude the following for a complete cleanup of Open Resource dialog

  1. Files *.class
  2. Folder bin
  3. Folder build
  4. Folder target

Without excluding all 4 it does not work.