SonarLint for IDEA not reporting XML bugs

SonarLint not reporting XML bugs as they are defined in SonarQube.

I’ve connected SonarLint with SonarQube.
My SonarQube project has several XML rules but those rules does not appear in SonarLint General Setting / Rules. That’s why only connected mode is working with this plugin?

In SonarLint for IntelliJ 4.1 Released I can see This version includes support for HTML analysis in standalone mode and support for XML analysis in Connected Mode.

If I open a xml file, like pom.xml I can see SonarLint errors for that file, for example Make this element start al column 3. But in my SonarQube project that rule is set to 4 (instead of the default implementation than is set to 2). If I go to view that file in SonarQube web page that errors does not appear.

Is there any way to make SonarLint detect XML errors according to my SonarQube server XML rules?

SonarQube: 7.9.1 community
Plugin: SonarLint for IDEA v.


Hello, thank you for your feedback.

Indeed, analysis of XML is currently only available in connected mode, which is why you won’t see it appear in the local rule configuration panel.

However, a regression on connected mode was introduced in 4.1, which looks like a good candidate to explain the behavior that you are reporting.