IDEA Doc

Compatible with  IntelliJ IDEA
06.06.2014
14 268
Plugin for generating Javadoc for getters, setters, default constructors, private default constructors and overriding classes. Javadoc generation is based on templates, which you can freely adapt to suit your preferences.

Download plugin

Version

Update date

General usage instructions

NOTE: This plugin was only tested on Windows! After installing this plugin, the Generate menu in IntelliJ IDEA as well as the Project View right-click menu have the IdeaDoc item installed to allow you to generate Javadoc for some simple methods. You can configure the templates to use from within IDEAs Project-settings.
Anonymous
29.08.2014
com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFactory;: com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFactory;
Anonymous
29.08.2014
Does not work with intellij 13
06.06.2014
Updated for last Idea.
27.02.2013
Does not work with IDEA 126.330 com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFactory;: com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFactory;
Anonymous
02.06.2010
Would be nice, but doesn't work on my (fresh) IntelliJ 9.0.2. installation. I'm getting this exception:

Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.openapi.util.EdtRunnable$1@23e602,notifier=null,catchExceptions=false,when=1275470694155] on sun.awt.windows.WToolkit@39d3d3: com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFactory;
java.lang.NoSuchMethodError: com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFactory;
at nl.piraya.ideadoc.JavadocInserter.handleClass(JavadocInserter.java:214)
at nl.piraya.ideadoc.JavadocInserter.run(JavadocInserter.java:151)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:752)
at nl.piraya.ideadoc.WriteActionRunner.run(WriteActionRunner.java:52)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:110)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:86)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:78)
at nl.piraya.ideadoc.ext.AbstractBaseReplaceIdeaGenerateAction.actionPerformed(AbstractBaseReplaceIdeaGenerateAction.java:111)
at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1.run(PopupFactoryImpl.java:482)
at com.intellij.openapi.wm.impl.FocusManagerImpl.c(FocusManagerImpl.java:387)
at com.intellij.openapi.wm.impl.FocusManagerImpl.access$200(FocusManagerImpl.java:47)
at com.intellij.openapi.wm.impl.FocusManagerImpl$1.runEdt(FocusManagerImpl.java:76)
at com.intellij.openapi.util.EdtRunnable$1.run(EdtRunnable.java:25)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.f(IdeEventQueue.java:610)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:500)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:368)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Anonymous
17.02.2009
I get the following error with IDEA 8:

Error during dispatching of java.awt.event.InvocationEvent[INVOCATION_DEFAULT,runnable=com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1@1cb1e54,notifier=null,catchExceptions=false,when=1234857962488] on sun.awt.windows.WToolkit@620402: com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFactory;
java.lang.NoSuchMethodError: com.intellij.psi.PsiManager.getElementFactory()Lcom/intellij/psi/PsiElementFactory;
at nl.piraya.ideadoc.JavadocInserter.handleClass(JavadocInserter.java:214)
at nl.piraya.ideadoc.JavadocInserter.run(JavadocInserter.java:151)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:171)
at nl.piraya.ideadoc.WriteActionRunner.run(WriteActionRunner.java:52)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:2)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:100)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:52)
at nl.piraya.ideadoc.JavadocAction.actionPerformed(JavadocAction.java:49)
at com.intellij.ui.popup.PopupFactoryImpl$ActionPopupStep$1.run(PopupFactoryImpl.java)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Anonymous
01.10.2007
Great plugin to javadocs getters/setters and constructors.
Anonymous
26.11.2006
This plugin does not find all the class member variable with getter and setter methods. Many are missing from the popup dialog generate selection list.

JavDocWriter currently does not work with 6.0.2 but I like its behavior better because it flags those getter/setter methods that are missing javadoc with a warning and you hit alt-enter to complete the javadoc.

JavaDocWriter plugin also adapts the javadoc text found in the class member field and applies it to the method, rather than just a less informative "Setter for property 'identifier'."

20.09.2006
It does what it says. It javadocs those boring getters/setters and constructors with a fine standard comment. Nice feature is the option to edit the templates to your own liking. Excellent utility to get your code to comply to code style checkers.
Anonymous
31.08.2006
It's a great plugin for generating those no-brainer javadocs that tools like checkstyle really want to see.
Please  sign in  to leave a comment.