An Intellij plugin that performs static analysis using PMD. Download it from here, read documentation here.
Modified to support the following rulesets:
- APEX
- VISUALFORCE
- JAVASCRIPT
It requires to copy the necessary dependecies to the final bundle to be installed in Intellij plugins folder, the final bundle should look like:
antlr-runtime-3.5.2.jar
antlr4-runtime-4.5.2-1.jar
asm-5.0.4.jar
commons-io-2.4.jar
commons-lang3-3.4.jar
commons-logging-1.2.jar
jaxen-1.1.6.jar
pmd-apex-5.8.1-apex-jorje-shaded.jar
pmd-apex-5.8.1.jar
pmd-core-5.8.1.jar
PMD-Intellij.jar
pmd-java-5.8.1.jar
pmd-javascript-5.8.1.jar
pmd-visualforce-5.8.1.jar
saxon-9.1.0.8-dom.jar
saxon-9.1.0.8.jar