Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio Code - Auto Hiding Explorer

Is there any setting for auto hiding the Explorer Window in Visual Studio Code Version 1.0

At the moment I just pull it back in, but just checking there isnt a nicer way of setting this up to do it automically.

enter image description here

like image 278
garfbradaz Avatar asked Apr 18 '16 09:04

garfbradaz


People also ask

How do I unhide Explorer in VSCode?

VSCode default Keybinding for Toggling "Side Bar" aka "Explorer" is CTRL+B.

How do I enable Auto Hide in Visual Studio?

"Auto hide all" feature. If you have several docked control bars in a container and press the pin button while holding Ctrl key, all control bars residing in this container will be switched to auto hide mode.


3 Answers

You cannot currently auto-hide the explorer. The GitHub issue tracking this is #3742.

ctrl+b (Windows, Linux), cmd+b (OS X) is the keybinding to manually toggle the side bar.

like image 186
Daniel Imms Avatar answered Nov 11 '22 02:11

Daniel Imms


Went ahead and made an extension for this: https://marketplace.visualstudio.com/items?itemName=venryx.vscode-vtools

It's not perfect -- it only closes the side-bar when the user changes the selection (eg, clicking or dragging at a new location) -- but it achieves the basic function.

Built-in support is still ideal, but this should help until then.

like image 36
Venryx Avatar answered Nov 11 '22 02:11

Venryx


See the extension Auto Hide

Settings

  • autoHide.autoHideSideBar: Hide the side bar when the user clicks into a text editor. [boolean, default: true]
  • autoHide.autoHidePanel: Hide the panel (output, terminal, etc.) when the user clicks into a text editor. [boolean, default: true]
  • autoHide.sideBarDelay: How long to wait before hiding the side bar. A delay prevents text from being selected. A longer delay allows the horizontal scroll to adjust to the change in selection before the side bar hiding causes the horizontal scroll to adjust, avoiding conflicts. [number, default: 450]
  • autoHide.panelDelay: How long to wait before hiding the panel. Same as for the side bar when the panel is on the side. If the panel is on the bottom, there is no need for delay. [number, default: 300]
  • autoHide.hideOnOpen: Hide side bar and panel when VSCode first opens. [boolean, default: true]
like image 36
roneo.org Avatar answered Nov 11 '22 02:11

roneo.org