Skip to content

Improved fill hole suggestions  #883

Closed
haskell/ghcide
#748
@pepeiborra

Description

@pepeiborra

A lot of work has gone into making GHC able to produce suggestions and the current code action falls short of making the most of it. The possibilities include:

  • Should it use -fshow-hole-constraints to make added constraints explicit?
  • Should it use -fshow-docs-of-hole-fits to show the docs of the suggestion?
  • Should it use -frefinement-level-hole-fits=1 to show almost-valid fits?
  • Should it use -fsort-by-subsumption-hole-fits ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions