Using a variable multiple times? IntelliJ can conv...
# intellij-tricks
m
Using a variable multiple times? IntelliJ can convert it to a
run
or
with
block for you if you need it: (I’ve also seen IntelliJ offering
apply
and
also
as well, but can’t figure out when that happens just now)
Result: