Code unfolds on certain IDE actions

I have seen this in PHPStorm 3 and now in PHPStorm 4,

It gets annoying when you have a hefty amount of methods folded and all of a sudden the entire document unfolds. Is there a fix or an option that will retain the folded state of a method/function?

Lets say I have everything folded and only have one method unfolded. I do something, save then cause the IDE to pop up the help tools or do some other random things through the IDE, this will cause the folded states to reset.

I can't pin point what I do because I have seen thats its all totally random, even when performing the same actions it may or may not cause this reproduce.

Has anyone else experienced this?

1 comment
Comment actions Permalink

Yes, there are few tickets about this -- just search for "unfolds" or similar keyword on Issue Tracker


Please sign in to leave a comment.