boolean (VirtualFile file, boolean showHiddenFiles) { // TODO: add a better, customizable filtering if (!file.isDirectory()) { if (isLocatedInLocalWindowsFS(file)) { String path = file.getPath(); boolean looksExecutable = false; for (String ext : PythonSdkUtil.WINDOWS_EXECUTABLE_SUFFIXES) { if (path.endsWith(ext)) { looksExecutable = true; break; } } return looksExecutable && super.isFileVisible(file, showHiddenFiles); } } return super.isFileVisible(file, showHiddenFiles); }