Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 224291 - Unable to open netbeans provided templates in an editor.
Unable to open netbeans provided templates in an editor.
Status: NEW
Product: apisupport
Classification: Unclassified
Component: Templates
: P4 (vote)
: 7.4
Assigned To: Martin Kozeny
Depends on:
  Show dependency treegraph
Reported: 2012-12-28 20:35 UTC by esmithbss
Modified: 2013-08-09 13:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT

IDE Log File (238.38 KB, application/octet-stream)
2012-12-28 20:41 UTC, esmithbss

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2012-12-28 20:35:54 UTC
DEV version 201212280001
Mac OS X 10.7
Oracle Java 1.7.0_10

When working with templated files generated by the IDE, the comment at the top of the files specifies that we can change the templates by selecting"Tools->Templates" and opening the template in an editor.

When a template (example: FileType) is selected in the template list, the "Open in Editor" button is not activated.

The only way to open a template is to duplicate the template an open the duplicate.
Comment 1 esmithbss 2012-12-28 20:41:18 UTC
Created attachment 129747 [details]
IDE Log File
Comment 2 Ondrej Vrabec 2013-01-02 14:28:33 UTC
If you want to change the license text, go to Tools -> Templates -> Licenses and change the content of Default License (or add your own license). You cannot change the content of the generated file itself, since NB module templates consist of multiple, not just one file. But true, the generated text is somehow confusing and might need to be rephrased.

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