haskell-language-server is a Language Server Protocol-implementation for GHC.
- Generate explicit import lists
- Evaluate code in comments with a click
Ghcup can install the project, 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.