Venryx / vscode-vtools

A collection of small tools for Visual Studio Code.
MIT License
21 stars 10 forks source link

Add command to toggle behavior #9

Open suan opened 6 years ago

suan commented 6 years ago

Would be great if there was a command (which we could map to a hotkey) which would toggle the setting of vtools.autoHideSideBar

borekb commented 5 years ago

Or even implement this transiently, i.e., don't persist to settings, like VSCode's Zen mode for example.

My use case is that most of the time, I like VSCode's default behavior but occasionally, when I work with split editors and jump to the sidebar to commit things, I want to hide it automatically. But maybe for an hour or two only, so a transient toggle would be perfect for me.

ipstone commented 5 years ago

Thanks for the extension, which makes my workflow much cleaner! - I agree it will be great if we can have a toggle option for this autohide behavior - if we can bind the toggle with cmd+b (or ctrl+b), it would be very useful - as when we intentionally toggle, it means we don't want to autohide; and when its toggled-off, it means we probably want this auto-hide behavior.

Thanks again!

Venryx commented 4 years ago

I agree that would be a nice feature. I plan to add it at some point, but am working on other projects atm. (I'm open to pull-requests though)