JavaDoc Sync Plugin 10

Compatible with  IntelliJ IDEA
5 714
The JavaDoc Sync Plugin will assist you to keep your JavaDoc in sync between interface definitions and the implementations, or method definitions and method overrides. The plugin now uses template based generation of JavaDoc, so that the JavaDoc text can now easily be customized to your needs.

The JavaDoc Sync Plugin was originally written by Raymond Brandon but was updated for IntelliJ 8 by woofgl

The JavaDoc Sync Plugin can:
  • highlight methods that define the @inheritDoc tag but there's no super method
  • highlight methods that define the @inheritDoc tag but the super method doesn't have javaDoc
  • highlight a class if one or more methods do not define JavaDoc
  • Generate JavaDoc for all methods that do not define JavaDoc according to user defined templates
  • Ignore methods that do not match the configured access modifier level
  • Ignore overridden methods of anonymous classes or inner classes
  • highlight methods that do not have JavaDoc
  • highlight fields that do not have JavaDoc
  • highlight methods of interface implementations of which the JavaDoc differs from the JavaDoc defined at interface level
  • highlight overridden methods/constructors of which the JavaDoc differs from the JavaDoc defined in the super classes

When the JavaDoc Sync Plugin detects differences between the defining interface or base method and the implementing or overriding method, the user will get quick fixes presented to update the JavaDoc like:
  • Copy JavaDoc from parent
  • Move to parent and introduce reference
  • Replace parent JavaDoc
  • Generate JavaDoc from signature
  • Generate JavaDoc from field
  • Generate JavaDoc for all methods

To turn on the JavaDoc Sync plugin, go to Settings->Errors and select "JavaDoc issues"

Download plugin

Recent change notes

JavaDoc Sync Plugin update idea 16

General usage instructions

recompile javadoc sync 8 to 10
Great plugin, when can we expect recompilation for Idea 11?
ditto. getting same error as reported above. IDEA Community Edition 11.1 - Thanks!
Love this plugin, but it does not work with Idea 11. I get:

com.intellij.psi.PsiElementFactory.createDocCommentFromText(Ljava/lang/String;Lcom/intellij/psi/PsiElement;)Lcom/intellij/psi/javadoc/PsiDocComment;: com.intellij.psi.PsiElementFactory.createDocCommentFromText(Ljava/lang/String;Lcom/intellij/psi/PsiElement;)Lcom/intellij/psi/javadoc/PsiDocComment;
java.lang.NoSuchMethodError: com.intellij.psi.PsiElementFactory.createDocCommentFromText(Ljava/lang/String;Lcom/intellij/psi/PsiElement;)Lcom/intellij/psi/javadoc/PsiDocComment;
at com.perniciouspenguins.ideaz.javadoc.fixes.GenerateFromSignature.doFix(
at com.perniciouspenguins.ideaz.javadoc.fixes.LocalQuickFixBase$
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(
at com.perniciouspenguins.ideaz.javadoc.fixes.LocalQuickFixBase.applyFix(
at com.perniciouspenguins.ideaz.javadoc.fixes.LocalQuickFixBase.applyFix(
at com.intellij.codeInspection.ex.QuickFixWrapper.invoke(
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler$
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler$
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(
at com.intellij.codeInsight.intention.impl.ShowIntentionActionsHandler.chooseActionAndInvoke(
at com.intellij.codeInsight.intention.impl.IntentionListStep$2$
at com.intellij.openapi.application.impl.LaterInvocator$
at java.awt.event.InvocationEvent.dispatch(
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$000(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at com.intellij.ide.IdeEventQueue.e(
at com.intellij.ide.IdeEventQueue._dispatchEvent(
at com.intellij.ide.IdeEventQueue.b(
at com.intellij.ide.IdeEventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(
Please  sign in  to leave a comment.