Unwanted SonarLintModuleSettings added to module *.iml files

Please provide

  • Operating system: windows 10
  • SonarLint plugin version: 8.5.1.75093
  • Programming language you’re coding in: Java
  • Is connected mode used: yes, but disconnecting does not solve the problem
    • Connected to SonarCloud or SonarQube (and which version): * Community Edition
      Version 8.9.10 (build 61524)

And a thorough description of the problem / question:

I suppose since the last update of the SonarLint plugin, or since i tried connecting sonarqube using a token instead of my login this behaviour started.

To each of the *.iml module config file a section is suddenly written:

<component name="SonarLintModuleSettings">
    <option name="uniqueId" value="40e9a5d8-3707-4f2a-9152-1e28fcc9944e" />
</component>

Disabling the SonarQube connection and restarting the IDE (latest Intellij Idea) does not resolve the problem.

This affects a LOT of files that are shared with a LOT of developers and we definitely do NOT want to commit this in SVN, if this cannot be fixed I think I will need to stop using SonarLint…

1 Like

I have to agree here. The plugin writing to this file needs to be configurable. Especially if the IDE isn’t connected to the backend service. What about adding it to another file within the .idea folder?

We’ve rolled back to 8.4 for now.

Hello guys,

Sorry for the late response. We introduced this change in a recent version (8.5) without thinking about this consequence. We understand it is annoying so we will change that for the next release (ticket). In the meantime, you can indeed downgrade to version 8.4 from the Marketplace.

Sorry for the inconvenience and thanks for raising this

1 Like