编译所有项目热键

发布于 2024-08-23 09:33:22 字数 277 浏览 4 评论 0原文

我在一个项目组中有两个项目共享相同的单元(大部分)。我使用这两个项目来测试我编写的内容。

问题:当我更改两个项目使用的单元并运行当前项目时,另一个项目使用该单元中的旧代码(因为它未编译)。

我知道编译所有项目的唯一可能性是通过系统菜单(项目->构建所有项目)。

目前,当其中一个项目运行时(使用delphi调试器),另一个项目的可执行文件被执行,但不被编译。

如何使用热键编译两个项目(例如一个项目的 Shift + F9)?

I have two projects in a project group that share same units(mostly all).I use both projects in order to test something I've written.

The problem: When I change a unit that is used by both projects and run the current project,the other one uses the old code in that unit(because its not compiled).

The only possibility I know to compile all projects is via the system menu(Projects->Build all projects).

Currently,when one of the projects is ran(with the delphi debugger),the other project's executable is executed,but not compiled.

How do I compile both projects with a hotkey(like Shift + F9 for one project)?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

枕头说它不想醒 2024-08-30 09:33:22

安装 GExperts 并将您选择的热键分配给 IDE 菜单项。

Install GExperts and assign a hotkey of your choice to the IDE menu item.

等你爱我 2024-08-30 09:33:22

是的,Shift+F9确实很方便。

没有一个按键序列可以编译当前项目组中的所有项目,但您可以使用 Alt+P+U 访问菜单选项

Yeah, Shift+F9 really is convenient.

There isn't a single key sequence to compile all projects in the current project group, but you can get at the menu option by using Alt+P+U

苦行僧 2024-08-30 09:33:22

我不知道有什么热键,但您可以轻松地在工具栏上添加一个按钮,只需单击一下即可完成此操作。

可以通过工具栏的上下文菜单调用自定义工具栏。在命令页面中,在项目部分中搜索相应的操作,并将其拖到方便的位置。

I don't know about any hotkey for that, but you can easily add a button to your toolbar that will do this with one click.

Customizing the toolbar can be invoked via the toolbar's context menu. In the command page search for the corresponding action in the project section and drag it to a convenient place.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文