Difference between revisions of "Haskell-language-server"

From HaskellWiki
Jump to navigation Jump to search
(installation section)
(Add link to Language Server Protocol on Wikipedia)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''haskell-language-server''' is a [[Language Server Protocol]]-implementation for GHC.
+
'''haskell-language-server''' (HLS) is a GHC-oriented implementation of the [https://en.wikipedia.org/wiki/Language_Server_Protocol Language Server Protocol] (LSP).
   
 
==Features==
 
==Features==
 
* Generate explicit import lists
 
* Generate explicit import lists
 
* Evaluate code in comments with a click
 
* Evaluate code in comments with a click
  +
* Generates class instance stubs<ref>https://github.com/haskell/haskell-language-server/releases/tag/0.8.0</ref>
   
 
==Installation==
 
==Installation==
[Ghcup https://www.haskell.org/ghcup/] can install the project, but after installation, you'll need to integrate it with an editor. The [README.md https://github.com/haskell/haskell-language-server#configuring-your-editor] offers instructions for how to integrate with VSCode/SublimeText/Vim/Neovim/Atom/Emacs.
+
[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==
In January 2020, [[Neil Mitchell]] wrote a blog post launching the project.<ref>https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-them-all.html</ref>
+
In January 2020, [[User:NeilMitchell|Neil Mitchell]] wrote a blog post announcing the combination of the Haskell IDE and Ghcide teams.<ref>https://neilmitchell.blogspot.com/2020/01/one-haskell-ide-to-rule-them-all.html</ref> Over time, this project became the HLS, which allows it to be used with many IDEs and code editors.
   
 
==References==
 
==References==

Latest revision as of 00:07, 26 April 2024

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
  • Generates class instance stubs[1]

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 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.

References