New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setting to automatically hide the side bar #3742

Open
Nimzozo opened this Issue Mar 5, 2016 · 27 comments

Comments

Projects
None yet
@Nimzozo
Copy link

Nimzozo commented Mar 5, 2016

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

@isidorn

This comment has been minimized.

Copy link
Contributor

isidorn commented Mar 7, 2016

ping @bpasero

@bpasero bpasero changed the title Automatically hide the files explorer Add setting to automatically hide the files explorer Mar 7, 2016

@bpasero bpasero added this to the Backlog milestone Mar 7, 2016

@bpasero

This comment has been minimized.

Copy link
Member

bpasero commented Mar 7, 2016

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

@Tyriar

This comment has been minimized.

Copy link
Member

Tyriar commented Mar 7, 2016

@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?

@bpasero

This comment has been minimized.

Copy link
Member

bpasero commented Mar 7, 2016

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

@bpasero

This comment has been minimized.

Copy link
Member

bpasero commented Mar 7, 2016

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.

@Nimzozo

This comment has been minimized.

Copy link
Author

Nimzozo commented Mar 7, 2016

That's right. Maybe I have badly explained.

@bpasero bpasero self-assigned this Mar 30, 2016

@bpasero bpasero changed the title Add setting to automatically hide the files explorer Add setting to automatically hide the side bar Jul 5, 2016

@lllopo

This comment has been minimized.

Copy link

lllopo commented Jul 5, 2016

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.

@volkanunsal

This comment has been minimized.

Copy link

volkanunsal commented Oct 26, 2016

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.

@Tyriar

This comment has been minimized.

Copy link
Member

Tyriar commented Oct 26, 2016

@volkanunsal that's the "activity bar" with the icons, this one is relevant for what you want #1105

@Venryx

This comment has been minimized.

Copy link

Venryx commented Mar 8, 2017

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

This comment has been minimized.

Copy link

Venryx commented Mar 8, 2017

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.

@richrundmsft

This comment has been minimized.

Copy link

richrundmsft commented Jul 14, 2017

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)

@sjy

This comment has been minimized.

Copy link

sjy commented Jul 18, 2017

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

@Samic8

This comment has been minimized.

Copy link

Samic8 commented Aug 10, 2017

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

@reynoldsbd3

This comment has been minimized.

Copy link

reynoldsbd3 commented Oct 21, 2017

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

@zer09

This comment has been minimized.

Copy link

zer09 commented Nov 13, 2017

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

@Deji69

This comment has been minimized.

Copy link

Deji69 commented Aug 29, 2018

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.

@Tyriar

This comment has been minimized.

Copy link
Member

Tyriar commented Aug 29, 2018

@Deji69

image

@Deji69

This comment has been minimized.

Copy link

Deji69 commented Aug 29, 2018

@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?

@Tyriar

This comment has been minimized.

Copy link
Member

Tyriar commented Aug 29, 2018

@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.

@volkanunsal

This comment has been minimized.

Copy link

volkanunsal commented Aug 29, 2018

The absence of this feature is probably the only reason I'm still using SublimeText.

@n6ither

This comment has been minimized.

Copy link

n6ither commented Aug 29, 2018

And now emails are raining again..

@Deji69

This comment has been minimized.

Copy link

Deji69 commented Aug 29, 2018

@Tyriar I would happily learn how to contribute just to do it... will that change anything?

@Tyriar

This comment has been minimized.

Copy link
Member

Tyriar commented Aug 29, 2018

@isidorn would we accept external PRs for this?

@Deji69

This comment has been minimized.

Copy link

Deji69 commented Aug 30, 2018

is:open created:<=2016-04-01 comments:>10

According to this query, the number of issues as sought after and neglected as this one is a mere 72. So surely that means it should come somewhat soon..?

@isidorn

This comment has been minimized.

Copy link
Contributor

isidorn commented Aug 30, 2018

@Tyriar depends on the PR quality - so if nice clean and easy will consider it. In the meantime there is the extension which users can use.

@Tyriar

This comment has been minimized.

Copy link
Member

Tyriar commented Aug 30, 2018

@Deji69 not sure why you would only classify issues created just before this one to be sought after, comments:>10 and sort:reactions-+1-desc are more realistic queries.

But anyway, it's open to PRs. I'd suggest hashing out the exact UX with @isidorn before jumping into a solution if you wanted to do a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment