Search code examples
intellij-ideasonarlint

Unable to trigger SonarLint Analysis on whole Project


I have installed the latest sonarLint plugins with Intellij 2016.1.2. Analyze on the fly works fine. However, I can't find in the IntelliJ "Analyze" tab any "Analyze with SonarLint". In the SonarLint window>issues tab, I can only see scope "current file" or "opened files". I don't see any Project scope. So my question is how to trigger the analysis on my whole project ?


Solution

  • Since SonarLint v2.8, it's possible to analyze all files in the project.

    Open the SonarLint Tool Window, go to the Project files tab, and click in the "play" button. There is also an action to which you can assign a shortcut.

    More information here: https://www.sonarlint.org/intellij/howto.html