Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

code::blocks doesn't save workspace projects structure

Tags:

codeblocks

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!

like image 403
Dmitry Buzolin Avatar asked Aug 29 '12 01:08

Dmitry Buzolin


People also ask

How do you save a workspace in CodeBlocks?

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.

Is CodeBlocks good for big projects?

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.

Does CodeBlocks auto save?

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.

Why my program is not building in CodeBlocks?

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.


1 Answers

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.

like image 64
Ben Bolton Avatar answered Sep 23 '22 20:09

Ben Bolton