delphi - Delphi IDE 中的快捷方式触发两个操作

标签 delphi ide keyboard-shortcuts

也许这个问题对我来说非常具体,但我会尝试一下。场景如下:

  1. 在 Delphi XE2 中,快捷键“Ctrl+Shift+7”切换书签(同样 Ctrl+< kbd>Shift+[1..9] 用于其他书签)
  2. 我已经安装了 ModelMaker Tools(v. 9.1.0,但我相信我之前也遇到过此错误),我在其中分配了快捷键“Shift+Ctrl +Alt+Y”到“同步声明/实现”。

每当我使用 ModelMaker 快捷方式时,我也会设置书签 (7)。为什么是这样?请注意,与“真正的”快捷方式(Ctrl+Shift+7)相反,书签不会切换,只能设置。

这种行为让我感到困惑。有人有解释吗?这不是一个大问题,因为我很少使用那么多书签,但这让我很好奇。

最佳答案

对于几次重构,ModelMaker Code Explorer 设置了一些书签以方便您使用。

它在某处有记录,但我忘了在哪里(:

编辑:已记录here .

All refactoring operations that modify the IDE edit buffers (optionally) drop bookmark #7 at the current cursor position. Similar to how Extract Method drops bookmarks #8 at the original code and #9 at the extracted method. The bookmark numbers can be customized on the History Tab which also allows disabling dropping specific bookmarks.

关于delphi - Delphi IDE 中的快捷方式触发两个操作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10769044/

相关文章:

email - Delphi 和 Indy 10 无法读取 gmail 电子邮件第二。读完一次后的时间

perl - TKX 的拖放 IDE

debugging - typescript 的编辑器和调试器

keyboard-shortcuts - 纳米键盘快捷键可以更快地通过线路?

delphi - 排序20GB数据

c++ - 面向 Delphi 开发人员的 Qt

delphi - 使用嵌套 "try/finally" "try/except"语句

emacs - 配置 Emacs FlyMake 以使用 Rakefile 和 Makefile

visual-studio-code - VSCode 用键盘选择列

java - 在 NetBeans 中生成 getter 和 setter