Hi,
I’m having some issues with SonarLint for Eclipse, it doesn’t save its project configuration files and therefore forgets project bindings on restart. Details below.
Thanks,
Ronny
-
versions used
- Eclipse IDE for Enterprise Java Developers, Version: 2020-03 (4.15.0)
- SonarLint for Eclipse 5.1.0.17086 (from marketplace)
- no further additional plugins installed
- SonarQube 7.9.3.33349 (Developer edition)
- Ubuntu 18.04.4 LTS
- Eclipse IDE for Enterprise Java Developers, Version: 2020-03 (4.15.0)
-
error observed
- Eclipse doesn’t save the project(!) configuration file
.settings/org.sonarlint.eclipse.core.prefs
at all and therefore forgets project bindings / settings on Eclipse restart
- Eclipse doesn’t save the project(!) configuration file
-
steps to reproduce
- install Eclipse + plugin
- connect to SonarQube server (I used token authentication, all other settings are kept unchanged)
- import a project (we’re using Gradle, projects get imported by Gradle Buildship)
- bind Eclipse project to SonarQube project
- restart Eclipse and check bindings again
-
potential workaround
- create
.settings/org.sonarlint.eclipse.core.prefs
manually
- create