Difference between revisions of "Haskell-language-server"

From HaskellWiki
Jump to: navigation, search
(introduce HLS abbreviation)
m (Reorder lead sentence to avoid ambiguity due to the nonexistence of the linked LSP article.)
Line 1: Line 1:
'''haskell-language-server''' (HLS) is a [[Language Server Protocol]]-implementation for GHC.
+
'''haskell-language-server''' (HLS) is a GHC-oriented implementation of the [[Language Server Protocol]] (LSP).
   
 
==Features==
 
==Features==

Revision as of 03:18, 25 December 2020

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

Features

  • Generate explicit import lists
  • Evaluate code in comments with a click

Installation

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.

History

In January 2020, Neil Mitchell wrote a blog post launching the project.[1]

References

  1. https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-them-all.html