seunlanlege / vscode-action-buttons

VsCode extension for custom status bar buttons
88 stars 24 forks source link

keyboard shortcuts #49

Open gitoso opened 3 years ago

gitoso commented 3 years ago

Greetings,

This extensions is so nice, and the only thing that is missing to me is to have an ability to also use keyboard shortcuts to activate the custom actions I define in my buttons. I don't know if this is possible right know (I couldn't find).

If it is not, I am even eager to try to help the project. I just need some guidelines on what I should start reading/learning to implement this feature.

Regards, gitoso

addisonElliott commented 2 years ago

Most things in VS Code can already be assigned a keyboard shortcut. If you have a script you want to execute on keyboard shortcut, then you can create tasks in VS Code and assign a keyboard shortcut to it. https://code.visualstudio.com/docs/editor/tasks

I’m not sure I see the benefit of having keyboard shortcuts in this extension.