SonarQube for IntelliJ plugin version: 11.1.0.82440
IntelliJ version: Rider 2025.2.2.1
Programming language you’re coding in: C# and Typescript
Is connected mode used: No
SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?):
And a thorough description of the problem / question:
File exclusions do not appear to work. I have some javascript that is generated via vite and is output to wwwroot directory in one of my C# projects. I added a directory exclusion through the UI which appears to generate a sonarlint.xml in one of the .idea directories. After doing this I restarted rider and then ran my commit checks. The javascript file in the excluded directory was still analyzed. I took a look at the logs and the base path seemed to be aligned to the relative path added to the sonarlint.xml. The generated sonarlint.xml is below. Thanks in advance for your help.
Thanks again for reporting this issue with file exclusions on SonarQube for IntelliJ/Rider.
We have managed to replicate the problem where exclusions aren’t working as expected specifically on Rider on Windows.
We are currently taking a closer look to identify the root cause of this behavior and are working towards providing a fix. I will keep you updated with any further progress on that issue.
Thanks for your detailed report and your patience as we address this!
Hey @groogiam, we have just released a new version of SonarQube for IntelliJ, which includes a fix for your issue. Could you please give it a try and see if you still notice the issue?