-
Notifications
You must be signed in to change notification settings - Fork 95
Integrate HLint plugin #104
Comments
I think this should be a |
The executable should technically be able to depend on a Leaving that aside there is also a technical issue here: For GHC < 8.8, I see 3 solutions:
2 sounds like asking for trouble and requires us to maintain different code for older GHCs which I’d like to avoid. 1 would be nice from a user standpoint but could potentially require a lot of work so I’d be tempted to just go with 3. |
Happy for HLint to use GHC on 8.8. Might cause some issues for @shayne-fletcher-da who needs to build HLint against GHC HEAD? I'd suggest option 2, just reparse only on older GHC. By using the right extensions (which we have available), taking it after the preprocessor (which is the most fragile phase) and ignoring parse errors (which we know are spurious) we should be able to do a pretty good job. |
I think this would be a feature of https://github.com/haskell/ide, as per https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-them-all.html |
One way to workaround and use
|
We are working on getting both of these integrated into haskell-language-server. My hope is that we get some GSOC muscle thrown at it, and have something usable by the end of (northern) summer. |
Thanks @alanz. I'm looking forward to the integration :) I'm currently switching a lot between |
hlint plugin is being integrating in hls (with its own issue there): haskell/haskell-language-server#166 |
Integrate HLint into the IDE "loop".
The text was updated successfully, but these errors were encountered: