keyboard-shortcuts - 用于 α 重命名的 DrRacket 键盘快捷键

标签 keyboard-shortcuts racket rename

如何将键盘快捷键(例如 F2)绑定(bind)到 α-rename在 DrRacket 中,可以通过右键单击变量名称调出的上下文菜单中的 rename foobar 来使用?

documentation归结为“从 API 调用一个神奇的函数名称”,但我很难在所述 API 中找到该操作。

最佳答案

来自 DrRacket 版本 6.0 的历史文件

Added keybindings for the items in the Check Syntax popup menu,
notably c:x;m to rename a variable, c:x;d to just to the
definition of an imported variable, c:x;n to go to the next
occurence of a variable, and c:x;b to go to the binding occurrence
of a variable.

所以 ctrl-x, m 应该可以解决问题。

关于keyboard-shortcuts - 用于 α 重命名的 DrRacket 键盘快捷键,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29844454/

相关文章:

android - 从 Android 代码中提取字符串到 Intellij 中的 strings.xml 文件的捷径是什么?

list - 水平列表到垂直列表,反之亦然 - Sublime Text 2

jquery - Chrome 扩展程序中的键盘快捷键

scheme - 如何在Racket中重新定义某个范围内的标准函数?

linux - 如何重命名没有日期和时间的文件

c# - 非小键盘数字键之上的按键枚举是什么?

algorithm - 方案中的循环排列

scheme - 计划和 Racket 中的案例和报价

c# - 如何使用代码重命名文档库中的标题列?

java - 使用 perl/java 将数据库中现有的图像代码重命名为新图像代码