garfbradaz
garfbradaz

Reputation: 3490

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

Upvotes: 38

Views: 24709

Answers (3)

roneo.org
roneo.org

Reputation: 419

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]

Upvotes: 5

Venryx
Venryx

Reputation: 17979

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.

Upvotes: 27

Daniel Imms
Daniel Imms

Reputation: 50149

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.

Upvotes: 70

Related Questions