A
A
Alexey Bugaev2019-07-01 15:50:09
Emmet
Alexey Bugaev, 2019-07-01 15:50:09

Why doesn't Emmet open a tag in PHPStorm?

Why doesn't Emmet offer to open the <?php ?> tag when typing the word php in a PHP file. If you press tab yourself, it will turn out like in the picture. And there is nothing related to php in Emmet settings
5d1a013869b8b136265403.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Koshelenko, 2019-07-01
@aleksei13b

File -> Settings -> Editor -> Live Templates -> "+" (add new live template) with params:
Abbreviation: php
Template text: <?php $END$ ?>
Context: HTML

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question