场景:一个项目多个人用不同编辑器开发的时候,.editorconfig可以统一编辑器配置。避免各种换行空格数不一致等问题。

 

操作步骤:webstorm里找到配置,按照以下图示导出.editorconfig,.editorconfig文件会出现在项目的根目录里:

webstorm 导出编辑器配置.editorconfig_webstorm

 

 

webstorm 导出编辑器配置.editorconfig_webstorm_02