News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

History in source code

Started by pacorrop, July 07, 2009, 02:01:34 PM

Previous topic - Next topic

pacorrop

Hi all,
I've been working with C::B for a while. It's fantastic, great job!

Here's my question:
before C::B, I tried to develop my C++ applications in Eclipse + CDT (strong-weight and slow IDE :S). The only thing I think Eclipse's better than C::B is in the local history.

Eclipse takes every changes on your source code, and saves them on the hard disk. When you modify anything and you realize that you wrote wrong code, you can revert to the 'good' source code. I think C::B hasn't this feature, but I would be pleased if anybody of you could confirm it to me.

I lost a couple of times source code beacuse of this 'lack'... any ideas for this? CVS, SVN are too awkward for me. Manual backup? I'm forgetful :P What a mess!!!!

Thanks in advance, regards!

Jenna

Not the same, but might be helpful:

"Settings -> Environment... -> Autosave"

And of course you can use a version control system for your sources.

MortenMacFly

Quote from: pacorrop on July 07, 2009, 02:01:34 PM
CVS, SVN are too awkward for me. Manual backup? I'm forgetful :P What a mess!!!!
Not offending, but with this attitude you'll sooner or later get into serious trouble. Believe me - even Eclipse (and the local history) won't protect you from serious data loss that way.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

pacorrop

Thanks both of you.

I'll make a daily reminder for doing this :P

Cheers :)