Sonarlint v4.10 does not work anymore like v4.7

Please provide

  • Operating system: WSL2 Debian Bullseye
  • SonarLint plugin version: 4.10
  • Programming language you’re coding in: C++
  • Is connected mode used: No
    • Connected to SonarCloud or SonarQube (and which version):

And a thorough description of the problem / question:

Sonarlint 4.10 is not working anymore. Last working version is 4.7.
In the output windows pops up an error: [Error - 19:38:56.367] No file to analyze
Going back to 4.7 the analyzer does work with the same setup (settings and clang compilation database).

Hello @DBro, thanks a lot for your post, and welcome to Sonar Community! :wave: :sonar:

This is strange :thinking: We did refactor how file analysis is being triggered, but it happened in v4.9, so if that caused the issue, v4.8 should still be working for you.

In any case, we cannot pinpoint the issue without SonarLint logs. :confused:

So, if possible, could you please

  • Enable verbose logging
  • Add "sonarlint.trace.server": "verbose", line to your VSCode User Settings
  • Share the logs with us :bowing_woman: Should you prefer not to share logs publicly, please ping here and I can initiate a private conversation here in the Community.

Thanks again and all the best,
Sophio

I have installed the v4.11.0 and now it is working again. Whatever the problem was with v4.10.0 it seems to be solved with v4.11.0.

1 Like

OK cool! :sweat_smile:

Do not hesitate to open a new thread should you face any more issues. :slight_smile:

All the best,
Sophio