Netbeans: how to change @author

Lukasz Czerwinski picture Lukasz Czerwinski · Apr 10, 2013 · Viewed 71.3k times · Source

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

Answer

Ravindra Shekhawat picture Ravindra Shekhawat · Apr 10, 2013

Steps:

  1. Go to Tools -> Templates.

  2. Click on 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 ever you like to be inserted after the @author tag.

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