Install stack: curl -sSL https://get.haskellstack.org/ | sh (ref)
- Download and install the latest beta version of plugin IntelliJ-Haskell. You can do so by adding https://plugins.jetbrains.com/plugins/alpha/8258 to you IntelliJ's customer plugin repository list.
- Menu "File" -> "New" -> "Import Project from Existing Source".
- First time you run it takes a long time to fetch all dependencies.
- If plugin doesn't work properly enable "Haskell Log" in your "Event Log" window.
- Create sample project from
simpletemplate usingstack new demo01 simple - Go in project root.
Fetch dependencies and appropriate GHC using
stack setupBuild executable output usingstack build - Aside from
simpletemplate you can use stack-templates.