Author Topic: User Templates (READ THIS !!!)  (Read 4132 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5496
User Templates (READ THIS !!!)
« 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

takeshimiya

  • Guest
Re: User Templates (READ THIS !!!)
« Reply #1 on: February 27, 2006, 01:40:19 pm »
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".

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: User Templates (READ THIS !!!)
« Reply #2 on: February 27, 2006, 02:25:31 pm »
Quote
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).
Be patient!
This bug will be fixed soon...

takeshimiya

  • Guest
Re: User Templates (READ THIS !!!)
« Reply #3 on: February 27, 2006, 02:44:09 pm »
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).

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: User Templates (READ THIS !!!)
« Reply #4 on: February 27, 2006, 02:58:04 pm »
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 ;)
Be patient!
This bug will be fixed soon...