Created attachment 129746 [details]
IDE Log File
When creating a duplicate template within the "Tools->Templates" wizard, selecting a template (ex. FileType) and choosing to "Duplicate" the template results in an open editor with an empty file.
If the editor is closed without changing anything and then re-opened, the editor opens an empty file.
should be consistent with "Open in Editor" in the Templates panel - this should be disabled. FileType, Action, probably all NetBeans module templates consist of not just one but multiple template files and thus should not be editable.
Fixed by changeset: 243787:421697c694b4
Integrated into 'main-golden', will be available in build *201301040001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Log: #224292: Use the same condition for open in editor and duplicate.