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

Completion in for-comprehensions breaks #5930

Open
KaranAhlawat opened this issue Dec 8, 2023 · 1 comment
Open

Completion in for-comprehensions breaks #5930

KaranAhlawat opened this issue Dec 8, 2023 · 1 comment
Labels
needs more information Use if we need more information for a specific ticket

Comments

@KaranAhlawat
Copy link
Contributor

Describe the bug

When you are writing a for comprehension, after typing the for keyword, you only get completions for the first generatior (<-) line. Afterwords, any meaningful completions stop appearing unless you add a yield keyword with a return value (even ??? works), and then go back to writing the rest of the generators.

Expected behavior

I expect completion to continue working as usual.

Operating system

Linux

Editor/Extension

Emacs (lsp-metals)

Version of Metals

v1.1.0

Extra context or search terms

No response

@tgodzik tgodzik added the needs more information Use if we need more information for a specific ticket label Dec 11, 2023
@tgodzik
Copy link
Contributor

tgodzik commented Dec 11, 2023

Thanks for reporting! As we talked on discord, let us know if you are able to record or create a reliable reproduction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more information Use if we need more information for a specific ticket
Projects
None yet
Development

No branches or pull requests

2 participants