ide设置自动生成类注解

ide设置生成类注释

File->Settings->Editor -> File and Code Templates -> Files -> Class 

把下面的内容粘进去 然后点Apply 即可:

#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end

#parse("File Header.java")

/**

* @program: ${PROJECT_NAME}

*

* @description: ${description}

*

* @author: yueLi

*

* @create: ${YEAR}-${MONTH}-${DAY} ${HOUR}:${MINUTE}

**/

public class ${NAME} {

}

你可能感兴趣的:(自动生成类注释,IDE,java后端)