PMD Java source analyzer insights in code insights section

Hi I was trying to see if it's possible to use pmd and display the error as a highlight like intellij ones . I found for vs code https://medium.com/@arindam-karmakar/getting-started-with-apex-pmd-analysis-7401185b5ba6 Also ,there's an unanswered issue on github for this : https://github.com/amitdev/PMD-Intellij/issues/177
GitHub
Showing PMD results in the code as coloured lines? · Issue #177 · a...
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: I a...
10 Replies
JavaBot
JavaBot3d ago
This post has been reserved for your question.
Hey @CJ__47! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st3d ago
Which IDE are you using? And do you want it as an error or as a warning (both would be underlined in most IDEs)
CJ__47
CJ__473d ago
Intellij Either of error-warning highlight will do,just need a reference docs . I was thinking like this in intellij too
CJ__47
CJ__473d ago
No description
dan1st
dan1st3d ago
Are you able to automatically run PMD on save or can you currently only run it manually? though if the issue is still open, I guess there isn't much you can do there's also https://intellij-support.jetbrains.com/hc/en-us/community/posts/360003375460-Can-PMD-plugin-highlight-the-issues-in-the-editor but no response there either
CJ__47
CJ__473d ago
As of now,it's like a gradle task which generates html report ,I only found this on vscode/eclipse availability
dan1st
dan1st3d ago
Does it need to be underlined? Or is it fine if you e.g. automatically get a warning every time you run the program? or whenever you save it? (Note: As I don't use IJ, I might not exactly know how things work but I can still try)
CJ__47
CJ__473d ago
warnings are easier , by adding pmd as a pretask ,adding on ui is indeed the tough part
dan1st
dan1st3d ago
yeah idk whether that's possible without changing the plugin
JavaBot
JavaBot2d ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server