Code::Blocks Forums
User forums => Help => Topic started by: mess-mate on October 17, 2008, 06:40:59 pm
-
I don't know if this is a 'help' or 'using codeblocs' question..
1-After reading the doc i've found something about a 'user.config' file but only for win, not for linux ?
2-when i creat a new project, codeblocs search in the /usr/share/codeblocks/templates directory for doing a choice about his options.
Is there any way to change that for looking in my own ./codeblocks/.....
BR
mess-mate
-
Hi mess-mate,
you can save projects as user templates via the menu File->Save project as user-template. The files will be copied to APP_DATA path (Documents and Settings/AppData/codeblocks/UserTemplates ... ). If you start the project wizard and select the user templates then you will see your templates:-)
Bye,
Mario
-
Yes I know, Thanks.
Linux only here :D
What i want exactly is that the /usr/share/codeblocks/templates are to my ./codeblocks/* and the selections for whatever can be done there; not /usr/share/codeblocks/templates !
-
On my system the user-templates go to "~/.codeblocks/UserTemplates".
If you have write-access to "/usr/share/codeblocks" something went wrong with your configuration.
Only root should have write-acces to this folder and its subfolders. And nobody should use the root-accout for everyday use.
-
ah no, i havent't write access to that and i don't.. But i can if necessary.
I like that 'user.conf' principle and at the other hands would my own copy of /usr/share/templates so i can modify them for my own.
The debian mind :)
Great IDE/RAD i like it and would further work with it.
have a nice day.
mess-mate
-
You can customize the templates. Right click on a wizards icon and see what's possible.
You have no access to the original script, unless you delete the customized one.
The scripts you have changed go to "~/.codeblocks/share/codeblocks/templates/wizard".
-
I did, the script-file open but can't change anything.
The purpose is to have a template without the 'Tools' included in the frame.
When i delete them on a fresh frame, they are deleted from the xxx.wxs but are still there in the Main.xx files as OnAbout and OnClose.
Why ?