我目前正在使用带有 LSP 模式的 Emacs 来编写 TypeScript 代码,它运行得很好。
我目前唯一的烦恼是每次我都需要点击鼠标来完成建议的操作,例如
Add async modifier to containing function
或
Add 'fooFunc' to existing import declaration from 'some/dep'
我在(view-lossage)
中注意到的唯一命令是:
<down-mouse-1> [evil-mouse-drag-region]
<mouse-1> <down-mouse-1> [evil-mouse-drag-region]
<mouse-1> <mouse-1> [mouse-set-point]
<down-mouse-1> [anonymous-command]
<drag-mouse-1> [mouse-set-region]
理想情况下,它应该具有某种使用键盘的向上/向下导航来选择所需的选项/操作。
有办法吗?
最佳答案
关于typescript - Emacs LSP 模式 - 是否可以避免单击鼠标来完成建议的操作?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65597861/