Toggle Sidebar
What is Toggle Sidebar?
Toggle Sidebar: Show or hide the file explorer panel to free up screen space. Toggle Sidebar shows or hides the panel with the file explorer, search and other tools. In VS Code press Ctrl+B or Cmd+B; in JetBrains IDEs, Alt+1 or Cmd+1 toggles the project view. Hiding it gives the code more room, especially on a laptop or when comparing two files side by side. Many developers keep it hidden and use Quick Open to move between files instead.
Frequently asked questions about Toggle Sidebar
What should you keep in mind with Toggle Sidebar?
VS Code's Zen Mode, Ctrl+K Z, goes further and hides everything except the editor. JetBrains has a similar Distraction Free Mode. Combined with keyboard navigation through files and symbols, a clean screen helps with focus during longer pieces of work. The sidebar is one shortcut away whenever you need to browse the project structure.
At a glance
| Category | Keyboard shortcuts |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |