Phpstorm code templates in sublime?

Tell me how to configure phpStorm to when you type in the html for example the word foreach and press tab that would have changed the design
<?php foreach ($variable as $key => $value): ?>

<?php endforeach ?>

the c if to change on
<?php if (condition): ?>

<?php endif ?>
March 23rd 20 at 18:43
1 answer
March 23rd 20 at 18:45

Find more questions by tags PhpStorm