diff --git a/java/java-impl/src/com/intellij/ide/projectView/impl/PackageViewPane.java b/java/java-impl/src/com/intellij/ide/projectView/impl/PackageViewPane.java index 447a21ae49cb..1a0e2c16bda5 100644 --- a/java/java-impl/src/com/intellij/ide/projectView/impl/PackageViewPane.java +++ b/java/java-impl/src/com/intellij/ide/projectView/impl/PackageViewPane.java @@ -227,7 +227,7 @@ public final class PackageViewPane extends AbstractProjectViewPSIPane { @Override public boolean isToBuildChildrenInBackground(Object element) { - return true; + return Registry.is("ide.projectView.PackageViewTreeStructure.BuildChildrenInBackground"); } }; } diff --git a/platform/util/resources/misc/registry.properties b/platform/util/resources/misc/registry.properties index b4278746ce5f..29f300b3f0de 100644 --- a/platform/util/resources/misc/registry.properties +++ b/platform/util/resources/misc/registry.properties @@ -1067,6 +1067,8 @@ ide.projectView.ProjectViewPaneTreeStructure.BuildChildrenInBackground=true ide.projectView.ProjectViewPaneTreeStructure.BuildChildrenInBackground.description=Temporary ability to control a tree building for the Project View pane ide.abstractTreeUi.BuildChildrenInBackgroundYieldingToWriteAction=true ide.abstractTreeUi.BuildChildrenInBackgroundYieldingToWriteAction.description=Temporary ability to control a interruptible tree building +ide.projectView.PackageViewTreeStructure.BuildChildrenInBackground=true +ide.projectView.PackageViewTreeStructure.BuildChildrenInBackground.description=Temporary ability to control a tree building for the Package View pane ide.projectView.show.visibility=false ide.projectView.show.visibility.description=Shows visibility icon in Project View nodes