delete empty lines visual studio code example
Example 1: delete line visual studio
Ctrl + Shift + L in Visual Studio
Ctrl + Shift + K in Visual Studio Code
Example 2: remove empty lines visual studio
^(?([^\r\n])\s)*\r?$\r?\n
Example 3: remove empty lines visual studio
in find replace add ^(?([^\r\n])\s)*\r?$\r?\n with regex enabled