Netbeans:如何更改@author [英] Netbeans: how to change @author
问题描述
在 Netbeans IDE 中创建新类或接口时,会出现@author ...."标记.如何改变它的价值?如果可能,我想通过使用 Netbeans 菜单而不是通过编辑一些配置文件来更改它:) 我使用的是 Netbeans 7.2
When creating a new class or interface in Netbeans IDE, an "@author ...." tag appears. How to change its value? If possible, I would like to change it by using Netbeans menu and not by editing some config files :) I'm using Netbeans 7.2
推荐答案
步骤:
转到工具 -> 模板.
点击设置按钮.IDE 中将出现一个带有模板设置的新面板:
Click on Settings button. A new panel with template settings will appear in your IDE:
取消对最后一行的注释并将user"的值更改为您喜欢在 @author 标签后插入的内容.
Uncomment the last line and change the value of "user" to what ever you like to be inserted after the @author tag.
PS:我认为这个博客会更好地解释如何更新作者模板
PS: I think this blog will better explain how to update author template
这篇关于Netbeans:如何更改@author的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!