![]() ![]() In the inspection results tree will be a new branch called „SonarQube“ containing all information from last SonarQube analysis.Īlso all analysis results will be presented as tooltips in the IDE – as shown in the next screenshot.ĭon’t forget to run Analyze/Inspect code after every SonarQube code analysis to get the actual results from the SonarQube server. You are ready to run Analyze/Inspect code from the IntelliJ menu. Select the project resources you need and confirm all open dialogs with OK. It should show all your SonarQube projects. Authentication By default, SonarQube forces user authentication. Select „Download resources“ in the next dialog window. SonarQube provides a built-in mechanism to encrypt settings. Now the tricky dialog part: Select the + under SonarQube resources. (Important: Server must be up and running!) Add the connection to your SonarQube server as shown in the following screenshot. (For Windows: File/Settings/Plugins)Īfter IntelliJ has restarted, configure the plugin using IntelliJ/Preferences/Other Settings/SonarQube (For Windows: File/Settings/Other Settings/SonarQube). Next step is to install the actual version of SonarQube Community Plugin using IntelliJ/Preferernces/Plugins dialog. I will show you how to install and configure the plugin.Īt first make sure that no other SonarQube plugin is installed to avoid side effects. It works but there is one tricky dialog during configuration. I decided to give the SonarQube Community Plugin a chance. The official SonarQube plugin for IntelliJ is not maintained since 2014 and doesn’t show SonarQube results in the IntelliJ IDE. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |