1. 安装vscode插件 EditorConfig for VS Code 2. 项目根目录下新建.editorconfig # top-most EditorConfig file root = true # Unix-style newlines with a newline ending every file [*] # lf, cr, or crlf end_of_line = lf # ensure file ends with a newline when saving insert_final_newline = true
标签:LF,lf,vscode,newline,CRLF,file,EditorConfig From: https://www.cnblogs.com/huanhuan55/p/17684406.html