[Haskell-cafe] IDE-backend + Atom editor
mgsloan at gmail.com
Thu May 14 06:25:41 UTC 2015
I don't know if there's any code around integrating atom and ide-backend.
The new work-in-progress School of Haskell implementation directly uses
ide-backend-client. It turned out to not be very hard to get it working
with GHCJS and using websockets.
In particular, the ide-backend-common package builds with GHCJS! This
is the package which defines the protocol types and serialization instances.
I needed to modify ide-backend-client a bit to allow me to use it with
websockets. Since atom is local, maybe ide-backend-client's default of
using stdin / stdout is fine. However, it might be helpful that my
ide-backend-client branch makes it into a library and allows the caller
to specify actions for sending / receiving messages. The current state of
that branch also requires a special branch of ide-backend.
I'm glad you're interested in this! I'm happy to help out with it!
On Wed, May 13, 2015 at 8:16 AM, JP Moresmau <jpmoresmau at gmail.com> wrote:
> Hello, when the open sourcing of IDE-backend was announced (
> https://www.fpcomplete.com/blog/2015/03/announce-ide-backend), one thing
> mentioned was Atom support, and indeed the home page for the client (
> https://github.com/chrisdone/ide-backend-client) mentions Atom. But is
> there a project out there I can use that brings the two together? The
> ide-haskell (https://atom.io/packages/ide-haskell) Atom plugin still
> relies on ghc-mod as far as I can tell.
> I saw edsko tutorial on writing Atom plugin in Haskell (
> http://edsko.net/2015/02/14/atom-haskell/), so it seem we are
> tentalizingly close to have Atom + Haskell implemented in Haskell, and I'd
> like to give it a go if there's anything available out there (and maybe
> help if needed).
> JP Moresmau
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe