on 210de4e 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

Let's assume you want to load the haskell-ide-core source code in a VS Code IDE.

  1. git clone https://github.com/digital-asset/daml.git
  2. cd compiler/haskell-ide-core
  3. stack build
  4. cd extension
  5. npm install
  6. code .
  7. Press F5 to start the extension.
  8. In the spawned extension, open the folder haskell-ide-core.
  9. In the preferences, set the Haskell IDE Core executable preference to stack and the arguments to exec -- ide-demo --ide .ghci
  10. Run the Reload Window command in VS Code.

Now you should have a working IDE dealing with itself.

Installing the IDE permanently

  1. cd compiler/haskell-ide-core/extension
  2. vsce package
  3. code --install-extension haskell-ide-core-0.0.1.vsix