Javascript – vs code macro for wrapping code in if statement
i want to create a macro for wrapping a selected line of code in if statement in vs code. i stumbled upon this youtube video about macros in vs code so i tried imitating the 'ifWrap' in the video but…