Giter Club home page Giter Club logo

nb-sonarlint's Introduction

nb-sonarlint

A SonarLint plugin for Netbeans from hmvictor but updated for latest SonarQube, and with a view to see errors more easily.

It runs SonarLint in connected mode when a file is saved or opened and it shows the issues as editor annotations.

To see the rule details, put the caret position in the line with a issue and choose the item Show Rule Details in the contextual menu or hold Ctrl key and click over the annotated line.

Global Settings

Config

The SonarQube server url (default is http://localhost:9000) and security user token can be set in Tools > Options > Miscellaneous > SonarQube.

Per Project Properties

Config project

SonarLint can be enabled (default value) or disabled per project in Properties > SonarLint (for example, if the SonarQube server is down). A list of excluded files can also be defined in this section. You can specified the project key of the SonarQube project too if not found.

Sonar On Fly view

Sonar On Fly

Menu Window > Sonar On Fly shows in the output a view to:

  • turn off/on Sonar analyse
  • the status of the analyse: if OK, the server was found and analyse is completed
  • the projet used for analyse: you can change it if it's not the correct one, as the plugin tries to guess the project to use if not specified or exactly found
  • show/hide problems in the editor, to reduce errors displayed when editing the code
  • the list of the issues founds, sorted by level:
    • double click on the issue will go to the line
    • a simple click on the issue key will display the issue rule

This view is updated when the document is saved, or checkbox "Activate" or combo box "project" changes.

Installation

Download the NBM and install using Tools > Plugins.

Meanwhile, you can compile the plugin with maven (execute mvn install, plugin file with the nbm extension will be generated in the target directory) and do a manual installation.

The project was made with Java 11.

nb-sonarlint's People

Contributors

hmvictor avatar antsfiles avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.