Sublime Forum

How to restore side folder structure after saving .sublime-project

#1

On which cases are the side folders being collapsed to the first level when saving a .sublime-project or when using a set_project_data? Also, is there any way to prevent this behaviour?

I mean, If you’ve modified the folders list within the .sublime-project and you save the file it makes total sense than the side bar is collapsed and refreshed but it’s not cool if you modify the .sublime-project without adding or removing any folder and the Side Bar loses the unfolded stated :frowning:

But this is strange… sometimes when you edit/save the .sublime-project the side-folder panel wil remain the same, which is good :confused: . So, yeah, as asked at the beginning of the thread, could anyone explain me on which cases the Side Bar is being “reset”? Or even better, any hack to prevent of doing so would be awesome!

You can see much clearly what I mean on this little test.

ST build 3131/win7.

Thanks in advance.

0 Likes