SonarLint plugin should provide a Reference Contributor for SuppressWarnings

It often happens when using Sonar that we suppress warnings by referencing a rule number, such as @SuppressWarnings("java:S3577")

I would appreciate it if the SonarLint plugin provided a PsiReferenceContributor so that IntelliJ understands that java:S3577 is a Reference to something, and let me use a keyboard shortcut on it to open the rule description it in the SonarLint panel to read about it.

Hi Lars,
Your feedback is super valuable, as we would like the SonarLint experience to be as smooth as possible. Although this is not currently in our plans, we’ll keep a record of it and continue to look out for similar requests. We’ll update this thread if anything changes.

2 Likes