Tagged: idea

Using Live Templates with IntelliJ IDEA


In Editor > Live Templates

Choose Abbreviation:

author

Fill the Template text:

@author $NAME$ <$USER$_at_company.com> on $DATE$

Edit variables -> Expressions

NAME -> "Jin Kwon"

USER -> user()

DATE -> date("yyyy-MM-dd")