Add inline-function to commands
zikajk opened this issue · comments
Is your feature request related to a problem? Please describe.
Occasionally, you may come across code that has a lot of nested functions and the naming is not good.
In this case you may to use xref / peek
, but it only allows you to jump one level.
And If one jumps between a lot of namespaces, it is hard to remember everything.
Intellij offers the possibility to replace a call to function by its definition, so even if a function has several nestings, it is possible to replace it in place and thus understand it more easily.
Describe the solution you'd like
Being able to replace function call by its definition - similar to how inline-function
works.
More context
There is a short discussion on this topic in this video on (35:00)
https://youtu.be/UBXXw2JSloo?t=2123