How to remove empty lines in Visual Studio Code

For some reason every now and then I get every other line empty when opening a file with code in Visual Studio Code. Annoying. It looks like this (made up example):

Here is how to get rid of these empty lines:

From Edit Menu, select Replace or press command + Option + F on […]

Read More