Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

User Templates (READ THIS !!!)

(1/1)

killerbot:
For exmple on windows the user templates were save in a non consistent place. They were saved in : <DocumentAndSettings>\<User>\.CodeBlocks. Now they are save at the sample place where CB saves it's other configuration settings :
<DocumentAndSettings>\<User>\ApplicationData\CodeBlocks, and more specifically in a subdir :
<DocumentAndSettings>\<User>\ApplicationData\CodeBlocks\UserTemplates . Be sure to copy all your user templates to this new directory (if the UserTemplates does not exist yet, very likely, create it yourself ; UserTemplates).
From revision 2087 on.

kind regards,
Lieven

takeshimiya:
Good, it was an inconsistency.
It is ApplicationData\CodeBlocks or ApplicationData\codeblocks ? I know that Windows is case-insensitive, but I'm wondering what's the "official".

mandrav:

--- Quote ---It is ApplicationData\CodeBlocks or ApplicationData\codeblocks ? I know that Windows is case-insensitive, but I'm wondering what's the "official".
--- End quote ---

This path is returned from ConfigManager::GetConfigFolder(). It returns the correct path based on the platform, among others.
So, any one of those two will work (for windows).

takeshimiya:

--- Quote from: mandrav on February 27, 2006, 02:25:31 pm ---So, any one of those two will work (for windows).

--- End quote ---

I know, I'm asking what's the "official" one (you know, for WiKi articles, etc).

mandrav:

--- Quote from: Takeshi Miya on February 27, 2006, 02:44:09 pm ---
--- Quote from: mandrav on February 27, 2006, 02:25:31 pm ---So, any one of those two will work (for windows).

--- End quote ---

I know, I'm asking what's the "official" one (you know, for WiKi articles, etc).

--- End quote ---

Well, ConfigManager::GetConfigFolder() returns "...\codeblocks" so that should be it ;)

Navigation

[0] Message Index

Go to full version