Saving state of windows and workspace preferences

If I launch a Theia container, load a workspace and arrange all the panes with the layout and default content I want displayed, and then I snapshot the image, when I relaunch a new container, the panes layout is not preserved.

How can I tell Theia to save this state, and restore it to the way it was when I snapshotted it? Do I need to run a “save preferences” command inside Theia in order for it to remember these preferences?

[original thread by Nate Aune]

Each browser window can has own layout, because of it the layout is stored as a part of the local browser storage scoped by a workspace.

You will need a custom extension if you wan to have it differently. Default behaviour is implemented here: