Vscode macros
Here I explain one way of creating macros and assigning them to a shortcut (keybinding) in vscode. It is a short process of only 3 steps. Two practical examples are shown. I also provide other useful links to extensions that are useful IMHO.