mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
correctly show source roots with defined package prefix in project view (IDEA-80768)
This commit is contained in:
+4
@@ -73,6 +73,10 @@ public class JavaProjectViewDirectoryHelper extends ProjectViewDirectoryHelper {
|
||||
|
||||
parentPackage = JavaDirectoryService.getInstance().getPackage(((PsiDirectory)parentValue));
|
||||
}
|
||||
else if (ProjectRootsUtil.isSourceRoot(directory) && aPackage != null) { //package prefix
|
||||
aPackage = null;
|
||||
parentPackage = null;
|
||||
}
|
||||
else {
|
||||
parentPackage = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user