Keybinding to a specific task

Probably a newbie question, but can I create a keybinding to a specific task? Like I'd want a shortcut for running npm dev in an astro project
2 Replies
dys 🐙
dys 🐙13mo ago
You can create launch configurations to run arbitrary commmands & then install an extension to trigger one via a keystroke.
Stack Overflow
vscode keyboard shortcut for launch configuration
In vscode, I have a launch.json with more than one configuration. Is there a way to assign a keyboard shortcut to a specific configuration?, I've not been able to find any information, thanks!
Debugging in Visual Studio Code
One of the great things in Visual Studio Code is debugging support. Set breakpoints, step-in, inspect variables and more.
WaitingCynicism2429
thanks
Want results from more Discord servers?
Add your server