I am trying to use PMD in IntelliJ IDE using illuminated cloud. When I run PMD using pre-defined rules, no violations are reported. When I try to import custom rules from PMD's website, it does not load the custom rules and throws an error as shared in attachment.
Just to be clear, I am trying to run PMD for salesforce( apex) rules and want to see the bugs/errors from PMD in the IDE itself. I have searched all over the internet, did not find any support for it. Does PMD on intelliJ support apex ?
Has anyone here used PMD in IntelliJ IDE and able to see the static code review comments ?
Best Answer
Here's my IC 2 setup. The IDE has direct links to the files you need to have a path available from your local machine