Custom language: Complete statement(Ctrl-Shift-Enter)
Hello,
I was searching info how to implement this feature, and the best I been able to find is com.intellij.codeInsight.editorActions.smartEnter(for example MissingClassBodyFixer) I guess that it contains fixes for lots of cases
How can I implement this for custom language?
Best regards,
Boyan
Please sign in to leave a comment.
You should implement com.intellij.codeInsight.editorActions.smartEnter.SmartEnterProcessor for your language
Thanks, Dmitry
In case if someone needs this:
<lang.smartEnterProcessor language="Haxe" implementationClass="com.intellij.plugins.haxe.editor.smartEnter.HaxeSmartEnterProcessor"/>