Ordered Numeric Tab-stops in live-template
In VSCode there are numeric tab-stops or placeholders like $1, $2, ...
So in VSCode JS Snippets,
import ${2:objectIWantToImport} from ${1:package}
first stops on package placeholder and then goes back to objectIWantToImport placeholder
But in IntelliJ WebStorm I have tried similar something to this,
import $2$ from "$1$";
which doesn't work. The tab-stops are serial from left to right.
How do I get a way around it to first stop on 1 and then on 2.
Please sign in to leave a comment.
The order placeholders are visited depends on the variables order in Edit Template Variables dialog; the topmost variable is visited first. You can re-order your variables there using the Up and Down button available on the left