- Project JDK: 1.7+
- Gradle: 3.0+(Require JDK1.8+ for gradle)
cd p3c-idea
gradle clean buildPlugin
cd p3c-idea
gradle runIde
# run specific IDEA
gradle runIde -Pidea_version=14.1.7
compile 'com.alibaba.p3c.idea:p3c-common:1.0.0'
-
Settings >> Plugins >> Browse repositories...
-
Search plugin by keyword 'alibaba' then install 'Alibaba Java Coding Guidelines' plugin
-
Restart to take effect.
- Open https://plugins.jetbrains.com/plugin/10046-alibaba-java-coding-guidelines and download the latest version zip file.
- Settings >> Plugins >> Install plugin from disk...,select the downloaded zip file in previous step then restart your idea
-
Switch language
-
Inspections
-
Code Analyze
We use the idea standard Inspection Results to show our violations.
We can also analyze file which is modified before vcs checkin.
-
- Appearance&Behavior -> Appearance -> UI Options -> Name 里面设置成微软雅黑(microsoft yahei light)