Answer the question
In order to leave comments, you need to log in
How to do text replacement in multiple files using ordinal?
I have a lot of files, more than 300
and I need to insert an image in each file
<div class="img-list">
<img src="../Images/image-.jpg" alt="Иллюстрация к книге" />
</div>
Answer the question
In order to leave comments, you need to log in
Use PHP Storm Crtl+Shift + R.
Specify the directory in which to search, insert the field to be searched for and what to replace it with.
You can do this in Sublime Text as well. The trick is to replace it with different text.
In this case:
image-1
image-2
image-3
I found a plugin that does this Incrementor
https://packagecontrol.io/packages/Incrementor
But something did not figure out how to install it?
Through sublime, he does not find it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question