mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
skip binary files earlier, no need to get psi for that
This commit is contained in:
@@ -249,6 +249,9 @@ class FindInProjectTask {
|
||||
return;
|
||||
}
|
||||
|
||||
if (virtualFile.getFileType().isBinary()) {
|
||||
return;
|
||||
}
|
||||
if (skipIndexed && isCoveredByIndex(virtualFile) &&
|
||||
(fileIndex.isInContent(virtualFile) || fileIndex.isInLibraryClasses(virtualFile) || fileIndex.isInLibrarySource(virtualFile))) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user