Disable auto folding for sub folders

Hello, prompt me please how i can disable auto folding for sub folders in the tree
For example: I have folder with name A. this folder contain 2 folders A1 and A2. And A1 contain few files, for example A1file1 and A1file2. All path is opened
And if i fold base folder (A) and unfold again - content for all subfolders will be folded
How i can disable this behavior? I whant after fold/unfold all subfolders stay without any changes

Thanks!

11 comments
Comment actions Permalink

Hi there,

I assume you are talking about Project View panel? If so -- folding state of children entries is not remembered (IDE seems to read this data fresh on each unfold).

I may only suggest to use "*" (star on numeric keypad) few times to expand all child entries in one go.

1
Comment actions Permalink

ty for answer, but star - not good solution for folders with may subfulders
All time i keep undolded my folders and after this my files tree very height. And if i folde anu folder - each time need open path with 5-6 subfolders
http://clip2net.com/clip/m266455/75ee6-clip-17kb.png
as example - if i fold folder with css and js files in next time i may 6 times open subfolders for get access for my current project block

0
Comment actions Permalink

Yeah .. not with such busy and deeply nested tree...


Is there any particular reason why you need to see that tree always expanded there (except the most obvious: "I've got used to it as it makes easier for me to work with my code")?

There are some other "tricks" that allow to quickly navigate to specific file/folder, which will get your path in tree expanded...

0
Comment actions Permalink

yes, only usability. I whant in any time get access for my project block. If need js, css or any MVC block...
If I fold, for example js folder and i may open any js/css/php/... file i need again open 5-6 subfolders each time, and this is very uncomfortably

And what about other "tricks" for this situation? Hotkeys for open subfolders?

0
Comment actions Permalink

Well -- you can always bookmark the folder (yep -- F11 using Default keymap) .. so navigating to that bookmark (e.g. via "Show Bookmarks" Shift+F11) will open Project View there (expanding that path, obviously).

You can also always use "Navigate | File..." (Ctrl+Shift+N) and type folder name (end with "/") -- when clicking on proposed entry, IDE (once again) will take you to that folder in Project View expanding the path.

0
Comment actions Permalink

ty for answer, but in current time this is crutch but not a solution)
I will waiting this functionality in next IDE verions :)

0
Comment actions Permalink

I, too, would love to see a modifier key, or similar, that changes the default behavior.

Oftentimes I am drilled-down into a deeply-nested directory structure in the Project panel, and would like to be able to twirl-up (close) a directory somewhere in the tree (usually the top-most directory), just for a moment, to look at or do something else in the panel, and then twirl-down (re-open) the directory without finding all of the sub-directories collapsed.

What about holding the Alt key to prevent collapsing sub-directories?

0
Comment actions Permalink

@Ben Feel free to submit the feature request for that at http://youtrack.jetbrains.com/issues/IDEA#newissue=yes

0
Comment actions Permalink

It seems that now in PhpStorm 2018 this behaviour exists by default. But I personally don't like it haha. Is there some option that I can configure to turn back to older behaviour?

0

Please sign in to leave a comment.