Haskell-language-server: Difference between revisions
m (Reorder lead sentence to avoid ambiguity due to the nonexistence of the linked LSP article.) |
(→Features: can now generate class instance stubs) |
||
Line 4: | Line 4: | ||
* 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== |
Revision as of 22:18, 7 January 2021
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 launching the project.[2]