scalameta / metals-feature-requests

Issue tracker for Metals feature requests
37 stars 4 forks source link

Show decorations for by name parameters #377

Open tgodzik opened 8 months ago

tgodzik commented 8 months ago

Is your feature request related to a problem? Please describe.

When parameters are by name it's not possible to see it at invocation site. This is important information and would be worth showing it properly.

Describe the solution you'd like

Very quick idea would be to show additional => with hover saying it's a byname parameter.

Describe alternatives you've considered

Checking signature help would also have the same information

Additional context

No response

Search terms

by name parameter decoration

tgodzik commented 8 months ago

@odersky I opened an issue so that we don't forget about the feature you mentioned.