GorvGoyl / Shortcut-Menu-Bar-VSCode-Extension

Add handy buttons like beautify, show opened files, save, toggle terminal, etc to the editor menu bar in VSCode. You can also create your own buttons with custom commands. VSCode Marketplace link: https://marketplace.visualstudio.com/items?itemName=jerrygoyal.shortcut-menu-bar
https://marketplace.visualstudio.com/items?itemName=jerrygoyal.shortcut-menu-bar
GNU General Public License v3.0
221 stars 44 forks source link

Command Pallete Button #1

Closed Pakato closed 5 years ago

Pakato commented 6 years ago

Please add a Command Palette Button

gouravsamsung commented 6 years ago

what's a command palette button? If you mean commands in command palette then it's already supported. just type >menubar and it'll show the commands.

momiccioli commented 6 years ago

I went to the command palette and clicked on "menubar: Reload" and I received an error stating that it was not found. I would also love to add a button that another extension added to the command palette. How do you do that too?

GorvGoyl commented 6 years ago

sorry for late reply. there's no "menubar: Reload" command supported from my side. not sure how you are able to see that. It's a nice feature to add user custom shortcuts to menubar, spare me some time and i'll look into this.

GorvGoyl commented 5 years ago

Hi, If you still need support let me know, meanwhile I am closing the issue.

momiccioli commented 5 years ago

Yes I still can’t seem to get this to work.  Can you send me instructions or a sample as to how to connect a button to a pallet command.

Thank you

From: Gourav Goyal notifications@github.com Reply-To: JerryGoyal/Shortcut-Menu-Bar-VSCode-Extension reply@reply.github.com Date: Tuesday, April 23, 2019 at 2:40 PM To: JerryGoyal/Shortcut-Menu-Bar-VSCode-Extension Shortcut-Menu-Bar-VSCode-Extension@noreply.github.com Cc: Michael Omiccioli michael@omiccioli.com, Comment comment@noreply.github.com Subject: Re: [JerryGoyal/Shortcut-Menu-Bar-VSCode-Extension] Command Pallete Button (#1)

Hi, If you still need support let me know, meanwhile I am closing the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

GorvGoyl commented 5 years ago

I would also love to add a button --> Unfortunately, users can not add new buttons. Users can only disable/enable buttons currently supported by this extension. If you need a new button you can tell me and I'll add it.

momiccioli commented 5 years ago

That would be great, except I would need different buttons for different workspaces.  So I don’t think it fair to ask for things that might only apply to me.  However it would be an excellent feature to have.  The two functionalities that seem to be a challenge are

The ability to create a button for any pallet command.  The ability to create a button that will run a shell script. ( this exists but nice to have in a single package.)

And of course clear instructions on how to create the buttons.  There is lots of great contributions but doc on how to use or implement seems a bit sparse.

If what I am asking is not possible or out of scope then I understand and thank you.  If you are considering developing these features I would be more than happy to help test.

Thanks again.

From: Gourav Goyal notifications@github.com Reply-To: JerryGoyal/Shortcut-Menu-Bar-VSCode-Extension reply@reply.github.com Date: Sunday, April 28, 2019 at 7:12 AM To: JerryGoyal/Shortcut-Menu-Bar-VSCode-Extension Shortcut-Menu-Bar-VSCode-Extension@noreply.github.com Cc: Michael Omiccioli michael@omiccioli.com, Comment comment@noreply.github.com Subject: Re: [JerryGoyal/Shortcut-Menu-Bar-VSCode-Extension] Command Pallete Button (#1)

I would also love to add a button --> Unfortunately, users can not add new buttons. Users can only disable/enable buttons currently supported by this extension. If you need a new button you can tell me and I'll add it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

GorvGoyl commented 5 years ago

The ability to create a button for any pallet command. The ability to create a button that will run a shell script. --> I tried implementing it but didn't find any way at all. If any other extension does it then do let me know.

So I don’t think it fair to ask for things that might only apply to me. --> What you can do is fork this repo and make custom build according to your needs. It's fairly easy to add new buttons. see the PR https://github.com/JerryGoyal/Shortcut-Menu-Bar-VSCode-Extension/pull/5