Feature Request: Add toggle to toolbar
It would be nice to toggle the proto-repl toolbar sometimes, when focusing on something other than Clojure and where the additional toolbar icons are distracting.
The toolbar is a separate package (https://github.com/suda/tool-bar) and the toggle command will show and hide it. Trigger "Toolbar: toggle" in the command pallet. You can set that up as a keybinding in atom if you need to do it quickly.
The problem is that more than one extension can use the toolbar and I'd like a way to disable the items corresponding to each extension individually.
That seems reasonable.
Does the toolbar, as currently implemented by @suda currently support the concept of a sub-toolbars?
It is possible to reserve more than one toolbar by calling the getToolBar() callback more than once. Then you could have a one part of the toolbar which toggles the second. Would this help?
Well, the ability to toggle toolbars should maybe be broken out into its own extension. Does each toolbar that gets created have a name/identifier? If so, it would be nice to have a toolbar item (or better, a menu entry) and from this controlling toolbar item/menu entry pop up some kind of panel/menu from which any number of enumerated toolbars could be toggled (save itself, of course).
I'm surprised the tool-bar extension hasn't provided this kind of functionality seeing that its very likely people have multiple extensions creating toolbars which can get a unnecessarily crowded, especially when you're not actively using them.
You pass the toolbar name when calling getToolBar() callback. There's PR which allows users to control which toolbars are supposed to be visible. Any help here is welcomed :)