myeclipse 自动插入时间

来源:互联网 发布:上海白银行情软件 编辑:程序博客网 时间:2024/06/09 20:22
window--->preferences---->Java----->Editor------>Templates  new 
 name: date(任意你喜欢的) context :java Description: 插入日期pattern :
/** @author ${user} * date : ${date} ${time}*/下面  ok  ok
 找个java类  找个空白处  打  
date(前面写的那个),
再alt+/  应该按 一下就能看到 刚才的Description 如果前面context 选 javaDoc的话 就要alt+/ 再按下/才能出来
原创粉丝点击