Is there a shortcut to hide the side bar in Visual Studio Code? by Tarik The command can be triggered via Ctrl+B on Windows and Linux or Cmd+B on the Mac.