For Java, in addition to the regular completion, IntelliJ IDEA provides so-called Postfix completion: it lets you modify a previously entered expression by adding a "postfix" to it and pressing Tab. This way you can transform your code without unnecessary backward caret jumps.
Many users've asked…