Luke Lau

Results 58 comments of Luke Lau

Tested this out, only happens on the cabal-helper cradles during https://github.com/haskell/haskell-ide-engine/blob/7e688322a40d91369bd032ea4be977fa405dc41f/hie-plugin-api/Haskell/Ide/Engine/Cradle.hs#L443-L462 Attached test case, remove hie.yaml to see it fail [comperrortest.zip](https://github.com/haskell/haskell-ide-engine/files/3997069/comperrortest.zip)

After some research, it comes down to the fact that in order to get the flags for each component inside a unit, cabal-helper runs `cabal build --only-configure foo`. Which actually...

@Avi-D-coder hie-bios handles it ok when there is an explicit cradle set in `hie.yaml`, this only happens when getting flags via cabal-helper

@alanz could these be `.ghc.environment` files?

Yeah I've noticed this mysterious empty diagnostic too.

I guess that would solve it but I would like to find what exact request to IdeM is taking so long, the delay is in the order of 5-10 seconds

@paulofaria Thanks, apologies for this being such a large PR. I've indeed heard of some of these enum case path libraries, and I'm not opposed to using them at all....

Hi @paulofaria , this branch probably needs readjusted as it has become a catch-all for any tweaks needed for use in https://github.com/minm-inc/swiftui-graphql There’s a few extra validations copied over from...

Also need to figure out how to do versioning, e.g. what happens when a new version of hls is released. Probably best to just see what the other languages are...

I'm taking a quick stab at this. Will report back