团队项目开发前准备工作
藏锋de刃
web开发
展开
-
团队一键安装项目推荐的vscode插件(使用extensions.json)
步骤1: 在项目根目录下新建文件.vscode/extensions.json, 文件内容为:{ "recommendations": [ "formulahendry.auto-rename-tag", "coenraads.bracket-pair-colorizer", "dweizhe.docthis-customize-tags", "editorconfig.editorconfig", ...原创 2021-08-08 23:41:39 · 8266 阅读 · 0 评论 -
团队代码风格保持一致性的方法(使用.editorconfig)
步骤1: 在项目根目录下新建 .editorconfig文件, 文件内容为:# Editor configuration, see https://editorconfig.orgroot = true[*]charset = utf-8indent_style = spaceindent_size = 4insert_final_newline = truetrim_trailing_whitespace = true步骤2: 如果用的编辑器...原创 2021-08-04 22:38:15 · 344 阅读 · 0 评论