visual-studio - .editorconfig 文件无法修复 Visual Studio 中的文件结尾问题
问题描述
我正在和其他几个人一起做一个项目,我们已经定义了一个 .editorconfig 文件
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
即便如此,我仍然不断收到行尾不一致的消息。为什么会这样?为什么 .editorconfig 文件不能解决问题?该文件不应该使人们以正确的方式自动保存文件吗?
解决方案
推荐阅读
- java - 使用 Boxable 在同一 PDF 页面上放置文本和表格时出现问题
- javascript - 谁配置了 vim 编辑器来突出显示 ejs 语法?
- javascript - 开关功能乱序多次输出
- java - 在我的设备上获取当前位置时出错
- django - 在 Django 视图中重新组合模型中的数据
- javascript - 在用作边框源的 SVG 中悬停时启动 CSS 动画
- java - 使用 JFrame 形式 (Java) 中的缓冲写入器打印 ArrayList
- python - 熊猫分组错误重复轴但没有重复值
- javascript - 仅当所有字段不为空时才启用提交按钮 - 类型 > 文件 & 选择 & 输入
- google-chrome - AR - Google Scene Viewer - FCA 是如何做到这一点的?