.hs
/.lhs
files, ghc must be installed and on the PATH. The easiest way to install it is with ghcup or Chocolatey on Windows.~
, ${HOME}
and ${home}
will be expanded into your users' home folder.${workspaceFolder}
and ${workspaceRoot}
will expand into your current project root.-haddock
GHC flag.~/.cabal/config
):cabal configure --ghc-options=-haddock
$STACK_ROOTconfig.yaml
, or project's stack.yaml
:haskell-language-server
binaries to a specific location depending on your system. If you find yourself running out of disk space, you can try deleting old versions of language servers in this directory. The extension will redownload them, no strings attached.Platform | Path |
---|---|
macOS | ~/Library/Application Support/Code/User/globalStorage/haskell.haskell/ |
Windows | %APPDATA%CodeUserglobalStoragehaskell.haskell |
Linux | $HOME/.config/Code/User/globalStorage/haskell.haskell |
haskell-language-server-wrapper
/haskell-language-server
is already on the PATH, then the extension will launch it directly instead of downloading binaries.haskell-language-server
for. Building from source may support more versions!GHC | Linux | macOS | Windows |
---|---|---|---|
8.10.2 | ✓ | ✓ | ✓ |
8.10.1 | ✓ | ✓ | ✓ |
8.8.4 | ✓ | ✓ | ✓ |
8.8.3 | ✓ | ✓ | ✓ |
8.8.2 | ✓ | ✓ | |
8.6.5 | ✓ | ✓ | ✓ |
8.6.4 | ✓ | ✓ | ✓ |
Haskell
and choose Configure Extensions Settings
Language Server Haskell › Trace: Server
and set it to verbose
View -> Output
(Ctrl + Shift + U
)Haskell