mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
CPP-147 PSI is build for files from another project +review CR-IC
This commit is contained in:
@@ -318,7 +318,7 @@ public class PsiVFSListener extends VirtualFileAdapter {
|
||||
VirtualFile parent = vFile.getParent();
|
||||
final PsiDirectory parentDir = getCachedDirectory(parent);
|
||||
|
||||
if (FileContentUtilCore.FORCE_RELOAD_REQUESTOR.equals(event.getRequestor())) {
|
||||
if (oldFileViewProvider != null && FileContentUtilCore.FORCE_RELOAD_REQUESTOR.equals(event.getRequestor())) {
|
||||
forceReload(vFile, oldPsiFile, parentDir);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user