Eclipse save automatically

后端 未结 8 1416
耶瑟儿~
耶瑟儿~ 2021-01-31 01:10

I would like Eclipse to automatically save every time I edit a file, in much the same way that it builds automatically. Because I\'ve been using IntelliJ for the last year (whic

8条回答
  •  梦谈多话
    2021-01-31 01:33

    Eclipse Neon (4.6)

    Window > Preferences

    General > Editors > Autosave > check Enable autosave for dirty editors > choose the value for autosave interval (in seconds)

    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, ...).

提交回复
热议问题