Enter and Tab not recognized as character by TypedHandlerDelegate?

Answered

I'm using TypedHandlerDelegate to perform an some actions,

The keystrokes ENTER or TAB are not considered as characters.

override fun charTyped(c: Char, project: Project, editor: Editor, psiFiles: PsiFile)

 Is there any workaround which recognizes ENTER or TAB as characters?

1 comment
Comment actions Permalink

To handle ENTER event, use

com.intellij.codeInsight.editorActions.enter.EnterHandlerDelegate

with the following Extension Point:

<enterHandlerDelegate />

 

0

Please sign in to leave a comment.