User forums > Using Code::Blocks

Multiple questions, possible suggestions.

(1/1)

TheSilverHammer:
I have been using code blocks for a while, and would like to know how to do the following.  If it can't be done, then treat it as a feature request.

I had been using code blocks for a while with a large project.  I had not actually exited code-blocks, just saved my work and continued the next day.  Well, code-blocks crashed and my entire project, the way it was setup is gone.  I found out closing the project saves it.

1.  How do you save the project without closing it?  Save All doesn't work apparently.

2.  How do you auto-save everything when you do a build?  IE: You change 5 cpp files and build.  It does not save the sources before you compile.  I can't figure out how to automate this.

3.  So my project is toast.  I have over 100 cpp/.h files.  I have virtual folders.  How can I add directly to the virtual folder?

4.  In a folder, like sources, I have 20 files I want to move to a virtual folder.  I can only drag and drop them one at a time.  How can I drag and drop 20 at once?

5.  When adding files to my project, the file selector does not cull or grey out files that are already added to my project.  Is this a setting or can you add that feature?

stahta01:

--- Quote from: TheSilverHammer on June 22, 2009, 04:36:05 pm ---1.  How do you save the project without closing it?  Save All doesn't work apparently.

--- End quote ---
File -> Save Project
File -> Save All Projects



--- Quote from: TheSilverHammer on June 22, 2009, 04:36:05 pm ---5.  When adding files to my project, the file selector does not cull or grey out files that are already added to my project.  Is this a setting or can you add that feature?

--- End quote ---

Sounds like a great feature; I have no idea if it is an option/setting somewhere. The others items I had no idea about if they exist.

Tim S

Jenna:

--- Quote from: TheSilverHammer on June 22, 2009, 04:36:05 pm ---1.  How do you save the project without closing it?  Save All doesn't work apparently.

--- End quote ---
As Tim wrote, or right-click the project and chose "Save project".


--- Quote from: TheSilverHammer on June 22, 2009, 04:36:05 pm ---2.  How do you auto-save everything when you do a build?  IE: You change 5 cpp files and build.  It does not save the sources before you compile.  I can't figure out how to automate this.

--- End quote ---
If the source- or header-files belong to the actual project, they are automatically saved before building the project.


--- Quote from: TheSilverHammer on June 22, 2009, 04:36:05 pm ---3.  So my project is toast.  I have over 100 cpp/.h files.  I have virtual folders.  How can I add directly to the virtual folder?

--- End quote ---
I don't think that this is possible (at the moment).


--- Quote from: TheSilverHammer on June 22, 2009, 04:36:05 pm ---4.  In a folder, like sources, I have 20 files I want to move to a virtual folder.  I can only drag and drop them one at a time.  How can I drag and drop 20 at once?

--- End quote ---
Not (yet) possible. If I am right a patch for this was posted by a user some time ago, but I might be wrong.


--- Quote from: TheSilverHammer on June 22, 2009, 04:36:05 pm ---5.  When adding files to my project, the file selector does not cull or grey out files that are already added to my project.  Is this a setting or can you add that feature?

--- End quote ---
Never heard of this. Does it happen to you, or is it a feature request ?

TheSilverHammer:
The gray out thing does NOT happen.   The idea is that if 78 of the 80 files in the directory are already part of my project, when adding files, 78 of them are gray so I know they are NOT the files I am looking for.  So I guess this is a feature request.

Re: Saving project / workspace / files.   The save all disk icon on the menu bar, should save everything when you click it.  Id prefer to automatically save everything when you build, including project files so I do not even think about it. 

Navigation

[0] Message Index

Go to full version