On Fri, 18 Jun 2010 08:20:42 +1000 Lex Trotman elextr@gmail.com wrote:
[PATCH 1/3] Add a signal that is emitted before build starts
I want to be able to save all project files before the build starts. Currently geany saves only the active file but does nothing with the other open files, so you may be compiling the old version. I think emitting the signal before build might be useful for other plugins too (e.g. if they pre-process the files before the build and so on)
I think that all files should always be saved when a build starts, manys the time I've edited both .h and then .c file, hit build and only the .c is saved. Gripe grump etc...
I remember there was some discussion about saving everything when I started the build system changes. I don't remember why it wasn't done. Can anyone think of a reason to not save all files? If no one can then I'll consider it a bug.
What if you didn't want all the files saved? I think it's safe to save the current file as the user is currently looking at it. But they may have modified other files they haven't decided to save yet.
Regards, Nick