NP++ removes line numbers in copy blog code

 

Programmers often encounter the code copied from the blog and use it in their work, but the code copied in CSDN sometimes has some line numbers

It's a headache to use.

NP++ can remove line numbers, but the plugin TextFX needs to be installed. Some people will fail to install the NP++ plugin, making it impossible to remove line numbers.

In view of the failure to install the plugin and the regular matching failure, it is recommended to use an older method to remove line numbers in NP++

Open Np++ and paste the copied code. ALT + left mouse button and drag the mouse along the row number column (ALT + left mouse button to select the column operation),

As shown below:



 
After selecting, the del operation deletes the line number in the code from the copy.

The above is used when the TextFx plugin cannot be installed and cannot be used for regularization

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326037724&siteId=291194637