boolean (@NotNull VirtualFile file) { if (ProjectKt.getStateStore(myProject).isProjectFile(file)) { return false; } ProjectFileIndex index = ProjectFileIndex.getInstance(myProject); return index.isInContent(file) || index.isInLibrary(file); }