eclipse注释模板一个

安装方法:
打开eclipse/myeclipse
选择 window-->Preferences-->JAVA-->Code-->Code Templates 右边点Import 选择你写好的模板.xml文件

导入进去即可

使用方法:
创建新类的时候,勾上“Generate comments”选项即可。新创建的类中,自动添加了你的注释模板中定义好了的注释。

 

原文地址:https://www.cnblogs.com/okuc/p/4111600.html