Many friends will encounter a lot of empty lines in the code, but deleting them one by one must be very annoying. At this time You need to use batch deletion of empty lines.
How to delete blank lines in batches?
My method is to use regular expressions to find all blank lines, and then replace them all with one click.
First check Match Case and Regex
Fill in the regular rules in the first search box: ^n
After matching all blank lines, click [ Replace all].
The replacement effect is as follows: