I have the following live template:
import {$NAME$} from "$PATH$";
$END$
When it's inserted into an editor, the order of inputting variables is defined as:
import {1} from "2";
Is there any way to change it to:
import {2} from "1";
?
I have the following live template:
import {$NAME$} from "$PATH$";
$END$
When it's inserted into an editor, the order of inputting variables is defined as:
import {1} from "2";
Is there any way to change it to:
import {2} from "1";
?
Just use Edit variables button when editing that Live Template and then use Arrow Up & Arrow Down buttons to rearrange them -- make PATH
variable first in the list.
If you type the word that generates this code for example import
, it puts the cursor at {$NAME$}
, type 2
, then TAB
and the cursor will start at $PATH$
and type 1
Then TAB
and finally type ?