asunder123 / vscode-sonarqube-status

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SonarQube Project Status

SonarQube Status Resulst

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.

It will only work for Public projects which doesn't need any Authentication with the SonarQube server.

A Future release for the private Sonar projects is in roadmap.

This extension can help you get the build status like:

  • Quality Gate
  • Code Smells
  • Bugs
  • Code Coverage
  • Vulnarabilities

right inside your favorite IDE - VSCode

How to Use

  1. Install the Extension and Make sure it is activated.
  2. Open the Command Palette by pression Ctrl + Shift + P.
  3. Type Get Build Status. Click Enter.
  4. You can see that the configuration file will be created for you in the .vscode folder.
  5. Add your key in the config file.
  6. Comeback and follow the step 2.

Viola....

Features

Status Bar Item for Easy insight

  1. You don't have to go outside the IDE to see the status of the code analysis.
  2. Easily accessible from the Command Palette
  3. Get the details only when you want it.
  4. Easily dismissable notifications.
  5. Just have to add the project key and sonarqube server URL in the configuration file.

Access from Command Palette get Simple Notifications

Extension Settings

The extension gets data from a configuration file .vscode > project.json

Here is how the configuration file looks:

{
  "project": "sample-project",
  "sonarURL": "sonar.yourserver.com"
}

NOTE: Please make sure to add http:// with your sonarURL and should not have a trailing /.

For Eg:
http://sonar.myserver.com - Right
www.sonar.myserver.com/ - Wrong

Just fill the file and you are good to go.

Enjoy!

About

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


Languages

Language:TypeScript 83.3%Language:JavaScript 16.7%