What's the opinion on a Refactor > Convert to e...
# intellij
d
What's the opinion on a Refactor > Convert to extension function action? Already exists.
👍 3
k
That exists. Put the cursor on a parameter, Alt + Enter > Convert to receiver
d
I know of that one, that's not what I mean though. What I am looking for is turning a member function in class X into an extension function with receiver X.
k
that exists as well. alt+enter on the function > "convert member to extension"
👍 1
d
Guess I am blind. Thank you.
k
no problem
you could file an issue to add it to the "Refactor this" menu