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

Prevent completion within comments #66

Conversation

the-mikedavis
Copy link
Contributor

This matches rust-analyzer's behavior in comments: completions are avoided completely. Ocassionally the completions can be useful (for example completing a parameter while writing docs for a function) but on balance I think the completions are noisier than they are helpful. Maybe there's room in the long run to be smarter about completions in comments (similar to rust-analyzer#4170) but without that I think it's better to avoid completions in comments entirely.

@facebook-github-bot
Copy link
Contributor

@robertoaloi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@robertoaloi
Copy link
Contributor

It makes sense to me, thanks for the contribution!

@facebook-github-bot
Copy link
Contributor

@robertoaloi merged this pull request in a9170fd.

@the-mikedavis the-mikedavis deleted the md/no-completion-in-comments branch November 21, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants