六、IDEA导入阿里代码格式化模板

1、安装Eclipse Code Formatter插件

2、下载阿里P3C规范

https://github.com/alibaba/p3c/tree/master/p3c-formatter

2、配置Eclipse Code Formatter

3、导入并选择阿里模板

eclipse-codestyle.xml   -- 代码模板

eclipse-codetemplate.xml   --注释模板

猜你喜欢

转载自blog.csdn.net/qq_37768368/article/details/109068722