/vscode-sonarqube-status

Get the result of the Sonar Qube analysis from your CICD pipeline right inside VSCode.

Primary LanguageTypeScript

Logo

SonarQube Project Status

VSCode extension to view SonarQube results right inside your favorite IDE - VSCode

SonarQube is a static code analyzer for your project. It makes sure your code is up to the mark and will not break in production.

SonarQube Status Results

How to Use

  1. Install the Extension and Make sure it is activated.
  2. Click on the SonarQube logo on the activity bar or run the command from Command Palette:
SonarQube: Get Report
  1. This will create a project.json file in .vscode folder.
  2. Make sure to add the details:
{
  "project": "adisreyaj_compito",
  "sonarURL": "https://sonarcloud.io",
  "auth": {
    "username": "",
    "password": ""
  }
}

auth is optional property. Its only required for private SonarQube projects.

  1. Run the command again and you should see the report on the SonarQube section in the activity bar.

Features

  1. Status bar item added for quickly knowing the Quality Gate Status without having to click elsewhere.

Sonarqube passed

Sonarqube failed

  1. Full details in the Sonarqube Dedicated section

Sonarqube Full Result

  1. Refresh button to quickly refresh the results.

Roadmap

See the open issues for a list of proposed features (and known issues).

License

Distributed under the MIT License. See LICENSE for more information.

Show your support

Please ⭐️ this repository if this project helped you!