D
D
denism3002020-05-12 19:48:01
Visual Studio Code
denism300, 2020-05-12 19:48:01

Is it possible to use a counter in text replacement in VS Code?

There is an HTML table, you need to add an attribute to all cells.
Is it possible to use a counter in text replacement to do something like this: We are
looking for change to on the output we have:
<td>
<td attr="тут_счетчик">

<td attr="1">...</td>
<td attr="2">...</td>
<td attr="3">...</td>
...
<td attr="100500">...</td>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pashenka, 2020-05-12
@like-a-boss

td[attr=“$”]*10[press tab key]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question