规范-阿里代码规范设置

阿里代码规范设置

1.  阿里代码规范地址

https://github.com/alibaba/p3c

2.  安装eclipse规范文件

2.1. 导入代码格式文件

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



2.2. 导入代码格式化样式

3.  安装eclipse代码规范检查插件

https://github.com/alibaba/p3c/tree/master/eclipse-plugin

4.  设置eclipse保存时自动格式化代码

Window->preferences

转载地址:https://blog.csdn.net/byzh4/article/details/79478494

猜你喜欢

转载自blog.csdn.net/yanxinduan/article/details/80924556