Protected ReadonlyloadedReadonlyonFires with the id of the widget whose hidden state the user changed.
Protected ReadonlyonReadonlyonFires when the user's choices are discarded and every item falls back to its default.
Protected ReadonlyonProtectedoverridesExplicit user choices only, so items the user never touched follow isHiddenByDefault.
ReadonlyreadyResolves once the user's stored choices are loaded; until then every item has its default state.
Protected ReadonlystorageHidden items hold across workspaces, and @theia/workspace scopes the bound StorageService per workspace.
Static ReadonlySTORAGE_ProtectedinitProtectedisWhether an item the user has neither hidden nor shown starts hidden. Override this to give an application its own defaults.
Defaults are not limited to leaving one item visible per side the way the user's choices are, so an application can start every item on a side hidden. Expanding a side panel without naming a view can still open a hidden item, through the last active index or the first tab, and its tab then shows while it is current, the same as opening it by command.
ProtectedloadDiscards the user's choices so every item falls back to its default.
Protectedsave
To keep the user's choices somewhere other than local storage, override
load()andsave()rather than rebindingLocalStorageService, which every other consumer of it shares.