AddKeyListener in editor does not take effect
Answered
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
Please sign in to leave a comment.
Do not add KeyListener manually. Please try this API instead https://plugins.jetbrains.com/docs/intellij/editor-events.html