Question

As you can see in the screenshot below, I want to change all the 1's in the red box into a sequence from 1 to 1000

http://i.stack.imgur.com/3JYvL.png

I done some searching and ended up with two plugins for sublime text that make sequences but still can't make use of them in this situation the plugins are "Incrementor" and "Text Pastry" I installed both using package control but they don't seem to work properly (or maybe I'm doing t wrong)

Was it helpful?

Solution

It may not be the solution you asked for, but you can try this:

Go to this website http://textmechanic.co/Generate-List-of-Numbers.html

Prefix numbers: <img src=http://targetname/file?r=
suffix with: </img>

Click Generate List of Numbers.

<img src=http://targetname/file?r=1</img>
<img src=http://targetname/file?r=2</img>
<img src=http://targetname/file?r=3</img>
<img src=http://targetname/file?r=4</img>
<img src=http://targetname/file?r=5</img>
<img src=http://targetname/file?r=6</img>
<img src=http://targetname/file?r=7</img>
<img src=http://targetname/file?r=8</img>
<img src=http://targetname/file?r=9</img>
<img src=http://targetname/file?r=10</img>
<img src=http://targetname/file?r=11</img>
...

OTHER TIPS

It's really easy using the emmet plugin for sublime text: https://sublime.wbond.net/packages/Emmet

1) Define HTML syntax in an empty file and paste this line:

img[src="http://targetname/file?r=$"]*1000

2) Then just place your cursor at the end of the line above and hit TAB

Hope this helps!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top