Editors & Tooling
This place describes all the steps needed to get your code editors and other tooling working with IHP. When your favorite code editor is not described here, feel free to add your setup to this list.
Using IHP with Visual Studio Code / VSCode
When using VSCode you need to install a plugin which loads the
.envrc in your project. Otherwise the wrong GHC will be picked up. Take a look at vscode-direnv.
Most likely you want to use haskell-language-server for smart IDE features like autocompletion and jump-to-symbol. This is not working with IHP yet. There is an active issue to implement support for this.
Using IHP with Sublime Text
Works great already out of the box.
Nixfor syntax highlighting of nix files
Direnvto load the
.envrcfile of the project.