eclipse中注释快捷键

手动注释:

①类注释:Shift+Alt+J

②方法注释:在方法上方输入/** 后点击回车

自动注释:点击菜单栏上的Window -->Preferences-->Java-->Code Style -->Code Templates,

勾选Automatically add comments for new methods and types

posted @ 2018-07-21 15:43  虫虫低语  阅读(249)  评论(0编辑  收藏  举报