Как установить значение ${user} в Netbeans 7.1.2?

Я хотел бы заменить значение по умолчанию ${user} в Netbeans. В файле справки написано

To define a parameter:

  1. In the IDE's menu bar, choose Tools > Templates. The Template Manager opens.

  2. Expand the Other category. Double-click on Properties. The User.properties file opens in the editor.

  3. Define a parameter. For example, define the ${user} parameter for adding your name to templates you create. The syntax is 'user=LorumIpsum@mycompany.com'. When a code template is expanded, all occurrences of ${user} in that template are replaced with 'LorumIpsum@mycompany.com'.

  4. Add as many additional parameters as you want, with the syntax name=value.

На шаге 2 двойной -щелчок по Свойствам ничего не дает. Я попытался открыть шаблон «Свойства» в редакторе и добавить свойство «пользователь». Я также попытался добавить файл на основе шаблона свойств в проект. Ни один из них не изменил вывод, когда я создал новый файл.

Как это сделать в Netbeans 7.1.2?

6
задан Code-Apprentice 31 July 2012 в 18:16
поделиться