haskell-ide-engine icon indicating copy to clipboard operation
haskell-ide-engine copied to clipboard

Code completion is not always instantaneous

Open lukel97 opened this issue 5 years ago • 4 comments

Currently there are times where a code completion request takes some time to return, even if the module is already cached. I think this may be because IdeM is getting blocked by some long-running request.

lukel97 avatar Sep 16 '18 14:09 lukel97

Would the solution be running the completions in a separate thread?

lorenzo avatar Sep 16 '18 14:09 lorenzo

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

lukel97 avatar Sep 16 '18 15:09 lukel97

Is this still a problem?

alanz avatar Dec 24 '18 14:12 alanz

I think I'm seeing the problem with HIE 1.0.0, GHC 8.6.5, Neovim 0.4.3, Neovim-LanguageClient. It freezes the editor for several seconds, but I cannot find a pattern: sometimes HIE works with no problems at all, sometimes it shows the issue immediately, sometimes it appears after a while. I may try to debug it, but I don't know where or how to start

tssm avatar Jan 30 '20 18:01 tssm