Skip to content

Generate a simple cabal cradle if available #3886

Closed
@fendor

Description

@fendor

Is your enhancement request related to a problem? Please describe.

For a long time, we have been telling users to use

cradle:
  cabal:

if anything fishy is going on with implicit-hie.
Implicit-hie has served its purpose, and will continue to do so for stack cradles, but for cabal, the trivial cradle should work more reliable.

Describe the solution you'd like

If the user uses a cabal version greater than 3.2, then the internally generated cabal cradle should be the trivial one.

Additional context

https://discourse.haskell.org/t/whats-the-current-status-of-hls-cradle-discovery/8254/5

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions