I am trying to use the Ide-Haskell package for an atom, but for some reason it does not work.
Firstly, I have ghc-mod and a stylish haskell installed in the sandboxes under ~/lib/. This is what my file looks like config.cson:
athan@THETA ~> cat ~/.atom/config.cson
'global':
'exception-reporting':
'userId': '3b5a8a6c-7778-b310-6a5f-d8ecc314b30f'
'welcome':
'showOnStartup': false
'core':
'themes': [
'atom-dark-ui'
'seti-syntax'
]
'ide-haskell':
'ghcModPath': '/home/athan/lib/ghc-mod-5.2.1.1/.cabal-sandbox/bin/ghc-mod'
'stylishHaskellPath': '/home/athan/lib/stylish-haskell-0.5.11.0/.cabal-sandbox/bin/stylish-haskell'
'editor':
'fontSize': 14
'showIndentGuide': true
'showInvisibles': true
'softWrapAtPreferredLineLength': true
'invisibles': {}
I tested these paths and they are correct - I can call command --help, etc.
I am currently using linux and not Mac, so I had to add some keyword mappings:
athan@THETA ~> cat ~/.atom/keymap.cson
'.workspace':
'ctrl-alt-o': 'ide-haskell:toggle-output'
'.editor':
'ctrl-alt-s': 'ide-haskell:prettify-file'
These registers are just fine and visible in the ide-haskell settings. However, issuing a keystroke does nothing (it was used to open the file and save - as, respectively).
, , ? ide-haskell, ghc-mod, ... . - , :)