Shortcut to toggle Visual Studio Code's sidebar

Dec 29, 2020  

I have a hard time remembering how to toggle the sidebar in Visual Studio Code. Switching to the Explorer is easy: Ctrl+Shift+E does the trick, and there is a tooltip which helps when I no longer remember the shortcut… But closing the sidebar?

The shortcut to close (or toggle) the sidebar is Ctrl+B and I hope that by writing this post, it will help me remember it. At least, I’ll have a handy resource if I forget it in the future…

Might the B stand for sideBar — maybe. At least this could prove to be a trick to get the B stick along in my long-term memory ;-).