It’d be really nice if IntelliJ’s extract function...
# intellij
n
It’d be really nice if IntelliJ’s extract function refactoring could extract extension functions. If I have an expression like:
Copy code
aList.map(f).filter(p).groupBy(f2)
Extract method will work if I select
aList.map(f)
but I’d like to be able to select, say
.map(f)
to extract an extension function on the list type.
5
a