How to set default line endings in Visual Studio Code? April 2, 2024 by Tarik Search for EOL in VScode settings and click on ‘\n’ to make LF default.