Works just fine here in PHP context (using latest stable PhpStorm 2017.2.4 on Windows 10; using Default keymap in IDE)
I've tried both: [Tab] and [Enter] to move focus to the next variable placeholder -- same result.
At first I thought it might be caused by the fact that $ in $something is not escaped (so it misreads the whole template somehow -- I made such assumption without testing it first .. as it was causing issues in old versions, like PhpStorm 10 or so) .. but your template seems to be working just fine here.
Maybe it's specific to your file or environment -- I've tested it in "random" file (controller in Laravel project). Maybe in your case when you completing value for $var$ it works differently (e.g. because you are choosing item from code completion popup or something).
Some code sample (where you would have few setXXX methods) + ideally short video/screencast would be very helpful here.
Perfect would be this for me
$something->set$var1$($data['$var2$']);
Hi there.
So .. "$something" and "$data" are ordinary PHP variables, right?
And the actual Live Template variables are $var1$ and $var2$ ?
Yes...that is right
var1 is the dynamic Part from the setter and var2 the key of the array
Works just fine here in PHP context (using latest stable PhpStorm 2017.2.4 on Windows 10; using Default keymap in IDE)
I've tried both: [Tab] and [Enter] to move focus to the next variable placeholder -- same result.
At first I thought it might be caused by the fact that $ in $something is not escaped (so it misreads the whole template somehow -- I made such assumption without testing it first .. as it was causing issues in old versions, like PhpStorm 10 or so) .. but your template seems to be working just fine here.
Maybe it's specific to your file or environment -- I've tested it in "random" file (controller in Laravel project). Maybe in your case when you completing value for $var$ it works differently (e.g. because you are choosing item from code completion popup or something).
Some code sample (where you would have few setXXX methods) + ideally short video/screencast would be very helpful here.