DEV Community

Discussion on: How to Get Consistent Line Breaks in VS Code (LF vs CRLF)

jacobdb profile image
Jacob Bearce

That's a good idea, thanks! Not quite as convenient as it doing it automatically, but I can probably just alias code to do dos2unix first automatically

Thread Thread
joelbonetr profile image
JoelBonetR 🥇

God please no. Simply configure your VSCode to use LF first, then run the dos2unix command recursively only once to edit the current files.

All edits and new files should be LF after that.