SonarLint plugin version: 10.7 but would like 10.9
Programming language you’re coding in: Java
Is connected mode used: yes but not relevant
Connected to SonarCloud or SonarQube (and which version):
And a thorough description of the problem / question:
Eclipse SonarLint plugin 10.7 keeps telling me there’s a new version of the plugin available but when ever I ask it to update I get told there are no updates available.
I have also tried uninstalling and re-installing from Eclipse Marketplace which tells me the current version is 10.9 but after installation I find I’m back with 10.7.
Can anyone tell me what’s going on and how I might update to the latest version?
Thanks for reaching out. It seems that the 10.7 version you have wasn’t initially installed from the Eclipse marketplace.
When uninstalling and restarting the IDE, could you please make sure that all artifacts were uninstalled successfully? When restarting, there should be no SonarLint plug-in available in the informational tab about the installed plug-ins.
Additionally, please have a look at the Eclipse installation directory and look in the features and plugins (and also if you have one, dropins directory) and search for anything with sonarlint in its name and delete it before restarting the IDE again and installing SonarLint via the marketplace.
Hi Tobias,
I’m pretty certain I did use the Eclipse marketplace to install. Anyway I have been round the loop several times with no joy. Here is what’s happening:
Before (re-)installation there are the following references in the Eclipse installation directory:
I can actually see a version number if I drag and drop the install link from the marketplace website (rather than via the markeplace client) - this is what I get:
I never encountered that but let’s check if the version number shown in the IDE is maybe just a hick-up from Eclipse. Can go to the Plug-ins tab and filter for sonarlint and check the versions of the installed plug-ins there?
Additionally, if it also does not show versions starting with 10.9.1 and when navigating to the Release Notes (Window → Preferences → SonarLint → Release Notes) and the latest entry is for 10.7 then there seems to be an issue with the references that were still present before re-installation or with the Eclipse Marketplace.
In that case, please remove the references and re-install the plug-in using the marketplace. If this is stuck with SonarLint for Eclipse 10.7 again, please come back. I was trying to reproduce it in the meantime but to no success