How to Add an Auto Incrementing Number to Each Selection in Sublime Text 3

1. Open Sublime Text 3

2. Make sure you have Package Control installed (https://sublime.wbond.net/installation)

3. Press CTRL + SHIFT + P

4. Type Install onto the dialog window

5. Select “Package Control: Install Package” and press “Enter”

6. Search for and install “Increment Selection”

7. Select 2+ lines using “ctrl” + “left mouse click”

this
this
this
this

8. Then press “ctrl” + “alt” + “i”

9. Boom, it will auto-increment each line 1,2,3,4 etc.

this1
this2
this3
this4

10. Enjoy!

Was this blog post helpful for you?

Support my blog and donate!

My blog is open to the public and will always be freely available. With your donation, we can help others learn, together.