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
IntelliJ-like super-completion #291
Comments
Dang! This was my bad I told him to create it. I had no idea this existed. Nice! |
It's kind of hard to notice since we didn't want it popping as the first thing. There was a worry that this might lead to more errors, since we try to fill in a value if there is only one of that type in scope. |
This also sort of requires you to know what the param is. It'd be cool to not have to know and instead trigger a code action with nothing in the params yet and get this as an option. Maybe we can leave this open for the code action option? |
That should fine, sure! |
Thanks all |
Is your feature request related to a problem? Please describe.
When completing its hard to see what the parameters are for constructors or fields. Metals could provide support like Intellij's super completion.
Describe the solution you'd like
For example, given case class
Foo(a: String, b: Int)
, a code action onFoo(<cursor>)
givesFoo(a = ???, b = ???)
Describe alternatives you've considered
Only vim specific hacks but no idea how.
Additional contex
See https://blog.jetbrains.com/idea/2009/09/super-method-completion/
Search terms
super completion action
The text was updated successfully, but these errors were encountered: