如何使Eclipse在运行之前自动生成/自动保存更改(CDT) [英] How to enable Eclipse to autobuild/autosave changes before run (CDT)

查看:288
本文介绍了如何使Eclipse在运行之前自动生成/自动保存更改(CDT)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我点击Eclipse中的运行按钮时,我想方便地使更新的代码生效。目前它将运行最后一个版本,我必须手动点击生成,然后点击运行才能看到更改。

I'm trying to conveniently have the updated code in effect when I click the run button in Eclipse. At present it will run the last build and I have to manually click build before clicking run to see the changes.

有人可以建议我如何配置Eclipse来自动生成

Can someone advise me on how to configure Eclipse to autobuild the current project (if changes has been made) before running the code?

推荐答案

自动构建有多个设置。您可能缺少的是启动 下的设置。

There are multiple settings for auto building. The one you could be missing is the setting under Launching.

其他两个设置如下:

>

最后一个设置是您可能已经知道的设置:

And the last setting is the one you likely already know about:

这篇关于如何使Eclipse在运行之前自动生成/自动保存更改(CDT)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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