-
Notifications
You must be signed in to change notification settings - Fork 90
Applying HLint Suggestions does not work at all #61
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
hlint itself doesn't support refactorings for the "Eta reduce" warning (ndmitchell/hlint#253). What I think https://github.com/haskell/haskell-ide-engine could do is not suggest unsupported refactorings in reply to the (Some background: microsoft/language-server-protocol#394, codeAction specification) Note that some improvements were made in the area of applying hints very recently in haskell/haskell-ide-engine#533 |
I guess that we could either filter this diagnostic out on HIE side or maybe it would be possible to supply hlint config to suppress this suggestion... project-local |
HLint now supports eta reduce refactoring (ndmitchell/hlint#1085). |
@zenVentzi thanks for reporting the error. iiuc some refactorings work and others don't, right? |
this log is for the Eta reduce not working
this log is for Fold not working |
Hi, thanks for share the log. Within it we can check the root error: |
Hi,
I saw #33 but in my case applying hlint suggestions does not work at all.


And this is the output (note the Nothing for _documentChanges)
I use the latest versions of vscode insiders, hie server and engine.
Thanks!
The text was updated successfully, but these errors were encountered: