github haskell/haskell-language-server 0.2.1

latest releases: 2.12.0.0, 2.11.0.0, 2.10.0.0...
5 years ago

This release includes a new eval plugin that allows Haddock code examples to be evaluated through a code lens. For example, the code below will now offer to evaluate intercalate " " example, and will insert the output in the line below.

example :: [String]
example = ["This is an example", "of", "interactive", "evaluation"]

-- >>> intercalate " " example
-- "This is an example of interactive evaluation"
--

Eval plugin

This is also the first release to have binaries distributed alongside it. Some behind the scene changes include the GHC library directory now being obtained on the fly, so either ghc, cabal or stack will need to be present on your PATH depending on your project. See docs/releases.md for more information. If you find any issues with this, please let us know! The binaries should be available to download from this release.

Pull requests merged

Don't miss a new haskell-language-server release

NewReleases is sending notifications on new releases.