User forums > Using Code::Blocks

Saving everything automatically before every build

(1/3) > >>

cacb:
I've been using Code::blocks for quite a while and really love it. I am now running 17.12 on Win7 and Linux Kubuntu 17.10.

But I have not found out if there is a feature to save everything before every build. I would like to enable such a feature because I sometimes (too often!) run into issues like this

* Forgetting to save everything before I check in the project to source control, therefore missing updated files.
* Losing recently added files in the project or project settings when C::B crashes (it happens!)So, is there a way to always automatically run the equivalent of "Save Everything" (Shift+Alt+S) just before every build (Ctrl+F9 / F9 / Ctril+F11)? This would work for me.

BlueHazzard:
this option does not exist and this bothers me since a long time.

There is a ticket on SF with a workaround (basically a squirrel script in every project that makes a save as pre build step). But SF is down right now (for 24h? without update....) so i can not find it...

oBFusCATed:
I have a patch applied for some time, but there is a concern that this will force a CC reparse which means there will would be slowdowns.
So I'm reluctant to apply it... If anyone is willing to modify the patch to prevent this reparse, I'll be happy to apply it.

oBFusCATed:
But if you're loosing work because of C::B crashes then it is better to report the crashes, so they could be tracked and fixed.

cacb:

--- Quote from: oBFusCATed on March 01, 2018, 10:47:25 pm ---But if you're loosing work because of C::B crashes then it is better to report the crashes, so they could be tracked and fixed.

--- End quote ---
Agreed if they are repeatable. But it is not always so.

Navigation

[0] Message Index

[#] Next page

Go to full version