eclipse不像idea有自动保存的功能,下面的设置也没有做到自动保存代码,只是在编译或运行时自动保存代码,

建议还是使用ctrl+s或ctrl+shift+s保存代码

1.window-->preferences-->General-->workspace-->save automatically before build

eclipse设置自动保存

 

2.window-->preferences-->Run/Debug-->launchingàsave required dirty…

eclipse设置自动保存

 

相关文章:

  • 2021-11-16
  • 2021-05-21
  • 2022-12-23
  • 2021-04-01
  • 2021-11-28
  • 2021-07-19
  • 2021-12-08
猜你喜欢
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-09
  • 2022-02-07
  • 2021-10-24
  • 2021-07-14
相关资源
相似解决方案