Eclipse4.7使用基礎 修改生成的.java文件模板,添加作者信息與創建時間
阿新 • • 發佈:2017-09-15
file nbsp .com alt gen true clip ref 文件
os :windows7 x64
jdk:jdk-8u131-windows-x64
ide:Eclipse Oxygen Release (4.7.0)
referenceLinking:http://jingyan.baidu.com/article/fc07f98965961d12ffe519bb.html
step_1
step_2
step_3
step_4
將其編輯為
${filecomment} ${package_declaration} /** * JavaSE8基礎 * @author 博客園-給最苦 * @version V${currentDate:date(‘yy.MM‘)} */ ${typecomment} ${type_declaration}
tips:
step_5
新建文檔變為:
package jizuiku0; /** * JavaSE8基礎 * @author 博客園-給最苦 * @version V17.09 */ public class Demo11 { }
Java優秀,值得學習。
Eclipse是一款免費、強大的IDE,值得學習使用。
學習資源:博文頭部的參考鏈接+清凈的心地。
Eclipse4.7使用基礎 修改生成的.java文件模板,添加作者信息與創建時間