ghcide 0.4.0 release! - Haskell

Welcome to the Functional Programming Zulip Chat Archive. You can join the chat here.

Torsten Schmits

gotta say, it looks like the initial phase of instability is gonna be over soon!

Torsten Schmits

also very exited for @Sandy Maguire's code generation feature

Joel McCracken

so is haskell-language-server the long term project but ghcide is still getting minor features?

Joel McCracken

I am unsure how that all fits together

Torsten Schmits

ghcide is the core of hls

Sridhar Ratnakumar

you can see that ghcide is a git submodule in the hls repo

Joel McCracken

so if i wanted to try a haskell IDE today, which one should I pick?

Torsten Schmits

it might be a bit harder to install if you're using nix and don't know how to do it manually

Joel McCracken

thanks! I am planning on using nix for it but I'll try a few things

Torsten Schmits

(unless you're using vscode, I think that should work via their store or something)

Torsten Schmits

if you need inspiration, here's my derivation: https://github.com/tek/tryp-hs/blob/master/hls.nix

Development utilities for Haskell projects with Nix build - tek/tryp-hs
Joel McCracken

oh thanks, i will probably steal this when the time comes

Torsten Schmits

btw, it is highly recommend to write a hie-bios cradle file as described in the readme: https://hackage.haskell.org/package/hie-bios

but it might just work out of the box

Georgi Lyubenov // googleson78

but if you don't want to literally write one - https://github.com/Avi-D-coder/implicit-hie

Auto generate a stack or cabal multi component hie.yaml file - Avi-D-coder/implicit-hie
Torsten Schmits

Torsten Schmits said:

also very exited for Sandy Maguire's code generation feature

it's merged! just tried it out, great work!

Sridhar Ratnakumar

hls and ghcide are already in nixpkgs. nix-shell -p haskellPackages.haskell-language-server

Sridhar Ratnakumar

that's how neuron's nix-shell setup its 0-config dev env.