Answer the question
In order to leave comments, you need to log in
How to set up `if` autocompletion in PhpStorm?
IF block substitution does not work for me as described in the documentation
https://www.jetbrains.com/help/phpstorm/auto-compl...
PhpStorm automatically completes the construct and adds the required punctuation, and the caret is placed at the next editing position.
Answer the question
In order to leave comments, you need to log in
Good morning.
In PHPStorm 2018.3, such a thing works.
Enter such a construction and press Enter
As a result, you get
if ($a) {
}
if ($a>=0) {
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question