In 2015 you could change this from File -> Advanced Save, however this is no longer a menu option.
Where is it located now? I mean the option to actually change what the line endings are, not disable the message.
editorconfig specifying a different style of line endings, and then when you add any lines in the file Visual Studio will suddenly cause the file to have inconsistent endings.
Visual Studio Code has this feature : It's under “Text Editor” > “Files” > “Eol”.
Click:
Save As
Click the drop arrow next to Save.
Select Save with Encoding:
Now you can set the line endings:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With