Hide Search Bar in VSCode

Viewed 804

How to hide and show Search Bar in VS Code ? I would like to hide Search Bar to show Workspace.

enter image description here

2 Answers

Ctrl+B on Windows, Cmd+B on macOS

Not sure if I understood, but you can just use the key combinations to switch from one panel to another. Using the same shortcuts twice will reveal/hide the whole sidebar. For your question, this could be the most useful:

  • Ctrl + Shift + E Reveals file explorer
  • Ctrl + Shift + F Finds text
  • Ctrl + Shift + H Search and replace
  • Ctrl + B Hide/reveal whole sidebar

Also, you can check all shortcuts by clicking "View" or "Edit" in top panel.

For the people that may came here looking for how to remove the top search bar: right click on it > uncheck Command center.

Related