S
S
sllugovskih2019-06-02 08:47:23
phpstorm
sllugovskih, 2019-06-02 08:47:23

Phpstorm code templates like in sublime?

Tell me how to set up in phpStorm when entering into html, let's say the words foreach and pressing tab that would change to the construction

<?php foreach ($variable as $key => $value): ?>
    
<?php endforeach ?>

and the same c if to change to
<?php if (condition): ?>
    
<?php endif ?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-06-02
@sllugovskih

live templates
https://www.jetbrains.com/help/phpstorm/using-live...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question