To toggle sidebar in Visual Studio Code you need to use:
Ctrl+B
on Windows or Linux⌘B
(Cmd+B
) on macOSPress the shortcut combination to hide the sidebar first, then do it a second time to show it.

We use cookies
We use cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.
Please disable your ad blocker 🙂. Our ads are not intrusive
To toggle sidebar in Visual Studio Code you need to use:
Ctrl+B
on Windows or Linux⌘B
(Cmd+B
) on macOSPress the shortcut combination to hide the sidebar first, then do it a second time to show it.
Thank you for being on our site 😊. If you like our tutorials and examples, please consider supporting us with a cup of coffee and we'll turn it into more great Go examples.
Have a great day!