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 ( in the Work with ...

Get Sonar Code Quality Testing Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.