[Haskell-cafe] Haskell, stack and the Atom editor
Thomas Koster
tkoster at gmail.com
Sun Apr 10 02:46:59 UTC 2016
On 9 April 2016 at 17:03, Thomas Koster <tkoster at gmail.com> wrote:
> I want to switch to the Atom editor for my Haskell development. I have tried
> several times over the last few years and given up each time because hardly
> anything works.
>
> At this point I am ready to give up yet again. Does anybody have any
> last-minute advice on using Atom to develop with Haskell and Stack?
On 9 April 2016 at 21:42, Raphael Gaschignard <dasuraga at gmail.com> wrote:
> ide-haskell has recently gotten a slack backend
> (https://atom.io/packages/ide-haskell-stack). Could be worth your time.
> According to the ide-haskell github issue, the support is pretty "bare
> bones"(https://github.com/atom-haskell/ide-haskell/issues/108) but likely
> better than a language-agnostic linter tool
On 10 April 2016 at 01:56, Wojciech Danilo <wojciech.danilo at gmail.com> wrote:
> I'm using Atom for a week for a big commercial Haskell project. It has some
> minuses and the ide-haskell is not the best it could be, but it works better
> than any editor I've been using so far for Haskell development (mainly
> sublime). The type-checking, linting and error displaying inside text-editor
> is almost real-time on modern hardware. I've been not using emacs mostly
> because I prefer the sublime-like style of work. The guys behind ide-haskell
> seem to be pretty active and helpful and they develop it pretty fast. After
> installing everything ide-haskell worked out-of the box for me.
On 10 April 2016 at 05:06, Anton Felix Lorenzen <anfelor at posteo.de> wrote:
> I am using atom with ide-haskell and stack.
> Basically all you need is to load ghc-mod in stack:
>> stack install ghc-mod
>> stack exec atom
>
> It needs some time to build, but then it works really well.
> It has minor issues though:
> - It doesn't lookup, whether an import is legal
> (e.g. if the matching package is installed)
> - You can't trigger a build process inside atom
>
> But aside from that it is fine.
> I can only recommend it.
Thanks Raphael, Wojciech and Anton. I tried out ide-haskell with the
ide-haskell-stack backend. Everything seems to be working well enough
to give it a go for my next project.
However, type-checking, linting and error display inside the editor is
far from real-time for me (never < 1s), but they never were for me, so
I don't think that has anything to do with Atom.
--
Thomas Koster
More information about the Haskell-Cafe
mailing list