也许这个问题对我来说非常具体,但我会尝试一下。场景如下:
- 在 Delphi XE2 中,快捷键“Ctrl+Shift+7”切换书签(同样 Ctrl+< kbd>Shift+[1..9] 用于其他书签)
- 我已经安装了 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/