Skip to content

Include locations in inlay hint labelparts #2803

@Davidyz

Description

@Davidyz

It'd be nice to have locations in the inlayhint labelparts. The location can be used to jump to the definition of the type or show a hover (docstring of the original type, instead of the instance/variable). Pyrefly has implemented this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    serverRelated to the LSP server

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions