SonarLint for Eclipse - Rules filter does not use the name of the rule

I see lots of “Rename this constant” errors but if I filter for Rename in the rules it does not find the ruel. See Screenshot.

Unfortunately, the “name” of the rule isn’t the same as the string we output to describe a violation of the rule. In your case, I believe this is the droid you’re looking for:


Hi @vogella

As Jeff explained, rule names and issue messages are not the same. A reliable way to link issues to their rule is to use the rule key. You can grab the rule key in the rule description:

or configure the SonarLint On-The-Fly view to display the rule key column:

Then you can filter by rule key in the configuration:

Thanks, that works for me.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.