How to detect javadoc errors in Eclipse

Question: Question:

When writing javadoc in Eclipse, it is difficult to notice errors such as incorrect argument names. Is there a setting for eclipse to automatically detect javadoc errors, or is there a plugin for eclipse that can do that?

Answer: Answer:

Preferences-> Java-> Compiler-> Javadoc

  • Enable Process Javadoc Comment
  • Malformed Javadoc comments over Warnning
  • Enable Validate tag arguments

Now, if the argument name is written incorrectly in Javadoc, you should be able to check it on Eclipse. Other settings include the extent to which Javadoc checks are enabled.

Scroll to Top