When you save a scene (or resource), Godot will store information regarding:
- the properties in the inspector you unfolded (
- the nodes in the scene-tree you folded away (
On Linux you can find the files containing these information under
~/.config/godot/projects/<ProjectName>-<MD5Sum>. There are normal *.cfg-files, so you can open and read them with any standard text editor. If you reopen the scene, this information will be loaded to restore the work environment precisely the way you left it.