Feature request: add command to pin panel/sidebar
BOT-Man-JL opened this issue ยท 5 comments
I think it would be convenient to be able to toggle pin/unpin sidbar or panel via a command. ๐
For example:
- Pin panel when checking search results.
- Pin sidebar when viewing diffs.
I suppose that the pin/unpin states should be effective only in current workspace.
I think this is beyond the scope of my intention with this extension. This extension is merely a hack on the base code to have some semblance of an auto hide.
Related: Venryx/vscode-vtools#9
I guess one could also inject a view/title
action into all view containers: https://code.visualstudio.com/api/extension-guides/tree-view#view-actions
I guess one could also inject a
view/title
action into all view containers: https://code.visualstudio.com/api/extension-guides/tree-view#view-actions
Awesome! We can also use pin
and pinned
icon to suggest current status.
https://code.visualstudio.com/api/references/icons-in-labels
I couldn't make it work so far though. The extension setup is somehow broken, the build command doesn't work in WSL.
Not sure if you can actually reference those icons: microsoft/vscode#31466
Edit: No it does work but only in some view containers like the search view or test explorer for whatever reason.