Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current ·  View Page History

Table of content

Compatibility Matrix

Implementation Status

Current version - is a fully functional prototype to verify the basic concepts and implementation strategies.
Due to the prototype status future version will come with additional or modified features and may show different behavior in various situations. API is certainly not frozen yet. So, migration of configuration from version to version might not work.

Plugin

0.1.0

0.2.0

0.3.0

Sonar

2.0.1+

2.0.1+

2.0.1+

Eclipse

compatible with 3.4.x, but works best on 3.5.1

3.5.x, 3.6.x

3.5.x, 3.6.x

M2Eclipse (optional)

0.10.0+

0.10.0+

not used

Installation

To install this plugin in the Eclipse IDE:

  1. Select Help -> Install New Software. This should display the "Install" dialog.
  2. Paste the Update Site URL into the field named "Work with:" and press Enter. Pressing Enter should cause Eclipse to update list of available plugins and components.
  3. Choose the component listed under Sonar: "Sonar Integration for Eclipse (Required)".
  4. Click Next. Eclipse will then check to see if there are any issues which would prevent a successful installation.
  5. Click Finish to begin the installation process. Eclipse will then download and install the necessary components.
  6. Once the installation process is finished, Eclipse will ask you if you want to restart the IDE. It's strongly recommended that you restart IDE.

This video demonstrates the process of installation.

Usage/Features

Global Configuration

In plugin configuration ( Window > Preferences > Sonar ) you can :

  • Select the default sonar server
  • Add, edit or remove a sonar server configuration

Server Configuration

In server configuration you can specify:

  • URL of your Sonar server
  • Username and password for access to it

Project Configuration

In plugin configuration for project you can specify:

  • URL of your Sonar server
  • groupId, artifactId and branch of your project

Network Configuration

Connection via proxy available since version 0.2

You can use network configuration page ( Preferences > General > Network Connections ) to specify proxy settings for plugin :

Perspective

Sonar perspective allows you to concentrate on quality of code :

Violations View

Open any Java-file and see violations from Sonar as markers in source code.

Source code from Sonar server may not match source code from your working copy, so we are using some heuristic algorithm to determine line with violation.

Measures View

Available since version 0.2

Hotspots View

TBA

Diff tool

Available since version 0.2

Compare With > Sonar server :

Changelog

Release 1.0.0

Release 0.3.0 (15 Oct 2010)

Release 0.2.0 (28 Sep 2010)

Release 0.1.0 (26 May 2010)

Labels
  • None