IDEA file template configuration


When creating a class, if there is no configuration file template, the editor cannot automatically add annotations. Adding corresponding comments to the code written by yourself is one of the necessary conditions for a qualified programmer. As the project becomes larger and the personnel flow, adding annotations will help developers understand the corresponding functions of the code, improve teamwork, and improve work efficiency.

#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/**
 * 描述:
 *    ${DESCRIPTION}
 * @outhor ${USER}
 * @create ${YEAR}-${MONTH}-${DAY} ${TIME}
 */
public class ${NAME} {
}

Guess you like

Origin blog.csdn.net/Lixuanshengchao/article/details/80370397