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.
Product Version = NetBeans IDE 6.9.1 (Build 201011082200) Operating System = Linux version 2.6.36-gentoo-r5 running on i386 Java; VM; Vendor = 1.6.0_22 Runtime = Java HotSpot(TM) Client VM 17.1-b03 I have a set of two files for C++ developing, one for the header (.h), one for the code (.cc). When generating the files, the extension is empty, so the file names have no extensions and inside the files all %<%EXTENSION%>% codes are empty.
(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.