Reputation: 1159
I installed atom-haskell packages for syntax coloring, autocompletion and typeinfo but only syntax coloring is working. I installed every dependency (ghc-mod, ghc-modi and hlint). I added paths to dependencies in package haskell-ghc-mod. Everything should be working ... (Project is created via cabal).
EDIT: I dive deeper into into it and I realized that autocompletion depends on ghc-mod browse module command. And when I use this command, it returns nothing. It seems like a bug in ghc-mod for me. Any ideas what to do?
EDIT: this is strange. ghc-mod has working typeinfo, but in Atom, no typeinfo ...
EDIT: cabal version is 1.16.0.2
EDIT: ghc-mod version is 5.3.0.0
EDIT: Interesting. Only thing which is working is coloring ... the rest not works ... It's stupid, after more than 20 years of Haskell development, theres no "usable" IDE for it. I tryed emacs ... again, only coloring ...
Upvotes: 1
Views: 663
Reputation: 86
Don't know if you are still using the ghc-mod version you said you are(version is 5.3.0.0), but in the docs (https://atom.io/packages/haskell-ghc-mod) it explicitly says the following:
Supported ghc-mod versions are from 4.1.0 to 5.2.1.2.
Try to rm and enforce this version.
According to stackage (https://www.stackage.org/package/ghc-mod) your version was published 14-Aug-2015 and the one supported by the atom plugin was published 8 months ago, 2014-12-31 v5.2.1.2.
Upvotes: 1