简体   繁体   中英

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. Why?

在此处输入图片说明

The particular rules you're looking for are "common" rules applied at the server. You're not going to see them in SonarLint. But in general:

Out of the box, SonarLint runs with the Sonar way (default) profile. If you want additional rules applied in the IDE, you'll need to:

  • set up a SonarQube instance (assuming you don't already have one)
  • configure a Quality Profile to your liking
  • apply it to your project
  • connect your project in the IDE to the project on the server

At this point you will see (almost) all the same issues in both places.

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