gpt4 book ai didi

visual-studio - 我想要标准化的行尾吗?

转载 作者:行者123 更新时间:2023-12-03 13:32:39 25 4
gpt4 key购买 nike

我在 Visual Studio 2008 中收到以下消息:

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



我不明白那是什么意思。我应该单击是还是否?

enter image description here

最佳答案

正确答案几乎总是"is"和“Windows (CR LF)”。原因是源文件中的行结尾应该在文件中几乎总是一致的,Windows 上的源文件通常应该有 CR LF 结尾。有异常(exception),但如果它们适用于您,您可能会知道它们。该警告是一个很好的警告,因为它会通知您文件以某种方式进入了这种不一致的状态,并且它为您提供了如何处理这种情况的选择。

关于visual-studio - 我想要标准化的行尾吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5665217/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com