1. 文件注释
1.1 Java类文件注释
Setting -> Editor -> File and Code Templates -> Includes -> File Header
/** * @ClassName: ${NAME} * @Description: TODO * @Author: JGC * @Date: ${DATE} ${TIME} * @Version: 1.0 */
1.2 JSP文件注释
Setting -> Editor -> File and Code Templates -> Other -> Jsp files -> Jsp File.jsp
<%-- User: JGC Date: ${DATE} Time: ${TIME} Description: TODO --%>
2. 方法注释
Setting -> Editor -> Live Templates
1. 右上角 + 新建userDefine组
2. 新建 * 条目
3. Template Text
* * @Author JGC * @Description //TODO $end$ * @Date $time$ $date$ * @Param $param$ * @return $return$ */
4. Options
原文地址:https://www.cnblogs.com/JGC-HUST/p/10460370.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。