Eclipse is not showing the sonar issues after analyzing the java file with sonarlint

Please provide

  • Operating system: Windows
  • SonarLint plugin version: 9.3.0.81553
  • Programming language you’re coding in: Java
  • Is connected mode used: connected to sonarqube

And a thorough description of the problem / question: eclipse version 2023-09 (4.29.0)

Hi,

Welcome to the community and thanks for this report!

The current version of SonarLint for Eclipse is 10.2.0.81875.

Could you upgrade and see if this is still a problem?

 
Thx,
Ann


updated still no issues found for the file as it has 4 security hotspots actually and these issues shown in sonar cube

Hi,

Can you try that ‘SonarLint Security Hotspots’ tab to the right of the one you’re on?

 
Thx,
Ann

Hey @Dhayakar_Dhaya,

thanks for reaching out. When opening the file, are there any issues shown in the SonarLint On-The-Fly view?
When you analyze a file manually (via the context menu option) the issues will be shown in the SonarLint Report view but this will not be updated once you code along as this represents a fixed moment in time.

For the SonarLint Security Hotspots view, it won’t contain anything as Security Hotspots are not supported locally in SonarLint for Eclipse. You can open Security Hotspots from SonarQube and SonarCloud inside the IDE, at that moment the view will be filled in. So for your normal workflow you can ignore that view and close it.

If no issues are shown, please send me the logs so we can see where the issue is coming from.

Best,
Tobias