Answer the question
In order to leave comments, you need to log in
Increasing the counter in PhpStorm?
Hello. Such a question on PhpStorm. Let's say I have this line:
Is it possible to set some kind of anchor in PhpStorm so that when copying this div, the next value is suppressed? Let's say I copy via ctrl+D , it should be:
<div class="div1"></div>
<div class="div1"></div>
<div class="div2"></div>
<div class="div3"></div>
и т.д.
Answer the question
In order to leave comments, you need to log in
Often you need such a functional, but I can not find it
<div class="div" data-counter="1"></div>
<div class="div" data-counter="2"></div>
{% for i in [1..3] %}
<div class="div" data-counter="{{ i }}"></div>
{% endfor %}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question