When I load up a project from the WSL2 filesystem in my Windows IDE, “SonarLint Analysis” tasks accumulate and run infinitely. Stopping them creates a “Stopping - SonarLint Analysis” task which similarly does not complete.
Can you tell me how many lines of code these 6 files have in total?
Does it only happen with WSL2 if you try(if it’s possible to try) the same project without WSL2?
could you please provide us with logs and thread dumps:
one dump for the backend of SonarLint service; That can be done by eg. running jps command from console to find id of the JVM process for SonarLintServerCli and then making a dump with jstack jstack <id>