vscode-codeFragments
vscode-codeFragments copied to clipboard
keyboard shortcuts
trafficstars
have you considered adding keyboard shortcuts for inserting the fragments?
Hi @johnpapa,
Not yet, I'm wondering how that could work.
Adding a shortcut for saving a fragment would be straightforward, I might take a crack at that.
But for inserting one, you have to select the fragment you want to insert from the list, so I'm not sure how that could be put on a hotkey.
A simple way would be hotkey opening the command palette with a list of available fragments to choose from.