1.编辑器配置 习惯使用VScode进行开发时,可以安装EditorConfig for Visual Studio Code插件,然后在项目中新建.editorconfig文件,来配置编辑器的使用习惯 .editorconfig文件内容 root = true # 是否是顶级配置文件,设置为true的时候才会停止搜索.editorconfig文件 [*] # 匹配除/之外的任意字符,表示对所有的文件都使用下面的配置 charset=utf-8 # 使用UTF-8编码 indent_style…