ide-haskell-cabal package provides a build backend for
package based on
It supports easy switching between multiple versions of GHC by having a set of configuration settings for each version of GHC, plus a drop-down box to pick a GHC version. For each GHC version you can specify:
--builddirparameter). This defaults to
It also provides support for
ide-haskell’s build target selection by reading and parsing the
.cabal file and extracting the available targets (it uses a thin
ghcjs-compiled wrapper around the
Cabal library to read the
Ide-Haskell-Cabal comes with little pre-specified keybindings, so you will need to specify your own, if you want those.
You can edit Atom keybindings by opening Edit → Keymap…. Here is a template for all commands, provided by ide-haskell-cabal:
'atom-workspace': '': 'ide-haskell-cabal:build' '': 'ide-haskell-cabal:clean' '': 'ide-haskell-cabal:test' '': 'ide-haskell-cabal:bench' '': 'ide-haskell-cabal:build-dependencies' '': 'ide-haskell-cabal:set-build-target' '': 'ide-haskell-cabal:set-active-builder'