SonarQube for IDE in CLion does not analyze when triggered through right-click menu in file tree

  • Operating system: Ubuntu 24.04
  • SonarQube for IntelliJ plugin version: 12.7.0.85118
  • IntelliJ version: CLion 2026.2.1
  • Programming language you’re coding in: C++
  • Is connected mode used:
    • SonarQube Server v2026.1.5

SonarQube for IDE will not analyse a file when triggered through right-click menu in the file tree. If the file is opened or was opened and closed before, the analysis will work. If it was already open when CLion started the analysis will not work.

The error is “ERROR sonarlint - File to analyze was not found in the file system: file:///home/yzoller/work/etl_update/staticanalysis_test/src/submodules/staticanalysis/bufferoverrun/bufferprovider.cpp”. The provided link leads to the file.

sonarqube_verbose_log_fail.txt (13.4 KB)

sonarqube_verbos_log_success.txt (79.6 KB)