JS issues not appearing in IDE

Please provide

  • Operating system: Windows 10
  • Visual Studio version: VS 2022 17.11.5
  • SonarLint plugin version: 8.7.0.11108
  • Programming language you’re coding in: JS
  • Is connected mode used: Yes
    • Connected to SonarQube (and which version): 9.9.7

We are having issues getting JS issues to appear inside Visual Studio but not C# or C++. The rules seemed to have been correctly pulled from the server and in the output I can see it recognises issues on various lines, but these aren’t translated to actual issues inside Visual Studio for some reason. This is also the case in standalone mode. I have attached the output in case there is something relevant there. Thanks.

output.txt (608.1 KB)

Hello @wrich,

Thank you for reporting this and for providing the logs!

Unfortunately, I was not able to reproduce the problem and the logs did not offer me enough insights.

Could you please tell me which rules are not appearing?

Additionally, could you try the following suggestions:

  1. Delete the .sonarlint folder from C:\Users\username\.sonarlint and open the VS solution again
  2. Try this suggestion

Make sure that when you install NodeJS, that you check the box to add Additional Tools. Without this, I noticed that things do not work the way they’re supposed to. During this installation, there is an extension that gets added to Visual studio

1 Like