Skip to content

Type hovers should contain more precise information #13059

Open
@jonas-schievink

Description

@jonas-schievink

Hovering over v:

Screenshot_20220819_021016

Hovering over its type inlay hint:
Screenshot_20220819_021025

When hovering over a variable, the Global link should (probably? it seems confusing) be omitted, since it is the default also omitted from the type.

When hovering over a type inlay hint, links should be inserted just like we do for variable hovers, and defaulted types like Global should be omitted (seems like an opportunity to deduplicate some code too).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-hoverhover featureA-inlay-hintsinlay/inline hintsC-enhancementCategory: enhancementS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions