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.
A check-box allows to enable the auto-save. The preferences page is accessible from Window > Preferences > General > Editors > Auto-save. The default value of inactivity before a save is set by default to 60 seconds. This value is customizable.
First, try Window -> Preferences -> General -> Workspace. There you can check "Save automatically before build" and "Build automatically."
Auto-save of dirty editors is now available in Eclipse. The autosave option is disabled by default. A new autosave preference page (Preferences > General > Editors > Autosave) is available and allows to enable/disable the autosave and change the interval of autosave.
1 Answer. Show activity on this post. Under preferences General->Workspace, there's an "Save automatically before build" option.
Preferences > Run/Debug > Launching.
There's a setting called "Save required dirty editors before launching". Set it to "Always".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With