This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
If there is a template which is empty (length == 0L) and has attr templateWizardIterator or instantiatingIterator, then Open in Editor should be disabled on it, since the file content is probably ignored. (As for e.g. apisupport templates.)
I can add the proposed check but IMHO a better would be if a empty template doesn't provide Open nor Edit cookie.
Checking in core/favorites/src/org/netbeans/modules/favorites/templates/TemplatesAction.java; /cvs/core/favorites/src/org/netbeans/modules/favorites/templates/TemplatesAction.java,v <-- TemplatesAction.java new revision: 1.2; previous revision: 1.1 done
yes, empty templates cannot be opened in editor now. closing