I've started using C::B and found annoying issue: I usually have many open projects in the workspace and whenever I close C::B, upon next start I lose all my projects in the Projects tab. So every time I have to restore them from File->Recent Projects
menu. Is there a better way to do it? I tried File->Save Workspace
, View->Perspectives->Save current
and nothing helps!
1.8 Workspace and Project Dependencies In Code::Blocks, multiple projects can be open. By saving open projects via 'File' →'Save workspace' you can collect them in a single workspace under <name>. workspace.
And even with more complex and large projects it seems to work very well. I would recommend it for any standard library stuff, or if you want to develop on any of the big three (mac/windows/linux) it's supported on all of them.
CodeBlocks offers ways of automatically storing projects and source files, or of creating backup copies. This feature can be activated in the menu 'Settings' /'Environment' /'Autosave' . In doing so, 'Save to . save file' should be specified as the method for creating the backup copy.
Make sure you have installed the GCC version based setup from the official website of Codeblocks, Since the earlier versions were not provided with GCC and Other compilers hence the end user had to download and setup separately, Which again seems to be an hassle of its own when you are too excited to start coding.
Go to Settings -> Environmental Settings -> General Settings and change the "On Application Start-up" setting to "Open default workspace", then press OK.
When you close code::blocks it will ask to save changes to the workspace, press yes. Now when you start code::blocks it should still have all your projects open.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With