-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
add lambda completion for positional arguments #40202
Comments
SOMEONE GIVE AN OSCAR TO THIS GUY |
One suggestion, if there is only one parameter, why not just call it |
Hey @shinayser, there's actually an existing language issue for that: dart-lang/language#265 |
@shinayser: I like the idea of (at least) abbreviating the param name (e.g., fyi @devoncarew @InMatrix @bwilkerson (as this pertains to an ongoing discussion around "personalized completions"). |
@pq Instead of trying to figure out what is the best case, isn't possible to leave that choice to the user?
|
This is exactly one of the ideas up for discussion. (See #40207 for a little more conversation.) Thanks for chiming in! |
@pq I don't know if the problem is on my environment, but I am receiving no completion suggestions for optional positional arguments, like: It should suggest My sdk version is: |
Ah, yes. Confirmed. This is a slightly different issue (with a different solution) than the cases above but for sure something we should support. @shinayser: would you mind opening a fresh issue and cc'ing me? Thanks! |
Tracking issue for positional argument support for function body completion; follow-up from #25267.
The text was updated successfully, but these errors were encountered: