SonarLint IntelliJ: "File won't be refreshed because there were errors during analysis" for every file when in connected mode

Hello, thank you for your feedback.

I see two probable causes for this discrepancy:

  • The language analyzer version is probably different on your server than that embedded in SonarLint
  • There can be settings on your server that lead to this analysis error (e.g file encoding)

In any case and as per the FAQ, enabling “Analysis logs” in the SonarLint console view can help diagnose what is going wrong with the analysis of your files.

1 Like