I just made a cabal init
, and then did code .
and it tis taking 30 mins
I just ran cabal init
, and then did emacs .
and it took around 4 seconds.
This is a fun game.
4 Likes
Did you use Eglot(LSP client) ?
It takes HLS this much time
That is odd. What happens if you run haskell-language-server
on the command line, or cabal build
?
I think this issue only occurs when I open the project for the first time
Is it reproducible, i.e. does the same thing happen with every new project?
I think it’s likely due to cabal needs to build all the dependencies. Perhaps try to build the project and wait it finish, before opening in the IDE?
2 Likes
But how come building a few libs take more than 2 mins ?? Is Cabal slow ??