V
V
Vitaly Khvan2018-02-13 09:36:37
phpstorm
Vitaly Khvan, 2018-02-13 09:36:37

How to properly set up LiveTemplate in PhpStrom?

In general, I have a snippet, for example:
I make a call using route

public function action$VAR0$()
{
    $END$
    return $this->render('$VAR0$');
}

1. Is it possible to make a setting in this snippet so that the value in the upper part is written with a capital letter and the value in the second part with a small letter?
2. How to make a call following the example of the C#fff snippet, so that the value of the variable is written immediately to VAR0 is acceptable?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Vorotnev, 2018-03-13
@HeadOnFire

On the first question:
On the second - I'm not sure I understood. But dig into the "Expression" drop-down list, I think there is what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question