- Operating system: Windows 11
- SonarLint plugin version: v4.10.0
- Programming language you’re coding in: python
- Is connected mode used:yes
- Connected to SonarCloud or SonarQube (and which version): sonarqube CE, 10.6
And a thorough description of the problem / question:
Hi everyone, I’m using SonarLint, and it works fine in standalone mode. However, when I connect to the SonarQube server, the analyses stop working and don’t run. If I unbind the project, SonarLint works fine again. I enabled the log level, and the only strange log that appears is:
File exclusion for uri 'file:///c:/Users/rocki/Documents/programming/projects/python/pages/models.py' is false
[Debug - 08:26:50.832] isReadyForAnalysis(connectionId: https-sonarqube, sonarProjectKey: id, plugins: true, analyzer config: true, findings: false) => false
[Debug - 08:26:51.122] Language of file "file:///c:/Users/rocki/Documents/programming/project/python/pages/models.py" is detected to be "PYTHON"
[Debug - 08:26:51.225] Module file event for MODIFIED for file [uri=file:///c:/Users/rocki/Documents/programming/project/python/pages/models.py] has been ignored because it's not a Kubernetes file.
[Debug - 08:26:51.226] Computing file exclusion for uri 'file:///c:/Users/rocki/Documents/programming/project/python/pages/models.py'
[Debug - 08:26:51.232] isReadyForAnalysis(connectionId: https-sonarqube, sonarProjectKey: id, plugins: true, analyzer config: true, findings: false) => false
[Debug - 08:26:51.233] File exclusion for uri 'file:///c:/Users/rocki/Documents/programming/project/python/pages/models.py' is false
[Debug - 08:27:09.144] GET 200 https://sonarqube/api/developers/search_events?projects=&from= | response time=102ms
[Debug - 08:27:09.392] GET 200 https://sonarqube/api/developers/search_events?projects=id&from=2024-09-25T08%3A27%3A09-0300 | response time=202ms
I think it’s not analyzing because of that: “it’s not a Kubernetes file.” Is there a way to change that?