Author Topic: How do I automatically add headers/other things to all new files?  (Read 2885 times)

udyant

  • Guest
Please help me :
How do I automatically add headers/other things to all new files?

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3352
Re: How do I automatically add headers/other things to all new files?
« Reply #1 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
« Last Edit: July 16, 2015, 09:22:01 am by BlueHazzard »

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: How do I automatically add headers/other things to all new files?
« Reply #2 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").