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

Semantic snippets: cw snippet is not offered after lambda's arrow #72266

Closed
DoctorKrolic opened this issue Feb 24, 2024 · 0 comments · Fixed by #73706
Closed

Semantic snippets: cw snippet is not offered after lambda's arrow #72266

DoctorKrolic opened this issue Feb 24, 2024 · 0 comments · Fixed by #73706
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@DoctorKrolic
Copy link
Contributor

Version Used:
Latest main

Steps to Reproduce:

M(() => $$);

void M(Action a)
{
}

Invoke completions at $$

Expected Behavior:
cw snippet is in the list

Actual Behavior:
It is not, even though Console.WriteLine() is fully legal there

Note, that this problem is cw snippet only. Other statement snippets like if, while, for etc. are not valid in this context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant