Integrating Sonar to Eclipse
While writing code, it is convenient to have quality and violations feedback easily available without the need to launch a web browser and review analysis results. The ideal scenario would be to have live feedback right in your IDE. This is exactly what Sonar Eclipse does, adding the Sonar perspective to your Eclipse installation. Next, we will go through the installation process of the Eclipse plugin.
Installing the Sonar Eclipse plugin
Launch Eclipse and go to Help and then click on Install New Software... from the menu.
In the pop-up window, enter the URL (http://dist.sonar-ide.codehaus.org/eclipse/) in the Work with field and press Enter as shown in the following screenshot.
Eclipse will fetch available plugins hosted at the preceding address. Expand Sonar from the list, check Sonar Integration for Eclipse (Required), and click on Next.
Accept the license by clicking on the appropriate radio button and click on Next to start the installation process.
Wait for...