<div dir="ltr"><div dir="ltr">Am Di., 1. Dez. 2020 um 09:48 Uhr schrieb Joachim Durchholz <<a href="mailto:jo@durchholz.org">jo@durchholz.org</a>>:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm surprised nobody is looking at what's already there.<br></blockquote><div><br></div><div>Well, some time ago I actually did, and it was a slightly frustrating experience: I'm using Spacemacs, and when I had a look last time, the haskell-language-server project was very young, and so was lsp-haskell.el. It took quite some time to read HOWTOs/compile/set up things etc., and the result was a bit underwhelming: Slow, using tons of memory, buggy, etc. Somehow this was to be expected from a new project, nevertheless it was a bit demotivating. Although it had a much smaller feature set, I was much more happy with Intero, it worked basically out-of-the-box. For most other IDEs, setting up a language mode is often just ticking a checkbox or pressing a button in an extension manager.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Haskell does have langserver support, which means it's easy to have a <br>
plugin in any modern IDE that does code completion, cross-referencing, <br>
on-the-fly diagnostics and such.<br></blockquote><div><br></div><div>Unless things have changed dramatically in the last few months, "easy" is definitely not the right word. Using the C++-LSP-Mode in Spacemacs takes a one-liner in the config ("Hey, please use clangd as the LSP backend") and an "apt install clangd" (if you don't have it already on your disk, which is very likely if you do development in C++ on Linux). I had a very different experience with Haskell and LSP.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The more interesting question is: What's missing in the plugins for the <br>
popular IDEs?<br></blockquote><div><br></div><div>You have probably already guessed my wish by now: A better end-user experience for setting up a Haskell IDE. Perhaps I should give haskell-language-server a new try, there seem to be precompiled binaries by now, and the Emacs Lisp part had quite a few fixes. Don't get me wrong: haskell-language-server is a great and important project, it's just that some months ago I wouldn't have recommended it to a newcomer. But this is a general problem in most Open Source projects: In their spare time, programmers like to program new features, not some packaging/deployment stuff, as important as the latter may be. This is probably only something for a person who gets paid to do this, and I'm not sure if there are such people in this project.</div></div></div>