Authors:
gphilipp

JavadocWriter

Products: IntelliJ IDEA

Vendor: Gilles Philippart

Email:

Website: http://www.intellij.org/.../view/Main/JavadocWriter

Description:

Provides an inpection with quickfix to help documenting field accessors. It detects missing javadoc comment on getters and setters when the corresponding field is correctly documented. It proposes to smart copy the javadoc from field to accessor.

There is an action in the editor context menu that allows you to select which javadoc elements will be deleted and then performs the deletion.

Downloads: 6449
Rating:
Participated in rating: 3
Version Since Build Until Build File/URL Size (Kb) Date Details
1.2.3. 40.3436. 50.4999. Download 42.46 2006-01-24 21:31:36 details
. .
5 updates are hidden show all updates

Recent change notes:

1.2.3 - If field's javadoc only contains tag, don't highlight the accessors. Fixed an NPE when only spaces in field javadoc.
1.2.2 - Fixed a NPE when there is no delete action settings.
1.2.1 - Class comments were always deleted.
1.2.0 - Added a javadoc delete action. Added a description for the inspection.
1.1.0 - Don't copy field javadoc tags to accessor
1.0.0 - First version

Comments:

thymic
2011-10-20 18:24:14
Please someone update for version 10.5 :)
.
Anonymous
Rated:
2007-10-04 23:34:25
Any chance of getting this plugin upgraded for version 7?
.
Anonymous
Rated:
2006-12-09 12:24:35
great work
.
Anonymous
Rated:
2006-11-24 05:37:04
FYI - I get this exception in build 6107 version 6.0.2. It was working in previous versions.

Click alt-enter on a get or set method for a associated class member variable that has a javadoc comment and you get this exception:

com.magilis.ideaplugins.javadocwriter.JavadocWriterInspection$MyLocalQuickFix.
applyFix(Lcom/intellij/openapi/project/Project;
Lcom/intellij/codeInspection/CommonProblemDescriptor;)V
java.lang.AbstractMethodError: com.magilis.ideaplugins.javadocwriter.
JavadocWriterInspection$MyLocalQuickFix.applyFix(Lcom/intellij/openapi/project/Project;
Lcom/intellij/codeInspection/CommonProblemDescriptor;)V
at com.intellij.codeInspection.ex.QuickFixWrapper.invoke(QuickFixWrapper.java:21)
at com.intellij.codeInsight.intention.impl.IntentionHintComponent$5$1$1.
run(IntentionHintComponent.java:6)
at com.intellij.openapi.application.impl.ApplicationImpl$9.compute(ApplicationImpl.java:2)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.
postponeFormattingInside(PostprocessReformattingAspect.java:107)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:121)
at com.intellij.codeInsight.intention.impl.IntentionHintComponent$5$1$2.
run(IntentionHintComponent.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.
executeCommand(CommandProcessorImpl.java:27)
at com.intellij.openapi.command.impl.CommandProcessorImpl.
executeCommand(CommandProcessorImpl.java:13)
at com.intellij.codeInsight.intention.impl.IntentionHintComponent$5$1.
run(IntentionHintComponent.java:1)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.
run(LaterInvocator.java:16)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:8)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:36)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:184)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
.
Anonymous
2006-11-17 15:50:28
Should do exactly what I need, but I get an exception when I try it in 6.0.2
.