News:

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

Main Menu

Auto save on Build

Started by Multinode Nick, November 17, 2006, 04:14:33 PM

Previous topic - Next topic

Multinode Nick

Hi guys,

I have a little concern about the auto save of source code files on build. I hope it's not an already available option that I missed, C::B is still new for me.

When I modify a class, I change the class.cpp and class.h (the auto swap is really useful). But when I compile my class.cpp, the only saved file is the file with the current focus (class.cpp) so the compiler doesn't see the alterations I made to the header file.

When you know that, you can SaveAllFiles at every change to avoid this limitation, but it's an automation that C::B could do better than me ;-)

If it was only for my lazyness, I wouldn't annoy anobody with it, but this C::B behavior can cause some headhache for less experimented programmers because the IDE will show errors on .H lines that may be already corrected but not saved.

Nic

thomas

Try adding your headers to the project.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Multinode Nick

Oh you're right, I was building out of projet code...

Thanks.