标签:get comm imp lib port 前言 ram getter csdn
前言:更换快捷键:Window → Preferences → General → Keys
正文:
1,Ctrl + / 添加/消除//注释
2,Ctrl + Shift + / 添加/* */注释
3,Ctrl + Shift + F 自动格式化代码
4,Ctrl + Alt + S getter,setter,toString方法
5,Alt + Shift +J
/**
* @param
* @return
*/
可以更改模板:方法一:Window-->Preferences-->Java-->Code Style --> Code Templates --> Comments --> types --> Edit;方法二:点击右边的import按钮选择你写好的模板.xml文件
参考博客:
1,eclipse 中的注释 快捷键 - wjeson的专栏 - CSDN博客
https://blog.csdn.net/wjeson/article/details/9119037
2,Eclipse中添加文档注释快捷键 - 安徒山 - 博客园
https://www.cnblogs.com/laiboan/p/5517959.html
标签:get comm imp lib port 前言 ram getter csdn
原文地址:https://www.cnblogs.com/huashengweilong/p/10807291.html