1 阿里巴巴规约插件,是用于规范和检查项目开发中的代码错误,
地址为 :https://github.com/alibaba/p3c
2 如何安装?
①Myeclipse下:
- Help >> Install New Software then enter this update site URL https://p3c.alibaba.com/plugin/eclipse/update
- Follow the wizard, restart Eclipse to take effect after install success.
说明:可以去在此下载相关的插件去安装在myeclipse/eclipse/sts/idea上使用,myeclipse 安装后可能会出现svn图标消失等错误,这时按照下图操作就可以。
3 如何使用?
在需要检查的项目上或者写完代码的java文件上右击,这里以myeclipse为例,如图。