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.
Please add an option to automatically create .h file when creating a .c (or .cpp) file. 9 times out of 10 I will create .h right after creating a .c file, so it is extremely annoying to go back and "Create a .h" when netbeans could just create this automatically with the same name given to the .c file. There was a ticket with this request but it is from 2007 https://netbeans.org/bugzilla/show_bug.cgi?id=122352
You can use New Class as workaround.
If you already have code that almost does this would this not be easy to add? I can use your "work around" but now my c file will have the extension .C which obviously differs from the .c extension I get when I create a new C file and also I have class code which I have to delete. Thanks again for you solution but can we please maybe add this as an option in future versions of netbeans?
Sorry, I haven't checked that "c" is absent in extensions combobox for source file, so my workaround is not convenient. Yes, sure, we can add extra template like New Source/Header similar to New Class
Thanks!
Added new "C Source and Header File" template in change set: http://hg.netbeans.org/cnd-main/rev/460c9a31f0ab
*** Bug 122352 has been marked as a duplicate of this bug. ***