sonar-scala / sonar-scala

A free and open-source SonarQube plugin for static code analysis of Scala projects.

Home Page:https://sonar-scala.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Any plans to compatibilize this plugin with sonarlint

colomain opened this issue · comments

Rules published by this plugin didn't appear in sonarlint. I can only see HTML, Java, Javascript, PHP, Python, TypeScript rules. Rules from sonarsource plugin didn't appear either...

Hi @colomain, thanks for raising this.

I'm afraid we don't support sonarlint in sonar-scala.
I think it is possible though to implement it, but I haven't invested any time yet to look into it. If I was to look into it, I'd probably only aim to support VSCode. I don't think it would be practical to continuously run and generate a Scapegoat report in the background during development, so I'd also probably constrain this only to supporting the built-in Scalastyle rules (and potentially Scalafix in the future once the support is added).

I think the official sonarlint plugin for IntelliJ IDEA supports Scala with the SonarScala plugin (SonarSource plugin). It doesn't look like the VSCode plugin currently supports Scala, but to get an official answer you'd need to ask SonarSource folks on their support forum here.