User forums > Using Code::Blocks
Default project
(1/1)
ordak:
Hi,
How can I set a project as default project in Code::Blocks ?
By default project I mean a project that is opened after Code::Blocks execution.
BlueHazzard:
There is no easy way to do this (but there are multiple hard ways to do it ;) ...
What project should be loaded? A created project, or a new project?
ordak:
--- Quote from: BlueHazzard on September 18, 2017, 06:01:06 pm ---There is no easy way to do this (but there are multiple hard ways to do it ;) ...
What project should be loaded? A created project, or a new project?
--- End quote ---
A created project. This is not a high priority for me though.
BlueHazzard:
Always a fixed project?
You could hard code the project loading in the startup script:
Settings->Edit startup script
and paste the following code in it:
--- Code: ---GetProjectManager().LoadProject(_("PATH/TO/YOUR/PROJECT"), true);
--- End code ---
it would probably also be possible to load the last activated project somehow....
Navigation
[0] Message Index
Go to full version