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

Continue with VS Code Shortcuts

Save the full cheat sheet or work through every related task.

More VS Code tasks

Back to the full VS Code Shortcuts cheat sheet