O'Reilly logo

Sonar Code Quality Testing Essentials by Charalampos Arapidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

Installing the Sonar Eclipse plugin

In the pop-up window, enter the URL (http://dist.sonar-ide.codehaus.org/eclipse/) in the Work with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required