FileChooserDescriptor () { return new FileChooserDescriptor(true, true, true, true, false, false) { @Override public boolean isFileVisible(VirtualFile file, boolean showHiddenFiles) { return file.isDirectory() || file.getFileType() instanceof ArchiveFileType; } }; }