Skip to content

Conversation

ericvtheg
Copy link

@ericvtheg ericvtheg commented Sep 1, 2025

Closes: scalameta/metals#7532

  • Treat function apply calls as valid for signatureHelp; stop excluding FunctionN apply.

  • Add tests for implicit/explicit apply; keep skipping tuple applies.

This work was done during the Scala Tooling Spree session with the help of @tgodzik !

- Treat function `apply` calls as valid for signatureHelp; stop excluding FunctionN `apply`.

- Add tests for implicit/explicit apply; keep skipping tuple applies.
@ericvtheg ericvtheg marked this pull request as ready for review September 1, 2025 20:01
@Gedochao Gedochao requested review from rochala and tgodzik September 2, 2025 05:30
Copy link
Contributor

@tgodzik tgodzik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

You will need to adjust SignatureHelpSuite.dont-show-functionN and SignatureHelpSuite.dont-show-functionN2 function, since they not expect an opposite.

@tgodzik
Copy link
Contributor

tgodzik commented Sep 2, 2025

There is also some weirdness around SignatureHelpInterleavingSuite.error but you can also modify that and create an issue for follow up. We should probably show the original signature help there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parameter hints not working for functions
2 participants