Add setting to automatically hide the side bar
Would it be possible to add a option to automatically hide the files explorer after a configurable duration ?
ping @bpasero
Honestly this seems like a weird setting. There is a keyboard shortcut to just hide the explorer (Cmd+B).
@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 that makes a lot more sense to me compared to having a fixed timeout :)
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.
That's right. Maybe I have badly explained.
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.
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 that's the "activity bar" with the icons, this one is relevant for what you want https://github.com/Microsoft/vscode/issues/1105
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.
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.
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)
Perhaps VS code should be available to be customized to auto-hide side bar just like the bahavior of Dock in Mac
I would really like this feature. I find having the sidebar open distracting, but often I forget to close. Same goes for the terminal
I would also love to see Visual Studio's "auto hide when focus changes" behavior implemented here.
Also a suggestion, that it should look like a floating panel, so it wont resize the document page width when it shows or hide.
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

@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 I'm suggesting that this is one issue among over 5000 and resources are limited, since you asked why it still hasn't happened.