mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-152049 Favorites collapses in unpinned mode after some time and changes in editor
This commit is contained in:
@@ -28,6 +28,7 @@ import com.intellij.openapi.progress.Progressive;
|
||||
import com.intellij.openapi.progress.util.StatusBarProgress;
|
||||
import com.intellij.openapi.project.Project;
|
||||
import com.intellij.openapi.util.*;
|
||||
import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.openapi.vfs.VirtualFile;
|
||||
import com.intellij.openapi.wm.FocusRequestor;
|
||||
import com.intellij.openapi.wm.IdeFocusManager;
|
||||
@@ -59,6 +60,7 @@ public abstract class BaseProjectTreeBuilder extends AbstractTreeBuilder {
|
||||
@NotNull AbstractTreeStructure treeStructure,
|
||||
@Nullable Comparator<NodeDescriptor> comparator) {
|
||||
init(tree, treeModel, treeStructure, comparator, DEFAULT_UPDATE_INACTIVE);
|
||||
getUi().setClearOnHideDelay(Registry.intValue("ide.tree.clearOnHideTime"));
|
||||
myProject = project;
|
||||
}
|
||||
|
||||
|
||||
@@ -2299,7 +2299,7 @@ public class AbstractTreeUi {
|
||||
}
|
||||
|
||||
public long getClearOnHideDelay() {
|
||||
return myClearOnHideDelay > 0 ? myClearOnHideDelay : Registry.intValue("ide.tree.clearOnHideTime");
|
||||
return myClearOnHideDelay;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
@@ -105,7 +105,10 @@ passwordSafe.memorySafe.ttl=-1
|
||||
ide.tree.yieldingUiUpdate=true
|
||||
ide.tree.showBusyIndicator=true
|
||||
ide.tree.waitForReadyTimeout=250
|
||||
|
||||
ide.tree.clearOnHideTime=120000
|
||||
ide.tree.clearOnHideTime.description=Time in milliseconds when the hidden project view tree will be deactivated.
|
||||
|
||||
ide.tree.autoscrollToVCenter=true
|
||||
ide.tree.ensureSelectionOnFocusGained=true
|
||||
ide.tree.autoExpandMaxDepth=5
|
||||
|
||||
Reference in New Issue
Block a user