vscode-haskell
vscode-haskell copied to clipboard
language server restarting is always very slow on MacOS 2.6 GHz 6-Core Intel Core i7
Anyone else on other OS having the same problems?
It takes like 1 minute+ to restart everything..
Is there a way to fix this? What is the bottleneck?
On startup, we need to find the GHC version and compilation arguments used to compile your project. In cabal projects, this involves a number of cabal exec and cabal repl calls. In big projects, cabal can take a couple of seconds per command.
And then HLS itself has to compile your project for many IDE features.
In short, it very much depends on the size of your project and how you compile it.