Netbeans: how to change @author

前端 未结 3 415
走了就别回头了
走了就别回头了 2020-12-12 16:38

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 me

相关标签:
3条回答
  • 2020-12-12 17:19

    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

    0 讨论(0)
  • 2020-12-12 17:19

    In case someone else finds this while looking for the same functionality in Eclipse: Window -> Show View -> Templates

    0 讨论(0)
  • 2020-12-12 17:38

    -In netbeans go to Tools -> Templates -> Settings -last line of the file, write like this user=xyz

    N:B: Instead of xyz you could be used your name.

    0 讨论(0)
提交回复
热议问题