其他分享
首页 > 其他分享> > vscode格式化editorconfig

vscode格式化editorconfig

作者:互联网

项目根目录下新建文件 .editorconfig

# https://editorconfig.org
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
insert_final_newline = false
trim_trailing_whitespace = false

 

标签:trim,格式化,whitespace,vscode,trailing,editorconfig,false,true
来源: https://www.cnblogs.com/jqynr/p/16330563.html