'Can more than 2 variables be auto-filled in a VSCode snippet?
I have a code snippet in VSCode with the following body...
"<span data-link=\"${2:$1}\" title=\"“${3:$2}”\">${1:$CLIPBOARD}</span>$0"
when it expands, the clipboard contents goes into $1 & $2, but $3 always shows up empty. If I change $1 to something other than the clipboard, or if I "Paste", it affects all 3. From the documentation, it seems I should be able to just tab, tab, tab and the result be that all 3 are what was in the clipboard, but that's not the case, the 3rd one would be empty.
Is there a bug in my snippet? in VSCode? or is this expected behavior?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
