vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Add setting to automatically hide the side bar

Open Nimzozo opened this issue 10 years ago • 123 comments

Would it be possible to add a option to automatically hide the files explorer after a configurable duration ?

Nimzozo avatar Mar 05 '16 16:03 Nimzozo

ping @bpasero

isidorn avatar Mar 07 '16 08:03 isidorn

Honestly this seems like a weird setting. There is a keyboard shortcut to just hide the explorer (Cmd+B).

bpasero avatar Mar 07 '16 08:03 bpasero

@bpasero seems reasonable, auto-hide similar to how the taskbar in all major OS' can be setup to hide and display when you hover over the edge?

Tyriar avatar Mar 07 '16 17:03 Tyriar

@Tyriar that makes a lot more sense to me compared to having a fixed timeout :)

bpasero avatar Mar 07 '16 19:03 bpasero

Even more interesting would be in that mode to maybe not push the editor to the right, but rather overlay the contents, since it is getting dismissed quickly after when moving focus out.

bpasero avatar Mar 07 '16 19:03 bpasero

That's right. Maybe I have badly explained.

Nimzozo avatar Mar 07 '16 20:03 Nimzozo

Visual Studio panels 'auto-hide' : you click on it - it shows, you click outside - it goes is pretty neat and more than enough. As of 'push editor to the right' - this more a separate option to 'dock' the panels or not. Would be also nice to have, though.

lllopo avatar Jul 05 '16 13:07 lllopo

This would be super useful. It would also be neat to hide the sidebar entirely. The big icons are simply too distracting. I never use the debugger, and never use Git from the sidebar, and the search icon isn't very useful either.

volkanunsal avatar Oct 26 '16 03:10 volkanunsal

@volkanunsal that's the "activity bar" with the icons, this one is relevant for what you want https://github.com/Microsoft/vscode/issues/1105

Tyriar avatar Oct 26 '16 05:10 Tyriar

I'd prefer this way as well, having it auto-hide when the user clicks outside of the sidebar.

Visual Studio allows this approach, and it's really convenient as it lets me have many different types of panels easily accessible, without cutting out from the main text editor size. (most of the time, you only need a panel open very briefly to change or check something, then you jump back into the code and don't need it on-screen any more)

It would also be nice to let extensions add their own panels to the activity/sidebar, as in Visual Studio -- although that's another subject.

Venryx avatar Mar 08 '17 21:03 Venryx

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.

Venryx avatar Mar 08 '17 23:03 Venryx

Always having explorer open seems such a waste of space -- I want the focus to be on the document I'm working on, but by default 20% of my screen is taken up by Explorer.

The ctrl/cmd + B option to show/hide isn't very discoverable - my first instinct was to try and use View -> Explorer [ctrl/cmd + shift + E] to be a toggle (but it isn't). I ended up doing a web search to find out how to hide the panel (and ended up on this thread)

segmentation-violation avatar Jul 14 '17 17:07 segmentation-violation

Perhaps VS code should be available to be customized to auto-hide side bar just like the bahavior of Dock in Mac

sjy avatar Jul 18 '17 02:07 sjy

I would really like this feature. I find having the sidebar open distracting, but often I forget to close. Same goes for the terminal

Samic8 avatar Aug 10 '17 05:08 Samic8

I would also love to see Visual Studio's "auto hide when focus changes" behavior implemented here.

reynoldsbd3 avatar Oct 21 '17 17:10 reynoldsbd3

Also a suggestion, that it should look like a floating panel, so it wont resize the document page width when it shows or hide.

zer09 avatar Nov 13 '17 02:11 zer09

Why do we still not have this? I've literally been waiting years... I found an extension made with the purpose of doing this, but it doesn't work. This is easy stuff and should be built-in so it always works.

Deji69 avatar Aug 29 '18 15:08 Deji69

@Deji69

image

Tyriar avatar Aug 29 '18 18:08 Tyriar

@Tyriar Are you suggesting that this project being open source, the request being relatively easy to fulfil (so much so that 3rd parties have done so via extensions that were broken by updates), and easily over 2 years of people asking for this feature count for nothing?

Deji69 avatar Aug 29 '18 18:08 Deji69

@Deji69 I'm suggesting that this is one issue among over 5000 and resources are limited, since you asked why it still hasn't happened.

Tyriar avatar Aug 29 '18 19:08 Tyriar