Exclamation sign to complete method as not (!a.is<!>Empty())

Answered

I saw the video where the exclamation sign was used to complete a method with the exclamation sign first. E.g. we are typing a.is and press ! in result we get code !a.isEmpty(). How do I archive this functionality?

3 comments

This works if completion item is preselected in the list. By default completion variants are not selected and you can select them using the up/down arrows or by invoking explicit code completion after the dot: a, dot, ctrl+space, is, !.

0

And the feature is called postfix completion:

0

Please sign in to leave a comment.