包括文件中的完全限定名称 [英] including fully qualified name in documentation
本文介绍了包括文件中的完全限定名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我点击快捷键 Alt + Shift + J 时,eclipse会添加一些Java文档,其中
When I click short-cut key Alt+Shift+J, eclipse adds some java documentation with
@author xyz
@since date
在上面。
- 那么当我们点击那个快捷键时,我们可以在eclipse中定义这个文档模板吗?
推荐答案
转到窗口
- > 参考文献
- > Java
- > 代码样式
- > 代码模板
。选择评论
- > types
。编辑并添加以下行: $ {package_name}。$ {type_name}
。在代码模板中有内容帮助的方式。
Go to Window
-> prefereneces
-> Java
-> Code Style
-> Code Templates
. Select comments
-> types
. Edit and add the following line there: ${package_name}.${type_name}
. In the code templates there is content assist by the way.
这篇关于包括文件中的完全限定名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文