Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use implicit-hie cradle for multi cradle config #874

Closed
Avi-D-coder opened this issue Jun 21, 2020 · 1 comment
Closed

Use implicit-hie cradle for multi cradle config #874

Avi-D-coder opened this issue Jun 21, 2020 · 1 comment

Comments

@Avi-D-coder
Copy link
Collaborator

People routinely get confused when writing a hie.yaml. implicit-hie can generate correct hie.yaml files or in this case hie-bios Cradles for almost all stack and cabal projects. It's failures are graceful; ghcide will still work on most files, and where it does not the hie-bios no cradle matched error message is decipherable.

It has very few dependencies, in the future it may use cabal-parsers to handle common stanzas and conditionals, but this dependency would be behind a flag if ghcide uses implicit-hie.

This is the exact same issue as #138 and #38, but for ghcide.

@ndmitchell
Copy link
Collaborator

Over time the plan is to tell more and more people to use HLS, and consider Ghcide to be a dependency to that. I'd be inclined to update the docs to suggest running implicit-hie manually for users, and to suggest using HLS, but keep Ghcide more "pure". However, that's just my view, others may feel differently.

@pepeiborra pepeiborra transferred this issue from haskell/ghcide Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants