实现如上的效果,需要在eclipse上配置:
进入Window->Preferences->Jave->Code Style ->Code Template->Comments->Types
点击编辑然后修改
/**
* @author liang ${date} ${time}
*
* ${tags}
*/
之后保存即可
其他位置的注释更改也在这个位置,可以使用同样方法编辑更改
实现如上的效果,需要在eclipse上配置:
进入Window->Preferences->Jave->Code Style ->Code Template->Comments->Types
点击编辑然后修改
/**
* @author liang ${date} ${time}
*
* ${tags}
*/
之后保存即可
其他位置的注释更改也在这个位置,可以使用同样方法编辑更改