mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-192500: revalidate siblings of the modified file
This commit is contained in:
@@ -121,7 +121,11 @@ public abstract class ProjectFileListener {
|
||||
}
|
||||
|
||||
public final void updateFromElement(@Nullable PsiElement element) {
|
||||
updateFromFile(getVirtualFile(element));
|
||||
VirtualFile file = getVirtualFile(element);
|
||||
updateFromFile(file);
|
||||
if (file != null && !file.isDirectory()) {
|
||||
updateFromFile(file.getParent());
|
||||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
||||
Reference in New Issue
Block a user