Netbeans: how to change @author

When you create a new class or interface in the NetBeans IDE, the tag "@author ...." appears. How to change its value? If possible, I would like to change it using the Netbeans menu, rather than editing some configuration files :) I am using Netbeans 7.2 Thanks in advance.

+107
netbeans javadoc netbeans-7
Apr 10 '13 at 9:46
source share
3 answers

Steps:

  1. Go to Tools β†’ Templates .

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

  3. Uncomment the last line and change the value of "user" to what you want to insert after the @author tag.

PS : I think this blog will better explain how to update the author’s template

+200
Apr 10 '13 at 9:55
source share

In case someone else finds this by going to the same functionality in Eclipse: Window β†’ Show View β†’ Templates

+15
May 29 '14 at 17:30
source share

-In NetBeans go to Tools β†’ Templates β†’ Settings -last in the file line, write this: user = xyz

N: B: Instead of XYZ, you could use your name.

0
Jun 11 '19 at 5:01
source share



All Articles