Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: udyant on July 16, 2015, 05:57:22 am

Title: How do I automatically add headers/other things to all new files?
Post by: udyant on July 16, 2015, 05:57:22 am
Please help me :
How do I automatically add headers/other things to all new files?
Title: Re: How do I automatically add headers/other things to all new files?
Post by: BlueHazzard on July 16, 2015, 09:19:48 am
Settings->Editor->Default Code

or if you want only the code in new projects you can modify the template code under CodeBlocksInstallDir/share/Codeblocks/templates

greetings
Title: Re: How do I automatically add headers/other things to all new files?
Post by: jens on July 16, 2015, 09:24:29 am
For the second case (projects), I would suggest to setup a basic project, add everything you need and save it as user template ("File -> Save project as template").