Hello, I’ve recently switched from Brackets to Atom and love it.
There’s one thing I was never able to do with Brackets and I wonder if there’s an easy way to do it with Atom or a package.
I often need to insert incremental numbers into repeating blocks of html, for instance:
<div class="isotope-item gallery-item col-md-4 col-sm-6 terr"> <a class="prettyPhoto " title="" data-gal="prettyPhoto[gal]" href="images/gallery/01.jpg"><img src="images/gallery/01.jpg" alt=""></a> </div>
Let’s say I have to insert this block 99 times with the numbers ranging from 01 to 99. What would be the fastest way to do this? I have a plugin for Sublime that does this with find and replace, but I’d love to do it with Atom too.
For instance, search for href="images/gallery/.jpg and insert an incremental number before .jpg.
Can you help me with this, guys?