Reputation: 7613
I am using VS 2017 on only Windows. However, it frequently pops up the warning “inconsistent line endings”.
I found a solution to turn it off from this link. But then I have some questions related to this issue:
Upvotes: 0
Views: 42
Reputation: 2020
I recommend reading: https://en.wikipedia.org/wiki/Newline
In particular these 3 sections:
The inconsistencies generally come from: copy-pasted code, snippets, using different editors/environments or through a file transfer protocol (or code repository).
As for the benefit: it can cause issues where the content is either not displayed in a human-readable fashion or the content is misinterpreted by a process (i.e. compiler).
Upvotes: 0