Skip to content

Add ghcide configuration files

Matthew Pickering requested to merge wip/ghcide-support into master

This commit adds two new files

  1. A hie.yaml file to the project root which specifies to IDEs how to set up the correct environment for loading GHC. This currently specifies to call the ./hadrian/hie-bios script.
  2. The ./hadrian/hie-bios script which supplies the correct arguments for an IDE to start a session.

With these two files it is possible to run

ghcide compiler/

and successfully load all the modules for use in the IDE.

Also related to https://github.com/alpmestan/ghc.nix/pull/46

Closes #17194 (closed)

Merge request reports