Visual Studio Code – How to create a VS Code snippet which toggles a line prefix
I'm trying to write a VS Code snippet which can toggle the character sequence // ? at the start of the current line. When I run it, i want a line such as this: var x = 10 to turn…