Skip to content

Field-based Type hierarchy #19987

Open
Open
@Veykril

Description

@Veykril

Sometimes I would love to know what types embed a given other type. It would be great if r-a could somehow show such a field embedding hierarchy. The lsp has a type hierarchy request model for sub and supertypes, I feel like we can maybe make use of this? https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_prepareTypeHierarchy

Alternatively of course we could also do an lsp extension here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-idegeneral IDE featuresA-lspLSP conformance issues and missing featuresC-featureCategory: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions