Eclipse Auto Save before build?

前端 未结 6 2000
南方客
南方客 2021-02-01 13:22

Coming from a Visual Studio background...

How do I tell Eclipse that it should auto save when ever I build rather than ask each time.

VS.NET has it under \"Optio

6条回答
  •  我在风中等你
    2021-02-01 14:20

    Save automatically before build

    Window > Preferences > General > Workspace > check "Save automatically before build" > OK

    Window Preferences General Workspace

    Save dirty editors before launching

    Window > Preferences > Run/Debug > Launching > check "Always" for "Save required dirty editors before launching"

    Launching

    Save resources before launching

    This is actually an alternative to "Save required dirty editors before launching"

    Change something in the current file > Run > check "Always save resources before launching" > OK

    enter image description here
    enter image description here

    Details:

    • IDE: Eclipse Kepler
    • O.S.: Windows

提交回复
热议问题