Eclipse: Save files without asking when I click run

前端 未结 4 1248
难免孤独
难免孤独 2020-12-25 10:56

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.

相关标签:
4条回答
  • 2020-12-25 11:01

    There should be a check box on that Save File dialog:Eclipse Save Prompt on Run

    0 讨论(0)
  • 2020-12-25 11:03

    Preferences > Run/Debug > Launching.

    There's a setting called "Save required dirty editors before launching". Set it to "Always".

    0 讨论(0)
  • 2020-12-25 11:22

    Or you can choose the option in Window->Preferences->General->Workspace and check the option called "Save automatically before build". This would make your life definitely easier

    0 讨论(0)
  • 2020-12-25 11:27

    You can select the Automatically save resources checkbox the next time it prompts but I believe that's a per project setting.

    0 讨论(0)
提交回复
热议问题