Notepad++ add number in each line

后端 未结 1 1053
一生所求
一生所求 2020-12-01 00:04

I have the following data in a text file

p=1
p=1
p=1
p=1

etc. I open that file in Notepad++.

How would I change it to



        
相关标签:
1条回答
  • 2020-12-01 00:38

    You can use the "Column Editor" mode. First, select the column you want by holding Alt and dragging down the column. Then go to "Edit->Column Editor", you will get a box that looks like this:

    enter image description here

    Choose the "Number to Insert" button, then choose the starting value and the increment. It will replace the column with the values you want.

    0 讨论(0)
提交回复
热议问题