Netbeans:如何更改@author [英] Netbeans: how to change @author

查看:84
本文介绍了Netbeans:如何更改@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

推荐答案

步骤:

  1. 转到工具-> 模板.

点击设置按钮.一个带有模板设置的新面板将出现在您的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆