When you flip between code files on the tabs in the studio the code explorer maintains its state

When you compile and run then everything gets collapsed

There is probably a reason why it has to do this but it would be nice if the compile did not cause the tree to collapse

Is it reloading all files from disk or something just before compiling to ensure it has the most current version ?