Toggle Sidebar in VS Code

From the VS Code Shortcuts cheat sheet Ā· General Ā· verified Jul 2026

Toggle Sidebar

Show/hide the sidebar

text
Ctrl+B (Windows)
⌘+B (Mac)
šŸ’” Maximize editing space
⚔ Access file explorer and extensions
šŸ” Toggle between focused and overview modes
interface

More VS Code tasks

Back to the full VS Code Shortcuts cheat sheet