-
-
Notifications
You must be signed in to change notification settings - Fork 391
Code action "Apply all hints" shows everywhere #1341
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
Comments
Hi, not sure if i am understanding it but the screenshots are the behaviour you want to have, no? |
Sorry, my bad, I wasn't being clear. There were two hlint diagnostics in the file. At right places (where the code we want to fix), two code actions populated as expected. But I could always get "Apply all hints" at any point in the file. I recorded a video to show that: out.mp4 |
Oh, i see now, thanks for the clarification, it adds unnecessary noise, yeah |
Your environment
Output of
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
:Which lsp-client do you use:
vscode
Not sure if it's intended, but imo this code action should populate accompanying each single fix, just like the code action for removing all redundant imports. (cc @jneira)
on whitespace:
The text was updated successfully, but these errors were encountered: