[solved] Best IDE for Haskell?

Of nvim, IntelliJ, VsCode, [open to other IDEs too] which one currently has the best IDE support for Haskell ? I have a project that builds with cabal build. The features I care about are, from most to least important, are:

  1. inline showing of all type/compile errors
  2. jump to definition of variable under cursor
  3. show inferred type of variable under cursor
  4. get all refs/usages of variable under curor
  5. rename all refs/usages of variable under cursor

Thanks!

2 Likes

Haskell Language Server is the most extensive IDE engine. I say IDE engine because it supports the language server protocol which means you can use it with visual studio code, vim and emacs (and perhaps other editors too).

It supports 0,1,2,3 of your checklist. Point 4 is not supported yet. And with 1 it should be noted that it can only jump to definitions in the same project.

10 Likes

Why can’t I mark @jaror 's excellent response as solution ?

2 Likes

This is not only a Q&A space, but more like a forum. I have added “[solved]” to the title, that will do!

1 Like

2 posts were split to a new topic: Add “Discourse Solved” plugin