https://kotlinlang.org logo
#intellij
Title
# intellij
n

natpryce

09/03/2020, 10:04 PM
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

Alexey Belkov [JB]

09/04/2020, 9:52 AM