idea 个人文件信息模板,之前没有设置的同学,参考设置下:

选择File --> Settings --> Editor --> Code Style --> File and Code Templates --> Python Script

 

 

java :

class

#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/***************************
*<pre>
* @Project Name : ${PROJECT_NAME}
* @Package      : ${PACKAGE_NAME}
* @File Name    : ${NAME} 
* @Author       :  Sea
* @Mail         :  lshan523@163.com
* @Date         : ${DATE} ${TIME}
* @Purpose      :
* @History      :
*</pre>
***************************/
public class ${NAME} {
}

 

interface

#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
#parse("File Header.java")
/***************************
*<pre>
* @Project Name : ${PROJECT_NAME}
* @Package      : ${PACKAGE_NAME}
* @File Name    : ${NAME} 
* @Author       :  Sea
* @Mail         :  lshan523@163.com
* @Date         : ${DATE} ${TIME}
* @Purpose      :
* @History      :
*</pre>
***************************/
public interface ${NAME} {
}

 

python:

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# @mail    : lshan523@163.com
# @Time    : ${DATE} ${TIME}
# @Author  : Sea
# @File    : ${NAME}.py
# @Purpose : # @history : #
****************************

 

posted on 2021-09-01 09:48  lshan  阅读(200)  评论(0编辑  收藏  举报