-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Description
Is your feature request related to a problem? Please describe.
With code like:
def easyMethod(boolParam: Boolean) = ???
easyMethod(true)
it would be good to show name of the parameter so that we see:
easyMethod(boolParam = true)
The same should probably apply to Int, Double, Float.
Describe the solution you'd like
We should be able to achieve it via decorations, similar to how we do it in case of type decorations. The main difficulty here is making sure the we don't search for the name each time a request is made, since there might a larger number of methods and we load decorations for the entire file at the same time.
Describe alternatives you've considered
Writing it manually always.
Additional context
This is a follow up from #21
Search terms:
named parameters decorations inferred information
vishalovercome, dgalichet, tanishiking, MateuszKubuszok, mwz and 3 more
Metadata
Metadata
Assignees
Labels
No labels