Auto-generate Javadoc comments in intelliJ?
73,475
Solution 1
Yes.
Under Tools
you have Generate JavaDoc
. Read about it in the official site.
In addition you may (Intellij 15):
Position caret above a method name, type /** and press Enter to let IntelliJ IDEA automatically generate JavaDoc stubs for this method
Edit: You can use the action Fix doc comment
. It doesn't have a default shortcut, but you can assign the Alt+Shift+J shortcut to it in the Keymap, because this shortcut isn't used for anything else.
Solution 2
A QuickShortCut is
CTRL+SHIFT+A
From the dropdown List "Fix doc comment"
Solution 3
You can use JavaDoc plugin for generation JavaDoc comments in batch mode. It is the simpliest way for do it.
Author by
Madan
Updated on May 31, 2020Comments
-
Madan almost 4 years
Is it possible to auto-generate Javadoc comments for each method in one class in IntelliJ IDEA?