D
D
Dmitry2016-10-11 08:56:12
phpstorm
Dmitry, 2016-10-11 08:56:12

How to wrap code with tags in phpstorm?

Hello!
There is a piece of code: It is
<div class="form_commands"></div>
required to wrap it so that it looks like:
<?php /*<div class="form_commands"></div>*/?>
How to do it quickly, how to style the template?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
pashted, 2016-10-11
@muldy

8afb701e3ecd40ebaa1a7a7ff6848346.jpg
if, suddenly, it was necessary to return everything back, only this option comes to mind:
in order not to accidentally delete something superfluous, the template can be supplemented with some symbols, such as exclamation marks.
note the underlines in the ctrl+alt+j menu. if you press the first letter of the template abbreviation on the keyboard, a specific template from the list will be applied. so choose the name so that it is convenient to press its first letter.

A
Aleksandr Bandura, 2018-12-13
@Dogon

How can I make it apply to multiple elements? For example, there are several lines and these lines need to be included in the li tag

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question