
VS CODE报错 Delete `␍`或者Replace `␍`, 配置vscode保存时自动将CRLF 转换成 LF
1、下载vs code插件:EditorConfig for VS Code2、在项目目录下新建文件:.editorconfig3、在文件中添加以下内容, 即可root = true[*]charset = utf-8indent_style = spaceindent_size = 2end_of_line = lfinsert_final_newline = truetrim_trailing
·
1、下载vs code插件:EditorConfig for VS Code
2、在项目目录下新建文件:.editorconfig
3、在文件中添加以下内容, 即可
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
更多推荐
所有评论(0)