windows-->preference-->Java-->Code Style-->Code Templates-->code-->new Java file
ä¾å¦å¨new java fileä¸ç¼è¾æ¨¡çå¦ä¸ï¼
${filecomment}${package_declaration}
/**
* @author : suyuyuan
* @date å建æ¶é´ï¼${date} ${time}
* @version 1.0
* @parameter
* @since
* @return
*/
${typecomment}${type_declaration}
æ°å»ºclassç±»æ¶å°±ä¼åºç°å¦ä¸ææï¼
package com.suyuyuan.demo.common;
/**
* @author : suyuyuan
* @date å建æ¶é´ï¼2016å¹´3æ15æ¥ ä¸å5:40:45
* @version 1.0
* @parameter
* @since
* @return
*/
public class Test {
}
åå¦ï¼
${filecomment}
${package_declaration}
/**
*
* @ClassName: ${type_name}
* @Description: ${todo}
* @author suyuyuan
* @date ${date} ${time}
*
*/
${typecomment}
${type_declaration}
æ ·å¼å¦ä¸ï¼
package Util;
/**
*
* @ClassName: Test
* @Description: TODO
* @author suyuyuan
* @date 2016å¹´10æ10æ¥ ä¸å10:08:45
*
*/
public class Test{
}
温馨提示:内容为网友见解,仅供参考