From HaskellWiki
Revision as of 00:07, 26 April 2024 by HowardBGolden (talk | contribs) (Add link to Language Server Protocol on Wikipedia)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

haskell-language-server (HLS) is a GHC-oriented implementation of the Language Server Protocol (LSP).


  • Generate explicit import lists
  • Evaluate code in comments with a click
  • Generates class instance stubs[1]


Ghcup can install HLS, but after installation, you'll need to integrate it with an editor. The README.md offers instructions for how to integrate with VSCode/SublimeText/Vim/Neovim/Atom/Emacs. Note that you may also need to add some options in your project configuration. The README also covers that.


In January 2020, Neil Mitchell wrote a blog post announcing the combination of the Haskell IDE and Ghcide teams.[2] Over time, this project became the HLS, which allows it to be used with many IDEs and code editors.