What does Visual Studio mean by normalize inconsistent line endings?

后端 未结 11 2042
没有蜡笔的小新
没有蜡笔的小新 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 19:59

    If you are using Visual Studio 2012:

    Go to menu FileAdvanced Save Options → select Line endings type as Windows (CR LF).

提交回复
热议问题