I want to change C:\Program Files\CodeLite\templates\projects\executable\main.cpp file but it always prompts "access is denied".
Is there a way I can change the default template file?
Change c++ template file
-
- CodeLite Curious
- Posts: 5
- Joined: Tue Jul 28, 2015 7:45 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
-
- CodeLite Expert
- Posts: 167
- Joined: Fri Jul 22, 2011 5:32 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Change c++ template file
I think your computers security settings are set up (probably justly and correctly) to deny write access to system folders like C:\Program Files\...
Try this, When you open your favorite editor, instead of double clicking to open, right click and select 'Run as Administrator'
Try this, When you open your favorite editor, instead of double clicking to open, right click and select 'Run as Administrator'
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Change c++ template file
Please open a bug report, CodeLite should not attempt to write to C:\Program Files ... in any case
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 5
- Joined: Tue Jul 28, 2015 7:45 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Change c++ template file
Yes, it works! Thank you.Gibbon1 wrote: right click and select 'Run as Administrator'
-
- CodeLite Curious
- Posts: 5
- Joined: Tue Jul 28, 2015 7:45 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Change c++ template file
Hello, Eran. I don't know what are you talking about. I am just starting to learn programming. I don't know how to report a bug for CodeLite.eranif wrote:Please open a bug report, CodeLite should not attempt to write to C:\Program Files ... in any case
Eran
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Change c++ template file
Make sure you have read the HOW TO POST thread
-
- CodeLite Expert
- Posts: 167
- Joined: Fri Jul 22, 2011 5:32 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Change c++ template file
I think you can save a project as a template without modifying the ones that are installed with codelite in C:\program files\codelite\whatever
You can try, from the workspace view, select the workspace tab. Then select the project. right click->Save As Template...
Last time I tried this is worked except for not preserving the directory structure of the project. Meaning next time you create a project you'll have the option to use the new template.
You can try, from the workspace view, select the workspace tab. Then select the project. right click->Save As Template...
Last time I tried this is worked except for not preserving the directory structure of the project. Meaning next time you create a project you'll have the option to use the new template.