Skip to content

Troubleshooting

Damien Urruty edited this page Dec 7, 2020 · 9 revisions

FAQ/Troubleshooting

How to get SonarLint for IntelliJ logs?

  1. Open the SonarLint tool window (View > Tool Windows > SonarLint)

  2. Enable Verbose output and Analysis logs options in the tool window settings

    Logs

I have configured some SonarScanner properties. Are they applied to SonarLint?

No. Scanner properties you may have defined in sonar-project.properties, pom.xml, ... (like sonar.sources, sonar.projectBasedir, ...) only make sense in command line SonarScanner context. SonarLint tries to use IDE metadata to avoid other configuration. If you want to share some configuration between SonarScanners and SonarLint, like exclusions, or some analyzer properties, the best way is to use connected mode and to set the configuration in the SonarQube or SonarCloud UI.

How to ask for help?

There is a dedicated channel where you can get help for SonarLint: https://community.sonarsource.com/c/help/sl/

Before creating a new topic, please check if your question has already been answered.

When creating a new topic, please describe your issue with a maximum of details. Please provide if possible:

  • IDE flavor/version/OS. Example: IntelliJ Community Edition 2020.3 on MacOSX
  • SonarLint version
  • Are you using connected mode?
  • If you are using connected mode, what is the SonarQube server version (or say if it is SonarCloud)
  • If you are using connected mode, what are the installed analyzers. You can easily get a list by opening https://<SQ server>/api/plugins/installed in a web browser.
  • The full stacktrace of the error. See previous section to enable verbose output