Duplicate And Increment
It is a sublimetext plugin that increments while duplicating lines.
Details
Installs
- Total 2K
- Win 1K
- Mac 509
- Linux 293
| Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | Mar 16 | Mar 15 | Mar 14 | Mar 13 | Mar 12 | Mar 11 | Mar 10 | Mar 9 | Mar 8 | Mar 7 | Mar 6 | Mar 5 | Mar 4 | Mar 3 | Mar 2 | Mar 1 | Feb 28 | Feb 27 | Feb 26 | Feb 25 | Feb 24 | Feb 23 | Feb 22 | Feb 21 | Feb 20 | Feb 19 | Feb 18 | Feb 17 | Feb 16 | Feb 15 | Feb 14 | Feb 13 | Feb 12 | Feb 11 | Feb 10 | Feb 9 | Feb 8 | Feb 7 | Feb 6 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Duplicate lines and increment
It is a plugin that duplicates lines while incrementing.
It is similar to the convenience plug-in which was in the Editor called FlashDevelop long ago.
I thought there was demand.
Multiple lines can also be incremented.
With this, you can make coding efficiently a large number of sequential number processing.
{
"item-list":[
{ "name":"item1", "path":"./image1.jpg" }
, { "name":"item2", "path":"./image2.jpg" }
, { "name":"item3", "path":"./image3.jpg" }
, { "name":"item4", "path":"./image4.jpg" }
, { "name":"item5", "path":"./image5.jpg" }
, { "name":"item6", "path":"./image6.jpg" }
, { "name":"item7", "path":"./image7.jpg" }
, { "name":"item8", "path":"./image8.jpg" }
, { "name":"item9", "path":"./image9.jpg" }
, { "name":"item10", "path":"./image10.jpg" }
, { "name":"item11", "path":"./image11.jpg" }
, { "name":"item12", "path":"./image12.jpg" }
, { "name":"item13", "path":"./image13.jpg" }
...
Usage
Execute with placing the cursor (select no area)

Execute with select any area

Increment only selected numbers
Execute with select multiple lines

Of course also json

Execute with key binding
Select the area and press: super+shift+ctrl+v to duplicate and increment the selected area once.
Select the area and press: super+shift+alt+v to open an input box where you can specify how many duplications and increment you want.
Install
- select “Package Control: Add Repository”
- input “https://github.com/112KA/duplicate_and_increment”
- select “Package Control: Install Package”
- input “duplicate_and_increment”
Licence
MIT License