Render-CRLF icon indicating copy to clipboard operation
Render-CRLF copied to clipboard

Warning/decoration when CRLF and LF files are diffed in git?

Open jankap opened this issue 3 years ago • 2 comments

Would it be possible to highlight files somehow that changed their line endings during a git commit?

For example these files changed from CRLF to LF:

image

You can see it only if you activate the left file which can be missed quickly.

image

Would it be possible to somehow highlight that the files are different?

Thank you!

I really love your extension, thank you very much. Without I had no chance to detect annoying line ending conversions...

jankap avatar Jun 17 '22 12:06 jankap

Unfortunately, I don't believe this is possible at this time. I'll play a bit with it and see if I come with something but generally line endings are not really stored in VSCode and thus problematic.

medo64 avatar Jun 19 '22 15:06 medo64

+1 for this would be useful if you find a way. I installed the extension in order to detect precisely these changes. Thanks for considering, but understand if VS code provides no way for you to implement it.

bradlitterell avatar Jul 22 '22 22:07 bradlitterell