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


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?


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, !.


And the feature is called postfix completion:


Please sign in to leave a comment.