Eclipse自动保存 [英] Eclipse save automatically

查看:716
本文介绍了Eclipse自动保存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望Eclipse每次编辑文件时自动保存,就像自动生成一样。因为我在过去一年中一直使用IntelliJ(默认自动保存),所以我会遇到以下问题:

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 (which saves automatically by default), I keep having the following problem:


  • 更改Eclipse

  • 忘记按保存

  • 运行构建,单元测试,并注意到一些奇怪的行为

  • (一段时间后...)意识到出现意外行为是因为我忘记保存更改

  • Make some changes in Eclipse
  • Forget to press save
  • Run the build, unit tests, and notice some strange behaviour
  • (Some time later....) realize that the unexpected behaviour occurred because I forgot to save the changes

有没有方式我可以自动保存Eclipse?

Is there any way I can make Eclipse save automatically?

推荐答案

您可以使用 saveDirtyEditor插件 ,如这个问题/答案。没有非插件的方法。

You can do it with the saveDirtyEditor plugin as referenced in this question/answer. There is no non-plugin way of doing it.

这篇关于Eclipse自动保存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆