on b448af5 help sign in

A library for building Haskell IDE tooling

git clone ssh://git.iko.soy/ghcide

Haskell IDE Core

Our vision is that you should build an IDE by combining:

There are more details in this blog post.

How to use it

Installing the binary

  1. git clone https://github.com/digital-asset/daml.git
  2. cd daml/compiler/hie-core
  3. stack build

Installing the VSCode extension

  1. cd compiler/hie-core/extension
  2. npm ci
  3. vsce package
  4. code --install-extension hie-core-0.0.1.vsix

Installing in Emacs

  1. Install lsp and haskell-lsp
  2. Add this elisp to your .emacs.el
(require 'lsp)
(require 'lsp-haskell)
(require 'yasnippet)
(add-hook 'haskell-mode-hook #'lsp)
(setq lsp-haskell-process-path-hie "hie-core")
(setq lsp-haskell-process-args-hie '())