AddKeyListener in editor does not take effect 关注
已回答
When I am writing a plug-in, it cannot take effect when I need to add a keylistener to the editor component. Is it because only action can be used? But the shortcut key I want to use is enter+ctrl, which has already been used. Can I override this shortcut key in the code?
com.intellij.openapi.editor
请先登录再写评论。
Do not add KeyListener manually. Please try this API instead https://plugins.jetbrains.com/docs/intellij/editor-events.html