| To use Sonar in Eclipse on a project, it is required that the project has been first analyzed in a standard way by Sonar. |
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.
Once the Sonar server is defined, the next step is to link your Eclipse projects with projects defined and analyzed on this Sonar server.
To do so, right-click on the project in the Project Explorer, and then Configure > Associate with Sonar...:

In the Sonar project text field, start typing the name of the project and select it in the list box:

Click on Finish. Your project is now associated to one analyzed on your Sonar server.
| Note that for Maven projects, the association is performed automatically. |
At any time, it is possible to change the project association.
To do so, right-click on the project in the Project Explorer, and then Sonar > Change project association...:

To do so, right-click on the project in the Project Explorer, and then Sonar > Remove Sonar Nature:

A Sonar Mylyn connector allows to track reviews.
To start using this feature, a new Sonar task repository has to be created (see the Mylyn documentation page for more information):

Your new repository should now appear in the Task Repositories view:

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:

You can set the severity of Sonar markers and Sonar markers for new violations by going to Window > Preferences > Sonar.
You are now all set with configuration and you can start using Sonar Eclipse.