-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Give autocomplete suggestions for programmatic structural types #238
Comments
Thanks for reporting! This already works in Scala 2, we should remember to add it to Scala 3 support. |
In mtag/scala2 there are Keyword and Keywords that suggest autocompletion.. Might be a good starting point for Scala 3 support? |
Is this an mtags issue or something that needs to be fixed in Scala 3? Mtags doesn’t do anything custom for structural types iirc. |
I haven't been able to check that exactly, this might well be fixable in the compiler. |
This would be amazing :) If this existed, generating Selectable types at compile-time could be a decent replacement for annotation macros. |
Completions work like this with structural types in Scala 2. I’m not 100% familiar with how Metals uses the Scala 3 compiler but this sounds like a feature that is missing from the compiler, not Metals. |
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Provide refinement values/definitions in autocomplete options
Describe alternatives you've considered
Going without autocomplete is the alternative
Additional contex
No response
Search terms
programmatic structural types autocomplete
The text was updated successfully, but these errors were encountered: