SmartEnterProcessor for custom language

I have started on a smart enter processor by extending my class from SmartEnterProcessorWithFixers. Before I go on, I want to as whether this is the correct way.
I saw that JavaSmartEnterProcessor uses Fixers to implement bahavior for several situations where the user can press CtrlShiftEnter. Furthermore, there is an abstract SmartEnterProcessorWithFixers class which seems (unfortuntately) not to be used.

What is the correct to set up SmartEnterProcessor for your own language without reimplementing/copying most methods? To give two specific examples:

at the position of the | and pressing then smart enter should transform the code to

Meaning it should autocomplete (which it already does) and close the function call.


Original message URL:

Please sign in to leave a comment.