boolean (@NotNull IndexedFile file) { if (FileBasedIndex.IGNORE_PLAIN_TEXT_FILES && file.getFileType() == PlainTextFileType.INSTANCE) { return false; } VirtualFile vFile = file.getFile(); if (!vFile.isInLocalFileSystem()) { return false; } Project project = file.getProject(); if (project != null) { if (project.isDefault()) { return false; } if (ProjectFileIndex.getInstance(project).isInContent(vFile)) { return true; } } for (ExtraPlaceChecker checker : EP_NAME.getExtensionList()) { if (checker.accept(project, file.getFile())) { return true; } } return false; }