[RFF] SonarLint Eclipse 3.0

130 views
Skip to first unread message

Julien HENRY

unread,
Apr 4, 2017, 9:42:02 AM4/4/17
to SonarLint
Hi guys,

I'm please to announce the upcoming release of SonarLint for Eclipse 3.0. We made a big code cleanup, updated code analyzers, fixed a few issues.

The packaging strategy is also different: there is now only one feature. No more optional features for JDT or CDT.

The detailed changelog is available here:

You can test using this update site before the final release:

Feedback is welcome until next Monday.

++

Julien

gilbert...@googlemail.com

unread,
Apr 5, 2017, 8:32:19 AM4/5/17
to SonarLint
Hi Julien,



in the SonarLint On-The-Fly view  the icon used for severity blocker is not the same as used in Web UI.
The icon used for severity minor is exchanged with the icon from severity info.
The icon used for squid:S1191 in the screenshot is completely new !?
Also it seems, the icon doesn't represent the severity settings for that rule from our sonarqube or is the blue exclamation mark
upside down meant as replacement for the normal icon of severity info ?
To sum it up, IMO SLE should use the same Icons that are used in Web UI, otherwise it's confusing.

Regards, Gilbert

Christophe Levis

unread,
Apr 7, 2017, 3:32:14 AM4/7/17
to gilbert...@googlemail.com, SonarLint
Hi Gilbert,

Thanks for noticing the change.
Those icons are the new ones and they will be used in SonarQube as well in the future.

Cheers,
Christophe

--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/fdd9b405-93c4-4403-ab36-8db8f29d5f9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gilbert...@googlemail.com

unread,
Apr 7, 2017, 5:41:15 AM4/7/17
to SonarLint, gilbert...@googlemail.com
Hi Christophe,

so those new icons will be used with SLE 3.0 ?
We use Sonarqube 5.6 LTS
Users will be confused, when different sets of icons will be used in SLE and on Sonarqube server,
you should use the same icons on both sides.

Regards, Gilbert

tobias.gr...@gmail.com

unread,
Apr 7, 2017, 8:30:01 AM4/7/17
to SonarLint
In my Eclipse Mars.2 Release (4.5.2), the icons are squashed:

Auto Generated Inline Image 1

Julien HENRY

unread,
Apr 10, 2017, 4:48:01 AM4/10/17
to SonarLint, tobias.gr...@gmail.com
Hi Tobias,

Thanks for the notice, I will have a look.

++

Julien

Christophe Levis

unread,
Apr 10, 2017, 10:31:57 AM4/10/17
to gilbert...@googlemail.com, SonarLint
Hi Gilbert,

Indeed, those new icons will be used from now on in SonarLint for Eclipse.
We don't sync the icons with the version of SonarQube you're connected to, when/if you are connected.
Note that you can already find the same icons in SonarLint for IntelliJ and you'll find soon the same icons in SonarQube.

Cheers,
Christophe

--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+...@googlegroups.com.

Dominique Jean-Prost

unread,
Apr 14, 2017, 3:19:11 AM4/14/17
to SonarLint
Hello Julien,


I had a few problem to manage to install the new version of sonarlint. Indeed, as I had 2 eclipse feature installed (SonarLint for Eclipse and sonarLint for Eclipse optionnal configuration helpers) 2.6.x, I wasn't able to install the new 3.x version which doesn't have the latest feature anymore. I guess there is a dependency between the 2 features. 
So to manage to install it, I finally decided to uninstall completely the 2 features, and then managed to install the only new one. It's an unusuall case, as usually, you just have to choose "update" without any questions.
If you think it could be interesting for anyone, maybe you could document this somewhere ?
Thank you.
dom

Julien HENRY

unread,
Apr 14, 2017, 3:38:07 AM4/14/17
to Dominique Jean-Prost, SonarLint
Hi Dominique,

Many thanks for this feedback. There was indeed a packaging change, and even if I did my best to tell p2 how to do a smooth update, during our tests we found that depending on your Eclipse version, the way you trigger the install (check for update or install new software), and probably the phase of the moon, the result was uncertain.

The expected behavior is that p2 tell "unable to install" but "look for alternative solutions" (that is a very long operation) and finally propose to update "SonarLint for Eclipse" feature and uninstall "SonarLint for Eclipse optionnal configuration helpers" feature(s).

I'm sorry it didn't worked for you. Were do you think we should add a notice for this potential issue? I mean, where are you looking for when you need information about SonarLint? Marketplace page? sonarlint.org? Google? :)

++

Julien

--
You received this message because you are subscribed to the Google Groups "SonarLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarlint/602737f2-8de9-4357-bc42-f45b131edc89%40googlegroups.com.

Dominique Jean-Prost

unread,
Apr 14, 2017, 7:11:11 AM4/14/17
to SonarLint, djean...@gmail.com
Well, that wasn't too hard to manage after I finally uderstood that what was blocking was the dependency between the 2 features, and that I had to uninstall manually. I think a special mention of it could be added at http://www.sonarlint.org/eclipse/index.html saying that the update could not be as easy as expected, depending of the way the update is triggered. In my case, for your information, I use Eclipse's oomph Setup tasks.
Thank you for your help, and the great tools sonarsource develops.
Dom
To unsubscribe from this group and stop receiving emails from it, send an email to sonarlint+...@googlegroups.com.

Julien HENRY

unread,
Apr 14, 2017, 8:20:58 AM4/14/17
to Dominique Jean-Prost, SonarLint

2017-04-14 13:11 GMT+02:00 Dominique Jean-Prost <djean...@gmail.com>:
I think a special mention of it could be added at http://www.sonarlint.org/eclipse/index.html

I put some words in the release notes.
Reply all
Reply to author
Forward
0 new messages