This text file contains tips and tricks. Replace / Remove blank lines in VS Code:
- Ctrl + H to open the Replace widget.
- Click the Use Regular Expression icon (it looks like .*) or press Alt + R
- In the Find box, type: ^\s*\n
- Leave the Replace box completely empty.
- Click Replace All (the icon with two overlapping squares)