Is there a way to save files without asking in Eclipse? Every time I click Run, it asks me if I want to save the file, and I always do.
There should be a check box on that Save File dialog:
Preferences > Run/Debug > Launching.
There's a setting called "Save required dirty editors before launching". Set it to "Always".
Or you can choose the option in Window->Preferences->General->Workspace and check the option called "Save automatically before build". This would make your life definitely easier
You can select the Automatically save resources
checkbox the next time it prompts but I believe that's a per project setting.