代碼規範檢查插件p3c,是根據《阿里巴巴Java開發手冊》轉化而成的自動化插件。java
(高級黑:P-3C「Orion」,反潛巡邏機,阿里大概取p3c先進,監測,發現潛在問題的意思)git
https://github.com/alibaba/p3cgithub
《阿里巴巴Java開發手冊》旨在碼出高效,碼出質量。eclipse
標準化,正規化,高效協同。ide
【https://www.eclipse.org/downloads/】ui
【p3c-formatter】:【https://github.com/alibaba/p3c/tree/master/p3c-formatter】編碼
【p3c-eclipse-plugin】:【https://p3c.alibaba.com/plugin/eclipse/update】idea
/** * @author lsysy * @date 2018/11/13 */
public class Test { public static void main(String[] args) { String Ba = "Ba"; if ("Ba" == Ba) { System.out.println(Ba); } } }
【http://www.javashuo.com/article/p-yetumtco-dt.html】spa
【p3c-idea-plugin】:【https://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines】
【eclipse-code-formatter】:【https://plugins.jetbrains.com/plugin/6546-eclipse-code-formatter】
【save-actions-plugin】:【https://plugins.jetbrains.com/plugin/7642-save-actions】
/** * @author ${USER} * @date ${DATE} */