'How to save/load script with collapsed cells in SpyderIDE?

Dear ladies and gentlemen,

maybe you may help me. I made a huge spyder Script, with multiple cells with the #%% Seperator. Those may be collapsed and expanded on the left sidebar.

Is it possible to load a script with all cells collapsed? Now i need to collapse them all manually.

See this picture all but one cell is collapsed: enter image description here

I seeked the internet for the problem and also looked into the IDE Preferences.

Thank you guys



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source