boolean (@Nullable VirtualFile file) { if (file == null) return false; if (file.getPath().equals(myDotIdeaStoragePath)) return true; return file.isDirectory() && super.isFileSelectable(file) && !file.getPath().endsWith("/.idea") && !file.getPath().contains("/.idea/") && ReadAction.compute(() -> ProjectFileIndex.getInstance(project).isInContent(file)); }