Writing Javadocs can be tedious. To make it easier, I use IntelliJ’s Live Templates. These are the Live Templates I use the most:
Abbreviation | Template Text |
---|---|
@c | {@code $VAL$}$END$ |
@l | {@link $VAL$}$END$ |
@t | {@code true} |
@f | {@code false} |
@n | {@code null} |
To use these Templates in IntelliJ IDEA 12, copy-paste the following into your $HOME$/.IdeaIC12/config/templates/user.xml
file, inside the tags (another option would have been to import a settings
jar
; unfortunately, this blows away previous Live Templates):