Window > Preferences > General > Workspace [X] Save automatically before build
Programming Tips - Eclipse: Get Eclipse to save before builds
Date: 2013feb16
Product: Eclipse
Keywords: autosave
Q. Eclipse: Get Eclipse to save before builds
A. Yes, the option is here: