I usually have at least two panes in my IDE so that I can see two files, or different parts of the same file, at the same time. VSCode pegs the debug variables in the Explorer side bar so I also end up having to make that panel large at times to see the variables while debugging.
Following are the keybindings that you can add to enable you to toggle the visibility of the left-hand side panel.
Add the following to the keybindings.json
file by typing CTRL+Shift
+P and then enter Open Keyboard Shortcuts (JSON)
Under Linux this file should be in ~/.config/Code/User/keybindings.json
{
"key": "cmd+b",
"command": "workbench.view.explorer"
},
{
"key": "cmd+b",
"command": "-workbench.view.explorer"
},
{
"key": "cmd+b",
"command": "workbench.action.toggleSidebarVisibility",
"when": "explorerViewletVisible"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility",
"when": "explorerViewletVisible"
}