Haskell-language-server: Difference between revisions

From HaskellWiki
(→‎Installation: project config also needed, markup fixes)
(introduce HLS abbreviation)
Line 1: Line 1:
'''haskell-language-server''' is a [[Language Server Protocol]]-implementation for GHC.
'''haskell-language-server''' (HLS) is a [[Language Server Protocol]]-implementation for GHC.


==Features==
==Features==
Line 6: Line 6:


==Installation==
==Installation==
[https://www.haskell.org/ghcup/ Ghcup] can install the project, but after installation, you'll need to integrate it with an editor. The [https://github.com/haskell/haskell-language-server#configuring-your-editor 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.
[https://www.haskell.org/ghcup/ Ghcup] can install HLS, but after installation, you'll need to integrate it with an editor. The [https://github.com/haskell/haskell-language-server#configuring-your-editor 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==
==History==

Revision as of 20:08, 9 December 2020

haskell-language-server (HLS) is a Language Server Protocol-implementation for GHC.

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