SonarTsPlugin icon indicating copy to clipboard operation
SonarTsPlugin copied to clipboard

Rules/analysis not showing up in SonarLint for IntelliJ

Open ghost opened this issue 8 years ago • 2 comments

Hi,

we are using SonarLint for IntelliJ. It is configured with the proper project which is using a quality profile based on your plugin for analysis, but we don't see anything in the IDE. What could be the issue?

Thanks in advance and also for the plugin itself Monika

ghost avatar Mar 07 '17 21:03 ghost

I've never tried running the plugin via SonarLint, I'm afraid and didn't specifically code it to support such a mode. So I think it's working as expected (in that it's not working at all), but would be an interesting thing to keep open as a feature request.

Pablissimo avatar Mar 11 '17 14:03 Pablissimo

Try to enable sonarlint support in your pom.xml, the build section

      <plugin>
        <groupId>org.sonarsource.sonar-packaging-maven-plugin</groupId>
        <artifactId>sonar-packaging-maven-plugin</artifactId>
        <version>1.17</version>
        <extensions>true</extensions>
        <configuration>
          <pluginClass>org.silverbulleters.sonar.plugins.bsl.BSLPlugin</pluginClass>
          <sonarLintSupported>true</sonarLintSupported>
        </configuration>
      </plugin>

nixel2007 avatar Mar 11 '17 14:03 nixel2007