Netbeans: how to change @author

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 Thanks in advance.


Step 1 .Go to Tools -> Templates .

Step 2 .Click on Settings button. A new panel with template settings will appear in your IDE:

Step 3 .Uncomment the last line and change the value of "user" to what ever you like to be inserted after the @author tag.

I think this blog will better explain how to update author template


如果有人在Eclipse中查找相同的功能时发现这种情况:窗口 - >显示视图 - >模板

链接地址: http://www.djcxy.com/p/65326.html

上一篇: 使用硒将元素滚动到视图中

下一篇: Netbeans:如何更改@author