I installed ghcup
and:
- Stack 2.9.1
- HLS 1.8.0
- cabal 3.6.2
- GHC 9.2.5
All of them are the recommended versions(I verified it using ghcup tui
). Then I installed the Haskell
extension in VSCode
. Unfortunately, it doesn't work. I get syntax highlighting (from the Haskell Syntax Highlighting
extension, which seems to be automatically installed alongside the Haskell
extension) but there is no Intellisense, no code completion, no error detection and no interactive mode (-->>>
evaluation). I experimented with different folders and haskell files. The filetype is correct, because every time I open a .hs
file, the Haskell extension checks for updates. I even installed Codium
, because I suspected a fault in VSCode
, but it was the same there as well.
The hsl
language server doesn't seem to be working in Neovim, either. I uninstalled ghcup
(ghcup nuke
) and reinstalled again. The result is exactly the same. I prepended the PATH
and chose vanilla and non-vanilla Stack integration in either installations.
Am I doing something wrong?
OS: Linux Mint on Ubuntu 20.04.1
, kernel 5.15.0-56
.