Option to show only Sidebar or Panel at a time.
cuongthm opened this issue · 2 comments
cuongthm commented
Hello.
Please add option to show only Sidebar or Panel at a time (auto close other one if it was opened).
Because I were set both of them's position to one right side, so I want to open just only one at a time.
Thanks for this useful extension.
sirmspencer commented
It will all depend on if VS Code provides and event for those when they open. I dont think they do.
If you are using keyboard shortcuts to open the sidebar and panel, you could create a custom keyboard shortcut function that fires the actions you are looking for.
sirmspencer commented
There is no event to say that the panel or sidebar opened. You will need to create your own keybindings to do this.