Intellij Insert File Template Header

Use Copyright header instead. Configure your Copyright profile as stated at jetbrains.com. Press Alt-Insert or Right mouse click -> select "Generate" -> "Copyright".

You can check what variables you can use in Copyright statement here.


go to Settings > File and Code Templates then include tab and select header and define you

/** * @author : Name * @since : ${DATE}, ${DAY_NAME_SHORT} **/


File -> Settings -> Editor -> File and Code Templates -> Includes -> File Header

Write This:

/**
 * @author : ${USER}
 * @created : ${DATE}, ${DAY_NAME_FULL}
**/

To see an header like this:

/**
 * @author : BUY
 * @created : 21/08/2020, Friday
 **/
public class Foo{}