Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
How do I automatically add headers/other things to all new files?
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: How do I automatically add headers/other things to all new files? (Read 2412 times)
udyant
Guest
How do I automatically add headers/other things to all new files?
«
on:
July 16, 2015, 05:57:22 am »
Please help me :
How do I automatically add headers/other things to all new files?
Logged
BlueHazzard
Developer
Lives here!
Posts: 3353
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
»
Logged
Jenna
Administrator
Lives here!
Posts: 7255
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").
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
How do I automatically add headers/other things to all new files?