You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Sometimes when I'm writing code I'm in this situation:
defdoThing(a: Int, b: Int) = {
doOtherStuff(a) // this will error because `doOtherStuff` doesn't exist
}
In this situations you can trigger a code action for doOtherStuff and it will show you the "Create new symbol 'doOtherStuff'" action. However, if you select that all the options are creating another file or a companion object, whereas I want doOtherStuff to be a method.
Describe the solution you'd like
I'd like another option to be offered, maybe just "method". And if I select it, the code I'd end up with is:
Is your feature request related to a problem? Please describe.
Sometimes when I'm writing code I'm in this situation:
In this situations you can trigger a code action for
doOtherStuff
and it will show you the "Create new symbol 'doOtherStuff'" action. However, if you select that all the options are creating another file or a companion object, whereas I wantdoOtherStuff
to be a method.Describe the solution you'd like
I'd like another option to be offered, maybe just "method". And if I select it, the code I'd end up with is:
Describe alternatives you've considered
Doing this by hand
Additional context
No response
Search terms
create method
The text was updated successfully, but these errors were encountered: