mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
do not treat lib sources as sources to analyse
This commit is contained in:
+1
-1
@@ -172,6 +172,6 @@ public class CollectHighlightsUtil {
|
||||
final VirtualFile file = psiFile.getVirtualFile();
|
||||
if (file == null) return false;
|
||||
final ProjectFileIndex projectFileIndex = ProjectRootManager.getInstance(psiFile.getProject()).getFileIndex();
|
||||
return !projectFileIndex.isInSource(file) && !projectFileIndex.isInLibraryClasses(file);
|
||||
return !(projectFileIndex.isInSource(file) && !projectFileIndex.isInLibrarySource(file));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user