SonarQube for IntelliJ plugin version: 10.21.0.81149
IntelliJ version: 2023.2.8
Programming language you’re coding in: Apex, JS
Is connected mode used: Yes
SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): Sonarqube Server - Enterprise Edition v2025.1 (102418)
And a thorough description of the problem / question:
I’m trying to do code analysis on the fly in intelliJ for apex coding. But no issues are reported in the local even though the code is non-compliant.
I’m using in connected mode and I have bound with the sonarqube project having ‘sonarway’ as quality profile.
Steps I did is → I created a connection to sq server and bind my local with one of the projects.
I did the same step in vs code and it is working correctly that the issues are reported as per the quality profile from sq server in my local. Same thing is not working in intelliJ
I just read through the documentation and came to know apex rules are currently not supported in intellij ide. Any idea if there will be a support in future?
Hi Dakshin,
Thank you for your feedback. Indeed, it is only supported in VSCode and Eclipse today. I will explore with the SonarQube for IntelliJ squad adding Apex and keep you updated.
After speaking with my colleagues there is no official support of Apex in IntelliJ so we’re unsure on whether it’s feasible for us.
Would it be possible for you to use VSCode for Apex or is it a company policy to stay on IntelliJ?
Can you also let us know which IntelliJ you use for Apex?
I’m using intelliJ ultimate edition and the version is 2023.2.8
Yes it is a recommended practice in our team to use intelliJ for many reasons and one of it is that we still want the older metadata structure for the objects