Versions Compared

Key

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

...

SonarQube in Eclipse is pre-configured to access a local SonarQube server listening on http://localhost:9000/. You can edit this server, delete it or add a new one.
Image RemovedImage Added

Linking a Project to One Analyzed on a SonarQube Server

...

To do so, right-click on the project in the Project Explorer, and then Configure > Associate with Sonar...:

Image RemovedImage Added

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

Image RemovedImage Added

Click on Finish. Your project is now associated to one analyzed on your SonarQube server. This means that you'll be able to see existing issues for the project in Eclipse, and that when you run a local analysis in Eclipse, it will use the rule profile the project is assigned to in SonarQube rather than the language's default profile.

...

To do so, right-click on the project in the Project Explorer, and then Sonar > Change project association...:

Image RemovedImage Added

Unlinking a Project

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

Image RemovedImage Added

 

Advanced Configuration

...