I recently tried haskell-language-server and overall I liked using it. From now on I regularly use it when programming Haskell.
There’s a feature, I do not know if already present, but I’d really like to be able to expand cases. Example:
matchByText :: Node -> Maybe String matchByText s = _
I’d like to set cursor on s, then tell editor to expand this case and retrieve this:
s
matchByText :: Node -> Maybe String matchByText (Element _ _ _) = _ matchByText (Text _) = _
That I could then fill up to my liking.
That feature is advertised in 0.5.0 released a few days ago.
Check out the cool animations! https://github.com/haskell/haskell-language-server/releases/tag/0.5.0
Then it goes to install right away!
Now I’m just wondering how do I access the case splitting from LanguageClient-neovim plugin?
I believe that’s one of the features mentioned in this article as something that’s coming.
I recently tried haskell-language-server and overall I liked using it. From now on I regularly use it when programming Haskell.
There’s a feature, I do not know if already present, but I’d really like to be able to expand cases. Example:
I’d like to set cursor on
s
, then tell editor to expand this case and retrieve this:That I could then fill up to my liking.
That feature is advertised in 0.5.0 released a few days ago.
Check out the cool animations! https://github.com/haskell/haskell-language-server/releases/tag/0.5.0
Then it goes to install right away!
Now I’m just wondering how do I access the case splitting from LanguageClient-neovim plugin?
I believe that’s one of the features mentioned in this article as something that’s coming.