amitdev / PMD-Intellij

Plugin for doing static analysis in Intellij using PMD
http://plugins.intellij.net/plugin/?id=1137
MIT License
71 stars 24 forks source link

Showing PMD results in the code as coloured lines? #177

Open a-t-0 opened 3 months ago

a-t-0 commented 3 months ago

Hi, thank you for your work on embedding PMD with IntelliJ!

Is it possible to show the output of PMD (live) in the IDE code with coloured lines? Similar to how other code-issues are visualised:

image

I am aware it may take a while to update each file, luckily PMD supports incremental analysis, and perhaps one could set an update frequency, e.g. once every 2 minutes for changed files (w.r.t. the previous run).

If this is already possible, would you perhaps be willing to explain how to configure this setup?

(For completeness, I am able to manually run PMD in IntelliJ, and inspect the issues, and hop to the lines that are affected.)