News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Keep the projects open after exit

Started by vladtarniceru, October 17, 2013, 08:20:21 PM

Previous topic - Next topic

vladtarniceru

Hello everyone.

Everytime I close codeblocks, after I open it again all the projects are closed, even if I save the "codeblocks perspective". Is it possible to keep the projects open? It is annoying to re-open 5 projects for 10 times in a day ...

PS: I'm using codeblocks 10.05, as I installed it with sudo apt-get install codeblocks in linux.

Jenna

In the projects-tree, righ-click on the root item (Workspace) and chose "Save Workspace as.." and save it wherever you want.
Inside the same context-menu you can also change the name of the workspace to give it a more meaningful name.

vladtarniceru


cacb

Quote from: jens on October 17, 2013, 08:25:44 PM
In the projects-tree, righ-click on the root item (Workspace) and chose "Save Workspace as.." and save it wherever you want.
Inside the same context-menu you can also change the name of the workspace to give it a more meaningful name.

I never understood why you can save a workspace file this way with your own name, but you STILL have to rename the workspace name again (hopefully to the same name).

Ok, I know the technical reason. There is a workspace file name and there is a "title" attribute to the workspace-tag inside the file. In my opinion it is very confusing if they are not the same. I think the "title" attribute should be removed and the file name used always, or alternatively the default behaviour in C::B should be that when using "Save Workspace as..", both the workspace file name and workspace  "title" tag should be set to the same string at once.