https://stackoverflow.com/questions/2632419/how-do-i-hide-class-files-from-the-open-resource-dialog-in-eclipse 右击projectExpand Resource and click on Resource FiltersClick on Add Filter... to create a new filter On the dialog box that opens Select the Exclude all and Files radio buttonsUnder File and Folder Attributes enter *.classClick OK