Answer the question
In order to leave comments, you need to log in
How to automatically do attribute numbering in Sublime Text 3?
For example, there are many lines:
<a id="1" href="">text</a>
<a id="2" href="">text</a>
<a id="3" href="">text</a>
<a id="4" href="">text</a>
<a id="5" href="">text</a>
<a id="6" href="">text</a>
<a id="7" href="">text</a>
<a id="8" href="">text</a>
<a id="9" href="">text</a>
<a id="10" href="">text</a>
...
a[id=$]{text}*10
Answer the question
In order to leave comments, you need to log in
install the Increment Selection plugin
highlight your id and press “ctrl” + “alt” + “i”
rricketts.com/add-auto-incrementing-number-selecti...
Created elements cannot be edited in this way. Only create a new one with the snippet that you specified.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question