robotframework-tidy icon indicating copy to clipboard operation
robotframework-tidy copied to clipboard

[Enhancement] Normalize EOL symbols in file

Open Cavaler opened this issue 2 years ago • 1 comments

Currently (4.10.0) EOL symbols in output are operating system-dependent, which can clash with git checkout settings for example.

It would be nice to have an option to force them to be LF (Unix-style) or CRLF (Windows-style) manually.

Cavaler avatar Mar 11 '24 18:03 Cavaler

What about lineseparator option?

https://robotidy.readthedocs.io/en/stable/quickstart.html#line-endings

By default it uses native system eol but it can be switched to auto detect or overwrite with specific.

bhirsz avatar Mar 11 '24 19:03 bhirsz