<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Maybe we can just remove those lines now. :-)<br>
</p>
<div class="moz-cite-prefix">On 26/07/2019 11:36, Sebastian Graf
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAAS+=P-cYKAJ7oC==Zc-9wWAQDGDPN36GLSR417WKscqBgSteg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hey all,</div>
<div><br>
</div>
<div>What can I say, after few hours of on and off tinkering I
got it to work!</div>
<div>The hover information is incredibly helpful, as is jump to
definition. It works even in modules with type and name
errors!</div>
<div>The error information not so much (yet), at least not
compared to the shorter feedback loop of using ghcid.</div>
<div>Haven't used completions in anger yet, but it works quite
well when fooling around with it.</div>
<div><br>
</div>
<div>Great work, Zubin and Matthew! :)</div>
<div><br>
</div>
<div>As to my setup: I'm using VSCode Remote, so the language
server will run on my build VM which VSCode communicates with
via SSH.</div>
<div>I'm using nix+home-manager to manage my configuration over
there, so I had to wrap the hie executable with the following
script:</div>
<div><br>
</div>
<div>#! /usr/bin/env bash<br>
. /etc/profile.d/nix.sh<br>
nix-shell --pure /path/to/ghc.nix/ --run
/path/to/haskell-ide-engine/dist-newstyle/build/x86_64-linux/ghc-8.6.4/haskell-ide-engine-1.0.0.0/x/hie/build/hie/hie</div>
<div><br>
</div>
<div>Also the shellHook echo output from ghc.nix confuses the
language server protocol, so be sure to delete those 4 lines
from ghc.nix/default.nix.<br>
</div>
<div><br>
</div>
<div>It takes quite a while to initialise the first time around.
Be sure to look at the output of the alanz.vscode-hie-server
extension to see if there's any progress being made.</div>
<div>Can only encourage you to try this out!</div>
<div><br>
</div>
<div>Best,</div>
<div>Sebastian<br>
</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Am Do., 25. Juli 2019 um
12:21 Uhr schrieb Matthew Pickering <<a
href="mailto:matthewtpickering@gmail.com"
moz-do-not-send="true">matthewtpickering@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi
all,<br>
<br>
As some of you know I have been working on getting
haskell-ide-engine<br>
working on GHC for the last few months. Perhaps now the branch
is in a<br>
usable state where people can try it and report issues. All
the basic<br>
features such as, hover, completion, error reporting, go to
definition<br>
etc should work well. I suspect this will be enough for most<br>
developers.<br>
<br>
I have compiled a list of instructions about how to try out
the branch.<br>
<br>
<a
href="https://gist.github.com/mpickering/68ae458d2c426a29a7c1ddf798dbc793"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://gist.github.com/mpickering/68ae458d2c426a29a7c1ddf798dbc793</a><br>
<br>
In the last few weeks Zubin has been a great help finishing
some parts<br>
of the patch that I lost steam for and given it a much better
chance<br>
of getting merged into the main repo before the end of the
year.<br>
<br>
Cheers,<br>
<br>
Matt<br>
_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org" target="_blank"
moz-do-not-send="true">ghc-devs@haskell.org</a><br>
<a
href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ghc-devs mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a>
<a class="moz-txt-link-freetext" href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Alp Mestanogullari, Haskell Consultant
Well-Typed LLP, <a class="moz-txt-link-freetext" href="https://www.well-typed.com/">https://www.well-typed.com/</a>
Registered in England and Wales, OC335890
118 Wymering Mansions, Wymering Road, London, W9 2NF, England</pre>
</body>
</html>