using Notepad++ how can i make a macro type situation in which a number increments?
问题 for example i have about 500 lines. in the beginning of each line i want to add a number. so in line 1 i would want "1)" and then line 2 i would want "2)" i know i can do a macro in n++, but it wouldn't be incremental. is there any possible way to do this? 回答1: Notepad++ Macros only playback keyboard actions. They can't do anything dynamic. However there is a built-in(?) plugin that can do this for you. Highlight all the code, then choose "TextFX / TextFX Tools / Insert Line Numbers" One