SonarLint Analyze and Exclude menu options are disabled but the file is not excluded

Momentics® Integrated Development Environment
Version: 7.1.2.v202203081633
SonarLint for Eclipse 8.0.0.80157
SonarQube 9.5 Enterprise Edition
Connected mode

On one of my files in my project the SonarLint “Analyze” and “Exclude” menu item are disabled. This just happened - they were enabled yesterday. The rest of the hundreds of files in my project are not impacted - they all have the menu options available. In the Window->Preferences->SonarLint->File Exclusions - the list is empty.

Any idea what I might have done and how to fix it?
Thanks

Hi,

Both your SonarQube and your SonarLint versions are pretty old. Can you upgrade SonarQube to at least 9.9.2, and SonarLint to 9.0.1.81337 and see if this is still replicable?

 
Thx,
Ann

That is not under my control. I’m stuck with what we have.

I found the problem. There are SonarLint exclusion settings for the project as well as SonarLint exclusion settings for the IDE.

1 Like