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.
Summary: | Own template files generate without extension | ||
---|---|---|---|
Product: | cnd | Reporter: | flopper |
Component: | -- Other -- | Assignee: | issues@cnd <issues> |
Status: | RESOLVED INCOMPLETE | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
flopper
2011-01-09 20:15:49 UTC
(In reply to comment #0) > I have a set of two files for C++ developing Could you clarify what does it mean? Please provide steps to reproduce you problem. I duplicated the double-file template for a C++ class using the Duplicate command. I made some changes (surrounded code and class def with two nested namespaces). When I wanted to use these templates, the aforementioned bugs showed. I cannot reproduce the problem because after playing around with template duplicating and creation the original templates aren't usable anymore. Another bug in the IDE (a null pointer) showed up which I reported and was already fixed. My general impression is that template creation is a bit shaky and needs more testing. IMHO a much better approach would be if templates are completely file based (a new template just creates one file and does not mess with internal registries etc). This would be much more fault tolerant. I have now a state which I cannot repair myself anymore. I managed to have a header template with working file extension, but a .cc file template shows the missing extension bug. |