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

Unwanted Completions in Comments #4330

Closed
wgledbetter opened this issue Jun 20, 2024 · 1 comment
Closed

Unwanted Completions in Comments #4330

wgledbetter opened this issue Jun 20, 2024 · 1 comment
Labels
status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@wgledbetter
Copy link

Summary

If I'm typing comments, code completion suggestions are irrelevant and frustrating.

Environment

  • VSCode 1.90.2
  • vscode-haskell v2.4.4
    • HLS managed via GHCup

Problem Description

The Haskell > Plugin > Ghcide-completions plugin is too enthusiastic about providing completion suggestions. Any time I'm typing a comment and follow a non-space character with a period, a list of suggestions pops up. Usually, in a comment, I'm ending sentences with periods and hit Enter to go to a new line, but instead, the first suggestion will be inserted and I have to backtrack and remove it.

This is obviously a minor issue, but it is consistently frustrating. I am aware of VSCode's Debug > Console: Accept Suggestion on Enter option, and yes, this problem could be avoided by disabling it, but I feel like I shouldn't be getting suggestions in a comment in the first place.

Example

Repo: https://github.com/wgledbetter/hls-issue

image

@wgledbetter wgledbetter added status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. labels Jun 20, 2024
@michaelpj
Copy link
Collaborator

Duplicate: #2292

@michaelpj michaelpj closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Projects
None yet
Development

No branches or pull requests

2 participants