[英]SonarLint plugin in Eclipse not display Error Javadoc
I'm trying to create method without add comment or documentation it, I expected SonarLint would show errors based on rules, but I don't see any errors or warnings. 我正在尝试创建不添加任何注释或文档的方法,我希望SonarLint会根据规则显示错误,但是我看不到任何错误或警告。 Why? 为什么?
The particular rules you're looking for are "common" rules applied at the server. 您要查找的特定规则是在服务器上应用的“通用”规则。 You're not going to see them in SonarLint. 您不会在SonarLint中看到它们。 But in general: 但一般来说:
Out of the box, SonarLint runs with the Sonar way (default) profile. 开箱即用,SonarLint使用Sonar方式(默认)配置文件运行。 If you want additional rules applied in the IDE, you'll need to: 如果要在IDE中应用其他规则,则需要:
At this point you will see (almost) all the same issues in both places. 此时,您将在两个地方(几乎)看到所有相同的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.