简体   繁体   中英

SonarQube IntteliJ Plugin how to run inspections on new code

We use sonarQube for creating the fency sonar reports. Since we want to see the violations in our IDE I play arround with official Sonar Qube IntteliJ plugin . It correctly shows the violations which are already known and which it downloads from our sonar server (I guess). But new code is never analyzed. Does anybody know whether it is possible to see violations for new code before it is checked in? Sonar Qube Community Plugin seems to support it.

I just posted on using the plugin - http://techtwaddle.net/2015/07/14/using-sonarqube-intellij-plugin-for-code-analysis/

Look at the last step in the post, you will need to set the inspection scope to 'changed files', with this only issues in new or modified files will be reported.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM