SonarLint is a pretty recent product that we released for the first time a few months ago for Eclipse, IntelliJ and Visual Studio. We have recently released the version 2.0 which brings the ability to connect SonarLint with a SonarQube server and was greatly expected by the community. I think the addition of this new feature is a good chance to recap SonarLint features. But before I do this, let me remind you of the SonarLint’s mission: to help developers spot as many coding issues as possible in their IDE, while they code. It has to be instant, integrated to the IDE, and valuable.
Since SonarLint 1.0, you can install the product from the market place for all 3 IDEs we currently support: Eclipse Marketplace, Jetbrains Plugin Repository or Visual Studio Gallery. Et voilà… You can continue your coding as usual and you will start seeing SonarLint issues reported as you type. If you open a file, it will get decorated immediately with issues.
You also benefit from a nice panel containing a list of issues that have been detected. Each issue comes with a short message and if that is not enough you can open a more detailed description of the problem, with code snippets and references to well known coding standards.
As I am sure you guessed already, all of this does not require any configuration. And this is actually the reason why version 2.0 was so expected: people who have defined their quality profile in SonarQube want to be able to use the same profile in SonarLint. This is the main feature provided by SonarLint 2.0.
In order to have SonarLint use the same quality profile as SonarQube you have to bind your project in your IDE to the remote project in SonarQube. This is done in two steps:
- Configure a connection to your SonarQube server (URL + credentials)
- Bind your project with the remote one
Et voilà… again… SonarLint will fetch configuration from the SonarQube server and use it when inspecting code.
That’s it for today!
The team is proud to announce the release of 5.5, which features simplified concepts for easier triage and management of issues:
- New SonarQube Quality Model
- New Measures project page
- Increased vertical scalability, performance, and stability
With 5.5 we’ve boiled quality down to its essentials to make it easier to understand and work with. Now there are Reliability Issues, Vulnerability Issues and Maintainability Issues. Or, in plainer talk: bugs, vulnerabilities, and code smells. By drawing bugs and vulnerabilities out of the mass of issues, any operational risks in your projects are highlighted for expedited handling.
We’ve also updated the default Quality Gate to match the importance of these newly isolated concepts:
Also new in this version is a project-level Measures interface, which replaces the old metric drilldown. Click a metric from the project home page and you land at the new per-file metric value listing:
The Tree view offers a compact, per-directory aggregation, and the Treemap gives the familiar, colorful overview:
The metric domain page also offers a listing of metrics and project-level values, with a graphical presentation:
The Compute Engine has been moved into a separate process, and the number of worker threads made configurable (SONARQUBE_HOME/conf/sonar.properties), so users will no longer have to deal with a sluggish interface when analysis reports are being processed, and the memory requirements for processing can be handled separately from those for the web application:
Time now to download the new version and try it out. But don’t forget to read the installation or upgrade guide first! Even if you’ve read it before, it may be worth taking another look at the upgrade guide; we changed it recently.
— SonarQube (@SonarQube) April 21, 2016
— SonarQube (@SonarQube) April 13, 2016
— SonarQube (@SonarQube) April 13, 2016
— Elena Vilchik (@vilchik_elena) April 11, 2016
Since we love touring and meeting our community of users, we’re setting out on the road once again, this time to more cities than ever! Over the next 6 months you’ll be able to see us and ask any questions you have, in more than 10 cities in Europe and the US.
This year, we are very excited to return to the City Tour to share with you all the news around the SonarQube platform, and show you our latest product: SonarLint, which allows developers to track quality of their code in real time as they type it. Very powerful!
Here is what will be covered at each stop of the tour:
- The Leak Approach: a new paradigm to manage Code Quality
- SonarQube 5.x series in demo
- SonarQube integration to Microsoft ALM
- SonarLint, the missing piece of the puzzle
- Customer feedback
- Sonar Analyzers and well-established standards
- Roadmap for the platform
- Roadmap for Sonar Analyzers
It will also be a great opportunity to meet other SonarQube users to share tips and tricks and discuss your experiences with the platform.
Is there something you would like to know or ask us but haven’t had the opportunity to do so? Now’s your chance! Sign up for the free event in your preferred city, and we’ll see you soon!
Registrations are open on our website, so pick the city you want, fill the form and you’ll be all set.
Join the conversation by using #SSCT2016 in all your tweets about the events.
See you soon !