Issue with the Sonar Lint plugin (1.21.0) for VS Code (1.55.2)
(on Mac OS Big Sur 11.2.3)
(Java 11 installed with sdk man)
The plugin simply does not work. No corrections are provided.
When I click in the right panel on “Sonarlint rules”, I get a popup “Internal error” without any other info.
And in “Sonarlint issues location”, it just shows “no locations to show”.
Setting the java home explicitly with “sonarlint.ls.javaHome” in settings did not help.
(No solarQube installed, I’m strictly trying to use the lint plugin)
Hello, welcome to the community! And thank you for reporting this issue.
Could you please check the SonarLint Output for additional details? On macOS, you can either:
Open the “Command Palette” with ⇧⌘P, search for “SonarLint: Show SonarLint Output” command
Open the “Output” view with ⇧⌘U, select “SonarLint” in the dropdown
Additionally, you might want to set both sonarlint.output.showAnalyzerLogs and sonarlint.output.showVerboseLogs to true in your user settings, to get additional details about what is going on.