Make workspaces save expanded and collapsed folders

Use case or problem

I have a substantial folder hierarchy and I frequently open a certain set of folders when I resume working in a specific “project”. It takes me quite a while to drill down (expand) the relevant folders and close (collapse) the others. It seems like remembering the state of Files would go nicely with the other things Workspaces remembers.

Proposed solution

Change the Workspaces plugin so that in addition to the other things it remembers (e.g. which Notes are open in tabs) it also remembers which Files folders are expanded and collapsed in the tree of folders/Notes.

Current workaround (optional)

None. Manual steps to click through the folders and collapse then expand.

Related feature requests (optional)

Couldn’t find any others like this.

Another possible workaround is coming in the Bookmarks feature (currently in Insider builds), which will allow you to bookmark folders and searches and put your bookmarks in groups. (I don’t recall if you can open all the bookmarks in a group at once).