# 📝 Visual Studio Code keyboard shortcuts: toggle sidebar

vscode

To toggle sidebar in Visual Studio Code you need to use:

Ctrl+B on Windows or Linux
⌘B (Cmd+B) on macOS

Press the shortcut combination to hide the sidebar first, then do it a second time to show it.