Closed
Description
Storage state is changed directly by the layout service while applying the default layout. Eg:
vscode/src/vs/workbench/browser/layout.ts
Lines 636 to 642 in 6d70b4f
I do not think this is the right way to access/update the state that is internal to a specific component/service. This will break if the corresponding component/service changes its semantics. Worst that corresponding component/service owner will not be aware that something is broken. It seems keys are also hardcoded 😞
Right way to do this is to add APIs to corresponding services and let the services change their state.
I would strongly recommend to change this at the earliest.