apply-refact icon indicating copy to clipboard operation
apply-refact copied to clipboard

Identity refactoring changes the newlines

Open phadej opened this issue 9 years ago • 3 comments

If I have dos newlines file, it will be reformatted with unix newlines.

phadej avatar Nov 07 '15 11:11 phadej

Don't think there is really anything to be done here. There isn't enough information to decide which ones are originally used. The same thing happens for tabs and trailing whitespace, tabs are converted to spaces and trailing whitespace is dropped.

mpickering avatar Nov 19 '15 00:11 mpickering

How's about: if it cannot be guessed, then could it be configurable?

phadej avatar Nov 19 '15 05:11 phadej

Agree

alanz avatar Nov 19 '15 06:11 alanz