score:109

Accepted answer

eclipse neon (4.6)

window > preferences

window preferences

general > editors > autosave > check enable autosave for dirty editors > choose the value for autosave interval (in seconds)

general editors autosave

details in m7:

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. the countdown is reset on keyboard activity, mouse click, or when a popup is displayed (e.g. content assist, preference page, ...).

score:0

for eclipse mars 2, the settings are below window > preferences > general > workspace. these settings are in minutes and not in seconds.

enter image description here

score:0

you could go to windows > preferences > autosave and set the auto intervals to 1.

score:7

in helios this can be done by going to preferences and setting:

run/debug > launching > save required dirty editors before launching

score:18

i wrote an eclipse plugin for this called smartsave. it's available in the eclipse market place.

it saves your files at a specified interval and you can even tune it to prevent saving if errors, or warnings, are present in the preferences dialog.

score:19

you can do it with the savedirtyeditor plugin as referenced in this question/answer. there is no non-plugin way of doing it.

score:20

first, try window -> preferences -> general -> workspace. there you can check "save automatically before build" and "build automatically."

if that does not work,

please try

preferences -> run/debug -> launching -> "save dirty editors before launching"

score:33

you can go here and check the box save automatically before build

windows > preferences > general -> workspace


Related Query

More Query from same tag