Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Multinode Nick on November 17, 2006, 04:14:33 pm
-
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
-
Try adding your headers to the project.
-
Oh you're right, I was building out of projet code...
Thanks.