You can use [Alt left mouse button] to enter column mode to add; (recommended learning: notepad )
You can see the line after the serial number, which is the column selected using [Alt left mouse button].
Achieve the effect:
You can also use the column block editing mode to add a string to the beginning of the line.
First place the cursor before the serial number, then click Edit and select column block editing. You can also place the cursor after the serial number and use the shortcut key Alt C to quickly open column block editing. In the dialog box, fill in the string to be added in [Insert text].
The results are as follows:
The above is the detailed content of How to add the same character before each line in notepad++. For more information, please follow other related articles on the PHP Chinese website!