Skip to content
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

Annoying auto-complete behavior #1951

Open
disarray2077 opened this issue Apr 14, 2024 · 1 comment
Open

Annoying auto-complete behavior #1951

disarray2077 opened this issue Apr 14, 2024 · 1 comment

Comments

@disarray2077
Copy link
Contributor

disarray2077 commented Apr 14, 2024

Auto-complete has this annoying behavior that triggers an auto-complete while you're trying to write parameters in a lambda expression. This doesn't happen if you make it explicit that you want to create a delegate (e.g., by prepending scope or new), but in the case below, I want to make a method reference.

annoying.mp4

Tested with: 2168fb6

@bfiete
Copy link
Collaborator

bfiete commented Apr 27, 2024

Yeah, that is annoying. I don't see a really good solution, though. At that point it looks like you're performing a cast...

I would say that you could disambiguate by providing a capture specifier like [](i) => instead of just the (i) => but capture specifiers don't currently parse on method references.

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

No branches or pull requests

2 participants