How to globally change the user name that is used in file templates?

  1. Go to Tools | Templates.
  2. Click the Settings button.
  3. Now you can add set global variables in properties file format, for example:

Now, whenever you have ${user} in a file template, you will find the above value generated into the file that you create using that template.

Applies to: NetBeans 7.x

Platforms: All

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo