Setting Sonar Servers
Go to Window > Preferences > Sonar > Servers.
Sonar Eclipse is pre-configured to access a local Sonar server listening on http://localhost:9000/. You can edit this server, delete it or add a new one.
Linking Projects to Sonar Servers
Once the Sonar servers are defined, the next step is to link your Eclipse projects with projects defined and analyzed on those Sonar servers.
To do so, right-clicking on the the project in the "Package explorer", and then Configure > Associate with Sonar...:
Unlinking a Project from Sonar Server
This operation can be done by right-clicking on the the project in the "Package explorer", and then Configure > Remove Sonar Nature:
Configuring Mylin to deal with Reviews
Creating a Sonar Task Repository
To start using this feature, a new Sonar task repository has to be created (see the Mylyn documentation page for more information):
You new repository should now appear in the Task Repositories view:
Creating a Query
To browse the reviews, you can create as many queries as you wish:
Here's an example of a query that retrieves all the reviews assigned to you on every project:
The reviews should now appear in the Task List view:
Severity of Sonar Markers
You can set the Severity of Sonar Markers by going to Window > Preferences > Sonar.
You are now all set with configuration and you can start using Sonar Eclipse.