Page 1 of 1

Custom templates overwriting each other

Posted: Thu Nov 01, 2018 1:57 pm
by Fred
Hello,
thank you for providing CodeLite!
I installed Codelite 12.0.0 on D:\ProgramFiles\Codelite on Windows 10.
Created 3 workspaces and a project in each workspace.
Then I saved each project as a custom template.
All templates are stored together in a single directory: %APPDATA%\codelite\templates\projects,
and source code files with the same name are overwritten :-(
Each project template files should be in a separate subdirectory, as it is designed for the built-in templates.
As a workaround I created subdirs in D:\ProgramFiles\Codelite\templates\projects and copied the project file, my source code files, and an icon.png to each.
Thanks for your work,
Fred

Re: Custom templates overwriting each other

Posted: Thu Nov 01, 2018 9:56 pm
by Fred
Update:
It also works as a workaround to create a subdir in %APPDATA%\codelite\templates\projects with the name of the project and move the files from %APPDATA%\codelite\templates\projects to this subdir. This template also shows up in the Codelite list of the templates.
This has to be done after each creating of a template before creating the next.
Greetings,
Fred