Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: killerbot on February 27, 2006, 01:21:09 pm
-
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
-
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".
-
It is ApplicationData\CodeBlocks or ApplicationData\codeblocks ? I know that Windows is case-insensitive, but I'm wondering what's the "official".
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).
-
So, any one of those two will work (for windows).
I know, I'm asking what's the "official" one (you know, for WiKi articles, etc).
-
So, any one of those two will work (for windows).
I know, I'm asking what's the "official" one (you know, for WiKi articles, etc).
Well, ConfigManager::GetConfigFolder() returns "...\codeblocks" so that should be it ;)