首页 > 技术文章 > 【idea】idea自动为类生成文档注释

kiko2014551511 原文

1.进入 File–Settings–Editor–File and Code Templates

添加自定义类注释,注:${DATE} 里面的一定要大写才能获得时间

2.去掉名字下的波浪线

注释中 名字下面有波浪线

 

 

右键点击该单词–>Spelling–>Save ‘xxx’ to dictionary

推荐阅读