Can you please make new video for current version of PMD Apex or help me to setup that in my IDEA
@Illuminatedcloud10 ай бұрын
Hi. You should just need to download a PMD distribution (pmd.github.io/#downloads). I recommend 6.55.0 as it's the latest official released version. Extract that archive somewhere on your machine and register its root directory with the PMD Salesforce code inspection. Then create a ruleset file (raw.githubusercontent.com/pmd/pmd/master/pmd-apex/src/main/resources/rulesets/apex/quickstart.xml) and register that with the inspection as well. If you want to use the PMD AppExchange rules, install the Saleforce Code Analyzer CLI plugin (forcedotcom.github.io/sfdx-scanner/en/v3.x/getting-started/install/) and enable that inspection option. That should do it. If you're still having issues, please contact me via any of the support channels (www.illuminatedcloud.com/support).