# 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.
```json { "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) ![example1](https://user-images.githubusercontent.com/7278251/31987177-f1caf258-b9a5-11e7-9f3c-d736bdd3ea51.jpg)

### Execute with select any area ![example2](https://user-images.githubusercontent.com/7278251/31987191-f7e3261a-b9a5-11e7-900b-f988702bf902.jpg)
Increment only selected numbers

### Execute with select multiple lines ![example3](https://user-images.githubusercontent.com/7278251/31987202-fd0f2ea4-b9a5-11e7-8afd-57e6d170072b.jpg)
Of course also json
![example4](https://user-images.githubusercontent.com/7278251/31987208-00bb3ffc-b9a6-11e7-8ce8-5ca557203017.jpg)
### 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 1. select "Package Control: Add Repository" 1. input "https://github.com/112KA/duplicate_and_increment" 1. select "Package Control: Install Package" 1. input "duplicate_and_increment" ## Licence MIT License