Skip to content

“Show Type” for holes #40

@kerscher

Description

@kerscher

Since one must have no type or kind errors to show types on expressions,
one recurring pattern I use is to temporarily enable PartialTypeSignatures on the file and then leave holes on the type signatures to let the IDE guide me.

Together with “Show Type” this enables me to quickly scan code on tricky sections.
A minor annoyance is that the type inferred for the hole is only available in the bottom of the screen:

kind-warning

A nice addition IMHO would be to allow “Show Type” on the hole itself, showing the inferred type in the same kind of popup used for other expressions. Is there interest in this? I could take a look on how to add it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions