Eclipse: Save files without asking when I click run
EclipseEclipse Problem Overview
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.
Eclipse Solutions
Solution 1 - Eclipse
Preferences > Run/Debug > Launching.
There's a setting called "Save required dirty editors before launching". Set it to "Always".
Solution 2 - Eclipse
There should be a check box on that Save File dialog:
Solution 3 - Eclipse
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
Solution 4 - Eclipse
You can select the Automatically save resources
checkbox the next time it prompts but I believe that's a per project setting.