Would it be possible to have a quick-action to eas...
# intellij
r
Would it be possible to have a quick-action to easily replace a block like this:
Copy code
foo.bar()
foo.baz()
foo.abc()
<http://foo.xyz|foo.xyz>()
with an equivalent
apply
-block like this?
Copy code
foo.apply {
    bar()
    baz()
    abc()
    xyz()
}
I'm imagining like a "replace all function calls on this receiver with apply-block"-intention when the cursor is on the
foo
variable.