What does Visual Studio mean by normalize inconsistent line endings?

后端 未结 11 2034
没有蜡笔的小新
没有蜡笔的小新 2020-11-30 19:51

Visual Studio occasionally tells me:

The line endings in the following files are not consistent. Do you want to normalize the line endings?

11条回答
  •  情歌与酒
    2020-11-30 20:16

    It's not just Visual Studio... It'd be any tools that read the files, compilers, linkers, etc. that would have to be able to handle it.

    In general (for software development) we accept the multiplatform line ending issue, but let the version control software deal with it.

提交回复
热议问题