When working on a class with thousands of lines, minimizing some functions on the IDE makes it very handy to manage the code.
However, everytime we restart the IDE; or close the function: it will be re-opened again.
Is there a way to keep your 'minimizing' preferences?
You can go to Code->Folding->Collapse All
In my case the short-cut is CRTL + SHFT + '/'