VSCode/Sonarlint - No Problems have been detected in the workspace

Hi,

I cannot get SonarLint v3.1.0 to display issues in VS Code

I want to see the list of issues to fix, so far I have to click on all the files, one by one

I created a workspace and added my angular \src folder in it

versioning works, but no code issues are detected while sonarcloud.io report many

thx for your help

the only error reported is about “Experimental support for decorators…”
it does not report any other error than this

Hello, welcome to the community! And thank you for your question.

In VSCode, SonarLint should detect issues in open files and show them in the “Problems” view.

I suggest that you:

  • set sonarlint.output.showAnalyzerLogs and sonarlint.output.showVerboseLogs to true in your VSCode user settings
  • open the SonarLint output console
  • open a file and watch what happens in the console during the analysis

This should at least give you a hint about what is going on, please feel free to post here any relevant log to help with the troubleshooting.

Also, since you seem to be using SonarCloud, I suggest that you configure connected mode to benefit from the same analysis configuration.