I’m trying to write a ‘tagging’ snippet to tag each line in the selection, and place them all in a containing tag.
{
“keys”: “ctrl+alt+b”],
“command”: “insert_snippet”,
“args”: {
“contents”: “\n${SELECTION/.*/\t$MATCH/g}\n”
}
}
It’s not working too well!!! It doesn’t seem to be matching each line, and I’m also not sure how to add the / to the closing li.
Can anyone help me out? thanks.