20.1.  Eclipse Plugin

To install the Sonargraph Eclipse plugin, run Eclipse and open menu "Help""Install New Software...". Add this update site as a new location: http://eclipse.hello2morrow.com/sonargraphEclipse

After successful installation and a restart of Eclipse the additional menu entry "Sonargraph" should be visible. If not, check the Eclipse "Error View" for any errors related to the plugin and get in contact with .

NOTE

Installing Sonargraph Eclipse plugin on Eclipse Oxygen with an already installed Groovy plugin may lead to some Eclipse editors or views showing errors after a restart of Eclipse, due to Groovy plugin's compiler resolver being broken when there are multiple Groovy compiler bundles for the same Groovy compiler version. In this case it may help to delete the Groovy compiler bundle introduced by Sonargraph Eclipse plugin from plugins folder of your Eclipse Oxygen installation. If you need further assistance please get in contact with .

TIP

Occasionally, Eclipse gets confused after installing plugins. If Eclipse fails to startup, configure the "-clean" startup option in the eclipse.ini file within you Eclipse installation. This will clear any cached data. If the slightly longer startup time bothers you, remove the option again. More details are available here: https://help.eclipse.org/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fruntime-options.html

Activation

You need to have a valid license or activation code in order to use the plugin. More details can be found in Chapter 3, Licensing. Open the dialog via the menu "Sonargraph""Manage License..." and supply either the activation code or license file and hit "Request".

The Sonargraph icon in the Eclipse toolbar indicates the current status of the plugin and its tooltip provides additional information. This makes it easy to spot, if the plugin is still analyzing, if there are any issues, etc.

Status Icon
Figure 20.1. Status Icon


The following sections describe common interactions and usage of the plugin.

NOTE

The IDE must be started with a Java 8 (or higher) runtime for the integration to work.

We tested the plugin successfully with Eclipse 4.7.3 and later versions. If you notice any compatibility problems during installation, please send us the Eclipse error log or a screenshot of the error and details about your Eclipse installation to .