mirror of https://github.com/alibaba/p3c.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 years ago | |
---|---|---|
.. | ||
doc/images | 7 years ago | |
gradle/wrapper | 7 years ago | |
p3c-common | 7 years ago | |
p3c-idea | 7 years ago | |
.gitignore | 7 years ago | |
README.md | 7 years ago | |
build.gradle | 7 years ago | |
gradle.properties | 7 years ago | |
gradlew | 7 years ago | |
gradlew.bat | 7 years ago | |
settings.gradle | 7 years ago |
README.md
Idea Plugin
Prepare
- Project JDK: 1.7+
- Gradle: 3.0+(Require JDK1.8+ for gradle)
Build
cd p3c-idea
gradle clean buildPlugin
Run plugin
cd p3c-idea
gradle runIde
# run specific IDEA
gradle runIde -Pidea_version=14.1.7
Use p3c-common as your plugin dependency
compile 'com.alibaba.p3c.idea:p3c-common:1.0.0'
Install
-
Settings >> Plugins >> Browse repositories...
-
Search plugin by keyword 'alibaba' then install 'Alibaba Java Coding Guidelines' plugin
-
Restart to take effect.