Code::Blocks Forums

User forums => Help => Topic started by: jpaterso on September 28, 2007, 03:06:54 am

Title: Default code not appearing when new file is created
Post by: jpaterso on September 28, 2007, 03:06:54 am
Hi all,

When one creates a new file, say a .h file, some guards are created (#ifndef file_h #define #file_h #endif), but the default code is not added. I have some default comments to add to header files, and would really like them to be added right at the top of newly created .h files. Is that possible?

Cheers,

Joseph.
Title: Re: Default code not appearing when new file is created
Post by: Ceniza on September 28, 2007, 06:54:42 am
It's supposed to work, but I just tried and it didn't. I guess the wizard must be adjusted to take the default code into account.