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

Code actions are duplicated 4x #1178

Open
andreasabel opened this issue Dec 9, 2024 · 4 comments
Open

Code actions are duplicated 4x #1178

andreasabel opened this issue Dec 9, 2024 · 4 comments

Comments

@andreasabel
Copy link
Member

Screenshot 2024-12-09 at 15 55 02

Maybe nub before displaying?
How am I supposed to choose out of a list of 4 identical things? (Or, if they are not identical, why display them as identical?)

@fendor
Copy link
Collaborator

fendor commented Dec 9, 2024

This looks like the manifestation of haskell/haskell-language-server#4461

Do you have instructions to reproduce this issue?

@andreasabel
Copy link
Member Author

This looks like the manifestation of haskell/haskell-language-server#4461

Yes looks similar enough.

Do you have instructions to reproduce these issue?

Mmh, no.
Also because I clicked on "Ignore hint".
Btw, what happens if I "Ignore hint"? I would have expected some .hlint.yaml file is created in the project root where I can then find my ignored hints. But there is no such file. Where do such settings go?

Are there log files that I could attach to this issue?

@fendor
Copy link
Collaborator

fendor commented Dec 9, 2024

Btw, what happens if I "Ignore hint"? I would have expected some .hlint.yaml file is created in the project root where I can then find my ignored hints. But there is no such file. Where do such settings go?

I think by default, hlint adds some pragma to the top of the file.

Are there log files that I could attach to this issue?

Not by default, no, you'd need to run your Language server with the log-file cli option.

@andreasabel
Copy link
Member Author

I think by default, hlint adds some pragma to the top of the file.

Ah, indeed, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants