简体   繁体   中英

sonarlint(eclipse) not reporting error for my Java custom rule

I have created a sonarqube custom rule for Java. It seems to be working when I check it in the sonarqube server UI.

I have configured sonarlint with my eclipse but sonarlint is not reporting any error for my custom rule. How shall I add that, so that the sonarlint displays the error for my custom rule after analysis.

I am using:

javaFileScannerContext.addIssue(importTree, this, "Avoid imports (3rd party imports)");

to add the issue. How can this issue be reported on eclipse side?

SonarLint尚不支持来自自定义插件的规则,请参阅MMF-248

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM