Sonarlint don't show warnings and alerts

Hi team,
I installed the way next:

  • VSCode 1.55.2
    +Sonarlint extension 1.21.0
  • Sonarqube 8.8.0.42792
  • Java 11 (Sonarlint dont on in Java 8)
  • code in Java 11 (I donwloaded demo in https://start.spring.io/ )

additional, i see the message “couldn’t start client sonarlint language server” in the VSCode.

I Attach screenshots code without any alerts or warnings in the VSCode and Sonarlint.

@j4v13r

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

Could you please have a look at the SonarLint Output? This should give you additional info about what prevents the Language Server from starting.

SonarLint’s language server relies on the availability of a JRE; if it is on your machine’s $PATH it should find it automatically, else you can specify the path the the JRE in your settings, using property sonarlint.ls.javaHome.

You might also want to have a look at the pinned FAQ, it contains a lot of information that can be useful to get started.