What's the difference between `Eclipse/Project/Clean…` and `Eclipse/Project/Refresh (F5)`?

后端 未结 3 769
佛祖请我去吃肉
佛祖请我去吃肉 2021-02-08 04:56

What\'s the difference between

\"Eclipse/Project/Clean...\"

and

\"Eclipse/Project/Refresh (F5)\"

I often ha

3条回答
  •  逝去的感伤
    2021-02-08 05:27

    Clean will clean all the compiled files from the selected projects. It will trigger a rebuild if Build Automatically (in the project menu) is enabled.

    Refresh will reload the files in the project from the filesystem.

    For your question, Clean will be the answer. Make sure that you have Build Automatically checked.

提交回复
热议问题