mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
revert including library sources into project scope
This commit is contained in:
@@ -35,6 +35,8 @@ public class ProjectScopeImpl extends GlobalSearchScope {
|
||||
public boolean contains(VirtualFile file) {
|
||||
if (file instanceof VirtualFileWindow) return true;
|
||||
|
||||
if (myFileIndex.isInLibraryClasses(file) && !myFileIndex.isInSourceContent(file)) return false;
|
||||
|
||||
return myFileIndex.isInContent(file);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user