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

[BUG] Multiple commands are not executed sequentially #86

Open BachiMjavanadze opened 1 year ago

BachiMjavanadze commented 1 year ago

I'm trying to make custom command. I want to combine to commands (search files and folders in Explorer):

workbench.view.explorer -> ctrl+shift+e actions.find -> ctrl+f

so when I type the hot keys ( ctrl+shift+e, ctrl+f) result is:

image

I've created custom button and in my settings.json I have:

"ShortcutMenuBar.userButton01Command": "workbench.view.explorer,actions.find"

but actual result is (search in current document):

image

Looks like the commands are running not sequentially but asynchronously.

Please fix it. If it is not bug but a feature then please add ability to run commands sequentially, say, add extra setting:

"ShortcutMenuBar.RunCommandssequentially": true/false