In Settings > Plugins search for PMD and install it. After restarting IntelliJ configure the plugin by navigating to Settings > Other Settings > PMD
See pmd_settings.png
The configuration for basic RagedUnicorn projects can be found here: pmd-ruleset.xml
Run PMD by Tools > Run PMD > Custom Rules > [ruleset]
