DevToys-app / DevToys

A Swiss Army knife for developers.
https://devtoys.app/
MIT License
26.94k stars 1.45k forks source link

Line ending resolver/converter #254

Closed PatrickDRusk closed 2 years ago

PatrickDRusk commented 2 years ago

What's the Problem?

Very easy when working on a project with multiple people to create a file with mixed Windows and Unix line-endings. Some IDEs do a better job than others at detecting this than others. For years, I would actually paste my text into WordPad (!!!), save as a DOS file, then convert to whichever I wanted. It was the only thing that worked faithfully back in the day.

Solution/Idea

Text box, paste text in, faithfully look for both Windows and Unix line endings, and allow them to be changed uniformly to one or the other.

Alternatives

WordPad back in the day, PyCharm seems to work now

Priorities

Capability Priority
This proposal will allow developers to accomplish W Must
This proposal will allow end users to accomplish X Should
This proposal will allow developers to accomplish Y Could
This proposal will allow end users to accomplish Z Won't

DevToys Version

No response

Comments

No response

expikr commented 2 years ago

would this be appropriate as a subset of the functionality suggested in #226 ?

PatrickDRusk commented 2 years ago

Absolutely. I committed the grave sin of not checking the current issues thoroughly enough. I'll close this and comment on the other.