IDEA how to automatically generate documentation comments when you create a file header (simple, practical)

File-> settings-> Editor-> File and Code Templates-> Files, you can choose to automatically generate documentation comments head when you create a document what I was set up class, interface, and Enum. Figure:
Here Insert Picture Description

:( template below you can add your own, I mainly keep this 4)

#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
/**
 \* Created with IntelliJ IDEA.
 \* User: ${USER}
 \* Date: ${DATE}
 \* Time: ${TIME}
 \* Description: 
 \*/
public class ${NAME} {
}
Published 35 original articles · won praise 24 · views 60000 +

Guess you like

Origin blog.csdn.net/thumbs_up_sign_ygj/article/details/104979067