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 ?
Press Ctrl + Shift + S That's correct. You must just take care to select the project - instead of just one source file - in the Project view. Otherwise the Report is made only for that source file. or right click project and click on sonarlint then analyze!
Right-click on any project file in our project window to open the context menu. From the "Analyze" submenu all the way at the bottom, select the "Analyze all files with SonarLint" option.
In Intellij — Go to File >> Plugins >> Type 'SonarLint' >> Install and Restart IDE. (2) we can choose the SonarQube rules. → To integrate SonarQube(server) and SonarLint in our IDE and run SonarQube code inspection rules per class to give results quickly.
SonarLint only shows issues in the IDE. It does not push issues to SonarQube/SonarCloud. If you want to run analysis in on your CI pipelines and push the issues to the server then you need to use one of the batch mode scanners. Since you are using Azure DevOps, you can use the SonarQube extension for Azure DevOps.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With