Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Compatibility Matrix

Plugin

2.4.03.1.13.2 (not yet released)

SonarQube

3.0+3.4+3.6+

Eclipse

3.6.x, 3.7.x, 4.1.x
(Helios, Indigo)

3.7.x, 4.2.x
(Indigo, Juno)

3.7.x, 4.2.x
(Indigo, Juno)

Mylyn

3.6.0+3.8.2+No longer needed

Supported Languages/Plugins

Java  

Java
C/C++ (SonarSource)
Python 

Java
C/C++ (SonarSource)
Python 

Installation

If a previous version of SonarQubeTM Eclipse is already installed, you can update it. Go to Help > Check for Updates.

To install this plugin in the Eclipse IDE:

  1. Go to Help > Install New Software... This should display the Install dialog box.
  2. Paste the Update Site URL (http://dist.sonar-ide.codehaus.org/eclipse/) into the field Work with and press Enter. This should display the list of available plugins and components:


  3. Check the component you wish to install.
  4. Click Next. Eclipse will then check to see if there is any issue 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 if you want to restart the IDE. It is strongly recommended that you restart the IDE.

You are now ready to configure SonarQubeTM in Eclipse.

FAQ

Q: After the Eclipse restart I cannot see the Window > Preferences > Sonar settings, but the SonarQubeTM Eclipse plugin is listed in the installation details.
A: Could you try to restart Eclipse with the -clean flag?

Change Log

JIRA Issues
anonymoustrue
titleVersion 3.2
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARIDE+AND+fixVersion+%3D+%223.2%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 3.1.1
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARIDE+AND+fixVersion+%3D+%223.1.1%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 3.1
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARIDE+AND+fixVersion+%3D+%223.1%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 3.0
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18752&pid=12075&sorter/field=priority&sorter/order=DESC&tempMax=1000