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

Pervasive Duplication in VSCode Extension #4461

Open
wenkokke opened this issue Dec 5, 2024 · 3 comments
Open

Pervasive Duplication in VSCode Extension #4461

wenkokke opened this issue Dec 5, 2024 · 3 comments
Labels
type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..

Comments

@wenkokke
Copy link

wenkokke commented Dec 5, 2024

Your environment

Which OS do you use?
MacOS Ventura (13.7)

Which version of GHC do you use and how did you install it?
GHC versions from the 9.4, 9.6, and 9.8 series installed via ghcup.

How is your project built (alternative: link to the project)?
Various projects built using Cabal.

Which LSP client (editor/plugin) do you use?
VSCode and VSCodium with haskell.haskell.

Which version of HLS do you use and how did you install it?
HLS version 2.9.0.1 installed via ghcup.

Have you configured HLS in any way (especially: a hie.yaml file)?
Various projects with and without hie.yaml files.
Consistently configured to discover GHC and other tools via the PATH.

Observed behaviour

The VSCode language extension for Haskell pervasively duplicates responses. This manifests in various ways:

Unfortunately, the issue does not always happen. However, I can attest that it is not exclusively triggered by opening out-of-workspace files—which I don't generally do—or opening multiple workspaces concurrently—which I do often do.

Steps to reproduce

I do not currently have a way to reproduce the behaviour, but can look into this once we hone in on a particular issue.

NOTE: I am opening this issue now, but I'll continue to add evidence as I gather it.

@wenkokke wenkokke added status: needs triage type: bug Something isn't right: doesn't work as intended, documentation is missing/outdated, etc.. labels Dec 5, 2024
@fendor
Copy link
Collaborator

fendor commented Dec 5, 2024

Thank you for opening this issue!

We additionally track this issue in haskell/vscode-haskell#480

@wenkokke
Copy link
Author

wenkokke commented Dec 5, 2024

Thank you for opening this issue!

We additionally track this issue in haskell/vscode-haskell#480

Yes, I believe they're likely related. However, I didn't see my observations of duplicate suggestions and overlapping instance errors reproduced there, so I opened a new issue.

@fendor
Copy link
Collaborator

fendor commented Dec 5, 2024

Overlapping Instance errors pointing to the same instance twice.

That's a different issue #3694, I don't think that's part of the duplication issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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