2 ms·
Oh I swear when I see some ^M on a diff I sigh loudly and ask what's the problem with some people. And I mean, why are any code editors on Windows saving with
by raverbashing 7y ago
Oh I swear when I see some ^M on a diff I sigh loudly and ask what's the problem with some people.
And I mean, why are any code editors on Windows saving with ^M endings?!
- cesarb 7y ago> And I mean, why are any code editors on Windows saving with ^M endings?! Because otherwise, when you open the file on Notepad, it shows up as a single long line (other text editors tend to be smarter and understand both kinds of line endings).
- wlesieutre 7y agoNotepad supports CR, LF, and CRLF now! https://devblogs.microsoft.com/commandline/extended-eol-in-notepad/ https://devblogs.microsoft.com/commandline/extended-eol-in-n...
- Kihashi 7y agoIIRC, MS recently updated notepad to understand Unix line endings, although I'm not sure if it's live for most people. https://devblogs.microsoft.com/commandline/extended-eol-in-notepad/ https://devblogs.microsoft.com/commandline/extended-eol-in-n...