How to Install Custom Rule to SolarLint Eclipse

I wrote a custom rule as described on https://docs.sonarqube.org/display/PLUG/Writing+Custom+Java+Rules+101

Now I’d like this check to be executed by SolarLint Eclipse (https://www.sonarlint.org/eclipse/).

E.g. I imagine to register my rule (or the related Registrar) via some extension for an extension point provided by SonarLint Eclipse. Then I would provide a feature and updatesite so that other developers can install the feature, that contains my custom rule, to their Eclipse instance and profit from it.

Is this supported? I couldn’t find any documentation for this and I’d appreciate some hints.

Thanks!

Hi Martin,

To use a SonarQube custom rule plugin, you have to install it in a SonarQube server, then use SonarLint connected mode (look at the SonarLint bindings view in Eclipse to configure the connected mode).

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.