Enter and Tab not recognized as character by TypedHandlerDelegate?

已回答

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?

0

To handle ENTER event, use

com.intellij.codeInsight.editorActions.enter.EnterHandlerDelegate

with the following Extension Point:

<enterHandlerDelegate />

 

0

请先登录再写评论。