I am interested in if there is a mean to indicate where the writing the variable name should start
e.g if I call this live template:
console.log('$TEXT$', $TEXT$);
^
It will start writing from the first TEXT variable.
I want to start writing from the second one:
console.log('$TEXT$', $TEXT$);
^
You cannot do that for the same variable as each variable is processed only once.
Solution:
Give them different names
(I've also added
$END$
to denote final cursor position)Click on
Edit Variables
buttonRearrange variables in desired order (using
Up
/Down
buttons on the right side)Assign
TEXT
variable default text -- the value that you will enter intoVAR
variable.Also check
Skip if defined
if you do not plan to edit theTEXT
afterwards.Result:
Related StackOverflow question: https://stackoverflow.com/a/40606436/783119