"Sonar Code quality Detection Tool"

Source: Internet
Author: User
Preface:

Recently used in the project Sonarlint, the first contact with the software, it feels really good, some code problems can be detected using Sonarlint, a software use, are from a step-by-step learning to start, this blog to summarize the Sonarlint installation and basic use.
Core: What :

Sonarlint, essentially, is a plugin that we can download in Idea,eclipse, Visual Studio for code detection.
Idea Installation:

Premise: The Sonarqube has been built.

Then install the plugin.

File-->settings-->plugins->browserespositories, search Sonar, select Sonarlint in the search list to install, restart idea as prompted. As shown in the figure:



Configuring Sonarqube Server

Click File-->settings-->othersettings-->sonarlint General Settings, enter

Name: You can name it yourself.

Server URL: Servers name.

Authentication type: Server link password.

Login: User Name

Password: Password
Offline Installation:

Offline installation, enter Sonarlint official website, click to download. Recommended Installation Reference Blog: Click the Open link.
Icons:

Installation Success Screenshot:


Sonarlint particularly good is that when clicking the wrong time, you can click in the wrong code, you can see the source of the error, and the right side there will be a correction error and the correct example, you can refer to the example to modify.
Summary:

For the use of a new tool, all from the initial use of the beginning, and slowly will become our learning and tools a good helper. Constant proficiency and the ability to get started.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.