IntelliJ/Clojure: REPL 中同步文件的快捷方式

IntelliJ/Clojure: shortkey for Sync Files in REPL

我想找到 "Sync Files in REPL" 的键绑定。 我可以在以下位置找到此操作的键绑定:

File -> Settings -> Keymap -> CLojure Keybinding -> Bind Set: Cursive

我看到此操作的键绑定是 Ctrl+Shift+M。但是,当我使用此键绑定时,什么也没有发生。您知道为什么以及如何使用键绑定吗?

我运行进入同样的问题。这个githubissue解释一下:

The Clojure->Keybindings panel isn't where you make general changes to the key mappings for actions - you'll find that in the generic IntelliJ Keymap panel. The Keybindings panel is for setting a bunch of key mappings in bulk - it's something you'll only do probably once when you're initially setting Cursive up. For changing mappings for particular actions after that point, you'll use the Keymap panel.

如果您查看 KeyMap不是 Clojure Keybindings),创建一个新的键盘映射配置文件(或复制现有的配置文件之一),然后转到 Plug-ins -> Cursive -> Sync files in REPL。此处指定的键绑定应该有效(当然除非您将其设置为与其他内容冲突的内容)。