<div dir="ltr">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.</div><br><div class="gmail_quote"><div dir="ltr">sob., 9.04.2016 o 13:42 użytkownik Raphael Gaschignard <<a href="mailto:dasuraga@gmail.com">dasuraga@gmail.com</a>> napisał:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><p>ide-haskell has recently gotten a slack backend (<a href="https://atom.io/packages/ide-haskell-stack" target="_blank">https://atom.io/packages/ide-haskell-stack</a>). Could be worth your time. According to the ide-haskell github issue, the support is pretty "bare bones"(<a href="https://github.com/atom-haskell/ide-haskell/issues/108" target="_blank">https://github.com/atom-haskell/ide-haskell/issues/108</a>) but likely better than a language-agnostic linter tool</p></div><div dir="ltr">
<br><div class="gmail_quote"><div dir="ltr">On Sat, Apr 9, 2016, 6:58 PM Benjamin Edwards <<a href="mailto:edwards.benj@gmail.com" target="_blank">edwards.benj@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><span style="line-height:19.5px">> I can't stand Emacs so don't bother suggesting it.</span><br><div><span style="line-height:19.5px"><br></span></div></div><div dir="ltr"><div><span style="line-height:19.5px">I guess you'll be happy to get all this stuff working on atom yourself like the good folks working on emacs have.</span></div><div><span style="line-height:19.5px"><br></span></div><div><span style="line-height:19.5px">Ben</span></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, 9 Apr 2016 at 08:03 Thomas Koster <<a href="mailto:tkoster@gmail.com" target="_blank">tkoster@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi friends,</div><div><br></div><div>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.</div><div><br></div><div>I can't stand Emacs so don't bother suggesting it.</div><div><br></div><div>I am currently using Geany, which has served me well, mostly because it is dead simple so nothing can go wrong. In addition to the usual universal text editor functions, all it does is highlight syntax (albeit with an outdated grammar), runs custom commands to build, displays clickable errors in a separate pane and underlines them in the editor pane. But for larger projects, I want more (better autocompletion, better integration with the build system, better VCS support).</div><div><br></div><div>But back to Atom, I am having extreme difficulty getting even the basics working.</div><div><br></div><div>I am using GHC 7.10.2, Cabal 1.22.4.0, Stack 1.0.4.</div><div><br></div><div>I installed Atom 1.6.1 from their deb package.</div><div><br></div><div>I installed the "language-haskell" package. This works very well, thankfully, but is the *only* thing that I can get working.</div><div><br></div><div>I avoided "ide-haskell", even though it looks great, because their readme says it can't build with stack and I rely heavily on stack.</div><div><br></div><div>Instead, I installed the "build" and "linter" packages and created an ".atom-build" file to build my project with stack. It invokes stack correctly, but I can't get it to recognise any errors: linter always says "No issues". I must have tried twenty different regexes in "errorMatch" but none of them seem to work.</div><div><br></div><div>I also installed "linter-hdevtools", hoping that that may let me see some errors, but I can't get that to work either. The package is loaded but it appears to do absolutely nothing. strace does show that Atom is trying to exec hdevtools through stack, but I get no output at all within Atom as evidence that something worked or failed.</div><div><br></div><div>hdevtools appears to have its own problems. I had installed hdevtools (0.1.2.1) with stack:</div><div> stack install hdevtools</div><div>I ran it myself using:</div><div> stack exec --no-ghc-package-path hdevtools -- check Main.hs</div><div>and it gives me the infamous error:</div><div> Cabal error: Use of GHC's environment variable GHC_PACKAGE_PATH is </div><div> incompatible with Cabal.</div><div>This is strange because "stack exec --no-ghc-package-path env" reports that no such environment variable is defined, as expected.</div><div><br></div><div>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?</div><div><br></div><div>Thanks,</div><div>Thomas Koster</div></div></div><div><br></div></div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div></div>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div>