HLS not working in Vscode


I have installed Haskell and HLS from ghcup

and I installed Haskell Extension.
But it is still loading

Unable to use

1 Like

For the first time when you load a project, hls will download all the dependencies and build them and once the build is done, only then will the language server bit of hls will work, till then it will continue.
For better results, what you can do is, open a terminal and do cabal build and you will see around the time the build finishes, your hls will also be up.

That’s what I have observed so far with me using hls and vscode.

4 Likes

It would be great if HLS/VSCode gave some obvious indicator of what is happening.

8 Likes