For educational use cases, we're hoping to configure students' workspaces (via Remote settings in Codespaces) to have a standard UI and also provide students with a command and button (via our own extension) via which they can restore their workspace's UI to that default state if they accidentally disable various UI elements while experimenting. At the moment, though, it seems that the visibility of the activityBar, menuBar, and statusbar can only be toggled, not explicitly set to visible or invisible. And there doesn't seem to be a way to inspect their current state, so as to know programmatically (when resetting the UI to a default state) whether or not to toggle them.
Might it be possible to supplement the commands below with commands like workbench.action.enable{ActivityBar,Statusbar,MenuBar} and workbench.action.disable{ActivityBar,Statusbar,MenuBar}?
workbench.action.toggleActivityBarVisibility
workbench.action.toggleStatusbarVisibility
workbench.action.toggleMenuBar
Thank you!
CC @rongxin-liu